Autogenerated update (2020-07-25)
Update: - cloudfunctions_v1 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudresourcemanager_v2beta1 - customsearch_v1 - dataflow_v1b3 - displayvideo_v1 - redis_v1beta1 - sasportal_v1alpha1 - youtube_partner_v1
This commit is contained in:
parent
32749a8657
commit
cc74e2780e
|
@ -83835,6 +83835,11 @@
|
||||||
"/displayvideo:v1/AssignedTargetingOption/userRewardedContentDetails": user_rewarded_content_details
|
"/displayvideo:v1/AssignedTargetingOption/userRewardedContentDetails": user_rewarded_content_details
|
||||||
"/displayvideo:v1/AssignedTargetingOption/videoPlayerSizeDetails": video_player_size_details
|
"/displayvideo:v1/AssignedTargetingOption/videoPlayerSizeDetails": video_player_size_details
|
||||||
"/displayvideo:v1/AssignedTargetingOption/viewabilityDetails": viewability_details
|
"/displayvideo:v1/AssignedTargetingOption/viewabilityDetails": viewability_details
|
||||||
|
"/displayvideo:v1/AssignedUserRole": assigned_user_role
|
||||||
|
"/displayvideo:v1/AssignedUserRole/advertiserId": advertiser_id
|
||||||
|
"/displayvideo:v1/AssignedUserRole/assignedUserRoleId": assigned_user_role_id
|
||||||
|
"/displayvideo:v1/AssignedUserRole/partnerId": partner_id
|
||||||
|
"/displayvideo:v1/AssignedUserRole/userRole": user_role
|
||||||
"/displayvideo:v1/AudienceGroupAssignedTargetingOptionDetails": audience_group_assigned_targeting_option_details
|
"/displayvideo:v1/AudienceGroupAssignedTargetingOptionDetails": audience_group_assigned_targeting_option_details
|
||||||
"/displayvideo:v1/AudienceGroupAssignedTargetingOptionDetails/excludedFirstAndThirdPartyAudienceGroup": excluded_first_and_third_party_audience_group
|
"/displayvideo:v1/AudienceGroupAssignedTargetingOptionDetails/excludedFirstAndThirdPartyAudienceGroup": excluded_first_and_third_party_audience_group
|
||||||
"/displayvideo:v1/AudienceGroupAssignedTargetingOptionDetails/excludedGoogleAudienceGroup": excluded_google_audience_group
|
"/displayvideo:v1/AudienceGroupAssignedTargetingOptionDetails/excludedGoogleAudienceGroup": excluded_google_audience_group
|
||||||
|
@ -83847,6 +83852,10 @@
|
||||||
"/displayvideo:v1/AudioVideoOffset": audio_video_offset
|
"/displayvideo:v1/AudioVideoOffset": audio_video_offset
|
||||||
"/displayvideo:v1/AudioVideoOffset/percentage": percentage
|
"/displayvideo:v1/AudioVideoOffset/percentage": percentage
|
||||||
"/displayvideo:v1/AudioVideoOffset/seconds": seconds
|
"/displayvideo:v1/AudioVideoOffset/seconds": seconds
|
||||||
|
"/displayvideo:v1/AuditAdvertiserResponse": audit_advertiser_response
|
||||||
|
"/displayvideo:v1/AuditAdvertiserResponse/usedCampaignsCount": used_campaigns_count
|
||||||
|
"/displayvideo:v1/AuditAdvertiserResponse/usedInsertionOrdersCount": used_insertion_orders_count
|
||||||
|
"/displayvideo:v1/AuditAdvertiserResponse/usedLineItemsCount": used_line_items_count
|
||||||
"/displayvideo:v1/AuthorizedSellerStatusAssignedTargetingOptionDetails": authorized_seller_status_assigned_targeting_option_details
|
"/displayvideo:v1/AuthorizedSellerStatusAssignedTargetingOptionDetails": authorized_seller_status_assigned_targeting_option_details
|
||||||
"/displayvideo:v1/AuthorizedSellerStatusAssignedTargetingOptionDetails/authorizedSellerStatus": authorized_seller_status
|
"/displayvideo:v1/AuthorizedSellerStatusAssignedTargetingOptionDetails/authorizedSellerStatus": authorized_seller_status
|
||||||
"/displayvideo:v1/AuthorizedSellerStatusAssignedTargetingOptionDetails/targetingOptionId": targeting_option_id
|
"/displayvideo:v1/AuthorizedSellerStatusAssignedTargetingOptionDetails/targetingOptionId": targeting_option_id
|
||||||
|
@ -83889,6 +83898,14 @@
|
||||||
"/displayvideo:v1/BulkEditAssignedLocationsResponse": bulk_edit_assigned_locations_response
|
"/displayvideo:v1/BulkEditAssignedLocationsResponse": bulk_edit_assigned_locations_response
|
||||||
"/displayvideo:v1/BulkEditAssignedLocationsResponse/assignedLocations": assigned_locations
|
"/displayvideo:v1/BulkEditAssignedLocationsResponse/assignedLocations": assigned_locations
|
||||||
"/displayvideo:v1/BulkEditAssignedLocationsResponse/assignedLocations/assigned_location": assigned_location
|
"/displayvideo:v1/BulkEditAssignedLocationsResponse/assignedLocations/assigned_location": assigned_location
|
||||||
|
"/displayvideo:v1/BulkEditAssignedUserRolesRequest": bulk_edit_assigned_user_roles_request
|
||||||
|
"/displayvideo:v1/BulkEditAssignedUserRolesRequest/createdAssignedUserRoles": created_assigned_user_roles
|
||||||
|
"/displayvideo:v1/BulkEditAssignedUserRolesRequest/createdAssignedUserRoles/created_assigned_user_role": created_assigned_user_role
|
||||||
|
"/displayvideo:v1/BulkEditAssignedUserRolesRequest/deletedAssignedUserRoles": deleted_assigned_user_roles
|
||||||
|
"/displayvideo:v1/BulkEditAssignedUserRolesRequest/deletedAssignedUserRoles/deleted_assigned_user_role": deleted_assigned_user_role
|
||||||
|
"/displayvideo:v1/BulkEditAssignedUserRolesResponse": bulk_edit_assigned_user_roles_response
|
||||||
|
"/displayvideo:v1/BulkEditAssignedUserRolesResponse/createdAssignedUserRoles": created_assigned_user_roles
|
||||||
|
"/displayvideo:v1/BulkEditAssignedUserRolesResponse/createdAssignedUserRoles/created_assigned_user_role": created_assigned_user_role
|
||||||
"/displayvideo:v1/BulkEditLineItemAssignedTargetingOptionsRequest": bulk_edit_line_item_assigned_targeting_options_request
|
"/displayvideo:v1/BulkEditLineItemAssignedTargetingOptionsRequest": bulk_edit_line_item_assigned_targeting_options_request
|
||||||
"/displayvideo:v1/BulkEditLineItemAssignedTargetingOptionsRequest/createRequests": create_requests
|
"/displayvideo:v1/BulkEditLineItemAssignedTargetingOptionsRequest/createRequests": create_requests
|
||||||
"/displayvideo:v1/BulkEditLineItemAssignedTargetingOptionsRequest/createRequests/create_request": create_request
|
"/displayvideo:v1/BulkEditLineItemAssignedTargetingOptionsRequest/createRequests/create_request": create_request
|
||||||
|
@ -83906,6 +83923,15 @@
|
||||||
"/displayvideo:v1/BulkEditNegativeKeywordsResponse": bulk_edit_negative_keywords_response
|
"/displayvideo:v1/BulkEditNegativeKeywordsResponse": bulk_edit_negative_keywords_response
|
||||||
"/displayvideo:v1/BulkEditNegativeKeywordsResponse/negativeKeywords": negative_keywords
|
"/displayvideo:v1/BulkEditNegativeKeywordsResponse/negativeKeywords": negative_keywords
|
||||||
"/displayvideo:v1/BulkEditNegativeKeywordsResponse/negativeKeywords/negative_keyword": negative_keyword
|
"/displayvideo:v1/BulkEditNegativeKeywordsResponse/negativeKeywords/negative_keyword": negative_keyword
|
||||||
|
"/displayvideo:v1/BulkEditPartnerAssignedTargetingOptionsRequest": bulk_edit_partner_assigned_targeting_options_request
|
||||||
|
"/displayvideo:v1/BulkEditPartnerAssignedTargetingOptionsRequest/createRequests": create_requests
|
||||||
|
"/displayvideo:v1/BulkEditPartnerAssignedTargetingOptionsRequest/createRequests/create_request": create_request
|
||||||
|
"/displayvideo:v1/BulkEditPartnerAssignedTargetingOptionsRequest/deleteRequests": delete_requests
|
||||||
|
"/displayvideo:v1/BulkEditPartnerAssignedTargetingOptionsRequest/deleteRequests/delete_request": delete_request
|
||||||
|
"/displayvideo:v1/BulkEditPartnerAssignedTargetingOptionsResponse": bulk_edit_partner_assigned_targeting_options_response
|
||||||
|
"/displayvideo:v1/BulkEditPartnerAssignedTargetingOptionsResponse/createdAssignedTargetingOptions": created_assigned_targeting_options
|
||||||
|
? "/displayvideo:v1/BulkEditPartnerAssignedTargetingOptionsResponse/createdAssignedTargetingOptions/created_assigned_targeting_option"
|
||||||
|
: created_assigned_targeting_option
|
||||||
"/displayvideo:v1/BulkEditSitesRequest": bulk_edit_sites_request
|
"/displayvideo:v1/BulkEditSitesRequest": bulk_edit_sites_request
|
||||||
"/displayvideo:v1/BulkEditSitesRequest/advertiserId": advertiser_id
|
"/displayvideo:v1/BulkEditSitesRequest/advertiserId": advertiser_id
|
||||||
"/displayvideo:v1/BulkEditSitesRequest/createdSites": created_sites
|
"/displayvideo:v1/BulkEditSitesRequest/createdSites": created_sites
|
||||||
|
@ -84155,6 +84181,14 @@
|
||||||
"/displayvideo:v1/EnvironmentTargetingOptionDetails/environment": environment
|
"/displayvideo:v1/EnvironmentTargetingOptionDetails/environment": environment
|
||||||
"/displayvideo:v1/ExchangeAssignedTargetingOptionDetails": exchange_assigned_targeting_option_details
|
"/displayvideo:v1/ExchangeAssignedTargetingOptionDetails": exchange_assigned_targeting_option_details
|
||||||
"/displayvideo:v1/ExchangeAssignedTargetingOptionDetails/targetingOptionId": targeting_option_id
|
"/displayvideo:v1/ExchangeAssignedTargetingOptionDetails/targetingOptionId": targeting_option_id
|
||||||
|
"/displayvideo:v1/ExchangeConfig": exchange_config
|
||||||
|
"/displayvideo:v1/ExchangeConfig/enabledExchanges": enabled_exchanges
|
||||||
|
"/displayvideo:v1/ExchangeConfig/enabledExchanges/enabled_exchange": enabled_exchange
|
||||||
|
"/displayvideo:v1/ExchangeConfigEnabledExchange": exchange_config_enabled_exchange
|
||||||
|
"/displayvideo:v1/ExchangeConfigEnabledExchange/exchange": exchange
|
||||||
|
"/displayvideo:v1/ExchangeConfigEnabledExchange/googleAdManagerAgencyId": google_ad_manager_agency_id
|
||||||
|
"/displayvideo:v1/ExchangeConfigEnabledExchange/googleAdManagerBuyerNetworkId": google_ad_manager_buyer_network_id
|
||||||
|
"/displayvideo:v1/ExchangeConfigEnabledExchange/seatId": seat_id
|
||||||
"/displayvideo:v1/ExchangeReviewStatus": exchange_review_status
|
"/displayvideo:v1/ExchangeReviewStatus": exchange_review_status
|
||||||
"/displayvideo:v1/ExchangeReviewStatus/exchange": exchange
|
"/displayvideo:v1/ExchangeReviewStatus/exchange": exchange
|
||||||
"/displayvideo:v1/ExchangeReviewStatus/status": status
|
"/displayvideo:v1/ExchangeReviewStatus/status": status
|
||||||
|
@ -84442,6 +84476,14 @@
|
||||||
"/displayvideo:v1/ListNegativeKeywordsResponse/negativeKeywords": negative_keywords
|
"/displayvideo:v1/ListNegativeKeywordsResponse/negativeKeywords": negative_keywords
|
||||||
"/displayvideo:v1/ListNegativeKeywordsResponse/negativeKeywords/negative_keyword": negative_keyword
|
"/displayvideo:v1/ListNegativeKeywordsResponse/negativeKeywords/negative_keyword": negative_keyword
|
||||||
"/displayvideo:v1/ListNegativeKeywordsResponse/nextPageToken": next_page_token
|
"/displayvideo:v1/ListNegativeKeywordsResponse/nextPageToken": next_page_token
|
||||||
|
"/displayvideo:v1/ListPartnerAssignedTargetingOptionsResponse": list_partner_assigned_targeting_options_response
|
||||||
|
"/displayvideo:v1/ListPartnerAssignedTargetingOptionsResponse/assignedTargetingOptions": assigned_targeting_options
|
||||||
|
"/displayvideo:v1/ListPartnerAssignedTargetingOptionsResponse/assignedTargetingOptions/assigned_targeting_option": assigned_targeting_option
|
||||||
|
"/displayvideo:v1/ListPartnerAssignedTargetingOptionsResponse/nextPageToken": next_page_token
|
||||||
|
"/displayvideo:v1/ListPartnersResponse": list_partners_response
|
||||||
|
"/displayvideo:v1/ListPartnersResponse/nextPageToken": next_page_token
|
||||||
|
"/displayvideo:v1/ListPartnersResponse/partners": partners
|
||||||
|
"/displayvideo:v1/ListPartnersResponse/partners/partner": partner
|
||||||
"/displayvideo:v1/ListSitesResponse": list_sites_response
|
"/displayvideo:v1/ListSitesResponse": list_sites_response
|
||||||
"/displayvideo:v1/ListSitesResponse/nextPageToken": next_page_token
|
"/displayvideo:v1/ListSitesResponse/nextPageToken": next_page_token
|
||||||
"/displayvideo:v1/ListSitesResponse/sites": sites
|
"/displayvideo:v1/ListSitesResponse/sites": sites
|
||||||
|
@ -84450,6 +84492,10 @@
|
||||||
"/displayvideo:v1/ListTargetingOptionsResponse/nextPageToken": next_page_token
|
"/displayvideo:v1/ListTargetingOptionsResponse/nextPageToken": next_page_token
|
||||||
"/displayvideo:v1/ListTargetingOptionsResponse/targetingOptions": targeting_options
|
"/displayvideo:v1/ListTargetingOptionsResponse/targetingOptions": targeting_options
|
||||||
"/displayvideo:v1/ListTargetingOptionsResponse/targetingOptions/targeting_option": targeting_option
|
"/displayvideo:v1/ListTargetingOptionsResponse/targetingOptions/targeting_option": targeting_option
|
||||||
|
"/displayvideo:v1/ListUsersResponse": list_users_response
|
||||||
|
"/displayvideo:v1/ListUsersResponse/nextPageToken": next_page_token
|
||||||
|
"/displayvideo:v1/ListUsersResponse/users": users
|
||||||
|
"/displayvideo:v1/ListUsersResponse/users/user": user
|
||||||
"/displayvideo:v1/LocationList": location_list
|
"/displayvideo:v1/LocationList": location_list
|
||||||
"/displayvideo:v1/LocationList/advertiserId": advertiser_id
|
"/displayvideo:v1/LocationList/advertiserId": advertiser_id
|
||||||
"/displayvideo:v1/LocationList/displayName": display_name
|
"/displayvideo:v1/LocationList/displayName": display_name
|
||||||
|
@ -84462,6 +84508,9 @@
|
||||||
"/displayvideo:v1/MaximizeSpendBidStrategy": maximize_spend_bid_strategy
|
"/displayvideo:v1/MaximizeSpendBidStrategy": maximize_spend_bid_strategy
|
||||||
"/displayvideo:v1/MaximizeSpendBidStrategy/maxAverageCpmBidAmountMicros": max_average_cpm_bid_amount_micros
|
"/displayvideo:v1/MaximizeSpendBidStrategy/maxAverageCpmBidAmountMicros": max_average_cpm_bid_amount_micros
|
||||||
"/displayvideo:v1/MaximizeSpendBidStrategy/performanceGoalType": performance_goal_type
|
"/displayvideo:v1/MaximizeSpendBidStrategy/performanceGoalType": performance_goal_type
|
||||||
|
"/displayvideo:v1/MeasurementConfig": measurement_config
|
||||||
|
"/displayvideo:v1/MeasurementConfig/dv360ToCmCostReportingEnabled": dv360_to_cm_cost_reporting_enabled
|
||||||
|
"/displayvideo:v1/MeasurementConfig/dv360ToCmDataSharingEnabled": dv360_to_cm_data_sharing_enabled
|
||||||
"/displayvideo:v1/Money": money
|
"/displayvideo:v1/Money": money
|
||||||
"/displayvideo:v1/Money/currencyCode": currency_code
|
"/displayvideo:v1/Money/currencyCode": currency_code
|
||||||
"/displayvideo:v1/Money/nanos": nanos
|
"/displayvideo:v1/Money/nanos": nanos
|
||||||
|
@ -84520,12 +84569,29 @@
|
||||||
"/displayvideo:v1/ParentalStatusAssignedTargetingOptionDetails/targetingOptionId": targeting_option_id
|
"/displayvideo:v1/ParentalStatusAssignedTargetingOptionDetails/targetingOptionId": targeting_option_id
|
||||||
"/displayvideo:v1/ParentalStatusTargetingOptionDetails": parental_status_targeting_option_details
|
"/displayvideo:v1/ParentalStatusTargetingOptionDetails": parental_status_targeting_option_details
|
||||||
"/displayvideo:v1/ParentalStatusTargetingOptionDetails/parentalStatus": parental_status
|
"/displayvideo:v1/ParentalStatusTargetingOptionDetails/parentalStatus": parental_status
|
||||||
|
"/displayvideo:v1/Partner": partner
|
||||||
|
"/displayvideo:v1/Partner/adServerConfig": ad_server_config
|
||||||
|
"/displayvideo:v1/Partner/dataAccessConfig": data_access_config
|
||||||
|
"/displayvideo:v1/Partner/displayName": display_name
|
||||||
|
"/displayvideo:v1/Partner/entityStatus": entity_status
|
||||||
|
"/displayvideo:v1/Partner/exchangeConfig": exchange_config
|
||||||
|
"/displayvideo:v1/Partner/generalConfig": general_config
|
||||||
|
"/displayvideo:v1/Partner/name": name
|
||||||
|
"/displayvideo:v1/Partner/partnerId": partner_id
|
||||||
|
"/displayvideo:v1/Partner/updateTime": update_time
|
||||||
|
"/displayvideo:v1/PartnerAdServerConfig": partner_ad_server_config
|
||||||
|
"/displayvideo:v1/PartnerAdServerConfig/measurementConfig": measurement_config
|
||||||
"/displayvideo:v1/PartnerCost": partner_cost
|
"/displayvideo:v1/PartnerCost": partner_cost
|
||||||
"/displayvideo:v1/PartnerCost/costType": cost_type
|
"/displayvideo:v1/PartnerCost/costType": cost_type
|
||||||
"/displayvideo:v1/PartnerCost/feeAmount": fee_amount
|
"/displayvideo:v1/PartnerCost/feeAmount": fee_amount
|
||||||
"/displayvideo:v1/PartnerCost/feePercentageMillis": fee_percentage_millis
|
"/displayvideo:v1/PartnerCost/feePercentageMillis": fee_percentage_millis
|
||||||
"/displayvideo:v1/PartnerCost/feeType": fee_type
|
"/displayvideo:v1/PartnerCost/feeType": fee_type
|
||||||
"/displayvideo:v1/PartnerCost/invoiceType": invoice_type
|
"/displayvideo:v1/PartnerCost/invoiceType": invoice_type
|
||||||
|
"/displayvideo:v1/PartnerDataAccessConfig": partner_data_access_config
|
||||||
|
"/displayvideo:v1/PartnerDataAccessConfig/sdfConfig": sdf_config
|
||||||
|
"/displayvideo:v1/PartnerGeneralConfig": partner_general_config
|
||||||
|
"/displayvideo:v1/PartnerGeneralConfig/currencyCode": currency_code
|
||||||
|
"/displayvideo:v1/PartnerGeneralConfig/timeZone": time_zone
|
||||||
"/displayvideo:v1/PartnerRevenueModel": partner_revenue_model
|
"/displayvideo:v1/PartnerRevenueModel": partner_revenue_model
|
||||||
"/displayvideo:v1/PartnerRevenueModel/markupAmount": markup_amount
|
"/displayvideo:v1/PartnerRevenueModel/markupAmount": markup_amount
|
||||||
"/displayvideo:v1/PartnerRevenueModel/markupType": markup_type
|
"/displayvideo:v1/PartnerRevenueModel/markupType": markup_type
|
||||||
|
@ -84651,6 +84717,13 @@
|
||||||
"/displayvideo:v1/UrlAssignedTargetingOptionDetails": url_assigned_targeting_option_details
|
"/displayvideo:v1/UrlAssignedTargetingOptionDetails": url_assigned_targeting_option_details
|
||||||
"/displayvideo:v1/UrlAssignedTargetingOptionDetails/negative": negative
|
"/displayvideo:v1/UrlAssignedTargetingOptionDetails/negative": negative
|
||||||
"/displayvideo:v1/UrlAssignedTargetingOptionDetails/url": url
|
"/displayvideo:v1/UrlAssignedTargetingOptionDetails/url": url
|
||||||
|
"/displayvideo:v1/User": user
|
||||||
|
"/displayvideo:v1/User/assignedUserRoles": assigned_user_roles
|
||||||
|
"/displayvideo:v1/User/assignedUserRoles/assigned_user_role": assigned_user_role
|
||||||
|
"/displayvideo:v1/User/displayName": display_name
|
||||||
|
"/displayvideo:v1/User/email": email
|
||||||
|
"/displayvideo:v1/User/name": name
|
||||||
|
"/displayvideo:v1/User/userId": user_id
|
||||||
"/displayvideo:v1/UserRewardedContentAssignedTargetingOptionDetails": user_rewarded_content_assigned_targeting_option_details
|
"/displayvideo:v1/UserRewardedContentAssignedTargetingOptionDetails": user_rewarded_content_assigned_targeting_option_details
|
||||||
"/displayvideo:v1/UserRewardedContentAssignedTargetingOptionDetails/targetingOptionId": targeting_option_id
|
"/displayvideo:v1/UserRewardedContentAssignedTargetingOptionDetails/targetingOptionId": targeting_option_id
|
||||||
"/displayvideo:v1/UserRewardedContentAssignedTargetingOptionDetails/userRewardedContent": user_rewarded_content
|
"/displayvideo:v1/UserRewardedContentAssignedTargetingOptionDetails/userRewardedContent": user_rewarded_content
|
||||||
|
@ -84668,6 +84741,9 @@
|
||||||
"/displayvideo:v1/ViewabilityTargetingOptionDetails/viewability": viewability
|
"/displayvideo:v1/ViewabilityTargetingOptionDetails/viewability": viewability
|
||||||
"/displayvideo:v1/displayvideo.advertisers.assets.upload": upload_advertiser_asset
|
"/displayvideo:v1/displayvideo.advertisers.assets.upload": upload_advertiser_asset
|
||||||
"/displayvideo:v1/displayvideo.advertisers.assets.upload/advertiserId": advertiser_id
|
"/displayvideo:v1/displayvideo.advertisers.assets.upload/advertiserId": advertiser_id
|
||||||
|
"/displayvideo:v1/displayvideo.advertisers.audit": audit_advertiser
|
||||||
|
"/displayvideo:v1/displayvideo.advertisers.audit/advertiserId": advertiser_id
|
||||||
|
"/displayvideo:v1/displayvideo.advertisers.audit/readMask": read_mask
|
||||||
"/displayvideo:v1/displayvideo.advertisers.bulkEditAdvertiserAssignedTargetingOptions": bulk_edit_advertiser_assigned_targeting_options
|
"/displayvideo:v1/displayvideo.advertisers.bulkEditAdvertiserAssignedTargetingOptions": bulk_edit_advertiser_assigned_targeting_options
|
||||||
"/displayvideo:v1/displayvideo.advertisers.bulkEditAdvertiserAssignedTargetingOptions/advertiserId": advertiser_id
|
"/displayvideo:v1/displayvideo.advertisers.bulkEditAdvertiserAssignedTargetingOptions/advertiserId": advertiser_id
|
||||||
"/displayvideo:v1/displayvideo.advertisers.bulkListAdvertiserAssignedTargetingOptions": bulk_advertiser_list_advertiser_assigned_targeting_options
|
"/displayvideo:v1/displayvideo.advertisers.bulkListAdvertiserAssignedTargetingOptions": bulk_advertiser_list_advertiser_assigned_targeting_options
|
||||||
|
@ -85019,6 +85095,8 @@
|
||||||
"/displayvideo:v1/displayvideo.inventorySources.list/partnerId": partner_id
|
"/displayvideo:v1/displayvideo.inventorySources.list/partnerId": partner_id
|
||||||
"/displayvideo:v1/displayvideo.media.download": download_medium
|
"/displayvideo:v1/displayvideo.media.download": download_medium
|
||||||
"/displayvideo:v1/displayvideo.media.download/resourceName": resource_name
|
"/displayvideo:v1/displayvideo.media.download/resourceName": resource_name
|
||||||
|
"/displayvideo:v1/displayvideo.partners.bulkEditPartnerAssignedTargetingOptions": bulk_edit_partner_assigned_targeting_options
|
||||||
|
"/displayvideo:v1/displayvideo.partners.bulkEditPartnerAssignedTargetingOptions/partnerId": partner_id
|
||||||
"/displayvideo:v1/displayvideo.partners.channels.create": create_partner_channel
|
"/displayvideo:v1/displayvideo.partners.channels.create": create_partner_channel
|
||||||
"/displayvideo:v1/displayvideo.partners.channels.create/advertiserId": advertiser_id
|
"/displayvideo:v1/displayvideo.partners.channels.create/advertiserId": advertiser_id
|
||||||
"/displayvideo:v1/displayvideo.partners.channels.create/partnerId": partner_id
|
"/displayvideo:v1/displayvideo.partners.channels.create/partnerId": partner_id
|
||||||
|
@ -85058,6 +85136,31 @@
|
||||||
"/displayvideo:v1/displayvideo.partners.channels.sites.list/pageSize": page_size
|
"/displayvideo:v1/displayvideo.partners.channels.sites.list/pageSize": page_size
|
||||||
"/displayvideo:v1/displayvideo.partners.channels.sites.list/pageToken": page_token
|
"/displayvideo:v1/displayvideo.partners.channels.sites.list/pageToken": page_token
|
||||||
"/displayvideo:v1/displayvideo.partners.channels.sites.list/partnerId": partner_id
|
"/displayvideo:v1/displayvideo.partners.channels.sites.list/partnerId": partner_id
|
||||||
|
"/displayvideo:v1/displayvideo.partners.get": get_partner
|
||||||
|
"/displayvideo:v1/displayvideo.partners.get/partnerId": partner_id
|
||||||
|
"/displayvideo:v1/displayvideo.partners.list": list_partners
|
||||||
|
"/displayvideo:v1/displayvideo.partners.list/filter": filter
|
||||||
|
"/displayvideo:v1/displayvideo.partners.list/orderBy": order_by
|
||||||
|
"/displayvideo:v1/displayvideo.partners.list/pageSize": page_size
|
||||||
|
"/displayvideo:v1/displayvideo.partners.list/pageToken": page_token
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.create": create_partner_targeting_type_assigned_targeting_option
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.create/partnerId": partner_id
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.create/targetingType": targeting_type
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.delete": delete_partner_targeting_type_assigned_targeting_option
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.delete/assignedTargetingOptionId": assigned_targeting_option_id
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.delete/partnerId": partner_id
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.delete/targetingType": targeting_type
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.get": get_partner_targeting_type_assigned_targeting_option
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.get/assignedTargetingOptionId": assigned_targeting_option_id
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.get/partnerId": partner_id
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.get/targetingType": targeting_type
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.list": list_partner_targeting_type_assigned_targeting_options
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.list/filter": filter
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.list/orderBy": order_by
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.list/pageSize": page_size
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.list/pageToken": page_token
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.list/partnerId": partner_id
|
||||||
|
"/displayvideo:v1/displayvideo.partners.targetingTypes.assignedTargetingOptions.list/targetingType": targeting_type
|
||||||
"/displayvideo:v1/displayvideo.sdfdownloadtasks.create": create_sdfdownloadtask_sdf_download_task
|
"/displayvideo:v1/displayvideo.sdfdownloadtasks.create": create_sdfdownloadtask_sdf_download_task
|
||||||
"/displayvideo:v1/displayvideo.sdfdownloadtasks.operations.get": get_sdfdownloadtask_operation
|
"/displayvideo:v1/displayvideo.sdfdownloadtasks.operations.get": get_sdfdownloadtask_operation
|
||||||
"/displayvideo:v1/displayvideo.sdfdownloadtasks.operations.get/name": name
|
"/displayvideo:v1/displayvideo.sdfdownloadtasks.operations.get/name": name
|
||||||
|
@ -85072,6 +85175,21 @@
|
||||||
"/displayvideo:v1/displayvideo.targetingTypes.targetingOptions.list/pageSize": page_size
|
"/displayvideo:v1/displayvideo.targetingTypes.targetingOptions.list/pageSize": page_size
|
||||||
"/displayvideo:v1/displayvideo.targetingTypes.targetingOptions.list/pageToken": page_token
|
"/displayvideo:v1/displayvideo.targetingTypes.targetingOptions.list/pageToken": page_token
|
||||||
"/displayvideo:v1/displayvideo.targetingTypes.targetingOptions.list/targetingType": targeting_type
|
"/displayvideo:v1/displayvideo.targetingTypes.targetingOptions.list/targetingType": targeting_type
|
||||||
|
"/displayvideo:v1/displayvideo.users.bulkEditAssignedUserRoles": bulk_edit_assigned_user_roles
|
||||||
|
"/displayvideo:v1/displayvideo.users.bulkEditAssignedUserRoles/userId": user_id
|
||||||
|
"/displayvideo:v1/displayvideo.users.create": create_user
|
||||||
|
"/displayvideo:v1/displayvideo.users.delete": delete_user
|
||||||
|
"/displayvideo:v1/displayvideo.users.delete/userId": user_id
|
||||||
|
"/displayvideo:v1/displayvideo.users.get": get_user
|
||||||
|
"/displayvideo:v1/displayvideo.users.get/userId": user_id
|
||||||
|
"/displayvideo:v1/displayvideo.users.list": list_users
|
||||||
|
"/displayvideo:v1/displayvideo.users.list/filter": filter
|
||||||
|
"/displayvideo:v1/displayvideo.users.list/orderBy": order_by
|
||||||
|
"/displayvideo:v1/displayvideo.users.list/pageSize": page_size
|
||||||
|
"/displayvideo:v1/displayvideo.users.list/pageToken": page_token
|
||||||
|
"/displayvideo:v1/displayvideo.users.patch": patch_user
|
||||||
|
"/displayvideo:v1/displayvideo.users.patch/updateMask": update_mask
|
||||||
|
"/displayvideo:v1/displayvideo.users.patch/userId": user_id
|
||||||
"/displayvideo:v1/fields": fields
|
"/displayvideo:v1/fields": fields
|
||||||
"/displayvideo:v1/key": key
|
"/displayvideo:v1/key": key
|
||||||
"/displayvideo:v1/quotaUser": quota_user
|
"/displayvideo:v1/quotaUser": quota_user
|
||||||
|
@ -114668,6 +114786,58 @@
|
||||||
"/redis:v1beta1/GoogleCloudRedisV1beta1LocationMetadata/availableZones": available_zones
|
"/redis:v1beta1/GoogleCloudRedisV1beta1LocationMetadata/availableZones": available_zones
|
||||||
"/redis:v1beta1/GoogleCloudRedisV1beta1LocationMetadata/availableZones/available_zone": available_zone
|
"/redis:v1beta1/GoogleCloudRedisV1beta1LocationMetadata/availableZones/available_zone": available_zone
|
||||||
"/redis:v1beta1/GoogleCloudRedisV1beta1ZoneMetadata": google_cloud_redis_v1beta1_zone_metadata
|
"/redis:v1beta1/GoogleCloudRedisV1beta1ZoneMetadata": google_cloud_redis_v1beta1_zone_metadata
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance": google_cloud_saasaccelerator_management_providers_v1_instance
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/consumerDefinedName": consumer_defined_name
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/createTime": create_time
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels": labels
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels/label": label
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames": maintenance_policy_names
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames/maintenance_policy_name": maintenance_policy_name
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules": maintenance_schedules
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules/maintenance_schedule": maintenance_schedule
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSettings": maintenance_settings
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/name": name
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata": producer_metadata
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata/producer_metadatum": producer_metadatum
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources": provisioned_resources
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources/provisioned_resource": provisioned_resource
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/slmInstanceTemplate": slm_instance_template
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/sloMetadata": slo_metadata
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions": software_versions
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions/software_version": software_version
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/state": state
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/tenantProjectId": tenant_project_id
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/updateTime": update_time
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": google_cloud_saasaccelerator_management_providers_v1_maintenance_schedule
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/canReschedule": can_reschedule
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/endTime": end_time
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/rolloutManagementPolicy": rollout_management_policy
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/startTime": start_time
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": google_cloud_saasaccelerator_management_providers_v1_maintenance_settings
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings/exclude": exclude
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions": exclusions
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions/exclusion": exclusion
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/location": location
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/nodeId": node_id
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": google_cloud_saasaccelerator_management_providers_v1_provisioned_resource
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceType": resource_type
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceUrl": resource_url
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": google_cloud_saasaccelerator_management_providers_v1_slo_eligibility
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility/eligible": eligible
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility/reason": reason
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": google_cloud_saasaccelerator_management_providers_v1_slo_exclusion
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/duration": duration
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/reason": reason
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/sliName": sli_name
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/startTime": start_time
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": google_cloud_saasaccelerator_management_providers_v1_slo_metadata
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/eligibility": eligibility
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions": exclusions
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions/exclusion": exclusion
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes": nodes
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes/node": node
|
||||||
|
"/redis:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/tier": tier
|
||||||
"/redis:v1beta1/ImportInstanceRequest": import_instance_request
|
"/redis:v1beta1/ImportInstanceRequest": import_instance_request
|
||||||
"/redis:v1beta1/ImportInstanceRequest/inputConfig": input_config
|
"/redis:v1beta1/ImportInstanceRequest/inputConfig": input_config
|
||||||
"/redis:v1beta1/InputConfig": input_config
|
"/redis:v1beta1/InputConfig": input_config
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/functions
|
# @see https://cloud.google.com/functions
|
||||||
module CloudfunctionsV1
|
module CloudfunctionsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200629'
|
REVISION = '20200717'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -962,51 +962,6 @@ module Google
|
||||||
end
|
end
|
||||||
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<String,Object>]
|
|
||||||
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
|
|
||||||
|
|
||||||
# Type of operation.
|
|
||||||
# Corresponds to the JSON property `type`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :type
|
|
||||||
|
|
||||||
# The last update timestamp of the operation.
|
|
||||||
# Corresponds to the JSON property `updateTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :update_time
|
|
||||||
|
|
||||||
# Version id of the function created or updated by an API call.
|
|
||||||
# This field is only populated for Create and Update operations.
|
|
||||||
# Corresponds to the JSON property `versionId`
|
|
||||||
# @return [Fixnum]
|
|
||||||
attr_accessor :version_id
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@request = args[:request] if args.key?(:request)
|
|
||||||
@target = args[:target] if args.key?(:target)
|
|
||||||
@type = args[:type] if args.key?(:type)
|
|
||||||
@update_time = args[:update_time] if args.key?(:update_time)
|
|
||||||
@version_id = args[:version_id] if args.key?(:version_id)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# An Identity and Access Management (IAM) policy, which specifies access
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# controls for Google Cloud resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||||
|
|
|
@ -142,12 +142,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class OperationMetadataV1Beta2
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Policy
|
class Policy
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -391,17 +385,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class OperationMetadataV1Beta2
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
hash :request, as: 'request'
|
|
||||||
property :target, as: 'target'
|
|
||||||
property :type, as: 'type'
|
|
||||||
property :update_time, as: 'updateTime'
|
|
||||||
property :version_id, :numeric_string => true, as: 'versionId'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Policy
|
class Policy
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1
|
module CloudresourcemanagerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200622'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -81,11 +81,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the effective `Policy` on a resource. This is the result of merging
|
# Gets the effective `Policy` on a resource. This is the result of merging `
|
||||||
# `Policies` in the resource hierarchy. The returned `Policy` will not have
|
# Policies` in the resource hierarchy. The returned `Policy` will not have an `
|
||||||
# an `etag`set because it is a computed `Policy` across multiple resources.
|
# etag`set because it is a computed `Policy` across multiple resources. Subtrees
|
||||||
# Subtrees of Resource Manager resource hierarchy with 'under:' prefix will
|
# of Resource Manager resource hierarchy with 'under:' prefix will not be
|
||||||
# not be expanded.
|
# expanded.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# The name of the resource to start computing the effective `Policy`.
|
# The name of the resource to start computing the effective `Policy`.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object
|
||||||
|
@ -118,11 +118,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a `Policy` on a resource.
|
# Gets a `Policy` on a resource. If no `Policy` is set on the resource, a `
|
||||||
# If no `Policy` is set on the resource, a `Policy` is returned with default
|
# Policy` is returned with default values including `POLICY_TYPE_NOT_SET` for
|
||||||
# values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
|
# the `policy_type oneof`. The `etag` value can be used with `SetOrgPolicy()` to
|
||||||
# `etag` value can be used with `SetOrgPolicy()` to create or update a
|
# create or update a `Policy` during read-modify-write.
|
||||||
# `Policy` during read-modify-write.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource the `Policy` is set on.
|
# Name of the resource the `Policy` is set on.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object
|
||||||
|
@ -222,9 +221,9 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the specified `Policy` on the resource. Creates a new `Policy` for
|
# Updates the specified `Policy` on the resource. Creates a new `Policy` for
|
||||||
# that `Constraint` on the resource if one does not exist.
|
# that `Constraint` on the resource if one does not exist. Not supplying an `
|
||||||
# Not supplying an `etag` on the request `Policy` results in an unconditional
|
# etag` on the request `Policy` results in an unconditional write of the `Policy`
|
||||||
# write of the `Policy`.
|
# .
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Resource name of the resource to attach the `Policy`.
|
# Resource name of the resource to attach the `Policy`.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object
|
||||||
|
@ -258,10 +257,10 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Create a Lien which applies to the resource denoted by the `parent` field.
|
# Create a Lien which applies to the resource denoted by the `parent` field.
|
||||||
# Callers of this method will require permission on the `parent` resource.
|
# Callers of this method will require permission on the `parent` resource. For
|
||||||
# For example, applying to `projects/1234` requires permission
|
# example, applying to `projects/1234` requires permission `resourcemanager.
|
||||||
# `resourcemanager.projects.updateLiens`.
|
# projects.updateLiens`. NOTE: Some resources may limit the number of Liens
|
||||||
# NOTE: Some resources may limit the number of Liens which may be applied.
|
# which may be applied.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::Lien] lien_object
|
# @param [Google::Apis::CloudresourcemanagerV1::Lien] lien_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -291,10 +290,9 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Delete a Lien by `name`.
|
# Delete a Lien by `name`. Callers of this method will require permission on the
|
||||||
# Callers of this method will require permission on the `parent` resource.
|
# `parent` resource. For example, a Lien with a `parent` of `projects/1234`
|
||||||
# For example, a Lien with a `parent` of `projects/1234` requires permission
|
# requires permission `resourcemanager.projects.updateLiens`.
|
||||||
# `resourcemanager.projects.updateLiens`.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The name/identifier of the Lien to delete.
|
# Required. The name/identifier of the Lien to delete.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -324,11 +322,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieve a Lien by `name`.
|
# Retrieve a Lien by `name`. Callers of this method will require permission on
|
||||||
# Callers of this method will require permission on the `parent` resource.
|
# the `parent` resource. For example, a Lien with a `parent` of `projects/1234`
|
||||||
# For example, a Lien with a `parent` of `projects/1234` requires permission
|
# requires permission requires permission `resourcemanager.projects.get` or `
|
||||||
# requires permission `resourcemanager.projects.get` or
|
# resourcemanager.projects.updateLiens`.
|
||||||
# `resourcemanager.projects.updateLiens`.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The name/identifier of the Lien.
|
# Required. The name/identifier of the Lien.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -358,19 +355,17 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# List all Liens applied to the `parent` resource.
|
# List all Liens applied to the `parent` resource. Callers of this method will
|
||||||
# Callers of this method will require permission on the `parent` resource.
|
# require permission on the `parent` resource. For example, a Lien with a `
|
||||||
# For example, a Lien with a `parent` of `projects/1234` requires permission
|
# parent` of `projects/1234` requires permission `resourcemanager.projects.get`.
|
||||||
# `resourcemanager.projects.get`.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of items to return. This is a suggestion for the server.
|
# The maximum number of items to return. This is a suggestion for the server.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# The `next_page_token` value returned from a previous List request, if any.
|
# The `next_page_token` value returned from a previous List request, if any.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the resource to list all attached Liens.
|
# Required. The name of the resource to list all attached Liens. For example, `
|
||||||
# For example, `projects/1234`.
|
# projects/1234`. (google.api.field_policy).resource_type annotation is not set
|
||||||
# (google.api.field_policy).resource_type annotation is not set since the
|
# since the parent depends on the meta api implementation. This field could be a
|
||||||
# parent depends on the meta api implementation. This field could be a
|
|
||||||
# project or other sub project resources.
|
# project or other sub project resources.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -401,9 +396,8 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the latest state of a long-running operation. Clients can use this
|
# Gets the latest state of a long-running operation. Clients can use this method
|
||||||
# method to poll the operation result at intervals as recommended by the API
|
# to poll the operation result at intervals as recommended by the API service.
|
||||||
# service.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the operation resource.
|
# The name of the operation resource.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -469,8 +463,8 @@ module Google
|
||||||
# Fetches an Organization resource identified by the specified resource name.
|
# Fetches an Organization resource identified by the specified resource name.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the Organization to fetch. This is the organization's
|
# The resource name of the Organization to fetch. This is the organization's
|
||||||
# relative path in the API, formatted as "organizations/[organizationId]".
|
# relative path in the API, formatted as "organizations/[organizationId]". For
|
||||||
# For example, "organizations/1234".
|
# example, "organizations/1234".
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -498,11 +492,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the effective `Policy` on a resource. This is the result of merging
|
# Gets the effective `Policy` on a resource. This is the result of merging `
|
||||||
# `Policies` in the resource hierarchy. The returned `Policy` will not have
|
# Policies` in the resource hierarchy. The returned `Policy` will not have an `
|
||||||
# an `etag`set because it is a computed `Policy` across multiple resources.
|
# etag`set because it is a computed `Policy` across multiple resources. Subtrees
|
||||||
# Subtrees of Resource Manager resource hierarchy with 'under:' prefix will
|
# of Resource Manager resource hierarchy with 'under:' prefix will not be
|
||||||
# not be expanded.
|
# expanded.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# The name of the resource to start computing the effective `Policy`.
|
# The name of the resource to start computing the effective `Policy`.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object
|
||||||
|
@ -535,14 +529,14 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the access control policy for an Organization resource. May be empty
|
# Gets the access control policy for an Organization resource. May be empty if
|
||||||
# if no such policy or resource exists. The `resource` field should be the
|
# no such policy or resource exists. The `resource` field should be the
|
||||||
# organization's resource name, e.g. "organizations/123".
|
# organization's resource name, e.g. "organizations/123". Authorization requires
|
||||||
# Authorization requires the Google IAM permission
|
# the Google IAM permission `resourcemanager.organizations.getIamPolicy` on the
|
||||||
# `resourcemanager.organizations.getIamPolicy` on the specified organization
|
# specified organization
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being requested.
|
# REQUIRED: The resource for which the policy is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -573,11 +567,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a `Policy` on a resource.
|
# Gets a `Policy` on a resource. If no `Policy` is set on the resource, a `
|
||||||
# If no `Policy` is set on the resource, a `Policy` is returned with default
|
# Policy` is returned with default values including `POLICY_TYPE_NOT_SET` for
|
||||||
# values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
|
# the `policy_type oneof`. The `etag` value can be used with `SetOrgPolicy()` to
|
||||||
# `etag` value can be used with `SetOrgPolicy()` to create or update a
|
# create or update a `Policy` during read-modify-write.
|
||||||
# `Policy` during read-modify-write.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource the `Policy` is set on.
|
# Name of the resource the `Policy` is set on.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object
|
||||||
|
@ -676,12 +669,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Searches Organization resources that are visible to the user and satisfy
|
# Searches Organization resources that are visible to the user and satisfy the
|
||||||
# the specified filter. This method returns Organizations in an unspecified
|
# specified filter. This method returns Organizations in an unspecified order.
|
||||||
# order. New Organizations do not necessarily appear at the end of the
|
# New Organizations do not necessarily appear at the end of the results. Search
|
||||||
# results.
|
# will only return organizations on which the user has the permission `
|
||||||
# Search will only return organizations on which the user has the permission
|
# resourcemanager.organizations.get`
|
||||||
# `resourcemanager.organizations.get`
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest] search_organizations_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest] search_organizations_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -713,12 +705,12 @@ module Google
|
||||||
|
|
||||||
# Sets the access control policy on an Organization resource. Replaces any
|
# Sets the access control policy on an Organization resource. Replaces any
|
||||||
# existing policy. The `resource` field should be the organization's resource
|
# existing policy. The `resource` field should be the organization's resource
|
||||||
# name, e.g. "organizations/123".
|
# name, e.g. "organizations/123". Authorization requires the Google IAM
|
||||||
# Authorization requires the Google IAM permission
|
# permission `resourcemanager.organizations.setIamPolicy` on the specified
|
||||||
# `resourcemanager.organizations.setIamPolicy` on the specified organization
|
# organization
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being specified.
|
# REQUIRED: The resource for which the policy is being specified. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -750,9 +742,9 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the specified `Policy` on the resource. Creates a new `Policy` for
|
# Updates the specified `Policy` on the resource. Creates a new `Policy` for
|
||||||
# that `Constraint` on the resource if one does not exist.
|
# that `Constraint` on the resource if one does not exist. Not supplying an `
|
||||||
# Not supplying an `etag` on the request `Policy` results in an unconditional
|
# etag` on the request `Policy` results in an unconditional write of the `Policy`
|
||||||
# write of the `Policy`.
|
# .
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Resource name of the resource to attach the `Policy`.
|
# Resource name of the resource to attach the `Policy`.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object
|
||||||
|
@ -785,13 +777,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified Organization.
|
# Returns permissions that a caller has on the specified Organization. The `
|
||||||
# The `resource` field should be the organization's resource name,
|
# resource` field should be the organization's resource name, e.g. "
|
||||||
# e.g. "organizations/123".
|
# organizations/123". There are no permissions required for making this API call.
|
||||||
# There are no permissions required for making this API call.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy detail is being requested.
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -855,19 +846,17 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Request that a new Project be created. The result is an Operation which
|
# Request that a new Project be created. The result is an Operation which can be
|
||||||
# can be used to track the creation process. This process usually takes a few
|
# used to track the creation process. This process usually takes a few seconds,
|
||||||
# seconds, but can sometimes take much longer. The tracking Operation is
|
# but can sometimes take much longer. The tracking Operation is automatically
|
||||||
# automatically deleted after a few hours, so there is no need to call
|
# deleted after a few hours, so there is no need to call DeleteOperation.
|
||||||
# DeleteOperation.
|
# Authorization requires the Google IAM permission `resourcemanager.projects.
|
||||||
# Authorization requires the Google IAM permission
|
# create` on the specified parent for the new project. The parent is identified
|
||||||
# `resourcemanager.projects.create` on the specified parent for the new
|
# by a specified ResourceId, which must include both an ID and a type, such as
|
||||||
# project. The parent is identified by a specified ResourceId,
|
# organization. This method does not associate the new project with a billing
|
||||||
# which must include both an ID and a type, such as organization.
|
# account. You can set or update the billing account associated with a project
|
||||||
# This method does not associate the new project with a billing account.
|
# using the [`projects.updateBillingInfo`] (/billing/reference/rest/v1/projects/
|
||||||
# You can set or update the billing account associated with a project using
|
# updateBillingInfo) method.
|
||||||
# the [`projects.updateBillingInfo`]
|
|
||||||
# (/billing/reference/rest/v1/projects/updateBillingInfo) method.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::Project] project_object
|
# @param [Google::Apis::CloudresourcemanagerV1::Project] project_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -897,26 +886,18 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Marks the Project identified by the specified
|
# Marks the Project identified by the specified `project_id` (for example, `my-
|
||||||
# `project_id` (for example, `my-project-123`) for deletion.
|
# project-123`) for deletion. This method will only affect the Project if it has
|
||||||
# This method will only affect the Project if it has a lifecycle state of
|
# a lifecycle state of ACTIVE. This method changes the Project's lifecycle state
|
||||||
# ACTIVE.
|
# from ACTIVE to DELETE_REQUESTED. The deletion starts at an unspecified time,
|
||||||
# This method changes the Project's lifecycle state from
|
# at which point the Project is no longer accessible. Until the deletion
|
||||||
# ACTIVE
|
# completes, you can check the lifecycle state checked by retrieving the Project
|
||||||
# to DELETE_REQUESTED.
|
# with GetProject, and the Project remains visible to ListProjects. However, you
|
||||||
# The deletion starts at an unspecified time,
|
# cannot update the project. After the deletion completes, the Project is not
|
||||||
# at which point the Project is no longer accessible.
|
# retrievable by the GetProject and ListProjects methods. The caller must have
|
||||||
# Until the deletion completes, you can check the lifecycle state
|
# modify permissions for this Project.
|
||||||
# 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
|
# @param [String] project_id
|
||||||
# The Project ID (for example, `foo-bar-123`).
|
# The Project ID (for example, `foo-bar-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -944,12 +925,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves the Project identified by the specified
|
# Retrieves the Project identified by the specified `project_id` (for example, `
|
||||||
# `project_id` (for example, `my-project-123`).
|
# my-project-123`). The caller must have read permissions for this Project.
|
||||||
# The caller must have read permissions for this Project.
|
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Project ID (for example, `my-project-123`).
|
# The Project ID (for example, `my-project-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -977,12 +956,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a list of ancestors in the resource hierarchy for the Project
|
# Gets a list of ancestors in the resource hierarchy for the Project identified
|
||||||
# identified by the specified `project_id` (for example, `my-project-123`).
|
# by the specified `project_id` (for example, `my-project-123`). The caller must
|
||||||
# The caller must have read permissions for this Project.
|
# have read permissions for this Project.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Project ID (for example, `my-project-123`).
|
# The Project ID (for example, `my-project-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::GetAncestryRequest] get_ancestry_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::GetAncestryRequest] get_ancestry_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1013,11 +991,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the effective `Policy` on a resource. This is the result of merging
|
# Gets the effective `Policy` on a resource. This is the result of merging `
|
||||||
# `Policies` in the resource hierarchy. The returned `Policy` will not have
|
# Policies` in the resource hierarchy. The returned `Policy` will not have an `
|
||||||
# an `etag`set because it is a computed `Policy` across multiple resources.
|
# etag`set because it is a computed `Policy` across multiple resources. Subtrees
|
||||||
# Subtrees of Resource Manager resource hierarchy with 'under:' prefix will
|
# of Resource Manager resource hierarchy with 'under:' prefix will not be
|
||||||
# not be expanded.
|
# expanded.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# The name of the resource to start computing the effective `Policy`.
|
# The name of the resource to start computing the effective `Policy`.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object
|
||||||
|
@ -1050,15 +1028,15 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the IAM access control policy for the specified Project.
|
# Returns the IAM access control policy for the specified Project. Permission is
|
||||||
# Permission is denied if the policy or the resource does not exist.
|
# denied if the policy or the resource does not exist. Authorization requires
|
||||||
# Authorization requires the Google IAM permission
|
# the Google IAM permission `resourcemanager.projects.getIamPolicy` on the
|
||||||
# `resourcemanager.projects.getIamPolicy` on the project.
|
# project. For additional information about `resource` (e.g. my-project-id)
|
||||||
# For additional information about `resource` (e.g. my-project-id) structure
|
# structure and identification, see [Resource Names](/apis/design/resource_names)
|
||||||
# and identification, see [Resource Names](/apis/design/resource_names).
|
# .
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being requested.
|
# REQUIRED: The resource for which the policy is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1089,11 +1067,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a `Policy` on a resource.
|
# Gets a `Policy` on a resource. If no `Policy` is set on the resource, a `
|
||||||
# If no `Policy` is set on the resource, a `Policy` is returned with default
|
# Policy` is returned with default values including `POLICY_TYPE_NOT_SET` for
|
||||||
# values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The
|
# the `policy_type oneof`. The `etag` value can be used with `SetOrgPolicy()` to
|
||||||
# `etag` value can be used with `SetOrgPolicy()` to create or update a
|
# create or update a `Policy` during read-modify-write.
|
||||||
# `Policy` during read-modify-write.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource the `Policy` is set on.
|
# Name of the resource the `Policy` is set on.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object
|
||||||
|
@ -1127,61 +1104,43 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists Projects that the caller has the `resourcemanager.projects.get`
|
# Lists Projects that the caller has the `resourcemanager.projects.get`
|
||||||
# permission on and satisfy the specified filter.
|
# permission on and satisfy the specified filter. This method returns Projects
|
||||||
# This method returns Projects in an unspecified order.
|
# in an unspecified order. This method is eventually consistent with project
|
||||||
# This method is eventually consistent with project mutations; this means
|
# mutations; this means that a newly created project may not appear in the
|
||||||
# that a newly created project may not appear in the results or recent
|
# results or recent updates to an existing project may not be reflected in the
|
||||||
# updates to an existing project may not be reflected in the results. To
|
# results. To retrieve the latest state of a project, use the GetProject method.
|
||||||
# retrieve the latest state of a project, use the
|
# NOTE: If the request filter contains a `parent.type` and `parent.id` and the
|
||||||
# GetProject method.
|
# caller has the `resourcemanager.projects.list` permission on the parent, the
|
||||||
# NOTE: If the request filter contains a `parent.type` and `parent.id` and
|
# results will be drawn from an alternate index which provides more consistent
|
||||||
# the caller has the `resourcemanager.projects.list` permission on the
|
# results. In future versions of this API, this List method will be split into
|
||||||
# parent, the results will be drawn from an alternate index which provides
|
# List and Search to properly capture the behavorial difference.
|
||||||
# more consistent results. In future versions of this API, this List method
|
|
||||||
# will be split into List and Search to properly capture the behavorial
|
|
||||||
# difference.
|
|
||||||
# @param [String] filter
|
# @param [String] filter
|
||||||
# An expression for filtering the results of the request. Filter rules are
|
# An expression for filtering the results of the request. Filter rules are case
|
||||||
# case insensitive. Some eligible fields for filtering are:
|
# insensitive. Some eligible fields for filtering are: + `name` + `id` + `labels.
|
||||||
# + `name`
|
# ` (where *key* is the name of a label) + `parent.type` + `parent.id` + `
|
||||||
# + `id`
|
# lifecycleState` Some examples of filter strings: | Filter | Description | |----
|
||||||
# + `labels.<key>` (where *key* is the name of a label)
|
# --------------|-----------------------------------------------------| | name:
|
||||||
# + `parent.type`
|
# how* | The project's name starts with "how". | | name:Howl | The project's
|
||||||
# + `parent.id`
|
# name is `Howl` or `howl`. | | name:HOWL | Equivalent to above. | | NAME:howl |
|
||||||
# + `lifecycleState`
|
# Equivalent to above. | | labels.color:* | The project has the label `color`. |
|
||||||
# Some examples of filter strings:
|
# | labels.color:red | The project's label `color` has the value `red`. | |
|
||||||
# | Filter | Description |
|
# labels.color:red labels.size:big | The project's label `color` | : : has the
|
||||||
# |------------------|-----------------------------------------------------|
|
# value `red` and its : : : label`size` has the value : : : `big`. : |
|
||||||
# | name:how* | The project's name starts with "how". |
|
# lifecycleState:DELETE_REQUESTED | Only show projects that are | : : pending
|
||||||
# | name:Howl | The project's name is `Howl` or `howl`. |
|
# deletion. : If no filter is specified, the call will return projects for which
|
||||||
# | name:HOWL | Equivalent to above. |
|
# the user has the `resourcemanager.projects.get` permission. NOTE: To perform a
|
||||||
# | NAME:howl | Equivalent to above. |
|
# by-parent query (eg., what projects are directly in a Folder), the caller must
|
||||||
# | labels.color:* | The project has the label `color`. |
|
# have the `resourcemanager.projects.list` permission on the parent and the
|
||||||
# | labels.color:red | The project's label `color` has the value `red`. |
|
# filter must contain both a `parent.type` and a `parent.id` restriction (
|
||||||
# | labels.color:red labels.size:big | The project's label `color` |
|
# example: "parent.type:folder parent.id:123"). In this case an alternate search
|
||||||
# : : has the value `red` and its :
|
# index is used which provides more consistent results. Optional.
|
||||||
# : : label`size` has the value :
|
|
||||||
# : : `big`. :
|
|
||||||
# | lifecycleState:DELETE_REQUESTED | Only show projects that are |
|
|
||||||
# : : pending deletion. :
|
|
||||||
# If no filter is specified, the call will return projects for which the user
|
|
||||||
# has the `resourcemanager.projects.get` permission.
|
|
||||||
# NOTE: To perform a by-parent query (eg., what projects are directly in a
|
|
||||||
# Folder), the caller must have the `resourcemanager.projects.list`
|
|
||||||
# permission on the parent and the filter must contain both a `parent.type`
|
|
||||||
# and a `parent.id` restriction
|
|
||||||
# (example: "parent.type:folder parent.id:123"). In this case an alternate
|
|
||||||
# search index is used which provides more consistent results.
|
|
||||||
# Optional.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of Projects to return in the response.
|
# The maximum number of Projects to return in the response. The server can
|
||||||
# The server can return fewer Projects than requested.
|
# return fewer Projects than requested. If unspecified, server picks an
|
||||||
# If unspecified, server picks an appropriate default.
|
# appropriate default. Optional.
|
||||||
# Optional.
|
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# A pagination token returned from a previous call to ListProjects
|
# A pagination token returned from a previous call to ListProjects that
|
||||||
# that indicates from where listing should continue.
|
# indicates from where listing should continue. Optional.
|
||||||
# Optional.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -1277,47 +1236,41 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Sets the IAM access control policy for the specified Project.
|
# Sets the IAM access control policy for the specified Project. CAUTION: This
|
||||||
# CAUTION: This method will replace the existing policy, and cannot be used
|
# method will replace the existing policy, and cannot be used to append
|
||||||
# to append additional IAM settings.
|
# additional IAM settings. NOTE: Removing service accounts from policies or
|
||||||
# NOTE: Removing service accounts from policies or changing their roles can
|
# changing their roles can render services completely inoperable. It is
|
||||||
# render services completely inoperable. It is important to understand how
|
# important to understand how the service account is being used before removing
|
||||||
# the service account is being used before removing or updating its roles.
|
# or updating its roles. For additional information about `resource` (e.g. my-
|
||||||
# For additional information about `resource` (e.g. my-project-id) structure
|
# project-id) structure and identification, see [Resource Names](/apis/design/
|
||||||
# and identification, see [Resource Names](/apis/design/resource_names).
|
# resource_names). The following constraints apply when using `setIamPolicy()`: +
|
||||||
# The following constraints apply when using `setIamPolicy()`:
|
# Project does not support `allUsers` and `allAuthenticatedUsers` as `members`
|
||||||
# + Project does not support `allUsers` and `allAuthenticatedUsers` as
|
# in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `
|
||||||
# `members` in a `Binding` of a `Policy`.
|
# serviceAccount`, or a group that is part of an organization. For example,
|
||||||
# + The owner role can be granted to a `user`, `serviceAccount`, or a group
|
# group@myownpersonaldomain.com could be added as an owner to a project in the
|
||||||
# that is part of an organization. For example,
|
# myownpersonaldomain.com organization, but not the examplepetstore.com
|
||||||
# group@myownpersonaldomain.com could be added as an owner to a project in
|
# organization. + Service accounts can be made owners of a project directly
|
||||||
# the myownpersonaldomain.com organization, but not the examplepetstore.com
|
|
||||||
# organization.
|
|
||||||
# + Service accounts can be made owners of a project directly
|
|
||||||
# without any restrictions. However, to be added as an owner, a user must be
|
# without any restrictions. However, to be added as an owner, a user must be
|
||||||
# invited via Cloud Platform console and must accept the invitation.
|
# invited via Cloud Platform console and must accept the invitation. + A user
|
||||||
# + A user cannot be granted the owner role using `setIamPolicy()`. The user
|
# cannot be granted the owner role using `setIamPolicy()`. The user must be
|
||||||
# must be granted the owner role using the Cloud Platform Console and must
|
# granted the owner role using the Cloud Platform Console and must explicitly
|
||||||
# explicitly accept the invitation.
|
# accept the invitation. + You can only grant ownership of a project to a member
|
||||||
# + You can only grant ownership of a project to a member by using the
|
# by using the GCP Console. Inviting a member will deliver an invitation email
|
||||||
# GCP Console. Inviting a member will deliver an invitation email that
|
# that they must accept. An invitation email is not generated if you are
|
||||||
# they must accept. An invitation email is not generated if you are
|
# granting a role other than owner, or if both the member you are inviting and
|
||||||
# granting a role other than owner, or if both the member you are inviting
|
# the project are part of your organization. + Membership changes that leave the
|
||||||
# and the project are part of your organization.
|
# project without any owners that have accepted the Terms of Service (ToS) will
|
||||||
# + Membership changes that leave the project without any owners that have
|
# be rejected. + If the project is not part of an organization, there must be at
|
||||||
# accepted the Terms of Service (ToS) will be rejected.
|
# least one owner who has accepted the Terms of Service (ToS) agreement in the
|
||||||
# + If the project is not part of an organization, there must be at least
|
# policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from
|
||||||
# one owner who has accepted the Terms of Service (ToS) agreement in the
|
# the policy will fail. This restriction also applies to legacy projects that no
|
||||||
# policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner
|
# longer have owners who have accepted the ToS. Edits to IAM policies will be
|
||||||
# from the policy will fail. This restriction also applies to legacy
|
# rejected until the lack of a ToS-accepting owner is rectified. Authorization
|
||||||
# projects that no longer have owners who have accepted the ToS. Edits to
|
# requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on
|
||||||
# IAM policies will be rejected until the lack of a ToS-accepting owner is
|
# the project
|
||||||
# rectified.
|
|
||||||
# Authorization requires the Google IAM permission
|
|
||||||
# `resourcemanager.projects.setIamPolicy` on the project
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being specified.
|
# REQUIRED: The resource for which the policy is being specified. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1349,9 +1302,9 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the specified `Policy` on the resource. Creates a new `Policy` for
|
# Updates the specified `Policy` on the resource. Creates a new `Policy` for
|
||||||
# that `Constraint` on the resource if one does not exist.
|
# that `Constraint` on the resource if one does not exist. Not supplying an `
|
||||||
# Not supplying an `etag` on the request `Policy` results in an unconditional
|
# etag` on the request `Policy` results in an unconditional write of the `Policy`
|
||||||
# write of the `Policy`.
|
# .
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Resource name of the resource to attach the `Policy`.
|
# Resource name of the resource to attach the `Policy`.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object
|
||||||
|
@ -1384,13 +1337,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified Project.
|
# Returns permissions that a caller has on the specified Project. For additional
|
||||||
# For additional information about `resource` (e.g. my-project-id) structure
|
# information about `resource` (e.g. my-project-id) structure and identification,
|
||||||
# and identification, see [Resource Names](/apis/design/resource_names).
|
# see [Resource Names](/apis/design/resource_names). There are no permissions
|
||||||
# There are no permissions required for making this API call.
|
# required for making this API call.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy detail is being requested.
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1421,15 +1374,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Restores the Project identified by the specified
|
# Restores the Project identified by the specified `project_id` (for example, `
|
||||||
# `project_id` (for example, `my-project-123`).
|
# my-project-123`). You can only use this method for a Project that has a
|
||||||
# You can only use this method for a Project that has a lifecycle state of
|
# lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot
|
||||||
# DELETE_REQUESTED.
|
# be restored. The caller must have modify permissions for this Project.
|
||||||
# After deletion starts, the Project cannot be restored.
|
|
||||||
# The caller must have modify permissions for this Project.
|
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The project ID (for example, `foo-bar-123`).
|
# The project ID (for example, `foo-bar-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1460,12 +1410,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the attributes of the Project identified by the specified
|
# Updates the attributes of the Project identified by the specified `project_id`
|
||||||
# `project_id` (for example, `my-project-123`).
|
# (for example, `my-project-123`). The caller must have modify permissions for
|
||||||
# The caller must have modify permissions for this Project.
|
# this Project.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The project ID (for example, `my-project-123`).
|
# The project ID (for example, `my-project-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::Project] project_object
|
# @param [Google::Apis::CloudresourcemanagerV1::Project] project_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1beta1
|
module CloudresourcemanagerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200622'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -28,8 +28,8 @@ module Google
|
||||||
|
|
||||||
# A container to reference an id for any resource type. A `resource` in Google
|
# 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
|
# 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,
|
# interact with through one of our API's. Some examples are an App Engine app, a
|
||||||
# a Compute Engine instance, a Cloud SQL database, and so on.
|
# Compute Engine instance, a Cloud SQL database, and so on.
|
||||||
# Corresponds to the JSON property `resourceId`
|
# Corresponds to the JSON property `resourceId`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
|
# @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
|
||||||
attr_accessor :resource_id
|
attr_accessor :resource_id
|
||||||
|
@ -44,53 +44,21 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Specifies the audit configuration for a service.
|
# Specifies the audit configuration for a service. The configuration determines
|
||||||
# The configuration determines which permission types are logged, and what
|
# which permission types are logged, and what identities, if any, are exempted
|
||||||
# identities, if any, are exempted from logging.
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
||||||
# An AuditConfig must have one or more AuditLogConfigs.
|
# are AuditConfigs for both `allServices` and a specific service, the union of
|
||||||
# If there are AuditConfigs for both `allServices` and a specific service,
|
# the two AuditConfigs is used for that service: the log_types specified in each
|
||||||
# the union of the two AuditConfigs is used for that service: the log_types
|
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
||||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
||||||
# AuditLogConfig are exempted.
|
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
||||||
# Example Policy with multiple AuditConfigs:
|
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
||||||
# `
|
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
||||||
# "audit_configs": [
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
||||||
# `
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
||||||
# "service": "allServices",
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
||||||
# "audit_log_configs": [
|
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
||||||
# `
|
# DATA_WRITE logging.
|
||||||
# "log_type": "DATA_READ",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:jose@example.com"
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE"
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "ADMIN_READ"
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "service": "sampleservice.googleapis.com",
|
|
||||||
# "audit_log_configs": [
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_READ"
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:aliya@example.com"
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
||||||
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
||||||
# aliya@example.com from DATA_WRITE logging.
|
|
||||||
class AuditConfig
|
class AuditConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -99,9 +67,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
|
||||||
attr_accessor :audit_log_configs
|
attr_accessor :audit_log_configs
|
||||||
|
|
||||||
# Specifies a service that will be enabled for audit logging.
|
# Specifies a service that will be enabled for audit logging. For example, `
|
||||||
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
||||||
# `allServices` is a special value that covers all services.
|
# value that covers all services.
|
||||||
# Corresponds to the JSON property `service`
|
# Corresponds to the JSON property `service`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :service
|
attr_accessor :service
|
||||||
|
@ -117,28 +85,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Provides the configuration for logging a type of permissions.
|
# Provides the configuration for logging a type of permissions. Example: ` "
|
||||||
# Example:
|
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
||||||
# `
|
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
||||||
# "audit_log_configs": [
|
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
||||||
# `
|
# DATA_READ logging.
|
||||||
# "log_type": "DATA_READ",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:jose@example.com"
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE"
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
||||||
# jose@example.com from DATA_READ logging.
|
|
||||||
class AuditLogConfig
|
class AuditLogConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Specifies the identities that do not cause logging for this type of
|
# Specifies the identities that do not cause logging for this type of permission.
|
||||||
# permission.
|
|
||||||
# Follows the same format of Binding.members.
|
# Follows the same format of Binding.members.
|
||||||
# Corresponds to the JSON property `exemptedMembers`
|
# Corresponds to the JSON property `exemptedMembers`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
|
@ -164,69 +119,57 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents a textual expression in the Common Expression Language (CEL)
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||||
# are documented at https://github.com/google/cel-spec.
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
||||||
# Example (Comparison):
|
# "Summary size limit" description: "Determines if a summary is less than 100
|
||||||
# title: "Summary size limit"
|
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
||||||
# description: "Determines if a summary is less than 100 chars"
|
# Requestor is owner" description: "Determines if requestor is the document
|
||||||
# expression: "document.summary.size() < 100"
|
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
||||||
# Example (Equality):
|
# Logic): title: "Public documents" description: "Determine whether the document
|
||||||
# title: "Requestor is owner"
|
# should be publicly visible" expression: "document.type != 'private' &&
|
||||||
# description: "Determines if requestor is the document owner"
|
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
||||||
# expression: "document.owner == request.auth.claims.email"
|
# string" description: "Create a notification string with a timestamp."
|
||||||
# Example (Logic):
|
# expression: "'New message received at ' + string(document.create_time)" The
|
||||||
# title: "Public documents"
|
# exact variables and functions that may be referenced within an expression are
|
||||||
# description: "Determine whether the document should be publicly visible"
|
# determined by the service that evaluates it. See the service documentation for
|
||||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
# additional information.
|
||||||
# Example (Data Manipulation):
|
|
||||||
# title: "Notification string"
|
|
||||||
# description: "Create a notification string with a timestamp."
|
|
||||||
# expression: "'New message received at ' + string(document.create_time)"
|
|
||||||
# The exact variables and functions that may be referenced within an expression
|
|
||||||
# are determined by the service that evaluates it. See the service
|
|
||||||
# documentation for additional information.
|
|
||||||
# Corresponds to the JSON property `condition`
|
# Corresponds to the JSON property `condition`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::Expr]
|
# @return [Google::Apis::CloudresourcemanagerV1beta1::Expr]
|
||||||
attr_accessor :condition
|
attr_accessor :condition
|
||||||
|
|
||||||
# Specifies the identities requesting access for a Cloud Platform resource.
|
# Specifies the identities requesting access for a Cloud Platform resource. `
|
||||||
# `members` can have the following values:
|
# members` can have the following values: * `allUsers`: A special identifier
|
||||||
# * `allUsers`: A special identifier that represents anyone who is
|
# that represents anyone who is on the internet; with or without a Google
|
||||||
# on the internet; with or without a Google account.
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
||||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
# anyone who is authenticated with a Google account or a service account. * `
|
||||||
# who is authenticated with a Google account or a service account.
|
# user:`emailid``: An email address that represents a specific Google account.
|
||||||
# * `user:`emailid``: An email address that represents a specific Google
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
||||||
# account. For example, `alice@example.com` .
|
# address that represents a service account. For example, `my-other-app@appspot.
|
||||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# `uniqueid``: An email address (plus unique identifier) representing a user
|
||||||
# For example, `admins@example.com`.
|
# that has been recently deleted. For example, `alice@example.com?uid=
|
||||||
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
||||||
# identifier) representing a user that has been recently deleted. For
|
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
||||||
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
# identifier) representing a service account that has been recently deleted. For
|
||||||
# retains the role in the binding.
|
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||||
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
||||||
# unique identifier) representing a service account that has been recently
|
# emailid`` and the undeleted service account retains the role in the binding. *
|
||||||
# deleted. For example,
|
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
# identifier) representing a Google group that has been recently deleted. For
|
||||||
# If the service account is undeleted, this value reverts to
|
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
||||||
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
||||||
# role in the binding.
|
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
||||||
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
# primary) that represents all the users of that domain. For example, `google.
|
||||||
# identifier) representing a Google group that has been recently
|
# com` or `example.com`.
|
||||||
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
||||||
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
||||||
# recovered group retains the role in the binding.
|
|
||||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :members
|
attr_accessor :members
|
||||||
|
|
||||||
# Role that is assigned to `members`.
|
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
||||||
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
# , or `roles/owner`.
|
||||||
# Corresponds to the JSON property `role`
|
# Corresponds to the JSON property `role`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :role
|
attr_accessor :role
|
||||||
|
@ -243,13 +186,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A generic empty message that you can re-use to avoid defining duplicated
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
||||||
# empty messages in your APIs. A typical example is to use it as the request
|
# messages in your APIs. A typical example is to use it as the request or the
|
||||||
# or the response type of an API method. For instance:
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
||||||
# service Foo `
|
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
||||||
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
# `Empty` is empty JSON object ````.
|
||||||
# `
|
|
||||||
# The JSON representation for `Empty` is empty JSON object ````.
|
|
||||||
class Empty
|
class Empty
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -262,52 +203,43 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a textual expression in the Common Expression Language (CEL)
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||||
# are documented at https://github.com/google/cel-spec.
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
||||||
# Example (Comparison):
|
# "Summary size limit" description: "Determines if a summary is less than 100
|
||||||
# title: "Summary size limit"
|
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
||||||
# description: "Determines if a summary is less than 100 chars"
|
# Requestor is owner" description: "Determines if requestor is the document
|
||||||
# expression: "document.summary.size() < 100"
|
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
||||||
# Example (Equality):
|
# Logic): title: "Public documents" description: "Determine whether the document
|
||||||
# title: "Requestor is owner"
|
# should be publicly visible" expression: "document.type != 'private' &&
|
||||||
# description: "Determines if requestor is the document owner"
|
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
||||||
# expression: "document.owner == request.auth.claims.email"
|
# string" description: "Create a notification string with a timestamp."
|
||||||
# Example (Logic):
|
# expression: "'New message received at ' + string(document.create_time)" The
|
||||||
# title: "Public documents"
|
# exact variables and functions that may be referenced within an expression are
|
||||||
# description: "Determine whether the document should be publicly visible"
|
# determined by the service that evaluates it. See the service documentation for
|
||||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
# additional information.
|
||||||
# Example (Data Manipulation):
|
|
||||||
# title: "Notification string"
|
|
||||||
# description: "Create a notification string with a timestamp."
|
|
||||||
# expression: "'New message received at ' + string(document.create_time)"
|
|
||||||
# The exact variables and functions that may be referenced within an expression
|
|
||||||
# are determined by the service that evaluates it. See the service
|
|
||||||
# documentation for additional information.
|
|
||||||
class Expr
|
class Expr
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. Description of the expression. This is a longer text which
|
# Optional. Description of the expression. This is a longer text which describes
|
||||||
# describes the expression, e.g. when hovered over it in a UI.
|
# the expression, e.g. when hovered over it in a UI.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# Textual representation of an expression in Common Expression Language
|
# Textual representation of an expression in Common Expression Language syntax.
|
||||||
# syntax.
|
|
||||||
# Corresponds to the JSON property `expression`
|
# Corresponds to the JSON property `expression`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :expression
|
attr_accessor :expression
|
||||||
|
|
||||||
# Optional. String indicating the location of the expression for error
|
# Optional. String indicating the location of the expression for error reporting,
|
||||||
# reporting, e.g. a file name and a position in the file.
|
# e.g. a file name and a position in the file.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# Optional. Title for the expression, i.e. a short string describing
|
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
||||||
# its purpose. This can be used e.g. in UIs which allow to enter the
|
# This can be used e.g. in UIs which allow to enter the expression.
|
||||||
# expression.
|
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :title
|
attr_accessor :title
|
||||||
|
@ -329,8 +261,8 @@ module Google
|
||||||
class FolderOperation
|
class FolderOperation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The resource name of the folder or organization we are either creating
|
# The resource name of the folder or organization we are either creating the
|
||||||
# the folder under or moving the folder to.
|
# folder under or moving the folder to.
|
||||||
# Corresponds to the JSON property `destinationParent`
|
# Corresponds to the JSON property `destinationParent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :destination_parent
|
attr_accessor :destination_parent
|
||||||
|
@ -345,8 +277,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :operation_type
|
attr_accessor :operation_type
|
||||||
|
|
||||||
# The resource name of the folder's parent.
|
# The resource name of the folder's parent. Only applicable when the
|
||||||
# Only applicable when the operation_type is MOVE.
|
# operation_type is MOVE.
|
||||||
# Corresponds to the JSON property `sourceParent`
|
# Corresponds to the JSON property `sourceParent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source_parent
|
attr_accessor :source_parent
|
||||||
|
@ -383,9 +315,8 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The request sent to the
|
# The request sent to the [google.cloudresourcemanager.projects.v1beta1.
|
||||||
# [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetAncestry]
|
# DeveloperProjects.GetAncestry] method.
|
||||||
# method.
|
|
||||||
class GetAncestryRequest
|
class GetAncestryRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -398,15 +329,12 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Response from the
|
# Response from the projects.getAncestry method.
|
||||||
# projects.getAncestry
|
|
||||||
# method.
|
|
||||||
class GetAncestryResponse
|
class GetAncestryResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Ancestors are ordered from bottom to top of the resource hierarchy. The
|
# Ancestors are ordered from bottom to top of the resource hierarchy. The first
|
||||||
# first ancestor is the project itself, followed by the project's parent,
|
# ancestor is the project itself, followed by the project's parent, etc.
|
||||||
# etc.
|
|
||||||
# Corresponds to the JSON property `ancestor`
|
# Corresponds to the JSON property `ancestor`
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
|
||||||
attr_accessor :ancestor
|
attr_accessor :ancestor
|
||||||
|
@ -444,15 +372,13 @@ module Google
|
||||||
class GetPolicyOptions
|
class GetPolicyOptions
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. The policy format version to be returned.
|
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
||||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
# 3. Requests specifying an invalid value will be rejected. Requests for
|
||||||
# rejected.
|
# policies with any conditional bindings must specify version 3. Policies
|
||||||
# Requests for policies with any conditional bindings must specify version 3.
|
# without any conditional bindings may specify any valid value or leave the
|
||||||
# Policies without any conditional bindings may specify any valid value or
|
# field unset. To learn which resources support conditions in their IAM policies,
|
||||||
# leave the field unset.
|
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
||||||
# To learn which resources support conditions in their IAM policies, see the
|
# resource-policies).
|
||||||
# [IAM
|
|
||||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
||||||
# Corresponds to the JSON property `requestedPolicyVersion`
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :requested_policy_version
|
attr_accessor :requested_policy_version
|
||||||
|
@ -472,10 +398,10 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A pagination token to be used to retrieve the next page of results. If the
|
# 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,
|
# result is too large to fit within the page size specified in the request, this
|
||||||
# this field will be set with a token that can be used to fetch the next page
|
# field will be set with a token that can be used to fetch the next page of
|
||||||
# of results. If this field is empty, it indicates that this response
|
# results. If this field is empty, it indicates that this response contains the
|
||||||
# contains the last page of results.
|
# last page of results.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -496,29 +422,23 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A page of the response received from the
|
# A page of the response received from the ListProjects method. A paginated
|
||||||
# ListProjects
|
# response where more pages are available has `next_page_token` set. This token
|
||||||
# method.
|
# can be used in a subsequent request to retrieve the next request page.
|
||||||
# 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 ListProjectsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Pagination token.
|
# Pagination token. If the result set is too large to fit in a single response,
|
||||||
# If the result set is too large to fit in a single response, this token
|
# this token is returned. It encodes the position of the current result cursor.
|
||||||
# is returned. It encodes the position of the current result cursor.
|
|
||||||
# Feeding this value into a new list request with the `page_token` parameter
|
# Feeding this value into a new list request with the `page_token` parameter
|
||||||
# gives the next page of the results.
|
# gives the next page of the results. When `next_page_token` is not filled in,
|
||||||
# When `next_page_token` is not filled in, there is no next page and
|
# there is no next page and the list returned is the last page in the result set.
|
||||||
# the list returned is the last page in the result set.
|
|
||||||
# Pagination tokens have a limited lifetime.
|
# Pagination tokens have a limited lifetime.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
# The list of Projects that matched the list filter. This list can
|
# The list of Projects that matched the list filter. This list can be paginated.
|
||||||
# be paginated.
|
|
||||||
# Corresponds to the JSON property `projects`
|
# Corresponds to the JSON property `projects`
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
|
||||||
attr_accessor :projects
|
attr_accessor :projects
|
||||||
|
@ -534,8 +454,8 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The root node in the resource hierarchy to which a particular entity's
|
# The root node in the resource hierarchy to which a particular entity's (e.g.,
|
||||||
# (e.g., company) resources belong.
|
# company) resources belong.
|
||||||
class Organization
|
class Organization
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -544,10 +464,10 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :creation_time
|
attr_accessor :creation_time
|
||||||
|
|
||||||
# A human-readable string that refers to the Organization in the
|
# A human-readable string that refers to the Organization in the GCP Console UI.
|
||||||
# GCP Console UI. This string is set by the server and cannot be
|
# This string is set by the server and cannot be changed. The string will be set
|
||||||
# changed. The string will be set to the primary domain (for example,
|
# to the primary domain (for example, "google.com") of the G Suite customer that
|
||||||
# "google.com") of the G Suite customer that owns the organization.
|
# owns the organization.
|
||||||
# Corresponds to the JSON property `displayName`
|
# Corresponds to the JSON property `displayName`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :display_name
|
attr_accessor :display_name
|
||||||
|
@ -557,23 +477,22 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :lifecycle_state
|
attr_accessor :lifecycle_state
|
||||||
|
|
||||||
# Output only. The resource name of the organization. This is the
|
# Output only. The resource name of the organization. This is the organization's
|
||||||
# organization's relative path in the API. Its format is
|
# relative path in the API. Its format is "organizations/[organization_id]". For
|
||||||
# "organizations/[organization_id]". For example, "organizations/1234".
|
# example, "organizations/1234".
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# An immutable id for the Organization that is assigned on creation. This
|
# An immutable id for the Organization that is assigned on creation. This should
|
||||||
# should be omitted when creating a new Organization.
|
# be omitted when creating a new Organization. This field is read-only.
|
||||||
# This field is read-only.
|
|
||||||
# Corresponds to the JSON property `organizationId`
|
# Corresponds to the JSON property `organizationId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :organization_id
|
attr_accessor :organization_id
|
||||||
|
|
||||||
# The entity that owns an Organization. The lifetime of the Organization and
|
# The entity that owns an Organization. The lifetime of the Organization and all
|
||||||
# all of its descendants are bound to the `OrganizationOwner`. If the
|
# of its descendants are bound to the `OrganizationOwner`. If the `
|
||||||
# `OrganizationOwner` is deleted, the Organization and all its descendants will
|
# OrganizationOwner` is deleted, the Organization and all its descendants will
|
||||||
# be deleted.
|
# be deleted.
|
||||||
# Corresponds to the JSON property `owner`
|
# Corresponds to the JSON property `owner`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]
|
# @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]
|
||||||
|
@ -594,9 +513,9 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The entity that owns an Organization. The lifetime of the Organization and
|
# The entity that owns an Organization. The lifetime of the Organization and all
|
||||||
# all of its descendants are bound to the `OrganizationOwner`. If the
|
# of its descendants are bound to the `OrganizationOwner`. If the `
|
||||||
# `OrganizationOwner` is deleted, the Organization and all its descendants will
|
# OrganizationOwner` is deleted, the Organization and all its descendants will
|
||||||
# be deleted.
|
# be deleted.
|
||||||
class OrganizationOwner
|
class OrganizationOwner
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -617,66 +536,32 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# An Identity and Access Management (IAM) policy, which specifies access
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# controls for Google Cloud resources.
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
||||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
# role or a user-created custom role. For some types of Google Cloud resources,
|
||||||
# custom role.
|
# a `binding` can also specify a `condition`, which is a logical expression that
|
||||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
# allows access to a resource only if the expression evaluates to `true`. A
|
||||||
# `condition`, which is a logical expression that allows access to a resource
|
# condition can add constraints based on attributes of the request, the resource,
|
||||||
# only if the expression evaluates to `true`. A condition can add constraints
|
# or both. To learn which resources support conditions in their IAM policies,
|
||||||
# based on attributes of the request, the resource, or both. To learn which
|
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
||||||
# resources support conditions in their IAM policies, see the
|
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
||||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
||||||
# policies).
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
||||||
# **JSON example:**
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
||||||
# `
|
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
||||||
# "bindings": [
|
# title": "expirable access", "description": "Does not grant access after Sep
|
||||||
# `
|
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
||||||
# "role": "roles/resourcemanager.organizationAdmin",
|
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
||||||
# "members": [
|
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
||||||
# "user:mike@example.com",
|
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
||||||
# "group:admins@example.com",
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
||||||
# "domain:google.com",
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
||||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
||||||
# ]
|
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
||||||
# `,
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
||||||
# `
|
# google.com/iam/docs/).
|
||||||
# "role": "roles/resourcemanager.organizationViewer",
|
|
||||||
# "members": [
|
|
||||||
# "user:eve@example.com"
|
|
||||||
# ],
|
|
||||||
# "condition": `
|
|
||||||
# "title": "expirable access",
|
|
||||||
# "description": "Does not grant access after Sep 2020",
|
|
||||||
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# ",
|
|
||||||
# `
|
|
||||||
# `
|
|
||||||
# ],
|
|
||||||
# "etag": "BwWWja0YfJA=",
|
|
||||||
# "version": 3
|
|
||||||
# `
|
|
||||||
# **YAML example:**
|
|
||||||
# bindings:
|
|
||||||
# - members:
|
|
||||||
# - user:mike@example.com
|
|
||||||
# - group:admins@example.com
|
|
||||||
# - domain:google.com
|
|
||||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
||||||
# role: roles/resourcemanager.organizationAdmin
|
|
||||||
# - members:
|
|
||||||
# - user:eve@example.com
|
|
||||||
# role: roles/resourcemanager.organizationViewer
|
|
||||||
# condition:
|
|
||||||
# title: expirable access
|
|
||||||
# description: Does not grant access after Sep 2020
|
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# - etag: BwWWja0YfJA=
|
|
||||||
# - version: 3
|
|
||||||
# For a description of IAM and its features, see the
|
|
||||||
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
||||||
class Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -685,48 +570,44 @@ module Google
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
|
||||||
attr_accessor :audit_configs
|
attr_accessor :audit_configs
|
||||||
|
|
||||||
# Associates a list of `members` to a `role`. Optionally, may specify a
|
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
||||||
# `condition` that determines how and when the `bindings` are applied. Each
|
# condition` that determines how and when the `bindings` are applied. Each of
|
||||||
# of the `bindings` must contain at least one member.
|
# the `bindings` must contain at least one member.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
|
||||||
# `etag` is used for optimistic concurrency control as a way to help
|
# `etag` is used for optimistic concurrency control as a way to help prevent
|
||||||
# prevent simultaneous updates of a policy from overwriting each other.
|
# simultaneous updates of a policy from overwriting each other. It is strongly
|
||||||
# It is strongly suggested that systems make use of the `etag` in the
|
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
||||||
# read-modify-write cycle to perform policy updates in order to avoid race
|
# to perform policy updates in order to avoid race conditions: An `etag` is
|
||||||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
# returned in the response to `getIamPolicy`, and systems are expected to put
|
||||||
# systems are expected to put that etag in the request to `setIamPolicy` to
|
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
||||||
# ensure that their change will be applied to the same version of the policy.
|
# applied to the same version of the policy. **Important:** If you use IAM
|
||||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
||||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
||||||
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
# with a version `1` policy, and all of the conditions in the version `3` policy
|
||||||
# the conditions in the version `3` policy are lost.
|
# are lost.
|
||||||
# Corresponds to the JSON property `etag`
|
# Corresponds to the JSON property `etag`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
# Specifies the format of the policy.
|
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
||||||
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
# Requests that specify an invalid value are rejected. Any operation that
|
||||||
# are rejected.
|
# affects conditional role bindings must specify version `3`. This requirement
|
||||||
# Any operation that affects conditional role bindings must specify version
|
# applies to the following operations: * Getting a policy that includes a
|
||||||
# `3`. This requirement applies to the following operations:
|
# conditional role binding * Adding a conditional role binding to a policy *
|
||||||
# * Getting a policy that includes a conditional role binding
|
# Changing a conditional role binding in a policy * Removing any role binding,
|
||||||
# * Adding a conditional role binding to a policy
|
# with or without a condition, from a policy that includes conditions **
|
||||||
# * Changing a conditional role binding in a policy
|
# Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
# * Removing any role binding, with or without a condition, from a policy
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
||||||
# that includes conditions
|
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
||||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
# conditions in the version `3` policy are lost. If a policy does not include
|
||||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
# any conditions, operations on that policy may specify any valid version or
|
||||||
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
# leave the field unset. To learn which resources support conditions in their
|
||||||
# the conditions in the version `3` policy are lost.
|
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
||||||
# If a policy does not include any conditions, operations on that policy may
|
# conditions/resource-policies).
|
||||||
# specify any valid version or leave the field unset.
|
|
||||||
# To learn which resources support conditions in their IAM policies, see the
|
|
||||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
||||||
# policies).
|
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -744,69 +625,56 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A Project is a high-level Google Cloud Platform entity. It is a
|
# A Project is a high-level Google Cloud Platform entity. It is a container for
|
||||||
# container for ACLs, APIs, App Engine Apps, VMs, and other
|
# ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
|
||||||
# Google Cloud Platform resources.
|
|
||||||
class Project
|
class Project
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Creation time.
|
# Creation time. Read-only.
|
||||||
# Read-only.
|
|
||||||
# Corresponds to the JSON property `createTime`
|
# Corresponds to the JSON property `createTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :create_time
|
attr_accessor :create_time
|
||||||
|
|
||||||
# The labels associated with this Project.
|
# The labels associated with this Project. Label keys must be between 1 and 63
|
||||||
# Label keys must be between 1 and 63 characters long and must conform
|
# characters long and must conform to the following regular expression: a-z`0,62`
|
||||||
# to the following regular expression: a-z`0,62`.
|
# . Label values must be between 0 and 63 characters long and must conform to
|
||||||
# Label values must be between 0 and 63 characters long and must conform
|
# the regular expression [a-z0-9_-]`0,63`. A label value can be empty. No more
|
||||||
# to the regular expression [a-z0-9_-]`0,63`. A label value can be empty.
|
# than 256 labels can be associated with a given resource. Clients should store
|
||||||
# No more than 256 labels can be associated with a given resource.
|
# labels in a representation such as JSON that does not depend on specific
|
||||||
# Clients should store labels in a representation such as JSON that does not
|
# characters being disallowed. Example: "environment" : "dev" Read-write.
|
||||||
# depend on specific characters being disallowed.
|
|
||||||
# Example: <code>"environment" : "dev"</code>
|
|
||||||
# Read-write.
|
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
|
||||||
# The Project lifecycle state.
|
# The Project lifecycle state. Read-only.
|
||||||
# Read-only.
|
|
||||||
# Corresponds to the JSON property `lifecycleState`
|
# Corresponds to the JSON property `lifecycleState`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :lifecycle_state
|
attr_accessor :lifecycle_state
|
||||||
|
|
||||||
# The optional user-assigned display name of the Project.
|
# The optional user-assigned display name of the Project. When present it must
|
||||||
# When present it must be between 4 to 30 characters.
|
# be between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
||||||
# Allowed characters are: lowercase and uppercase letters, numbers,
|
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
||||||
# hyphen, single-quote, double-quote, space, and exclamation point.
|
# point. Example: My Project Read-write.
|
||||||
# Example: <code>My Project</code>
|
|
||||||
# Read-write.
|
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# A container to reference an id for any resource type. A `resource` in Google
|
# 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
|
# 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,
|
# interact with through one of our API's. Some examples are an App Engine app, a
|
||||||
# a Compute Engine instance, a Cloud SQL database, and so on.
|
# Compute Engine instance, a Cloud SQL database, and so on.
|
||||||
# Corresponds to the JSON property `parent`
|
# Corresponds to the JSON property `parent`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
|
# @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
|
||||||
attr_accessor :parent
|
attr_accessor :parent
|
||||||
|
|
||||||
# The unique, user-assigned ID of the Project.
|
# The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase
|
||||||
# It must be 6 to 30 lowercase letters, digits, or hyphens.
|
# letters, digits, or hyphens. It must start with a letter. Trailing hyphens are
|
||||||
# It must start with a letter.
|
# prohibited. Example: tokyo-rain-123 Read-only after creation.
|
||||||
# Trailing hyphens are prohibited.
|
|
||||||
# Example: <code>tokyo-rain-123</code>
|
|
||||||
# Read-only after creation.
|
|
||||||
# Corresponds to the JSON property `projectId`
|
# Corresponds to the JSON property `projectId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :project_id
|
attr_accessor :project_id
|
||||||
|
|
||||||
# The number uniquely identifying the project.
|
# The number uniquely identifying the project. Example: 415104041262 Read-only.
|
||||||
# Example: <code>415104041262</code>
|
|
||||||
# Read-only.
|
|
||||||
# Corresponds to the JSON property `projectNumber`
|
# Corresponds to the JSON property `projectNumber`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :project_number
|
attr_accessor :project_number
|
||||||
|
@ -838,9 +706,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :create_time
|
attr_accessor :create_time
|
||||||
|
|
||||||
# True if the project can be retrieved using GetProject. No other operations
|
# True if the project can be retrieved using GetProject. No other operations on
|
||||||
# on the project are guaranteed to work until the project creation is
|
# the project are guaranteed to work until the project creation is complete.
|
||||||
# complete.
|
|
||||||
# Corresponds to the JSON property `gettable`
|
# Corresponds to the JSON property `gettable`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :gettable
|
attr_accessor :gettable
|
||||||
|
@ -866,19 +733,19 @@ module Google
|
||||||
|
|
||||||
# A container to reference an id for any resource type. A `resource` in Google
|
# 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
|
# 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,
|
# interact with through one of our API's. Some examples are an App Engine app, a
|
||||||
# a Compute Engine instance, a Cloud SQL database, and so on.
|
# Compute Engine instance, a Cloud SQL database, and so on.
|
||||||
class ResourceId
|
class ResourceId
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required field for the type-specific id. This should correspond to the id
|
# Required field for the type-specific id. This should correspond to the id used
|
||||||
# used in the type-specific API's.
|
# in the type-specific API's.
|
||||||
# Corresponds to the JSON property `id`
|
# Corresponds to the JSON property `id`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :id
|
attr_accessor :id
|
||||||
|
|
||||||
# Required field representing the resource type this id is for.
|
# Required field representing the resource type this id is for. At present, the
|
||||||
# At present, the valid types are "project", "folder", and "organization".
|
# valid types are "project", "folder", and "organization".
|
||||||
# Corresponds to the JSON property `type`
|
# Corresponds to the JSON property `type`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :type
|
attr_accessor :type
|
||||||
|
@ -899,74 +766,39 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# An Identity and Access Management (IAM) policy, which specifies access
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# controls for Google Cloud resources.
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
||||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
# role or a user-created custom role. For some types of Google Cloud resources,
|
||||||
# custom role.
|
# a `binding` can also specify a `condition`, which is a logical expression that
|
||||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
# allows access to a resource only if the expression evaluates to `true`. A
|
||||||
# `condition`, which is a logical expression that allows access to a resource
|
# condition can add constraints based on attributes of the request, the resource,
|
||||||
# only if the expression evaluates to `true`. A condition can add constraints
|
# or both. To learn which resources support conditions in their IAM policies,
|
||||||
# based on attributes of the request, the resource, or both. To learn which
|
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
||||||
# resources support conditions in their IAM policies, see the
|
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
||||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
||||||
# policies).
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
||||||
# **JSON example:**
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
||||||
# `
|
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
||||||
# "bindings": [
|
# title": "expirable access", "description": "Does not grant access after Sep
|
||||||
# `
|
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
||||||
# "role": "roles/resourcemanager.organizationAdmin",
|
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
||||||
# "members": [
|
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
||||||
# "user:mike@example.com",
|
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
||||||
# "group:admins@example.com",
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
||||||
# "domain:google.com",
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
||||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
||||||
# ]
|
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
||||||
# `,
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
||||||
# `
|
# google.com/iam/docs/).
|
||||||
# "role": "roles/resourcemanager.organizationViewer",
|
|
||||||
# "members": [
|
|
||||||
# "user:eve@example.com"
|
|
||||||
# ],
|
|
||||||
# "condition": `
|
|
||||||
# "title": "expirable access",
|
|
||||||
# "description": "Does not grant access after Sep 2020",
|
|
||||||
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# ",
|
|
||||||
# `
|
|
||||||
# `
|
|
||||||
# ],
|
|
||||||
# "etag": "BwWWja0YfJA=",
|
|
||||||
# "version": 3
|
|
||||||
# `
|
|
||||||
# **YAML example:**
|
|
||||||
# bindings:
|
|
||||||
# - members:
|
|
||||||
# - user:mike@example.com
|
|
||||||
# - group:admins@example.com
|
|
||||||
# - domain:google.com
|
|
||||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
||||||
# role: roles/resourcemanager.organizationAdmin
|
|
||||||
# - members:
|
|
||||||
# - user:eve@example.com
|
|
||||||
# role: roles/resourcemanager.organizationViewer
|
|
||||||
# condition:
|
|
||||||
# title: expirable access
|
|
||||||
# description: Does not grant access after Sep 2020
|
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# - etag: BwWWja0YfJA=
|
|
||||||
# - version: 3
|
|
||||||
# For a description of IAM and its features, see the
|
|
||||||
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
||||||
# Corresponds to the JSON property `policy`
|
# Corresponds to the JSON property `policy`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
||||||
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
# 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
|
# the fields in the mask will be modified. If no mask is provided, the following
|
||||||
# following default mask is used:
|
# default mask is used: `paths: "bindings, etag"`
|
||||||
# `paths: "bindings, etag"`
|
|
||||||
# Corresponds to the JSON property `updateMask`
|
# Corresponds to the JSON property `updateMask`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :update_mask
|
attr_accessor :update_mask
|
||||||
|
@ -986,10 +818,9 @@ module Google
|
||||||
class TestIamPermissionsRequest
|
class TestIamPermissionsRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The set of permissions to check for the `resource`. Permissions with
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
||||||
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
||||||
# information see
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
||||||
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
||||||
# Corresponds to the JSON property `permissions`
|
# Corresponds to the JSON property `permissions`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :permissions
|
attr_accessor :permissions
|
||||||
|
@ -1008,8 +839,7 @@ module Google
|
||||||
class TestIamPermissionsResponse
|
class TestIamPermissionsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
||||||
# allowed.
|
|
||||||
# Corresponds to the JSON property `permissions`
|
# Corresponds to the JSON property `permissions`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :permissions
|
attr_accessor :permissions
|
||||||
|
@ -1024,8 +854,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The request sent to the UndeleteProject
|
# The request sent to the UndeleteProject method.
|
||||||
# method.
|
|
||||||
class UndeleteProjectRequest
|
class UndeleteProjectRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -51,11 +51,11 @@ module Google
|
||||||
# Fetches an Organization resource identified by the specified resource name.
|
# Fetches an Organization resource identified by the specified resource name.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the Organization to fetch. This is the organization's
|
# The resource name of the Organization to fetch. This is the organization's
|
||||||
# relative path in the API, formatted as "organizations/[organizationId]".
|
# relative path in the API, formatted as "organizations/[organizationId]". For
|
||||||
# For example, "organizations/1234".
|
# example, "organizations/1234".
|
||||||
# @param [String] organization_id
|
# @param [String] organization_id
|
||||||
# The id of the Organization resource to fetch.
|
# The id of the Organization resource to fetch. This field is deprecated and
|
||||||
# This field is deprecated and will be removed in v1. Use name instead.
|
# will be removed in v1. Use name instead.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -84,12 +84,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the access control policy for an Organization resource. May be empty
|
# Gets the access control policy for an Organization resource. May be empty if
|
||||||
# if no such policy or resource exists. The `resource` field should be the
|
# no such policy or resource exists. The `resource` field should be the
|
||||||
# organization's resource name, e.g. "organizations/123".
|
# organization's resource name, e.g. "organizations/123".
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being requested.
|
# REQUIRED: The resource for which the policy is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -120,26 +120,23 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists Organization resources that are visible to the user and satisfy
|
# Lists Organization resources that are visible to the user and satisfy the
|
||||||
# the specified filter. This method returns Organizations in an unspecified
|
# specified filter. This method returns Organizations in an unspecified order.
|
||||||
# order. New Organizations do not necessarily appear at the end of the list.
|
# New Organizations do not necessarily appear at the end of the list.
|
||||||
# @param [String] filter
|
# @param [String] filter
|
||||||
# An optional query string used to filter the Organizations to return in
|
# An optional query string used to filter the Organizations to return in the
|
||||||
# the response. Filter rules are case-insensitive.
|
# response. Filter rules are case-insensitive. Organizations may be filtered by `
|
||||||
# Organizations may be filtered by `owner.directoryCustomerId` or by
|
# owner.directoryCustomerId` or by `domain`, where the domain is a G Suite
|
||||||
# `domain`, where the domain is a G Suite domain, for example:
|
# domain, for example: * Filter `owner.directorycustomerid:123456789` returns
|
||||||
# * Filter `owner.directorycustomerid:123456789` returns Organization
|
# Organization resources with `owner.directory_customer_id` equal to `123456789`.
|
||||||
# resources with `owner.directory_customer_id` equal to `123456789`.
|
# * Filter `domain:google.com` returns Organization resources corresponding to
|
||||||
# * Filter `domain:google.com` returns Organization resources corresponding
|
# the domain `google.com`. This field is optional.
|
||||||
# to the domain `google.com`.
|
|
||||||
# This field is optional.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of Organizations to return in the response.
|
# The maximum number of Organizations to return in the response. This field is
|
||||||
# This field is optional.
|
# optional.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# A pagination token returned from a previous call to `ListOrganizations`
|
# A pagination token returned from a previous call to `ListOrganizations` that
|
||||||
# that indicates from where listing should continue.
|
# indicates from where listing should continue. This field is optional.
|
||||||
# This field is optional.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -173,8 +170,8 @@ module Google
|
||||||
# existing policy. The `resource` field should be the organization's resource
|
# existing policy. The `resource` field should be the organization's resource
|
||||||
# name, e.g. "organizations/123".
|
# name, e.g. "organizations/123".
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being specified.
|
# REQUIRED: The resource for which the policy is being specified. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -205,12 +202,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified Organization.
|
# Returns permissions that a caller has on the specified Organization. The `
|
||||||
# The `resource` field should be the organization's resource name,
|
# resource` field should be the organization's resource name, e.g. "
|
||||||
# e.g. "organizations/123".
|
# organizations/123".
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy detail is being requested.
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -243,9 +240,9 @@ module Google
|
||||||
|
|
||||||
# Updates an Organization resource identified by the specified resource name.
|
# Updates an Organization resource identified by the specified resource name.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Output only. The resource name of the organization. This is the
|
# Output only. The resource name of the organization. This is the organization's
|
||||||
# organization's relative path in the API. Its format is
|
# relative path in the API. Its format is "organizations/[organization_id]". For
|
||||||
# "organizations/[organization_id]". For example, "organizations/1234".
|
# example, "organizations/1234".
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::Organization] organization_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::Organization] organization_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -276,18 +273,15 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a Project resource.
|
# Creates a Project resource. Initially, the Project resource is owned by its
|
||||||
# Initially, the Project resource is owned by its creator exclusively.
|
# creator exclusively. The creator can later grant permission to others to read
|
||||||
# The creator can later grant permission to others to read or update the
|
# or update the Project. Several APIs are activated automatically for the
|
||||||
# Project.
|
# Project, including Google Cloud Storage. The parent is identified by a
|
||||||
# Several APIs are activated automatically for the Project, including
|
# specified ResourceId, which must include both an ID and a type, such as
|
||||||
# Google Cloud Storage. The parent is identified by a specified
|
# project, folder, or organization. This method does not associate the new
|
||||||
# ResourceId, which must include both an ID and a type, such as
|
# project with a billing account. You can set or update the billing account
|
||||||
# project, folder, or organization.
|
# associated with a project using the [`projects.updateBillingInfo`] (/billing/
|
||||||
# This method does not associate the new project with a billing account.
|
# reference/rest/v1/projects/updateBillingInfo) method.
|
||||||
# You can set or update the billing account associated with a project using
|
|
||||||
# the [`projects.updateBillingInfo`]
|
|
||||||
# (/billing/reference/rest/v1/projects/updateBillingInfo) method.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
||||||
# @param [Boolean] use_legacy_stack
|
# @param [Boolean] use_legacy_stack
|
||||||
# A now unused experiment opt-out option.
|
# A now unused experiment opt-out option.
|
||||||
|
@ -320,27 +314,18 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Marks the Project identified by the specified
|
# Marks the Project identified by the specified `project_id` (for example, `my-
|
||||||
# `project_id` (for example, `my-project-123`) for deletion.
|
# project-123`) for deletion. This method will only affect the Project if it has
|
||||||
# This method will only affect the Project if it has a lifecycle state of
|
# a lifecycle state of ACTIVE. This method changes the Project's lifecycle state
|
||||||
# ACTIVE.
|
# from ACTIVE to DELETE_REQUESTED. The deletion starts at an unspecified time,
|
||||||
# This method changes the Project's lifecycle state from
|
# at which point the project is no longer accessible. Until the deletion
|
||||||
# ACTIVE
|
# completes, you can check the lifecycle state checked by retrieving the Project
|
||||||
# to DELETE_REQUESTED.
|
# with GetProject, and the Project remains visible to ListProjects. However, you
|
||||||
# The deletion starts at an unspecified time, at which point the project is
|
# cannot update the project. After the deletion completes, the Project is not
|
||||||
# no longer accessible.
|
# retrievable by the GetProject and ListProjects methods. The caller must have
|
||||||
# Until the deletion completes, you can check the lifecycle state
|
# modify permissions for this Project.
|
||||||
# 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
|
# @param [String] project_id
|
||||||
# The Project ID (for example, `foo-bar-123`).
|
# The Project ID (for example, `foo-bar-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -368,12 +353,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves the Project identified by the specified
|
# Retrieves the Project identified by the specified `project_id` (for example, `
|
||||||
# `project_id` (for example, `my-project-123`).
|
# my-project-123`). The caller must have read permissions for this Project.
|
||||||
# The caller must have read permissions for this Project.
|
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Project ID (for example, `my-project-123`).
|
# The Project ID (for example, `my-project-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -401,12 +384,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a list of ancestors in the resource hierarchy for the Project
|
# Gets a list of ancestors in the resource hierarchy for the Project identified
|
||||||
# identified by the specified `project_id` (for example, `my-project-123`).
|
# by the specified `project_id` (for example, `my-project-123`). The caller must
|
||||||
# The caller must have read permissions for this Project.
|
# have read permissions for this Project.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Project ID (for example, `my-project-123`).
|
# The Project ID (for example, `my-project-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -437,13 +419,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the IAM access control policy for the specified Project.
|
# Returns the IAM access control policy for the specified Project. Permission is
|
||||||
# Permission is denied if the policy or the resource does not exist.
|
# denied if the policy or the resource does not exist. For additional
|
||||||
# For additional information about resource structure and identification,
|
# information about resource structure and identification, see [Resource Names](/
|
||||||
# see [Resource Names](/apis/design/resource_names).
|
# apis/design/resource_names).
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being requested.
|
# REQUIRED: The resource for which the policy is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -475,56 +457,42 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists Projects that the caller has the `resourcemanager.projects.get`
|
# Lists Projects that the caller has the `resourcemanager.projects.get`
|
||||||
# permission on and satisfy the specified filter.
|
# permission on and satisfy the specified filter. This method returns Projects
|
||||||
# This method returns Projects in an unspecified order.
|
# in an unspecified order. This method is eventually consistent with project
|
||||||
# This method is eventually consistent with project mutations; this means
|
# mutations; this means that a newly created project may not appear in the
|
||||||
# that a newly created project may not appear in the results or recent
|
# results or recent updates to an existing project may not be reflected in the
|
||||||
# updates to an existing project may not be reflected in the results. To
|
# results. To retrieve the latest state of a project, use the GetProject method.
|
||||||
# retrieve the latest state of a project, use the
|
# NOTE: If the request filter contains a `parent.type` and `parent.id` and the
|
||||||
# GetProject method.
|
# caller has the `resourcemanager.projects.list` permission on the parent, the
|
||||||
# NOTE: If the request filter contains a `parent.type` and `parent.id` and
|
# results will be drawn from an alternate index which provides more consistent
|
||||||
# the caller has the `resourcemanager.projects.list` permission on the
|
# results. In future versions of this API, this List method will be split into
|
||||||
# parent, the results will be drawn from an alternate index which provides
|
# List and Search to properly capture the behavorial difference.
|
||||||
# more consistent results. In future versions of this API, this List method
|
|
||||||
# will be split into List and Search to properly capture the behavorial
|
|
||||||
# difference.
|
|
||||||
# @param [String] filter
|
# @param [String] filter
|
||||||
# An expression for filtering the results of the request. Filter rules are
|
# An expression for filtering the results of the request. Filter rules are case
|
||||||
# case insensitive. The fields eligible for filtering are:
|
# insensitive. The fields eligible for filtering are: + `name` + `id` + `labels.`
|
||||||
# + `name`
|
# (where *key* is the name of a label) + `parent.type` + `parent.id` Some
|
||||||
# + `id`
|
# examples of using labels as filters: | Filter | Description | |----------------
|
||||||
# + `labels.<key>` (where *key* is the name of a label)
|
# --|-----------------------------------------------------| | name:how* | The
|
||||||
# + `parent.type`
|
# project's name starts with "how". | | name:Howl | The project's name is `Howl`
|
||||||
# + `parent.id`
|
# or `howl`. | | name:HOWL | Equivalent to above. | | NAME:howl | Equivalent to
|
||||||
# Some examples of using labels as filters:
|
# above. | | labels.color:* | The project has the label `color`. | | labels.
|
||||||
# | Filter | Description |
|
# 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
|
||||||
# | name:how* | The project's name starts with "how". |
|
# label `size` has the value `big`. | If no filter is specified, the call will
|
||||||
# | name:Howl | The project's name is `Howl` or `howl`. |
|
# return projects for which the user has the `resourcemanager.projects.get`
|
||||||
# | name:HOWL | Equivalent to above. |
|
# permission. NOTE: To perform a by-parent query (eg., what projects are
|
||||||
# | NAME:howl | Equivalent to above. |
|
# directly in a Folder), the caller must have the `resourcemanager.projects.list`
|
||||||
# | labels.color:* | The project has the label `color`. |
|
# permission on the parent and the filter must contain both a `parent.type` and
|
||||||
# | labels.color:red | The project's label `color` has the value `red`. |
|
# a `parent.id` restriction (example: "parent.type:folder parent.id:123"). In
|
||||||
# | labels.color:red labels.size:big |The project's label `color` has
|
# this case an alternate search index is used which provides more consistent
|
||||||
# the value `red` and its label `size` has the value `big`. |
|
# results. Optional.
|
||||||
# If no filter is specified, the call will return projects for which the user
|
|
||||||
# has the `resourcemanager.projects.get` permission.
|
|
||||||
# NOTE: To perform a by-parent query (eg., what projects are directly in a
|
|
||||||
# Folder), the caller must have the `resourcemanager.projects.list`
|
|
||||||
# permission on the parent and the filter must contain both a `parent.type`
|
|
||||||
# and a `parent.id` restriction
|
|
||||||
# (example: "parent.type:folder parent.id:123"). In this case an alternate
|
|
||||||
# search index is used which provides more consistent results.
|
|
||||||
# Optional.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of Projects to return in the response.
|
# The maximum number of Projects to return in the response. The server can
|
||||||
# The server can return fewer Projects than requested.
|
# return fewer Projects than requested. If unspecified, server picks an
|
||||||
# If unspecified, server picks an appropriate default.
|
# appropriate default. Optional.
|
||||||
# Optional.
|
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# A pagination token returned from a previous call to ListProjects
|
# A pagination token returned from a previous call to ListProjects that
|
||||||
# that indicates from where listing should continue.
|
# indicates from where listing should continue. Optional.
|
||||||
# Optional.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -554,42 +522,36 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Sets the IAM access control policy for the specified Project.
|
# Sets the IAM access control policy for the specified Project. CAUTION: This
|
||||||
# CAUTION: This method will replace the existing policy, and cannot be used
|
# method will replace the existing policy, and cannot be used to append
|
||||||
# to append additional IAM settings.
|
# additional IAM settings. NOTE: Removing service accounts from policies or
|
||||||
# NOTE: Removing service accounts from policies or changing their roles can
|
# changing their roles can render services completely inoperable. It is
|
||||||
# render services completely inoperable. It is important to understand how
|
# important to understand how the service account is being used before removing
|
||||||
# the service account is being used before removing or updating its roles.
|
# or updating its roles. The following constraints apply when using `
|
||||||
# The following constraints apply when using `setIamPolicy()`:
|
# setIamPolicy()`: + Project does not support `allUsers` and `
|
||||||
# + Project does not support `allUsers` and `allAuthenticatedUsers` as
|
# allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner
|
||||||
# `members` in a `Binding` of a `Policy`.
|
# role can be granted to a `user`, `serviceAccount`, or a group that is part of
|
||||||
# + The owner role can be granted to a `user`, `serviceAccount`, or a group
|
# an organization. For example, group@myownpersonaldomain.com could be added as
|
||||||
# that is part of an organization. For example,
|
# an owner to a project in the myownpersonaldomain.com organization, but not the
|
||||||
# group@myownpersonaldomain.com could be added as an owner to a project in
|
# examplepetstore.com organization. + Service accounts can be made owners of a
|
||||||
# the myownpersonaldomain.com organization, but not the examplepetstore.com
|
# project directly without any restrictions. However, to be added as an owner, a
|
||||||
# organization.
|
# user must be invited via Cloud Platform console and must accept the invitation.
|
||||||
# + Service accounts can be made owners of a project directly
|
|
||||||
# without any restrictions. However, to be added as an owner, a user must be
|
|
||||||
# invited via Cloud Platform console and must accept the invitation.
|
|
||||||
# + A user cannot be granted the owner role using `setIamPolicy()`. The user
|
# + A user cannot be granted the owner role using `setIamPolicy()`. The user
|
||||||
# must be granted the owner role using the Cloud Platform Console and must
|
# must be granted the owner role using the Cloud Platform Console and must
|
||||||
# explicitly accept the invitation.
|
# explicitly accept the invitation. + Invitations to grant the owner role cannot
|
||||||
# + Invitations to grant the owner role cannot be sent using
|
# be sent using `setIamPolicy()`; they must be sent only using the Cloud
|
||||||
# `setIamPolicy()`; they must be sent only using the Cloud Platform Console.
|
# Platform Console. + Membership changes that leave the project without any
|
||||||
# + Membership changes that leave the project without any owners that have
|
# owners that have accepted the Terms of Service (ToS) will be rejected. + If
|
||||||
# accepted the Terms of Service (ToS) will be rejected.
|
# the project is not part of an organization, there must be at least one owner
|
||||||
# + If the project is not part of an organization, there must be at least
|
# who has accepted the Terms of Service (ToS) agreement in the policy. Calling `
|
||||||
# one owner who has accepted the Terms of Service (ToS) agreement in the
|
# setIamPolicy()` to remove the last ToS-accepted owner from the policy will
|
||||||
# policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner
|
# fail. This restriction also applies to legacy projects that no longer have
|
||||||
# from the policy will fail. This restriction also applies to legacy
|
# owners who have accepted the ToS. Edits to IAM policies will be rejected until
|
||||||
# projects that no longer have owners who have accepted the ToS. Edits to
|
# the lack of a ToS-accepting owner is rectified. Authorization requires the
|
||||||
# IAM policies will be rejected until the lack of a ToS-accepting owner is
|
# Google IAM permission `resourcemanager.projects.setIamPolicy` on the project
|
||||||
# rectified.
|
|
||||||
# Authorization requires the Google IAM permission
|
|
||||||
# `resourcemanager.projects.setIamPolicy` on the project
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being specified.
|
# REQUIRED: The resource for which the policy is being specified. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -622,8 +584,8 @@ module Google
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified Project.
|
# Returns permissions that a caller has on the specified Project.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy detail is being requested.
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -654,15 +616,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Restores the Project identified by the specified
|
# Restores the Project identified by the specified `project_id` (for example, `
|
||||||
# `project_id` (for example, `my-project-123`).
|
# my-project-123`). You can only use this method for a Project that has a
|
||||||
# You can only use this method for a Project that has a lifecycle state of
|
# lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot
|
||||||
# DELETE_REQUESTED.
|
# be restored. The caller must have modify permissions for this Project.
|
||||||
# After deletion starts, the Project cannot be restored.
|
|
||||||
# The caller must have modify permissions for this Project.
|
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The project ID (for example, `foo-bar-123`).
|
# The project ID (for example, `foo-bar-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -693,12 +652,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the attributes of the Project identified by the specified
|
# Updates the attributes of the Project identified by the specified `project_id`
|
||||||
# `project_id` (for example, `my-project-123`).
|
# (for example, `my-project-123`). The caller must have modify permissions for
|
||||||
# The caller must have modify permissions for this Project.
|
# this Project.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The project ID (for example, `my-project-123`).
|
# The project ID (for example, `my-project-123`). Required.
|
||||||
# Required.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV2
|
module CloudresourcemanagerV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20200617'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -22,53 +22,21 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module CloudresourcemanagerV2
|
module CloudresourcemanagerV2
|
||||||
|
|
||||||
# Specifies the audit configuration for a service.
|
# Specifies the audit configuration for a service. The configuration determines
|
||||||
# The configuration determines which permission types are logged, and what
|
# which permission types are logged, and what identities, if any, are exempted
|
||||||
# identities, if any, are exempted from logging.
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
||||||
# An AuditConfig must have one or more AuditLogConfigs.
|
# are AuditConfigs for both `allServices` and a specific service, the union of
|
||||||
# If there are AuditConfigs for both `allServices` and a specific service,
|
# the two AuditConfigs is used for that service: the log_types specified in each
|
||||||
# the union of the two AuditConfigs is used for that service: the log_types
|
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
||||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
||||||
# AuditLogConfig are exempted.
|
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
||||||
# Example Policy with multiple AuditConfigs:
|
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
||||||
# `
|
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
||||||
# "audit_configs": [
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
||||||
# `
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
||||||
# "service": "allServices",
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
||||||
# "audit_log_configs": [
|
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
||||||
# `
|
# DATA_WRITE logging.
|
||||||
# "log_type": "DATA_READ",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:jose@example.com"
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE"
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "ADMIN_READ"
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "service": "sampleservice.googleapis.com",
|
|
||||||
# "audit_log_configs": [
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_READ"
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:aliya@example.com"
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
||||||
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
||||||
# aliya@example.com from DATA_WRITE logging.
|
|
||||||
class AuditConfig
|
class AuditConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -77,9 +45,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2::AuditLogConfig>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::AuditLogConfig>]
|
||||||
attr_accessor :audit_log_configs
|
attr_accessor :audit_log_configs
|
||||||
|
|
||||||
# Specifies a service that will be enabled for audit logging.
|
# Specifies a service that will be enabled for audit logging. For example, `
|
||||||
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
||||||
# `allServices` is a special value that covers all services.
|
# value that covers all services.
|
||||||
# Corresponds to the JSON property `service`
|
# Corresponds to the JSON property `service`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :service
|
attr_accessor :service
|
||||||
|
@ -95,28 +63,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Provides the configuration for logging a type of permissions.
|
# Provides the configuration for logging a type of permissions. Example: ` "
|
||||||
# Example:
|
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
||||||
# `
|
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
||||||
# "audit_log_configs": [
|
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
||||||
# `
|
# DATA_READ logging.
|
||||||
# "log_type": "DATA_READ",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:jose@example.com"
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE"
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
||||||
# jose@example.com from DATA_READ logging.
|
|
||||||
class AuditLogConfig
|
class AuditLogConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Specifies the identities that do not cause logging for this type of
|
# Specifies the identities that do not cause logging for this type of permission.
|
||||||
# permission.
|
|
||||||
# Follows the same format of Binding.members.
|
# Follows the same format of Binding.members.
|
||||||
# Corresponds to the JSON property `exemptedMembers`
|
# Corresponds to the JSON property `exemptedMembers`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
|
@ -142,69 +97,57 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents a textual expression in the Common Expression Language (CEL)
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||||
# are documented at https://github.com/google/cel-spec.
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
||||||
# Example (Comparison):
|
# "Summary size limit" description: "Determines if a summary is less than 100
|
||||||
# title: "Summary size limit"
|
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
||||||
# description: "Determines if a summary is less than 100 chars"
|
# Requestor is owner" description: "Determines if requestor is the document
|
||||||
# expression: "document.summary.size() < 100"
|
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
||||||
# Example (Equality):
|
# Logic): title: "Public documents" description: "Determine whether the document
|
||||||
# title: "Requestor is owner"
|
# should be publicly visible" expression: "document.type != 'private' &&
|
||||||
# description: "Determines if requestor is the document owner"
|
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
||||||
# expression: "document.owner == request.auth.claims.email"
|
# string" description: "Create a notification string with a timestamp."
|
||||||
# Example (Logic):
|
# expression: "'New message received at ' + string(document.create_time)" The
|
||||||
# title: "Public documents"
|
# exact variables and functions that may be referenced within an expression are
|
||||||
# description: "Determine whether the document should be publicly visible"
|
# determined by the service that evaluates it. See the service documentation for
|
||||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
# additional information.
|
||||||
# Example (Data Manipulation):
|
|
||||||
# title: "Notification string"
|
|
||||||
# description: "Create a notification string with a timestamp."
|
|
||||||
# expression: "'New message received at ' + string(document.create_time)"
|
|
||||||
# The exact variables and functions that may be referenced within an expression
|
|
||||||
# are determined by the service that evaluates it. See the service
|
|
||||||
# documentation for additional information.
|
|
||||||
# Corresponds to the JSON property `condition`
|
# Corresponds to the JSON property `condition`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV2::Expr]
|
# @return [Google::Apis::CloudresourcemanagerV2::Expr]
|
||||||
attr_accessor :condition
|
attr_accessor :condition
|
||||||
|
|
||||||
# Specifies the identities requesting access for a Cloud Platform resource.
|
# Specifies the identities requesting access for a Cloud Platform resource. `
|
||||||
# `members` can have the following values:
|
# members` can have the following values: * `allUsers`: A special identifier
|
||||||
# * `allUsers`: A special identifier that represents anyone who is
|
# that represents anyone who is on the internet; with or without a Google
|
||||||
# on the internet; with or without a Google account.
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
||||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
# anyone who is authenticated with a Google account or a service account. * `
|
||||||
# who is authenticated with a Google account or a service account.
|
# user:`emailid``: An email address that represents a specific Google account.
|
||||||
# * `user:`emailid``: An email address that represents a specific Google
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
||||||
# account. For example, `alice@example.com` .
|
# address that represents a service account. For example, `my-other-app@appspot.
|
||||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# `uniqueid``: An email address (plus unique identifier) representing a user
|
||||||
# For example, `admins@example.com`.
|
# that has been recently deleted. For example, `alice@example.com?uid=
|
||||||
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
||||||
# identifier) representing a user that has been recently deleted. For
|
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
||||||
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
# identifier) representing a service account that has been recently deleted. For
|
||||||
# retains the role in the binding.
|
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||||
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
||||||
# unique identifier) representing a service account that has been recently
|
# emailid`` and the undeleted service account retains the role in the binding. *
|
||||||
# deleted. For example,
|
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
# identifier) representing a Google group that has been recently deleted. For
|
||||||
# If the service account is undeleted, this value reverts to
|
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
||||||
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
||||||
# role in the binding.
|
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
||||||
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
# primary) that represents all the users of that domain. For example, `google.
|
||||||
# identifier) representing a Google group that has been recently
|
# com` or `example.com`.
|
||||||
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
||||||
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
||||||
# recovered group retains the role in the binding.
|
|
||||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :members
|
attr_accessor :members
|
||||||
|
|
||||||
# Role that is assigned to `members`.
|
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
||||||
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
# , or `roles/owner`.
|
||||||
# Corresponds to the JSON property `role`
|
# Corresponds to the JSON property `role`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :role
|
attr_accessor :role
|
||||||
|
@ -221,52 +164,43 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a textual expression in the Common Expression Language (CEL)
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||||
# are documented at https://github.com/google/cel-spec.
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
||||||
# Example (Comparison):
|
# "Summary size limit" description: "Determines if a summary is less than 100
|
||||||
# title: "Summary size limit"
|
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
||||||
# description: "Determines if a summary is less than 100 chars"
|
# Requestor is owner" description: "Determines if requestor is the document
|
||||||
# expression: "document.summary.size() < 100"
|
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
||||||
# Example (Equality):
|
# Logic): title: "Public documents" description: "Determine whether the document
|
||||||
# title: "Requestor is owner"
|
# should be publicly visible" expression: "document.type != 'private' &&
|
||||||
# description: "Determines if requestor is the document owner"
|
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
||||||
# expression: "document.owner == request.auth.claims.email"
|
# string" description: "Create a notification string with a timestamp."
|
||||||
# Example (Logic):
|
# expression: "'New message received at ' + string(document.create_time)" The
|
||||||
# title: "Public documents"
|
# exact variables and functions that may be referenced within an expression are
|
||||||
# description: "Determine whether the document should be publicly visible"
|
# determined by the service that evaluates it. See the service documentation for
|
||||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
# additional information.
|
||||||
# Example (Data Manipulation):
|
|
||||||
# title: "Notification string"
|
|
||||||
# description: "Create a notification string with a timestamp."
|
|
||||||
# expression: "'New message received at ' + string(document.create_time)"
|
|
||||||
# The exact variables and functions that may be referenced within an expression
|
|
||||||
# are determined by the service that evaluates it. See the service
|
|
||||||
# documentation for additional information.
|
|
||||||
class Expr
|
class Expr
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. Description of the expression. This is a longer text which
|
# Optional. Description of the expression. This is a longer text which describes
|
||||||
# describes the expression, e.g. when hovered over it in a UI.
|
# the expression, e.g. when hovered over it in a UI.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# Textual representation of an expression in Common Expression Language
|
# Textual representation of an expression in Common Expression Language syntax.
|
||||||
# syntax.
|
|
||||||
# Corresponds to the JSON property `expression`
|
# Corresponds to the JSON property `expression`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :expression
|
attr_accessor :expression
|
||||||
|
|
||||||
# Optional. String indicating the location of the expression for error
|
# Optional. String indicating the location of the expression for error reporting,
|
||||||
# reporting, e.g. a file name and a position in the file.
|
# e.g. a file name and a position in the file.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# Optional. Title for the expression, i.e. a short string describing
|
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
||||||
# its purpose. This can be used e.g. in UIs which allow to enter the
|
# This can be used e.g. in UIs which allow to enter the expression.
|
||||||
# expression.
|
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :title
|
attr_accessor :title
|
||||||
|
@ -284,8 +218,8 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A Folder in an Organization's resource hierarchy, used to
|
# A Folder in an Organization's resource hierarchy, used to organize that
|
||||||
# organize that Organization's resources.
|
# Organization's resources.
|
||||||
class Folder
|
class Folder
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -294,34 +228,30 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :create_time
|
attr_accessor :create_time
|
||||||
|
|
||||||
# The folder’s display name.
|
# The folder’s display name. A folder’s display name must be unique amongst its
|
||||||
# A folder’s display name must be unique amongst its siblings, e.g.
|
# siblings, e.g. no two folders with the same parent can share the same display
|
||||||
# no two folders with the same parent can share the same display name.
|
# name. The display name must start and end with a letter or digit, may contain
|
||||||
# The display name must start and end with a letter or digit, may contain
|
# letters, digits, spaces, hyphens and underscores and can be no longer than 30
|
||||||
# letters, digits, spaces, hyphens and underscores and can be no longer
|
# characters. This is captured by the regular expression: [\p`L`\p`N`]([\p`L`\p`
|
||||||
# than 30 characters. This is captured by the regular expression:
|
# N`_- ]`0,28`[\p`L`\p`N`])?.
|
||||||
# [\p`L`\p`N`]([\p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?.
|
|
||||||
# Corresponds to the JSON property `displayName`
|
# Corresponds to the JSON property `displayName`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :display_name
|
attr_accessor :display_name
|
||||||
|
|
||||||
# Output only. The lifecycle state of the folder.
|
# Output only. The lifecycle state of the folder. Updates to the lifecycle_state
|
||||||
# Updates to the lifecycle_state must be performed via
|
# must be performed via DeleteFolder and UndeleteFolder.
|
||||||
# DeleteFolder and
|
|
||||||
# UndeleteFolder.
|
|
||||||
# Corresponds to the JSON property `lifecycleState`
|
# Corresponds to the JSON property `lifecycleState`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :lifecycle_state
|
attr_accessor :lifecycle_state
|
||||||
|
|
||||||
# Output only. The resource name of the Folder.
|
# Output only. The resource name of the Folder. Its format is `folders/`
|
||||||
# Its format is `folders/`folder_id``, for example: "folders/1234".
|
# folder_id``, for example: "folders/1234".
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# Required. The Folder’s parent's resource name.
|
# Required. The Folder’s parent's resource name. Updates to the folder's parent
|
||||||
# Updates to the folder's parent must be performed via
|
# must be performed via MoveFolder.
|
||||||
# MoveFolder.
|
|
||||||
# Corresponds to the JSON property `parent`
|
# Corresponds to the JSON property `parent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :parent
|
attr_accessor :parent
|
||||||
|
@ -344,8 +274,8 @@ module Google
|
||||||
class FolderOperation
|
class FolderOperation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The resource name of the folder or organization we are either creating
|
# The resource name of the folder or organization we are either creating the
|
||||||
# the folder under or moving the folder to.
|
# folder under or moving the folder to.
|
||||||
# Corresponds to the JSON property `destinationParent`
|
# Corresponds to the JSON property `destinationParent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :destination_parent
|
attr_accessor :destination_parent
|
||||||
|
@ -360,8 +290,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :operation_type
|
attr_accessor :operation_type
|
||||||
|
|
||||||
# The resource name of the folder's parent.
|
# The resource name of the folder's parent. Only applicable when the
|
||||||
# Only applicable when the operation_type is MOVE.
|
# operation_type is MOVE.
|
||||||
# Corresponds to the JSON property `sourceParent`
|
# Corresponds to the JSON property `sourceParent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source_parent
|
attr_accessor :source_parent
|
||||||
|
@ -421,15 +351,13 @@ module Google
|
||||||
class GetPolicyOptions
|
class GetPolicyOptions
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. The policy format version to be returned.
|
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
||||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
# 3. Requests specifying an invalid value will be rejected. Requests for
|
||||||
# rejected.
|
# policies with any conditional bindings must specify version 3. Policies
|
||||||
# Requests for policies with any conditional bindings must specify version 3.
|
# without any conditional bindings may specify any valid value or leave the
|
||||||
# Policies without any conditional bindings may specify any valid value or
|
# field unset. To learn which resources support conditions in their IAM policies,
|
||||||
# leave the field unset.
|
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
||||||
# To learn which resources support conditions in their IAM policies, see the
|
# resource-policies).
|
||||||
# [IAM
|
|
||||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
||||||
# Corresponds to the JSON property `requestedPolicyVersion`
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :requested_policy_version
|
attr_accessor :requested_policy_version
|
||||||
|
@ -448,14 +376,14 @@ module Google
|
||||||
class ListFoldersResponse
|
class ListFoldersResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A possibly paginated list of Folders that are direct descendants of
|
# A possibly paginated list of Folders that are direct descendants of the
|
||||||
# the specified parent resource.
|
# specified parent resource.
|
||||||
# Corresponds to the JSON property `folders`
|
# Corresponds to the JSON property `folders`
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2::Folder>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::Folder>]
|
||||||
attr_accessor :folders
|
attr_accessor :folders
|
||||||
|
|
||||||
# A pagination token returned from a previous call to `ListFolders`
|
# A pagination token returned from a previous call to `ListFolders` that
|
||||||
# that indicates from where listing should continue.
|
# indicates from where listing should continue.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -475,9 +403,9 @@ module Google
|
||||||
class MoveFolderRequest
|
class MoveFolderRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The resource name of the Folder or Organization to reparent
|
# Required. The resource name of the Folder or Organization to reparent the
|
||||||
# the folder under.
|
# folder under. Must be of the form `folders/`folder_id`` or `organizations/`
|
||||||
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
|
# org_id``.
|
||||||
# Corresponds to the JSON property `destinationParent`
|
# Corresponds to the JSON property `destinationParent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :destination_parent
|
attr_accessor :destination_parent
|
||||||
|
@ -497,47 +425,45 @@ module Google
|
||||||
class Operation
|
class Operation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# If the value is `false`, it means the operation is still in progress.
|
# If the value is `false`, it means the operation is still in progress. If `true`
|
||||||
# If `true`, the operation is completed, and either `error` or `response` is
|
# , the operation is completed, and either `error` or `response` is available.
|
||||||
# available.
|
|
||||||
# Corresponds to the JSON property `done`
|
# Corresponds to the JSON property `done`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :done
|
attr_accessor :done
|
||||||
alias_method :done?, :done
|
alias_method :done?, :done
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for
|
# The `Status` type defines a logical error model that is suitable for different
|
||||||
# different programming environments, including REST APIs and RPC APIs. It is
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
||||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
||||||
# three pieces of data: error code, error message, and error details.
|
# data: error code, error message, and error details. You can find out more
|
||||||
# You can find out more about this error model and how to work with it in the
|
# about this error model and how to work with it in the [API Design Guide](https:
|
||||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
# //cloud.google.com/apis/design/errors).
|
||||||
# Corresponds to the JSON property `error`
|
# Corresponds to the JSON property `error`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV2::Status]
|
# @return [Google::Apis::CloudresourcemanagerV2::Status]
|
||||||
attr_accessor :error
|
attr_accessor :error
|
||||||
|
|
||||||
# Service-specific metadata associated with the operation. It typically
|
# Service-specific metadata associated with the operation. It typically contains
|
||||||
# contains progress information and common metadata such as create time.
|
# progress information and common metadata such as create time. Some services
|
||||||
# Some services might not provide such metadata. Any method that returns a
|
# might not provide such metadata. Any method that returns a long-running
|
||||||
# long-running operation should document the metadata type, if any.
|
# operation should document the metadata type, if any.
|
||||||
# Corresponds to the JSON property `metadata`
|
# Corresponds to the JSON property `metadata`
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
attr_accessor :metadata
|
attr_accessor :metadata
|
||||||
|
|
||||||
# The server-assigned name, which is only unique within the same service that
|
# The server-assigned name, which is only unique within the same service that
|
||||||
# originally returns it. If you use the default HTTP mapping, the
|
# originally returns it. If you use the default HTTP mapping, the `name` should
|
||||||
# `name` should be a resource name ending with `operations/`unique_id``.
|
# be a resource name ending with `operations/`unique_id``.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# The normal response of the operation in case of success. If the original
|
# 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
|
# method returns no data on success, such as `Delete`, the response is `google.
|
||||||
# `google.protobuf.Empty`. If the original method is standard
|
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
||||||
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
# the response should be the resource. For other methods, the response should
|
||||||
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
||||||
# is the original method name. For example, if the original method name
|
# example, if the original method name is `TakeSnapshot()`, the inferred
|
||||||
# is `TakeSnapshot()`, the inferred response type is
|
# response type is `TakeSnapshotResponse`.
|
||||||
# `TakeSnapshotResponse`.
|
|
||||||
# Corresponds to the JSON property `response`
|
# Corresponds to the JSON property `response`
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
attr_accessor :response
|
attr_accessor :response
|
||||||
|
@ -557,66 +483,32 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# An Identity and Access Management (IAM) policy, which specifies access
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# controls for Google Cloud resources.
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
||||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
# role or a user-created custom role. For some types of Google Cloud resources,
|
||||||
# custom role.
|
# a `binding` can also specify a `condition`, which is a logical expression that
|
||||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
# allows access to a resource only if the expression evaluates to `true`. A
|
||||||
# `condition`, which is a logical expression that allows access to a resource
|
# condition can add constraints based on attributes of the request, the resource,
|
||||||
# only if the expression evaluates to `true`. A condition can add constraints
|
# or both. To learn which resources support conditions in their IAM policies,
|
||||||
# based on attributes of the request, the resource, or both. To learn which
|
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
||||||
# resources support conditions in their IAM policies, see the
|
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
||||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
||||||
# policies).
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
||||||
# **JSON example:**
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
||||||
# `
|
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
||||||
# "bindings": [
|
# title": "expirable access", "description": "Does not grant access after Sep
|
||||||
# `
|
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
||||||
# "role": "roles/resourcemanager.organizationAdmin",
|
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
||||||
# "members": [
|
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
||||||
# "user:mike@example.com",
|
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
||||||
# "group:admins@example.com",
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
||||||
# "domain:google.com",
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
||||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
||||||
# ]
|
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
||||||
# `,
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
||||||
# `
|
# google.com/iam/docs/).
|
||||||
# "role": "roles/resourcemanager.organizationViewer",
|
|
||||||
# "members": [
|
|
||||||
# "user:eve@example.com"
|
|
||||||
# ],
|
|
||||||
# "condition": `
|
|
||||||
# "title": "expirable access",
|
|
||||||
# "description": "Does not grant access after Sep 2020",
|
|
||||||
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# ",
|
|
||||||
# `
|
|
||||||
# `
|
|
||||||
# ],
|
|
||||||
# "etag": "BwWWja0YfJA=",
|
|
||||||
# "version": 3
|
|
||||||
# `
|
|
||||||
# **YAML example:**
|
|
||||||
# bindings:
|
|
||||||
# - members:
|
|
||||||
# - user:mike@example.com
|
|
||||||
# - group:admins@example.com
|
|
||||||
# - domain:google.com
|
|
||||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
||||||
# role: roles/resourcemanager.organizationAdmin
|
|
||||||
# - members:
|
|
||||||
# - user:eve@example.com
|
|
||||||
# role: roles/resourcemanager.organizationViewer
|
|
||||||
# condition:
|
|
||||||
# title: expirable access
|
|
||||||
# description: Does not grant access after Sep 2020
|
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# - etag: BwWWja0YfJA=
|
|
||||||
# - version: 3
|
|
||||||
# For a description of IAM and its features, see the
|
|
||||||
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
||||||
class Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -625,48 +517,44 @@ module Google
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2::AuditConfig>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::AuditConfig>]
|
||||||
attr_accessor :audit_configs
|
attr_accessor :audit_configs
|
||||||
|
|
||||||
# Associates a list of `members` to a `role`. Optionally, may specify a
|
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
||||||
# `condition` that determines how and when the `bindings` are applied. Each
|
# condition` that determines how and when the `bindings` are applied. Each of
|
||||||
# of the `bindings` must contain at least one member.
|
# the `bindings` must contain at least one member.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2::Binding>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
|
||||||
# `etag` is used for optimistic concurrency control as a way to help
|
# `etag` is used for optimistic concurrency control as a way to help prevent
|
||||||
# prevent simultaneous updates of a policy from overwriting each other.
|
# simultaneous updates of a policy from overwriting each other. It is strongly
|
||||||
# It is strongly suggested that systems make use of the `etag` in the
|
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
||||||
# read-modify-write cycle to perform policy updates in order to avoid race
|
# to perform policy updates in order to avoid race conditions: An `etag` is
|
||||||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
# returned in the response to `getIamPolicy`, and systems are expected to put
|
||||||
# systems are expected to put that etag in the request to `setIamPolicy` to
|
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
||||||
# ensure that their change will be applied to the same version of the policy.
|
# applied to the same version of the policy. **Important:** If you use IAM
|
||||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
||||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
||||||
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
# with a version `1` policy, and all of the conditions in the version `3` policy
|
||||||
# the conditions in the version `3` policy are lost.
|
# are lost.
|
||||||
# Corresponds to the JSON property `etag`
|
# Corresponds to the JSON property `etag`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
# Specifies the format of the policy.
|
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
||||||
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
# Requests that specify an invalid value are rejected. Any operation that
|
||||||
# are rejected.
|
# affects conditional role bindings must specify version `3`. This requirement
|
||||||
# Any operation that affects conditional role bindings must specify version
|
# applies to the following operations: * Getting a policy that includes a
|
||||||
# `3`. This requirement applies to the following operations:
|
# conditional role binding * Adding a conditional role binding to a policy *
|
||||||
# * Getting a policy that includes a conditional role binding
|
# Changing a conditional role binding in a policy * Removing any role binding,
|
||||||
# * Adding a conditional role binding to a policy
|
# with or without a condition, from a policy that includes conditions **
|
||||||
# * Changing a conditional role binding in a policy
|
# Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
# * Removing any role binding, with or without a condition, from a policy
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
||||||
# that includes conditions
|
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
||||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
# conditions in the version `3` policy are lost. If a policy does not include
|
||||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
# any conditions, operations on that policy may specify any valid version or
|
||||||
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
# leave the field unset. To learn which resources support conditions in their
|
||||||
# the conditions in the version `3` policy are lost.
|
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
||||||
# If a policy does not include any conditions, operations on that policy may
|
# conditions/resource-policies).
|
||||||
# specify any valid version or leave the field unset.
|
|
||||||
# To learn which resources support conditions in their IAM policies, see the
|
|
||||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
||||||
# policies).
|
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -695,9 +583,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :create_time
|
attr_accessor :create_time
|
||||||
|
|
||||||
# True if the project can be retrieved using GetProject. No other operations
|
# True if the project can be retrieved using GetProject. No other operations on
|
||||||
# on the project are guaranteed to work until the project creation is
|
# the project are guaranteed to work until the project creation is complete.
|
||||||
# complete.
|
|
||||||
# Corresponds to the JSON property `gettable`
|
# Corresponds to the JSON property `gettable`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :gettable
|
attr_accessor :gettable
|
||||||
|
@ -736,25 +623,20 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :page_token
|
attr_accessor :page_token
|
||||||
|
|
||||||
# Search criteria used to select the Folders to return.
|
# Search criteria used to select the Folders to return. If no search criteria is
|
||||||
# If no search criteria is specified then all accessible folders will be
|
# specified then all accessible folders will be returned. Query expressions can
|
||||||
# returned.
|
# be used to restrict results based upon displayName, lifecycleState and parent,
|
||||||
# Query expressions can be used to restrict results based upon displayName,
|
# where the operators `=`, `NOT`, `AND` and `OR` can be used along with the
|
||||||
# lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`
|
# suffix wildcard symbol `*`. The displayName field in a query expression should
|
||||||
# can be used along with the suffix wildcard symbol `*`.
|
# use escaped quotes for values that include whitespace to prevent unexpected
|
||||||
# The displayName field in a query expression should use escaped quotes
|
# behavior. Some example queries are: * Query `displayName=Test*` returns Folder
|
||||||
# for values that include whitespace to prevent unexpected behavior.
|
# resources whose display name starts with "Test". * Query `lifecycleState=
|
||||||
# Some example queries are:
|
# ACTIVE` returns Folder resources with `lifecycleState` set to `ACTIVE`. *
|
||||||
# * Query `displayName=Test*` returns Folder resources whose display name
|
# Query `parent=folders/123` returns Folder resources that have `folders/123` as
|
||||||
# starts with "Test".
|
# a parent resource. * Query `parent=folders/123 AND lifecycleState=ACTIVE`
|
||||||
# * Query `lifecycleState=ACTIVE` returns Folder resources with
|
# returns active Folder resources that have `folders/123` as a parent resource. *
|
||||||
# `lifecycleState` set to `ACTIVE`.
|
# Query `displayName=\\"Test String\\"` returns Folder resources with display
|
||||||
# * Query `parent=folders/123` returns Folder resources that have
|
# names that include both "Test" and "String".
|
||||||
# `folders/123` as a parent resource.
|
|
||||||
# * Query `parent=folders/123 AND lifecycleState=ACTIVE` returns active
|
|
||||||
# Folder resources that have `folders/123` as a parent resource.
|
|
||||||
# * Query `displayName=\\"Test String\\"` returns Folder resources with
|
|
||||||
# display names that include both "Test" and "String".
|
|
||||||
# Corresponds to the JSON property `query`
|
# Corresponds to the JSON property `query`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :query
|
attr_accessor :query
|
||||||
|
@ -775,14 +657,13 @@ module Google
|
||||||
class SearchFoldersResponse
|
class SearchFoldersResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A possibly paginated folder search results.
|
# A possibly paginated folder search results. the specified parent resource.
|
||||||
# the specified parent resource.
|
|
||||||
# Corresponds to the JSON property `folders`
|
# Corresponds to the JSON property `folders`
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2::Folder>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2::Folder>]
|
||||||
attr_accessor :folders
|
attr_accessor :folders
|
||||||
|
|
||||||
# A pagination token returned from a previous call to `SearchFolders`
|
# A pagination token returned from a previous call to `SearchFolders` that
|
||||||
# that indicates from where searching should continue.
|
# indicates from where searching should continue.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -803,74 +684,39 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# An Identity and Access Management (IAM) policy, which specifies access
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# controls for Google Cloud resources.
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
||||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
# role or a user-created custom role. For some types of Google Cloud resources,
|
||||||
# custom role.
|
# a `binding` can also specify a `condition`, which is a logical expression that
|
||||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
# allows access to a resource only if the expression evaluates to `true`. A
|
||||||
# `condition`, which is a logical expression that allows access to a resource
|
# condition can add constraints based on attributes of the request, the resource,
|
||||||
# only if the expression evaluates to `true`. A condition can add constraints
|
# or both. To learn which resources support conditions in their IAM policies,
|
||||||
# based on attributes of the request, the resource, or both. To learn which
|
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
||||||
# resources support conditions in their IAM policies, see the
|
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
||||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
||||||
# policies).
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
||||||
# **JSON example:**
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
||||||
# `
|
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
||||||
# "bindings": [
|
# title": "expirable access", "description": "Does not grant access after Sep
|
||||||
# `
|
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
||||||
# "role": "roles/resourcemanager.organizationAdmin",
|
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
||||||
# "members": [
|
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
||||||
# "user:mike@example.com",
|
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
||||||
# "group:admins@example.com",
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
||||||
# "domain:google.com",
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
||||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
||||||
# ]
|
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
||||||
# `,
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
||||||
# `
|
# google.com/iam/docs/).
|
||||||
# "role": "roles/resourcemanager.organizationViewer",
|
|
||||||
# "members": [
|
|
||||||
# "user:eve@example.com"
|
|
||||||
# ],
|
|
||||||
# "condition": `
|
|
||||||
# "title": "expirable access",
|
|
||||||
# "description": "Does not grant access after Sep 2020",
|
|
||||||
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# ",
|
|
||||||
# `
|
|
||||||
# `
|
|
||||||
# ],
|
|
||||||
# "etag": "BwWWja0YfJA=",
|
|
||||||
# "version": 3
|
|
||||||
# `
|
|
||||||
# **YAML example:**
|
|
||||||
# bindings:
|
|
||||||
# - members:
|
|
||||||
# - user:mike@example.com
|
|
||||||
# - group:admins@example.com
|
|
||||||
# - domain:google.com
|
|
||||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
||||||
# role: roles/resourcemanager.organizationAdmin
|
|
||||||
# - members:
|
|
||||||
# - user:eve@example.com
|
|
||||||
# role: roles/resourcemanager.organizationViewer
|
|
||||||
# condition:
|
|
||||||
# title: expirable access
|
|
||||||
# description: Does not grant access after Sep 2020
|
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# - etag: BwWWja0YfJA=
|
|
||||||
# - version: 3
|
|
||||||
# For a description of IAM and its features, see the
|
|
||||||
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
||||||
# Corresponds to the JSON property `policy`
|
# Corresponds to the JSON property `policy`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV2::Policy]
|
# @return [Google::Apis::CloudresourcemanagerV2::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
||||||
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
# 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
|
# the fields in the mask will be modified. If no mask is provided, the following
|
||||||
# following default mask is used:
|
# default mask is used: `paths: "bindings, etag"`
|
||||||
# `paths: "bindings, etag"`
|
|
||||||
# Corresponds to the JSON property `updateMask`
|
# Corresponds to the JSON property `updateMask`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :update_mask
|
attr_accessor :update_mask
|
||||||
|
@ -886,12 +732,12 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for
|
# The `Status` type defines a logical error model that is suitable for different
|
||||||
# different programming environments, including REST APIs and RPC APIs. It is
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
||||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
||||||
# three pieces of data: error code, error message, and error details.
|
# data: error code, error message, and error details. You can find out more
|
||||||
# You can find out more about this error model and how to work with it in the
|
# about this error model and how to work with it in the [API Design Guide](https:
|
||||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
# //cloud.google.com/apis/design/errors).
|
||||||
class Status
|
class Status
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -906,9 +752,9 @@ module Google
|
||||||
# @return [Array<Hash<String,Object>>]
|
# @return [Array<Hash<String,Object>>]
|
||||||
attr_accessor :details
|
attr_accessor :details
|
||||||
|
|
||||||
# A developer-facing error message, which should be in English. Any
|
# A developer-facing error message, which should be in English. Any user-facing
|
||||||
# user-facing error message should be localized and sent in the
|
# error message should be localized and sent in the google.rpc.Status.details
|
||||||
# google.rpc.Status.details field, or localized by the client.
|
# field, or localized by the client.
|
||||||
# Corresponds to the JSON property `message`
|
# Corresponds to the JSON property `message`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :message
|
attr_accessor :message
|
||||||
|
@ -929,10 +775,9 @@ module Google
|
||||||
class TestIamPermissionsRequest
|
class TestIamPermissionsRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The set of permissions to check for the `resource`. Permissions with
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
||||||
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
||||||
# information see
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
||||||
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
||||||
# Corresponds to the JSON property `permissions`
|
# Corresponds to the JSON property `permissions`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :permissions
|
attr_accessor :permissions
|
||||||
|
@ -951,8 +796,7 @@ module Google
|
||||||
class TestIamPermissionsResponse
|
class TestIamPermissionsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
||||||
# allowed.
|
|
||||||
# Corresponds to the JSON property `permissions`
|
# Corresponds to the JSON property `permissions`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :permissions
|
attr_accessor :permissions
|
||||||
|
|
|
@ -48,33 +48,27 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a Folder in the resource hierarchy.
|
# Creates a Folder in the resource hierarchy. Returns an Operation which can be
|
||||||
# Returns an Operation which can be used to track the progress of the
|
# used to track the progress of the folder creation workflow. Upon success the
|
||||||
# folder creation workflow.
|
# Operation.response field will be populated with the created Folder. In order
|
||||||
# Upon success the Operation.response field will be populated with the
|
# to succeed, the addition of this new Folder must not violate the Folder naming,
|
||||||
# created Folder.
|
# height or fanout constraints. + The Folder's display_name must be distinct
|
||||||
# In order to succeed, the addition of this new Folder must not violate
|
# from all other Folder's that share its parent. + The addition of the Folder
|
||||||
# the Folder naming, height or fanout constraints.
|
# must not cause the active Folder hierarchy to exceed a height of 4. Note, the
|
||||||
# + The Folder's display_name must be distinct from all other Folder's that
|
# full active + deleted Folder hierarchy is allowed to reach a height of 8; this
|
||||||
# share its parent.
|
# provides additional headroom when moving folders that contain deleted folders.
|
||||||
# + The addition of the Folder must not cause the active Folder hierarchy
|
# + The addition of the Folder must not cause the total number of Folders under
|
||||||
# to exceed a height of 4. Note, the full active + deleted Folder hierarchy
|
# its parent to exceed 100. If the operation fails due to a folder constraint
|
||||||
# is allowed to reach a height of 8; this provides additional headroom when
|
# violation, some errors may be returned by the CreateFolder request, with
|
||||||
# moving folders that contain deleted folders.
|
# status code FAILED_PRECONDITION and an error description. Other folder
|
||||||
# + The addition of the Folder must not cause the total number of Folders
|
# constraint violations will be communicated in the Operation, with the specific
|
||||||
# under its parent to exceed 100.
|
# PreconditionFailure returned via the details list in the Operation.error field.
|
||||||
# If the operation fails due to a folder constraint violation, some errors
|
|
||||||
# may be returned by the CreateFolder request, with status code
|
|
||||||
# FAILED_PRECONDITION and an error description. Other folder constraint
|
|
||||||
# violations will be communicated in the Operation, with the specific
|
|
||||||
# PreconditionFailure returned via the details list in the Operation.error
|
|
||||||
# field.
|
|
||||||
# The caller must have `resourcemanager.folders.create` permission on the
|
# The caller must have `resourcemanager.folders.create` permission on the
|
||||||
# identified parent.
|
# identified parent.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2::Folder] folder_object
|
# @param [Google::Apis::CloudresourcemanagerV2::Folder] folder_object
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The resource name of the new Folder's parent.
|
# Required. The resource name of the new Folder's parent. Must be of the form `
|
||||||
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
|
# folders/`folder_id`` or `organizations/`org_id``.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -104,18 +98,14 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Requests deletion of a Folder. The Folder is moved into the
|
# Requests deletion of a Folder. The Folder is moved into the DELETE_REQUESTED
|
||||||
# DELETE_REQUESTED state
|
# state immediately, and is deleted approximately 30 days later. This method may
|
||||||
# immediately, and is deleted approximately 30 days later. This method may
|
# only be called on an empty Folder in the ACTIVE state, where a Folder is empty
|
||||||
# only be called on an empty Folder in the
|
# if it doesn't contain any Folders or Projects in the ACTIVE state. The caller
|
||||||
# ACTIVE state, where a Folder is empty if
|
# must have `resourcemanager.folders.delete` permission on the identified folder.
|
||||||
# it doesn't contain any Folders or Projects in the
|
|
||||||
# ACTIVE state.
|
|
||||||
# The caller must have `resourcemanager.folders.delete` permission on the
|
|
||||||
# identified folder.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. the resource name of the Folder to be deleted.
|
# Required. the resource name of the Folder to be deleted. Must be of the form `
|
||||||
# Must be of the form `folders/`folder_id``.
|
# folders/`folder_id``.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -143,14 +133,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves a Folder identified by the supplied resource name.
|
# Retrieves a Folder identified by the supplied resource name. Valid Folder
|
||||||
# Valid Folder resource names have the format `folders/`folder_id``
|
# resource names have the format `folders/`folder_id`` (for example, `folders/
|
||||||
# (for example, `folders/1234`).
|
# 1234`). The caller must have `resourcemanager.folders.get` permission on the
|
||||||
# The caller must have `resourcemanager.folders.get` permission on the
|
|
||||||
# identified folder.
|
# identified folder.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of the Folder to retrieve.
|
# Required. The resource name of the Folder to retrieve. Must be of the form `
|
||||||
# Must be of the form `folders/`folder_id``.
|
# folders/`folder_id``.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -178,14 +167,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the access control policy for a Folder. The returned policy may be
|
# Gets the access control policy for a Folder. The returned policy may be empty
|
||||||
# empty if no such policy or resource exists. The `resource` field should
|
# if no such policy or resource exists. The `resource` field should be the
|
||||||
# be the Folder's resource name, e.g. "folders/1234".
|
# Folder's resource name, e.g. "folders/1234". The caller must have `
|
||||||
# The caller must have `resourcemanager.folders.getIamPolicy` permission
|
# resourcemanager.folders.getIamPolicy` permission on the identified folder.
|
||||||
# on the identified folder.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being requested.
|
# REQUIRED: The resource for which the policy is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2::GetIamPolicyRequest] get_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2::GetIamPolicyRequest] get_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -217,12 +205,10 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists the Folders that are direct descendants of supplied parent resource.
|
# Lists the Folders that are direct descendants of supplied parent resource.
|
||||||
# List provides a strongly consistent view of the Folders underneath
|
# List provides a strongly consistent view of the Folders underneath the
|
||||||
# the specified parent resource.
|
# specified parent resource. List returns Folders sorted based upon the (
|
||||||
# List returns Folders sorted based upon the (ascending) lexical ordering
|
# ascending) lexical ordering of their display_name. The caller must have `
|
||||||
# of their display_name.
|
# resourcemanager.folders.list` permission on the identified parent.
|
||||||
# The caller must have `resourcemanager.folders.list` permission on the
|
|
||||||
# identified parent.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Optional. The maximum number of Folders to return in the response.
|
# Optional. The maximum number of Folders to return in the response.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -230,14 +216,12 @@ module Google
|
||||||
# that indicates where this listing should continue from.
|
# that indicates where this listing should continue from.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The resource name of the Organization or Folder whose Folders are
|
# Required. The resource name of the Organization or Folder whose Folders are
|
||||||
# being listed.
|
# being listed. Must be of the form `folders/`folder_id`` or `organizations/`
|
||||||
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
|
# org_id``. Access to this method is controlled by checking the `resourcemanager.
|
||||||
# Access to this method is controlled by checking the
|
# folders.list` permission on the `parent`.
|
||||||
# `resourcemanager.folders.list` permission on the `parent`.
|
|
||||||
# @param [Boolean] show_deleted
|
# @param [Boolean] show_deleted
|
||||||
# Optional. Controls whether Folders in the
|
# Optional. Controls whether Folders in the DELETE_REQUESTED state should be
|
||||||
# DELETE_REQUESTED
|
# returned. Defaults to false.
|
||||||
# state should be returned. Defaults to false.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -268,26 +252,21 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Moves a Folder under a new resource parent.
|
# Moves a Folder under a new resource parent. Returns an Operation which can be
|
||||||
# Returns an Operation which can be used to track the progress of the
|
# used to track the progress of the folder move workflow. Upon success the
|
||||||
# folder move workflow.
|
# Operation.response field will be populated with the moved Folder. Upon failure,
|
||||||
# Upon success the Operation.response field will be populated with the
|
# a FolderOperationError categorizing the failure cause will be returned - if
|
||||||
# moved Folder.
|
# the failure occurs synchronously then the FolderOperationError will be
|
||||||
# Upon failure, a FolderOperationError categorizing the failure cause will
|
# returned via the Status.details field and if it occurs asynchronously then the
|
||||||
# be returned - if the failure occurs synchronously then the
|
# FolderOperation will be returned via the Operation.error field. In addition,
|
||||||
# FolderOperationError will be returned via the Status.details field
|
# the Operation.metadata field will be populated with a FolderOperation message
|
||||||
# and if it occurs asynchronously then the FolderOperation will be returned
|
# as an aid to stateless clients. Folder moves will be rejected if they violate
|
||||||
# via the Operation.error field.
|
# either the naming, height or fanout constraints described in the CreateFolder
|
||||||
# In addition, the Operation.metadata field will be populated with a
|
# documentation. The caller must have `resourcemanager.folders.move` permission
|
||||||
# FolderOperation message as an aid to stateless clients.
|
# on the folder's current and proposed new parent.
|
||||||
# Folder moves will be rejected if they violate either the naming, height
|
|
||||||
# or fanout constraints described in the
|
|
||||||
# CreateFolder documentation.
|
|
||||||
# The caller must have `resourcemanager.folders.move` permission on the
|
|
||||||
# folder's current and proposed new parent.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of the Folder to move.
|
# Required. The resource name of the Folder to move. Must be of the form folders/
|
||||||
# Must be of the form folders/`folder_id`
|
# `folder_id`
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2::MoveFolderRequest] move_folder_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2::MoveFolderRequest] move_folder_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -318,26 +297,22 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates a Folder, changing its display_name.
|
# Updates a Folder, changing its display_name. Changes to the folder
|
||||||
# Changes to the folder display_name will be rejected if they violate either
|
# display_name will be rejected if they violate either the display_name
|
||||||
# the display_name formatting rules or naming constraints described in
|
# formatting rules or naming constraints described in the CreateFolder
|
||||||
# the CreateFolder documentation.
|
# documentation. The Folder's display name must start and end with a letter or
|
||||||
# The Folder's display name must start and end with a letter or digit,
|
# digit, may contain letters, digits, spaces, hyphens and underscores and can be
|
||||||
# may contain letters, digits, spaces, hyphens and underscores and can be
|
# no longer than 30 characters. This is captured by the regular expression: [\p`
|
||||||
# no longer than 30 characters. This is captured by the regular expression:
|
# L`\p`N`]([\p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?. The caller must have `
|
||||||
# [\p`L`\p`N`]([\p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?.
|
# resourcemanager.folders.update` permission on the identified folder. If the
|
||||||
# The caller must have `resourcemanager.folders.update` permission on the
|
# update fails due to the unique name constraint then a PreconditionFailure
|
||||||
# identified folder.
|
# explaining this violation will be returned in the Status.details field.
|
||||||
# If the update fails due to the unique name constraint then a
|
|
||||||
# PreconditionFailure explaining this violation will be returned
|
|
||||||
# in the Status.details field.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Output only. The resource name of the Folder.
|
# Output only. The resource name of the Folder. Its format is `folders/`
|
||||||
# Its format is `folders/`folder_id``, for example: "folders/1234".
|
# folder_id``, for example: "folders/1234".
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2::Folder] folder_object
|
# @param [Google::Apis::CloudresourcemanagerV2::Folder] folder_object
|
||||||
# @param [String] update_mask
|
# @param [String] update_mask
|
||||||
# Required. Fields to be updated.
|
# Required. Fields to be updated. Only the `display_name` can be updated.
|
||||||
# Only the `display_name` can be updated.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -368,11 +343,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Search for folders that match specific filter criteria.
|
# Search for folders that match specific filter criteria. Search provides an
|
||||||
# Search provides an eventually consistent view of the folders a user has
|
# eventually consistent view of the folders a user has access to which meet the
|
||||||
# access to which meet the specified filter criteria.
|
# specified filter criteria. This will only return folders on which the caller
|
||||||
# This will only return folders on which the caller has the
|
# has the permission `resourcemanager.folders.get`.
|
||||||
# permission `resourcemanager.folders.get`.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2::SearchFoldersRequest] search_folders_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2::SearchFoldersRequest] search_folders_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -402,14 +376,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Sets the access control policy on a Folder, replacing any existing policy.
|
# Sets the access control policy on a Folder, replacing any existing policy. The
|
||||||
# The `resource` field should be the Folder's resource name, e.g.
|
# `resource` field should be the Folder's resource name, e.g. "folders/1234".
|
||||||
# "folders/1234".
|
# The caller must have `resourcemanager.folders.setIamPolicy` permission on the
|
||||||
# The caller must have `resourcemanager.folders.setIamPolicy` permission
|
# identified folder.
|
||||||
# on the identified folder.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being specified.
|
# REQUIRED: The resource for which the policy is being specified. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2::SetIamPolicyRequest] set_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2::SetIamPolicyRequest] set_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -440,13 +413,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified Folder.
|
# Returns permissions that a caller has on the specified Folder. The `resource`
|
||||||
# The `resource` field should be the Folder's resource name,
|
# field should be the Folder's resource name, e.g. "folders/1234". There are no
|
||||||
# e.g. "folders/1234".
|
# permissions required for making this API call.
|
||||||
# There are no permissions required for making this API call.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy detail is being requested.
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -477,19 +449,15 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Cancels the deletion request for a Folder. This method may only be
|
# Cancels the deletion request for a Folder. This method may only be called on a
|
||||||
# called on a Folder in the
|
# Folder in the DELETE_REQUESTED state. In order to succeed, the Folder's parent
|
||||||
# DELETE_REQUESTED state.
|
# must be in the ACTIVE state. In addition, reintroducing the folder into the
|
||||||
# In order to succeed, the Folder's parent must be in the
|
# tree must not violate folder naming, height and fanout constraints described
|
||||||
# ACTIVE state.
|
# in the CreateFolder documentation. The caller must have `resourcemanager.
|
||||||
# In addition, reintroducing the folder into the tree must not violate
|
# folders.undelete` permission on the identified folder.
|
||||||
# folder naming, height and fanout constraints described in the
|
|
||||||
# CreateFolder documentation.
|
|
||||||
# The caller must have `resourcemanager.folders.undelete` permission on the
|
|
||||||
# identified folder.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of the Folder to undelete.
|
# Required. The resource name of the Folder to undelete. Must be of the form `
|
||||||
# Must be of the form `folders/`folder_id``.
|
# folders/`folder_id``.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2::UndeleteFolderRequest] undelete_folder_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2::UndeleteFolderRequest] undelete_folder_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -520,9 +488,8 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the latest state of a long-running operation. Clients can use this
|
# Gets the latest state of a long-running operation. Clients can use this method
|
||||||
# method to poll the operation result at intervals as recommended by the API
|
# to poll the operation result at intervals as recommended by the API service.
|
||||||
# service.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the operation resource.
|
# The name of the operation resource.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV2beta1
|
module CloudresourcemanagerV2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20200617'
|
REVISION = '20200720'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -22,53 +22,21 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module CloudresourcemanagerV2beta1
|
module CloudresourcemanagerV2beta1
|
||||||
|
|
||||||
# Specifies the audit configuration for a service.
|
# Specifies the audit configuration for a service. The configuration determines
|
||||||
# The configuration determines which permission types are logged, and what
|
# which permission types are logged, and what identities, if any, are exempted
|
||||||
# identities, if any, are exempted from logging.
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
||||||
# An AuditConfig must have one or more AuditLogConfigs.
|
# are AuditConfigs for both `allServices` and a specific service, the union of
|
||||||
# If there are AuditConfigs for both `allServices` and a specific service,
|
# the two AuditConfigs is used for that service: the log_types specified in each
|
||||||
# the union of the two AuditConfigs is used for that service: the log_types
|
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
||||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
||||||
# AuditLogConfig are exempted.
|
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
||||||
# Example Policy with multiple AuditConfigs:
|
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
||||||
# `
|
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
||||||
# "audit_configs": [
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
||||||
# `
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
||||||
# "service": "allServices",
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
||||||
# "audit_log_configs": [
|
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
||||||
# `
|
# DATA_WRITE logging.
|
||||||
# "log_type": "DATA_READ",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:jose@example.com"
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE"
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "ADMIN_READ"
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "service": "sampleservice.googleapis.com",
|
|
||||||
# "audit_log_configs": [
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_READ"
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:aliya@example.com"
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
||||||
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
||||||
# aliya@example.com from DATA_WRITE logging.
|
|
||||||
class AuditConfig
|
class AuditConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -77,9 +45,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::AuditLogConfig>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::AuditLogConfig>]
|
||||||
attr_accessor :audit_log_configs
|
attr_accessor :audit_log_configs
|
||||||
|
|
||||||
# Specifies a service that will be enabled for audit logging.
|
# Specifies a service that will be enabled for audit logging. For example, `
|
||||||
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
||||||
# `allServices` is a special value that covers all services.
|
# value that covers all services.
|
||||||
# Corresponds to the JSON property `service`
|
# Corresponds to the JSON property `service`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :service
|
attr_accessor :service
|
||||||
|
@ -95,28 +63,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Provides the configuration for logging a type of permissions.
|
# Provides the configuration for logging a type of permissions. Example: ` "
|
||||||
# Example:
|
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
||||||
# `
|
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
||||||
# "audit_log_configs": [
|
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
||||||
# `
|
# DATA_READ logging.
|
||||||
# "log_type": "DATA_READ",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:jose@example.com"
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE"
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
||||||
# jose@example.com from DATA_READ logging.
|
|
||||||
class AuditLogConfig
|
class AuditLogConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Specifies the identities that do not cause logging for this type of
|
# Specifies the identities that do not cause logging for this type of permission.
|
||||||
# permission.
|
|
||||||
# Follows the same format of Binding.members.
|
# Follows the same format of Binding.members.
|
||||||
# Corresponds to the JSON property `exemptedMembers`
|
# Corresponds to the JSON property `exemptedMembers`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
|
@ -142,69 +97,57 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents a textual expression in the Common Expression Language (CEL)
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||||
# are documented at https://github.com/google/cel-spec.
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
||||||
# Example (Comparison):
|
# "Summary size limit" description: "Determines if a summary is less than 100
|
||||||
# title: "Summary size limit"
|
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
||||||
# description: "Determines if a summary is less than 100 chars"
|
# Requestor is owner" description: "Determines if requestor is the document
|
||||||
# expression: "document.summary.size() < 100"
|
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
||||||
# Example (Equality):
|
# Logic): title: "Public documents" description: "Determine whether the document
|
||||||
# title: "Requestor is owner"
|
# should be publicly visible" expression: "document.type != 'private' &&
|
||||||
# description: "Determines if requestor is the document owner"
|
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
||||||
# expression: "document.owner == request.auth.claims.email"
|
# string" description: "Create a notification string with a timestamp."
|
||||||
# Example (Logic):
|
# expression: "'New message received at ' + string(document.create_time)" The
|
||||||
# title: "Public documents"
|
# exact variables and functions that may be referenced within an expression are
|
||||||
# description: "Determine whether the document should be publicly visible"
|
# determined by the service that evaluates it. See the service documentation for
|
||||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
# additional information.
|
||||||
# Example (Data Manipulation):
|
|
||||||
# title: "Notification string"
|
|
||||||
# description: "Create a notification string with a timestamp."
|
|
||||||
# expression: "'New message received at ' + string(document.create_time)"
|
|
||||||
# The exact variables and functions that may be referenced within an expression
|
|
||||||
# are determined by the service that evaluates it. See the service
|
|
||||||
# documentation for additional information.
|
|
||||||
# Corresponds to the JSON property `condition`
|
# Corresponds to the JSON property `condition`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV2beta1::Expr]
|
# @return [Google::Apis::CloudresourcemanagerV2beta1::Expr]
|
||||||
attr_accessor :condition
|
attr_accessor :condition
|
||||||
|
|
||||||
# Specifies the identities requesting access for a Cloud Platform resource.
|
# Specifies the identities requesting access for a Cloud Platform resource. `
|
||||||
# `members` can have the following values:
|
# members` can have the following values: * `allUsers`: A special identifier
|
||||||
# * `allUsers`: A special identifier that represents anyone who is
|
# that represents anyone who is on the internet; with or without a Google
|
||||||
# on the internet; with or without a Google account.
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
||||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
# anyone who is authenticated with a Google account or a service account. * `
|
||||||
# who is authenticated with a Google account or a service account.
|
# user:`emailid``: An email address that represents a specific Google account.
|
||||||
# * `user:`emailid``: An email address that represents a specific Google
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
||||||
# account. For example, `alice@example.com` .
|
# address that represents a service account. For example, `my-other-app@appspot.
|
||||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# `uniqueid``: An email address (plus unique identifier) representing a user
|
||||||
# For example, `admins@example.com`.
|
# that has been recently deleted. For example, `alice@example.com?uid=
|
||||||
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
||||||
# identifier) representing a user that has been recently deleted. For
|
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
||||||
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
# identifier) representing a service account that has been recently deleted. For
|
||||||
# retains the role in the binding.
|
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||||
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
||||||
# unique identifier) representing a service account that has been recently
|
# emailid`` and the undeleted service account retains the role in the binding. *
|
||||||
# deleted. For example,
|
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
# identifier) representing a Google group that has been recently deleted. For
|
||||||
# If the service account is undeleted, this value reverts to
|
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
||||||
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
||||||
# role in the binding.
|
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
||||||
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
# primary) that represents all the users of that domain. For example, `google.
|
||||||
# identifier) representing a Google group that has been recently
|
# com` or `example.com`.
|
||||||
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
||||||
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
||||||
# recovered group retains the role in the binding.
|
|
||||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :members
|
attr_accessor :members
|
||||||
|
|
||||||
# Role that is assigned to `members`.
|
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
||||||
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
# , or `roles/owner`.
|
||||||
# Corresponds to the JSON property `role`
|
# Corresponds to the JSON property `role`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :role
|
attr_accessor :role
|
||||||
|
@ -221,52 +164,43 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a textual expression in the Common Expression Language (CEL)
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||||
# are documented at https://github.com/google/cel-spec.
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
||||||
# Example (Comparison):
|
# "Summary size limit" description: "Determines if a summary is less than 100
|
||||||
# title: "Summary size limit"
|
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
||||||
# description: "Determines if a summary is less than 100 chars"
|
# Requestor is owner" description: "Determines if requestor is the document
|
||||||
# expression: "document.summary.size() < 100"
|
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
||||||
# Example (Equality):
|
# Logic): title: "Public documents" description: "Determine whether the document
|
||||||
# title: "Requestor is owner"
|
# should be publicly visible" expression: "document.type != 'private' &&
|
||||||
# description: "Determines if requestor is the document owner"
|
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
||||||
# expression: "document.owner == request.auth.claims.email"
|
# string" description: "Create a notification string with a timestamp."
|
||||||
# Example (Logic):
|
# expression: "'New message received at ' + string(document.create_time)" The
|
||||||
# title: "Public documents"
|
# exact variables and functions that may be referenced within an expression are
|
||||||
# description: "Determine whether the document should be publicly visible"
|
# determined by the service that evaluates it. See the service documentation for
|
||||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
# additional information.
|
||||||
# Example (Data Manipulation):
|
|
||||||
# title: "Notification string"
|
|
||||||
# description: "Create a notification string with a timestamp."
|
|
||||||
# expression: "'New message received at ' + string(document.create_time)"
|
|
||||||
# The exact variables and functions that may be referenced within an expression
|
|
||||||
# are determined by the service that evaluates it. See the service
|
|
||||||
# documentation for additional information.
|
|
||||||
class Expr
|
class Expr
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. Description of the expression. This is a longer text which
|
# Optional. Description of the expression. This is a longer text which describes
|
||||||
# describes the expression, e.g. when hovered over it in a UI.
|
# the expression, e.g. when hovered over it in a UI.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# Textual representation of an expression in Common Expression Language
|
# Textual representation of an expression in Common Expression Language syntax.
|
||||||
# syntax.
|
|
||||||
# Corresponds to the JSON property `expression`
|
# Corresponds to the JSON property `expression`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :expression
|
attr_accessor :expression
|
||||||
|
|
||||||
# Optional. String indicating the location of the expression for error
|
# Optional. String indicating the location of the expression for error reporting,
|
||||||
# reporting, e.g. a file name and a position in the file.
|
# e.g. a file name and a position in the file.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# Optional. Title for the expression, i.e. a short string describing
|
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
||||||
# its purpose. This can be used e.g. in UIs which allow to enter the
|
# This can be used e.g. in UIs which allow to enter the expression.
|
||||||
# expression.
|
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :title
|
attr_accessor :title
|
||||||
|
@ -284,8 +218,8 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A Folder in an Organization's resource hierarchy, used to
|
# A Folder in an Organization's resource hierarchy, used to organize that
|
||||||
# organize that Organization's resources.
|
# Organization's resources.
|
||||||
class Folder
|
class Folder
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -294,34 +228,30 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :create_time
|
attr_accessor :create_time
|
||||||
|
|
||||||
# The folder’s display name.
|
# The folder’s display name. A folder’s display name must be unique amongst its
|
||||||
# A folder’s display name must be unique amongst its siblings, e.g.
|
# siblings, e.g. no two folders with the same parent can share the same display
|
||||||
# no two folders with the same parent can share the same display name.
|
# name. The display name must start and end with a letter or digit, may contain
|
||||||
# The display name must start and end with a letter or digit, may contain
|
# letters, digits, spaces, hyphens and underscores and can be no longer than 30
|
||||||
# letters, digits, spaces, hyphens and underscores and can be no longer
|
# characters. This is captured by the regular expression: [\p`L`\p`N`]([\p`L`\p`
|
||||||
# than 30 characters. This is captured by the regular expression:
|
# N`_- ]`0,28`[\p`L`\p`N`])?.
|
||||||
# [\p`L`\p`N`]([\p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?.
|
|
||||||
# Corresponds to the JSON property `displayName`
|
# Corresponds to the JSON property `displayName`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :display_name
|
attr_accessor :display_name
|
||||||
|
|
||||||
# Output only. The lifecycle state of the folder.
|
# Output only. The lifecycle state of the folder. Updates to the lifecycle_state
|
||||||
# Updates to the lifecycle_state must be performed via
|
# must be performed via DeleteFolder and UndeleteFolder.
|
||||||
# DeleteFolder and
|
|
||||||
# UndeleteFolder.
|
|
||||||
# Corresponds to the JSON property `lifecycleState`
|
# Corresponds to the JSON property `lifecycleState`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :lifecycle_state
|
attr_accessor :lifecycle_state
|
||||||
|
|
||||||
# Output only. The resource name of the Folder.
|
# Output only. The resource name of the Folder. Its format is `folders/`
|
||||||
# Its format is `folders/`folder_id``, for example: "folders/1234".
|
# folder_id``, for example: "folders/1234".
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# Required. The Folder’s parent's resource name.
|
# Required. The Folder’s parent's resource name. Updates to the folder's parent
|
||||||
# Updates to the folder's parent must be performed via
|
# must be performed via MoveFolder.
|
||||||
# MoveFolder.
|
|
||||||
# Corresponds to the JSON property `parent`
|
# Corresponds to the JSON property `parent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :parent
|
attr_accessor :parent
|
||||||
|
@ -344,8 +274,8 @@ module Google
|
||||||
class FolderOperation
|
class FolderOperation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The resource name of the folder or organization we are either creating
|
# The resource name of the folder or organization we are either creating the
|
||||||
# the folder under or moving the folder to.
|
# folder under or moving the folder to.
|
||||||
# Corresponds to the JSON property `destinationParent`
|
# Corresponds to the JSON property `destinationParent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :destination_parent
|
attr_accessor :destination_parent
|
||||||
|
@ -360,8 +290,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :operation_type
|
attr_accessor :operation_type
|
||||||
|
|
||||||
# The resource name of the folder's parent.
|
# The resource name of the folder's parent. Only applicable when the
|
||||||
# Only applicable when the operation_type is MOVE.
|
# operation_type is MOVE.
|
||||||
# Corresponds to the JSON property `sourceParent`
|
# Corresponds to the JSON property `sourceParent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source_parent
|
attr_accessor :source_parent
|
||||||
|
@ -421,15 +351,13 @@ module Google
|
||||||
class GetPolicyOptions
|
class GetPolicyOptions
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. The policy format version to be returned.
|
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
||||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
# 3. Requests specifying an invalid value will be rejected. Requests for
|
||||||
# rejected.
|
# policies with any conditional bindings must specify version 3. Policies
|
||||||
# Requests for policies with any conditional bindings must specify version 3.
|
# without any conditional bindings may specify any valid value or leave the
|
||||||
# Policies without any conditional bindings may specify any valid value or
|
# field unset. To learn which resources support conditions in their IAM policies,
|
||||||
# leave the field unset.
|
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
||||||
# To learn which resources support conditions in their IAM policies, see the
|
# resource-policies).
|
||||||
# [IAM
|
|
||||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
||||||
# Corresponds to the JSON property `requestedPolicyVersion`
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :requested_policy_version
|
attr_accessor :requested_policy_version
|
||||||
|
@ -448,14 +376,14 @@ module Google
|
||||||
class ListFoldersResponse
|
class ListFoldersResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A possibly paginated list of Folders that are direct descendants of
|
# A possibly paginated list of Folders that are direct descendants of the
|
||||||
# the specified parent resource.
|
# specified parent resource.
|
||||||
# Corresponds to the JSON property `folders`
|
# Corresponds to the JSON property `folders`
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Folder>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Folder>]
|
||||||
attr_accessor :folders
|
attr_accessor :folders
|
||||||
|
|
||||||
# A pagination token returned from a previous call to `ListFolders`
|
# A pagination token returned from a previous call to `ListFolders` that
|
||||||
# that indicates from where listing should continue.
|
# indicates from where listing should continue.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -475,9 +403,9 @@ module Google
|
||||||
class MoveFolderRequest
|
class MoveFolderRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The resource name of the Folder or Organization to reparent
|
# Required. The resource name of the Folder or Organization to reparent the
|
||||||
# the folder under.
|
# folder under. Must be of the form `folders/`folder_id`` or `organizations/`
|
||||||
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
|
# org_id``.
|
||||||
# Corresponds to the JSON property `destinationParent`
|
# Corresponds to the JSON property `destinationParent`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :destination_parent
|
attr_accessor :destination_parent
|
||||||
|
@ -497,47 +425,45 @@ module Google
|
||||||
class Operation
|
class Operation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# If the value is `false`, it means the operation is still in progress.
|
# If the value is `false`, it means the operation is still in progress. If `true`
|
||||||
# If `true`, the operation is completed, and either `error` or `response` is
|
# , the operation is completed, and either `error` or `response` is available.
|
||||||
# available.
|
|
||||||
# Corresponds to the JSON property `done`
|
# Corresponds to the JSON property `done`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :done
|
attr_accessor :done
|
||||||
alias_method :done?, :done
|
alias_method :done?, :done
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for
|
# The `Status` type defines a logical error model that is suitable for different
|
||||||
# different programming environments, including REST APIs and RPC APIs. It is
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
||||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
||||||
# three pieces of data: error code, error message, and error details.
|
# data: error code, error message, and error details. You can find out more
|
||||||
# You can find out more about this error model and how to work with it in the
|
# about this error model and how to work with it in the [API Design Guide](https:
|
||||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
# //cloud.google.com/apis/design/errors).
|
||||||
# Corresponds to the JSON property `error`
|
# Corresponds to the JSON property `error`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV2beta1::Status]
|
# @return [Google::Apis::CloudresourcemanagerV2beta1::Status]
|
||||||
attr_accessor :error
|
attr_accessor :error
|
||||||
|
|
||||||
# Service-specific metadata associated with the operation. It typically
|
# Service-specific metadata associated with the operation. It typically contains
|
||||||
# contains progress information and common metadata such as create time.
|
# progress information and common metadata such as create time. Some services
|
||||||
# Some services might not provide such metadata. Any method that returns a
|
# might not provide such metadata. Any method that returns a long-running
|
||||||
# long-running operation should document the metadata type, if any.
|
# operation should document the metadata type, if any.
|
||||||
# Corresponds to the JSON property `metadata`
|
# Corresponds to the JSON property `metadata`
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
attr_accessor :metadata
|
attr_accessor :metadata
|
||||||
|
|
||||||
# The server-assigned name, which is only unique within the same service that
|
# The server-assigned name, which is only unique within the same service that
|
||||||
# originally returns it. If you use the default HTTP mapping, the
|
# originally returns it. If you use the default HTTP mapping, the `name` should
|
||||||
# `name` should be a resource name ending with `operations/`unique_id``.
|
# be a resource name ending with `operations/`unique_id``.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# The normal response of the operation in case of success. If the original
|
# 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
|
# method returns no data on success, such as `Delete`, the response is `google.
|
||||||
# `google.protobuf.Empty`. If the original method is standard
|
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
||||||
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
# the response should be the resource. For other methods, the response should
|
||||||
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
||||||
# is the original method name. For example, if the original method name
|
# example, if the original method name is `TakeSnapshot()`, the inferred
|
||||||
# is `TakeSnapshot()`, the inferred response type is
|
# response type is `TakeSnapshotResponse`.
|
||||||
# `TakeSnapshotResponse`.
|
|
||||||
# Corresponds to the JSON property `response`
|
# Corresponds to the JSON property `response`
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
attr_accessor :response
|
attr_accessor :response
|
||||||
|
@ -557,66 +483,32 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# An Identity and Access Management (IAM) policy, which specifies access
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# controls for Google Cloud resources.
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
||||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
# role or a user-created custom role. For some types of Google Cloud resources,
|
||||||
# custom role.
|
# a `binding` can also specify a `condition`, which is a logical expression that
|
||||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
# allows access to a resource only if the expression evaluates to `true`. A
|
||||||
# `condition`, which is a logical expression that allows access to a resource
|
# condition can add constraints based on attributes of the request, the resource,
|
||||||
# only if the expression evaluates to `true`. A condition can add constraints
|
# or both. To learn which resources support conditions in their IAM policies,
|
||||||
# based on attributes of the request, the resource, or both. To learn which
|
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
||||||
# resources support conditions in their IAM policies, see the
|
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
||||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
||||||
# policies).
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
||||||
# **JSON example:**
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
||||||
# `
|
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
||||||
# "bindings": [
|
# title": "expirable access", "description": "Does not grant access after Sep
|
||||||
# `
|
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
||||||
# "role": "roles/resourcemanager.organizationAdmin",
|
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
||||||
# "members": [
|
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
||||||
# "user:mike@example.com",
|
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
||||||
# "group:admins@example.com",
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
||||||
# "domain:google.com",
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
||||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
||||||
# ]
|
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
||||||
# `,
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
||||||
# `
|
# google.com/iam/docs/).
|
||||||
# "role": "roles/resourcemanager.organizationViewer",
|
|
||||||
# "members": [
|
|
||||||
# "user:eve@example.com"
|
|
||||||
# ],
|
|
||||||
# "condition": `
|
|
||||||
# "title": "expirable access",
|
|
||||||
# "description": "Does not grant access after Sep 2020",
|
|
||||||
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# ",
|
|
||||||
# `
|
|
||||||
# `
|
|
||||||
# ],
|
|
||||||
# "etag": "BwWWja0YfJA=",
|
|
||||||
# "version": 3
|
|
||||||
# `
|
|
||||||
# **YAML example:**
|
|
||||||
# bindings:
|
|
||||||
# - members:
|
|
||||||
# - user:mike@example.com
|
|
||||||
# - group:admins@example.com
|
|
||||||
# - domain:google.com
|
|
||||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
||||||
# role: roles/resourcemanager.organizationAdmin
|
|
||||||
# - members:
|
|
||||||
# - user:eve@example.com
|
|
||||||
# role: roles/resourcemanager.organizationViewer
|
|
||||||
# condition:
|
|
||||||
# title: expirable access
|
|
||||||
# description: Does not grant access after Sep 2020
|
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# - etag: BwWWja0YfJA=
|
|
||||||
# - version: 3
|
|
||||||
# For a description of IAM and its features, see the
|
|
||||||
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
||||||
class Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -625,48 +517,44 @@ module Google
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::AuditConfig>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::AuditConfig>]
|
||||||
attr_accessor :audit_configs
|
attr_accessor :audit_configs
|
||||||
|
|
||||||
# Associates a list of `members` to a `role`. Optionally, may specify a
|
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
||||||
# `condition` that determines how and when the `bindings` are applied. Each
|
# condition` that determines how and when the `bindings` are applied. Each of
|
||||||
# of the `bindings` must contain at least one member.
|
# the `bindings` must contain at least one member.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Binding>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
|
||||||
# `etag` is used for optimistic concurrency control as a way to help
|
# `etag` is used for optimistic concurrency control as a way to help prevent
|
||||||
# prevent simultaneous updates of a policy from overwriting each other.
|
# simultaneous updates of a policy from overwriting each other. It is strongly
|
||||||
# It is strongly suggested that systems make use of the `etag` in the
|
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
||||||
# read-modify-write cycle to perform policy updates in order to avoid race
|
# to perform policy updates in order to avoid race conditions: An `etag` is
|
||||||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
# returned in the response to `getIamPolicy`, and systems are expected to put
|
||||||
# systems are expected to put that etag in the request to `setIamPolicy` to
|
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
||||||
# ensure that their change will be applied to the same version of the policy.
|
# applied to the same version of the policy. **Important:** If you use IAM
|
||||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
||||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
||||||
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
# with a version `1` policy, and all of the conditions in the version `3` policy
|
||||||
# the conditions in the version `3` policy are lost.
|
# are lost.
|
||||||
# Corresponds to the JSON property `etag`
|
# Corresponds to the JSON property `etag`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
# Specifies the format of the policy.
|
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
||||||
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
# Requests that specify an invalid value are rejected. Any operation that
|
||||||
# are rejected.
|
# affects conditional role bindings must specify version `3`. This requirement
|
||||||
# Any operation that affects conditional role bindings must specify version
|
# applies to the following operations: * Getting a policy that includes a
|
||||||
# `3`. This requirement applies to the following operations:
|
# conditional role binding * Adding a conditional role binding to a policy *
|
||||||
# * Getting a policy that includes a conditional role binding
|
# Changing a conditional role binding in a policy * Removing any role binding,
|
||||||
# * Adding a conditional role binding to a policy
|
# with or without a condition, from a policy that includes conditions **
|
||||||
# * Changing a conditional role binding in a policy
|
# Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
# * Removing any role binding, with or without a condition, from a policy
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
||||||
# that includes conditions
|
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
||||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
# conditions in the version `3` policy are lost. If a policy does not include
|
||||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
# any conditions, operations on that policy may specify any valid version or
|
||||||
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
# leave the field unset. To learn which resources support conditions in their
|
||||||
# the conditions in the version `3` policy are lost.
|
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
||||||
# If a policy does not include any conditions, operations on that policy may
|
# conditions/resource-policies).
|
||||||
# specify any valid version or leave the field unset.
|
|
||||||
# To learn which resources support conditions in their IAM policies, see the
|
|
||||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
||||||
# policies).
|
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -695,9 +583,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :create_time
|
attr_accessor :create_time
|
||||||
|
|
||||||
# True if the project can be retrieved using GetProject. No other operations
|
# True if the project can be retrieved using GetProject. No other operations on
|
||||||
# on the project are guaranteed to work until the project creation is
|
# the project are guaranteed to work until the project creation is complete.
|
||||||
# complete.
|
|
||||||
# Corresponds to the JSON property `gettable`
|
# Corresponds to the JSON property `gettable`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :gettable
|
attr_accessor :gettable
|
||||||
|
@ -736,25 +623,20 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :page_token
|
attr_accessor :page_token
|
||||||
|
|
||||||
# Search criteria used to select the Folders to return.
|
# Search criteria used to select the Folders to return. If no search criteria is
|
||||||
# If no search criteria is specified then all accessible folders will be
|
# specified then all accessible folders will be returned. Query expressions can
|
||||||
# returned.
|
# be used to restrict results based upon displayName, lifecycleState and parent,
|
||||||
# Query expressions can be used to restrict results based upon displayName,
|
# where the operators `=`, `NOT`, `AND` and `OR` can be used along with the
|
||||||
# lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`
|
# suffix wildcard symbol `*`. The displayName field in a query expression should
|
||||||
# can be used along with the suffix wildcard symbol `*`.
|
# use escaped quotes for values that include whitespace to prevent unexpected
|
||||||
# The displayName field in a query expression should use escaped quotes
|
# behavior. Some example queries are: * Query `displayName=Test*` returns Folder
|
||||||
# for values that include whitespace to prevent unexpected behavior.
|
# resources whose display name starts with "Test". * Query `lifecycleState=
|
||||||
# Some example queries are:
|
# ACTIVE` returns Folder resources with `lifecycleState` set to `ACTIVE`. *
|
||||||
# * Query `displayName=Test*` returns Folder resources whose display name
|
# Query `parent=folders/123` returns Folder resources that have `folders/123` as
|
||||||
# starts with "Test".
|
# a parent resource. * Query `parent=folders/123 AND lifecycleState=ACTIVE`
|
||||||
# * Query `lifecycleState=ACTIVE` returns Folder resources with
|
# returns active Folder resources that have `folders/123` as a parent resource. *
|
||||||
# `lifecycleState` set to `ACTIVE`.
|
# Query `displayName=\\"Test String\\"` returns Folder resources with display
|
||||||
# * Query `parent=folders/123` returns Folder resources that have
|
# names that include both "Test" and "String".
|
||||||
# `folders/123` as a parent resource.
|
|
||||||
# * Query `parent=folders/123 AND lifecycleState=ACTIVE` returns active
|
|
||||||
# Folder resources that have `folders/123` as a parent resource.
|
|
||||||
# * Query `displayName=\\"Test String\\"` returns Folder resources with
|
|
||||||
# display names that include both "Test" and "String".
|
|
||||||
# Corresponds to the JSON property `query`
|
# Corresponds to the JSON property `query`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :query
|
attr_accessor :query
|
||||||
|
@ -775,14 +657,13 @@ module Google
|
||||||
class SearchFoldersResponse
|
class SearchFoldersResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A possibly paginated folder search results.
|
# A possibly paginated folder search results. the specified parent resource.
|
||||||
# the specified parent resource.
|
|
||||||
# Corresponds to the JSON property `folders`
|
# Corresponds to the JSON property `folders`
|
||||||
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Folder>]
|
# @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Folder>]
|
||||||
attr_accessor :folders
|
attr_accessor :folders
|
||||||
|
|
||||||
# A pagination token returned from a previous call to `SearchFolders`
|
# A pagination token returned from a previous call to `SearchFolders` that
|
||||||
# that indicates from where searching should continue.
|
# indicates from where searching should continue.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -803,74 +684,39 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# An Identity and Access Management (IAM) policy, which specifies access
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# controls for Google Cloud resources.
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
||||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
# role or a user-created custom role. For some types of Google Cloud resources,
|
||||||
# custom role.
|
# a `binding` can also specify a `condition`, which is a logical expression that
|
||||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
# allows access to a resource only if the expression evaluates to `true`. A
|
||||||
# `condition`, which is a logical expression that allows access to a resource
|
# condition can add constraints based on attributes of the request, the resource,
|
||||||
# only if the expression evaluates to `true`. A condition can add constraints
|
# or both. To learn which resources support conditions in their IAM policies,
|
||||||
# based on attributes of the request, the resource, or both. To learn which
|
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
||||||
# resources support conditions in their IAM policies, see the
|
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
||||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
||||||
# policies).
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
||||||
# **JSON example:**
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
||||||
# `
|
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
||||||
# "bindings": [
|
# title": "expirable access", "description": "Does not grant access after Sep
|
||||||
# `
|
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
||||||
# "role": "roles/resourcemanager.organizationAdmin",
|
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
||||||
# "members": [
|
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
||||||
# "user:mike@example.com",
|
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
||||||
# "group:admins@example.com",
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
||||||
# "domain:google.com",
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
||||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
||||||
# ]
|
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
||||||
# `,
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
||||||
# `
|
# google.com/iam/docs/).
|
||||||
# "role": "roles/resourcemanager.organizationViewer",
|
|
||||||
# "members": [
|
|
||||||
# "user:eve@example.com"
|
|
||||||
# ],
|
|
||||||
# "condition": `
|
|
||||||
# "title": "expirable access",
|
|
||||||
# "description": "Does not grant access after Sep 2020",
|
|
||||||
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# ",
|
|
||||||
# `
|
|
||||||
# `
|
|
||||||
# ],
|
|
||||||
# "etag": "BwWWja0YfJA=",
|
|
||||||
# "version": 3
|
|
||||||
# `
|
|
||||||
# **YAML example:**
|
|
||||||
# bindings:
|
|
||||||
# - members:
|
|
||||||
# - user:mike@example.com
|
|
||||||
# - group:admins@example.com
|
|
||||||
# - domain:google.com
|
|
||||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
||||||
# role: roles/resourcemanager.organizationAdmin
|
|
||||||
# - members:
|
|
||||||
# - user:eve@example.com
|
|
||||||
# role: roles/resourcemanager.organizationViewer
|
|
||||||
# condition:
|
|
||||||
# title: expirable access
|
|
||||||
# description: Does not grant access after Sep 2020
|
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
||||||
# - etag: BwWWja0YfJA=
|
|
||||||
# - version: 3
|
|
||||||
# For a description of IAM and its features, see the
|
|
||||||
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
||||||
# Corresponds to the JSON property `policy`
|
# Corresponds to the JSON property `policy`
|
||||||
# @return [Google::Apis::CloudresourcemanagerV2beta1::Policy]
|
# @return [Google::Apis::CloudresourcemanagerV2beta1::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
||||||
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
# 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
|
# the fields in the mask will be modified. If no mask is provided, the following
|
||||||
# following default mask is used:
|
# default mask is used: `paths: "bindings, etag"`
|
||||||
# `paths: "bindings, etag"`
|
|
||||||
# Corresponds to the JSON property `updateMask`
|
# Corresponds to the JSON property `updateMask`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :update_mask
|
attr_accessor :update_mask
|
||||||
|
@ -886,12 +732,12 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for
|
# The `Status` type defines a logical error model that is suitable for different
|
||||||
# different programming environments, including REST APIs and RPC APIs. It is
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
||||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
||||||
# three pieces of data: error code, error message, and error details.
|
# data: error code, error message, and error details. You can find out more
|
||||||
# You can find out more about this error model and how to work with it in the
|
# about this error model and how to work with it in the [API Design Guide](https:
|
||||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
# //cloud.google.com/apis/design/errors).
|
||||||
class Status
|
class Status
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -906,9 +752,9 @@ module Google
|
||||||
# @return [Array<Hash<String,Object>>]
|
# @return [Array<Hash<String,Object>>]
|
||||||
attr_accessor :details
|
attr_accessor :details
|
||||||
|
|
||||||
# A developer-facing error message, which should be in English. Any
|
# A developer-facing error message, which should be in English. Any user-facing
|
||||||
# user-facing error message should be localized and sent in the
|
# error message should be localized and sent in the google.rpc.Status.details
|
||||||
# google.rpc.Status.details field, or localized by the client.
|
# field, or localized by the client.
|
||||||
# Corresponds to the JSON property `message`
|
# Corresponds to the JSON property `message`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :message
|
attr_accessor :message
|
||||||
|
@ -929,10 +775,9 @@ module Google
|
||||||
class TestIamPermissionsRequest
|
class TestIamPermissionsRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The set of permissions to check for the `resource`. Permissions with
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
||||||
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
||||||
# information see
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
||||||
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
||||||
# Corresponds to the JSON property `permissions`
|
# Corresponds to the JSON property `permissions`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :permissions
|
attr_accessor :permissions
|
||||||
|
@ -951,8 +796,7 @@ module Google
|
||||||
class TestIamPermissionsResponse
|
class TestIamPermissionsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
||||||
# allowed.
|
|
||||||
# Corresponds to the JSON property `permissions`
|
# Corresponds to the JSON property `permissions`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :permissions
|
attr_accessor :permissions
|
||||||
|
|
|
@ -48,33 +48,27 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a Folder in the resource hierarchy.
|
# Creates a Folder in the resource hierarchy. Returns an Operation which can be
|
||||||
# Returns an Operation which can be used to track the progress of the
|
# used to track the progress of the folder creation workflow. Upon success the
|
||||||
# folder creation workflow.
|
# Operation.response field will be populated with the created Folder. In order
|
||||||
# Upon success the Operation.response field will be populated with the
|
# to succeed, the addition of this new Folder must not violate the Folder naming,
|
||||||
# created Folder.
|
# height or fanout constraints. + The Folder's display_name must be distinct
|
||||||
# In order to succeed, the addition of this new Folder must not violate
|
# from all other Folder's that share its parent. + The addition of the Folder
|
||||||
# the Folder naming, height or fanout constraints.
|
# must not cause the active Folder hierarchy to exceed a height of 4. Note, the
|
||||||
# + The Folder's display_name must be distinct from all other Folder's that
|
# full active + deleted Folder hierarchy is allowed to reach a height of 8; this
|
||||||
# share its parent.
|
# provides additional headroom when moving folders that contain deleted folders.
|
||||||
# + The addition of the Folder must not cause the active Folder hierarchy
|
# + The addition of the Folder must not cause the total number of Folders under
|
||||||
# to exceed a height of 4. Note, the full active + deleted Folder hierarchy
|
# its parent to exceed 100. If the operation fails due to a folder constraint
|
||||||
# is allowed to reach a height of 8; this provides additional headroom when
|
# violation, some errors may be returned by the CreateFolder request, with
|
||||||
# moving folders that contain deleted folders.
|
# status code FAILED_PRECONDITION and an error description. Other folder
|
||||||
# + The addition of the Folder must not cause the total number of Folders
|
# constraint violations will be communicated in the Operation, with the specific
|
||||||
# under its parent to exceed 100.
|
# PreconditionFailure returned via the details list in the Operation.error field.
|
||||||
# If the operation fails due to a folder constraint violation, some errors
|
|
||||||
# may be returned by the CreateFolder request, with status code
|
|
||||||
# FAILED_PRECONDITION and an error description. Other folder constraint
|
|
||||||
# violations will be communicated in the Operation, with the specific
|
|
||||||
# PreconditionFailure returned via the details list in the Operation.error
|
|
||||||
# field.
|
|
||||||
# The caller must have `resourcemanager.folders.create` permission on the
|
# The caller must have `resourcemanager.folders.create` permission on the
|
||||||
# identified parent.
|
# identified parent.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2beta1::Folder] folder_object
|
# @param [Google::Apis::CloudresourcemanagerV2beta1::Folder] folder_object
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The resource name of the new Folder's parent.
|
# Required. The resource name of the new Folder's parent. Must be of the form `
|
||||||
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
|
# folders/`folder_id`` or `organizations/`org_id``.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -104,18 +98,14 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Requests deletion of a Folder. The Folder is moved into the
|
# Requests deletion of a Folder. The Folder is moved into the DELETE_REQUESTED
|
||||||
# DELETE_REQUESTED state
|
# state immediately, and is deleted approximately 30 days later. This method may
|
||||||
# immediately, and is deleted approximately 30 days later. This method may
|
# only be called on an empty Folder in the ACTIVE state, where a Folder is empty
|
||||||
# only be called on an empty Folder in the
|
# if it doesn't contain any Folders or Projects in the ACTIVE state. The caller
|
||||||
# ACTIVE state, where a Folder is empty if
|
# must have `resourcemanager.folders.delete` permission on the identified folder.
|
||||||
# it doesn't contain any Folders or Projects in the
|
|
||||||
# ACTIVE state.
|
|
||||||
# The caller must have `resourcemanager.folders.delete` permission on the
|
|
||||||
# identified folder.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. the resource name of the Folder to be deleted.
|
# Required. the resource name of the Folder to be deleted. Must be of the form `
|
||||||
# Must be of the form `folders/`folder_id``.
|
# folders/`folder_id``.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -143,14 +133,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves a Folder identified by the supplied resource name.
|
# Retrieves a Folder identified by the supplied resource name. Valid Folder
|
||||||
# Valid Folder resource names have the format `folders/`folder_id``
|
# resource names have the format `folders/`folder_id`` (for example, `folders/
|
||||||
# (for example, `folders/1234`).
|
# 1234`). The caller must have `resourcemanager.folders.get` permission on the
|
||||||
# The caller must have `resourcemanager.folders.get` permission on the
|
|
||||||
# identified folder.
|
# identified folder.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of the Folder to retrieve.
|
# Required. The resource name of the Folder to retrieve. Must be of the form `
|
||||||
# Must be of the form `folders/`folder_id``.
|
# folders/`folder_id``.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -178,14 +167,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the access control policy for a Folder. The returned policy may be
|
# Gets the access control policy for a Folder. The returned policy may be empty
|
||||||
# empty if no such policy or resource exists. The `resource` field should
|
# if no such policy or resource exists. The `resource` field should be the
|
||||||
# be the Folder's resource name, e.g. "folders/1234".
|
# Folder's resource name, e.g. "folders/1234". The caller must have `
|
||||||
# The caller must have `resourcemanager.folders.getIamPolicy` permission
|
# resourcemanager.folders.getIamPolicy` permission on the identified folder.
|
||||||
# on the identified folder.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being requested.
|
# REQUIRED: The resource for which the policy is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -217,12 +205,10 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists the Folders that are direct descendants of supplied parent resource.
|
# Lists the Folders that are direct descendants of supplied parent resource.
|
||||||
# List provides a strongly consistent view of the Folders underneath
|
# List provides a strongly consistent view of the Folders underneath the
|
||||||
# the specified parent resource.
|
# specified parent resource. List returns Folders sorted based upon the (
|
||||||
# List returns Folders sorted based upon the (ascending) lexical ordering
|
# ascending) lexical ordering of their display_name. The caller must have `
|
||||||
# of their display_name.
|
# resourcemanager.folders.list` permission on the identified parent.
|
||||||
# The caller must have `resourcemanager.folders.list` permission on the
|
|
||||||
# identified parent.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Optional. The maximum number of Folders to return in the response.
|
# Optional. The maximum number of Folders to return in the response.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -230,14 +216,12 @@ module Google
|
||||||
# that indicates where this listing should continue from.
|
# that indicates where this listing should continue from.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The resource name of the Organization or Folder whose Folders are
|
# Required. The resource name of the Organization or Folder whose Folders are
|
||||||
# being listed.
|
# being listed. Must be of the form `folders/`folder_id`` or `organizations/`
|
||||||
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
|
# org_id``. Access to this method is controlled by checking the `resourcemanager.
|
||||||
# Access to this method is controlled by checking the
|
# folders.list` permission on the `parent`.
|
||||||
# `resourcemanager.folders.list` permission on the `parent`.
|
|
||||||
# @param [Boolean] show_deleted
|
# @param [Boolean] show_deleted
|
||||||
# Optional. Controls whether Folders in the
|
# Optional. Controls whether Folders in the DELETE_REQUESTED state should be
|
||||||
# DELETE_REQUESTED
|
# returned. Defaults to false.
|
||||||
# state should be returned. Defaults to false.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -268,26 +252,21 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Moves a Folder under a new resource parent.
|
# Moves a Folder under a new resource parent. Returns an Operation which can be
|
||||||
# Returns an Operation which can be used to track the progress of the
|
# used to track the progress of the folder move workflow. Upon success the
|
||||||
# folder move workflow.
|
# Operation.response field will be populated with the moved Folder. Upon failure,
|
||||||
# Upon success the Operation.response field will be populated with the
|
# a FolderOperationError categorizing the failure cause will be returned - if
|
||||||
# moved Folder.
|
# the failure occurs synchronously then the FolderOperationError will be
|
||||||
# Upon failure, a FolderOperationError categorizing the failure cause will
|
# returned via the Status.details field and if it occurs asynchronously then the
|
||||||
# be returned - if the failure occurs synchronously then the
|
# FolderOperation will be returned via the Operation.error field. In addition,
|
||||||
# FolderOperationError will be returned via the Status.details field
|
# the Operation.metadata field will be populated with a FolderOperation message
|
||||||
# and if it occurs asynchronously then the FolderOperation will be returned
|
# as an aid to stateless clients. Folder moves will be rejected if they violate
|
||||||
# via the Operation.error field.
|
# either the naming, height or fanout constraints described in the CreateFolder
|
||||||
# In addition, the Operation.metadata field will be populated with a
|
# documentation. The caller must have `resourcemanager.folders.move` permission
|
||||||
# FolderOperation message as an aid to stateless clients.
|
# on the folder's current and proposed new parent.
|
||||||
# Folder moves will be rejected if they violate either the naming, height
|
|
||||||
# or fanout constraints described in the
|
|
||||||
# CreateFolder documentation.
|
|
||||||
# The caller must have `resourcemanager.folders.move` permission on the
|
|
||||||
# folder's current and proposed new parent.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of the Folder to move.
|
# Required. The resource name of the Folder to move. Must be of the form folders/
|
||||||
# Must be of the form folders/`folder_id`
|
# `folder_id`
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2beta1::MoveFolderRequest] move_folder_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2beta1::MoveFolderRequest] move_folder_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -318,26 +297,22 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates a Folder, changing its display_name.
|
# Updates a Folder, changing its display_name. Changes to the folder
|
||||||
# Changes to the folder display_name will be rejected if they violate either
|
# display_name will be rejected if they violate either the display_name
|
||||||
# the display_name formatting rules or naming constraints described in
|
# formatting rules or naming constraints described in the CreateFolder
|
||||||
# the CreateFolder documentation.
|
# documentation. The Folder's display name must start and end with a letter or
|
||||||
# The Folder's display name must start and end with a letter or digit,
|
# digit, may contain letters, digits, spaces, hyphens and underscores and can be
|
||||||
# may contain letters, digits, spaces, hyphens and underscores and can be
|
# no longer than 30 characters. This is captured by the regular expression: [\p`
|
||||||
# no longer than 30 characters. This is captured by the regular expression:
|
# L`\p`N`]([\p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?. The caller must have `
|
||||||
# [\p`L`\p`N`]([\p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?.
|
# resourcemanager.folders.update` permission on the identified folder. If the
|
||||||
# The caller must have `resourcemanager.folders.update` permission on the
|
# update fails due to the unique name constraint then a PreconditionFailure
|
||||||
# identified folder.
|
# explaining this violation will be returned in the Status.details field.
|
||||||
# If the update fails due to the unique name constraint then a
|
|
||||||
# PreconditionFailure explaining this violation will be returned
|
|
||||||
# in the Status.details field.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Output only. The resource name of the Folder.
|
# Output only. The resource name of the Folder. Its format is `folders/`
|
||||||
# Its format is `folders/`folder_id``, for example: "folders/1234".
|
# folder_id``, for example: "folders/1234".
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2beta1::Folder] folder_object
|
# @param [Google::Apis::CloudresourcemanagerV2beta1::Folder] folder_object
|
||||||
# @param [String] update_mask
|
# @param [String] update_mask
|
||||||
# Required. Fields to be updated.
|
# Required. Fields to be updated. Only the `display_name` can be updated.
|
||||||
# Only the `display_name` can be updated.
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -368,11 +343,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Search for folders that match specific filter criteria.
|
# Search for folders that match specific filter criteria. Search provides an
|
||||||
# Search provides an eventually consistent view of the folders a user has
|
# eventually consistent view of the folders a user has access to which meet the
|
||||||
# access to which meet the specified filter criteria.
|
# specified filter criteria. This will only return folders on which the caller
|
||||||
# This will only return folders on which the caller has the
|
# has the permission `resourcemanager.folders.get`.
|
||||||
# permission `resourcemanager.folders.get`.
|
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2beta1::SearchFoldersRequest] search_folders_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2beta1::SearchFoldersRequest] search_folders_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -402,14 +376,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Sets the access control policy on a Folder, replacing any existing policy.
|
# Sets the access control policy on a Folder, replacing any existing policy. The
|
||||||
# The `resource` field should be the Folder's resource name, e.g.
|
# `resource` field should be the Folder's resource name, e.g. "folders/1234".
|
||||||
# "folders/1234".
|
# The caller must have `resourcemanager.folders.setIamPolicy` permission on the
|
||||||
# The caller must have `resourcemanager.folders.setIamPolicy` permission
|
# identified folder.
|
||||||
# on the identified folder.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being specified.
|
# REQUIRED: The resource for which the policy is being specified. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -440,13 +413,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified Folder.
|
# Returns permissions that a caller has on the specified Folder. The `resource`
|
||||||
# The `resource` field should be the Folder's resource name,
|
# field should be the Folder's resource name, e.g. "folders/1234". There are no
|
||||||
# e.g. "folders/1234".
|
# permissions required for making this API call.
|
||||||
# There are no permissions required for making this API call.
|
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy detail is being requested.
|
# REQUIRED: The resource for which the policy detail is being requested. See the
|
||||||
# See the operation documentation for the appropriate value for this field.
|
# operation documentation for the appropriate value for this field.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -477,19 +449,15 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Cancels the deletion request for a Folder. This method may only be
|
# Cancels the deletion request for a Folder. This method may only be called on a
|
||||||
# called on a Folder in the
|
# Folder in the DELETE_REQUESTED state. In order to succeed, the Folder's parent
|
||||||
# DELETE_REQUESTED state.
|
# must be in the ACTIVE state. In addition, reintroducing the folder into the
|
||||||
# In order to succeed, the Folder's parent must be in the
|
# tree must not violate folder naming, height and fanout constraints described
|
||||||
# ACTIVE state.
|
# in the CreateFolder documentation. The caller must have `resourcemanager.
|
||||||
# In addition, reintroducing the folder into the tree must not violate
|
# folders.undelete` permission on the identified folder.
|
||||||
# folder naming, height and fanout constraints described in the
|
|
||||||
# CreateFolder documentation.
|
|
||||||
# The caller must have `resourcemanager.folders.undelete` permission on the
|
|
||||||
# identified folder.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of the Folder to undelete.
|
# Required. The resource name of the Folder to undelete. Must be of the form `
|
||||||
# Must be of the form `folders/`folder_id``.
|
# folders/`folder_id``.
|
||||||
# @param [Google::Apis::CloudresourcemanagerV2beta1::UndeleteFolderRequest] undelete_folder_request_object
|
# @param [Google::Apis::CloudresourcemanagerV2beta1::UndeleteFolderRequest] undelete_folder_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -520,9 +488,8 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the latest state of a long-running operation. Clients can use this
|
# Gets the latest state of a long-running operation. Clients can use this method
|
||||||
# method to poll the operation result at intervals as recommended by the API
|
# to poll the operation result at intervals as recommended by the API service.
|
||||||
# service.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the operation resource.
|
# The name of the operation resource.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/custom-search/v1/introduction
|
# @see https://developers.google.com/custom-search/v1/introduction
|
||||||
module CustomsearchV1
|
module CustomsearchV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200715'
|
REVISION = '20200723'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -464,9 +464,10 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cr
|
attr_accessor :cr
|
||||||
|
|
||||||
# The identifier of a custom search engine created using the Custom Search
|
# The identifier of an engine created using the Programmable Search Engine
|
||||||
# [Control Panel](https://cse.google.com/). This is a custom property not
|
# [Control Panel](https://programmablesearchengine.google.com/). This is a
|
||||||
# defined in the OpenSearch spec. This parameter is **required**.
|
# custom property not defined in the OpenSearch spec. This parameter is
|
||||||
|
# **required**.
|
||||||
# Corresponds to the JSON property `cx`
|
# Corresponds to the JSON property `cx`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cx
|
attr_accessor :cx
|
||||||
|
@ -821,9 +822,10 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cr
|
attr_accessor :cr
|
||||||
|
|
||||||
# The identifier of a custom search engine created using the Custom Search
|
# The identifier of an engine created using the Programmable Search Engine
|
||||||
# [Control Panel](https://cse.google.com/). This is a custom property not
|
# [Control Panel](https://programmablesearchengine.google.com/). This is a
|
||||||
# defined in the OpenSearch spec. This parameter is **required**.
|
# custom property not defined in the OpenSearch spec. This parameter is
|
||||||
|
# **required**.
|
||||||
# Corresponds to the JSON property `cx`
|
# Corresponds to the JSON property `cx`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cx
|
attr_accessor :cx
|
||||||
|
@ -1178,9 +1180,10 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cr
|
attr_accessor :cr
|
||||||
|
|
||||||
# The identifier of a custom search engine created using the Custom Search
|
# The identifier of an engine created using the Programmable Search Engine
|
||||||
# [Control Panel](https://cse.google.com/). This is a custom property not
|
# [Control Panel](https://programmablesearchengine.google.com/). This is a
|
||||||
# defined in the OpenSearch spec. This parameter is **required**.
|
# custom property not defined in the OpenSearch spec. This parameter is
|
||||||
|
# **required**.
|
||||||
# Corresponds to the JSON property `cx`
|
# Corresponds to the JSON property `cx`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cx
|
attr_accessor :cx
|
||||||
|
@ -1585,7 +1588,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :template
|
attr_accessor :template
|
||||||
|
|
||||||
# The MIME type of the OpenSearch URL template for the Custom Search API.
|
# The MIME type of the OpenSearch URL template for the Custom Search JSON
|
||||||
|
# API.
|
||||||
# Corresponds to the JSON property `type`
|
# Corresponds to the JSON property `type`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :type
|
attr_accessor :type
|
||||||
|
|
|
@ -47,8 +47,8 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns metadata about the search performed, metadata about the custom
|
# Returns metadata about the search performed, metadata about the
|
||||||
# search engine used for the search, and the search results.
|
# engine used for the search, and the search results.
|
||||||
# @param [String] c2coff
|
# @param [String] c2coff
|
||||||
# Enables or disables [Simplified and Traditional Chinese
|
# Enables or disables [Simplified and Traditional Chinese
|
||||||
# Search](https://developers.google.com/custom-search/docs/xml_results#
|
# Search](https://developers.google.com/custom-search/docs/xml_results#
|
||||||
|
@ -71,7 +71,7 @@ module Google
|
||||||
# xml_results_appendices#countryCollections)
|
# xml_results_appendices#countryCollections)
|
||||||
# page for a list of valid values for this parameter.
|
# page for a list of valid values for this parameter.
|
||||||
# @param [String] cx
|
# @param [String] cx
|
||||||
# The custom search engine ID to use for this request.
|
# The Programmable Search Engine ID to use for this request.
|
||||||
# @param [String] date_restrict
|
# @param [String] date_restrict
|
||||||
# Restricts results to URLs based on date. Supported values include:
|
# Restricts results to URLs based on date. Supported values include:
|
||||||
# * `d[number]`: requests results from the specified number of past days.
|
# * `d[number]`: requests results from the specified number of past days.
|
||||||
|
@ -326,8 +326,8 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns metadata about the search performed, metadata about the custom
|
# Returns metadata about the search performed, metadata about the
|
||||||
# search engine used for the search, and the search results. Uses a small set
|
# engine used for the search, and the search results. Uses a small set
|
||||||
# of url patterns.
|
# of url patterns.
|
||||||
# @param [String] c2coff
|
# @param [String] c2coff
|
||||||
# Enables or disables [Simplified and Traditional Chinese
|
# Enables or disables [Simplified and Traditional Chinese
|
||||||
|
@ -351,7 +351,7 @@ module Google
|
||||||
# xml_results_appendices#countryCollections)
|
# xml_results_appendices#countryCollections)
|
||||||
# page for a list of valid values for this parameter.
|
# page for a list of valid values for this parameter.
|
||||||
# @param [String] cx
|
# @param [String] cx
|
||||||
# The custom search engine ID to use for this request.
|
# The Programmable Search Engine ID to use for this request.
|
||||||
# @param [String] date_restrict
|
# @param [String] date_restrict
|
||||||
# Restricts results to URLs based on date. Supported values include:
|
# Restricts results to URLs based on date. Supported values include:
|
||||||
# * `d[number]`: requests results from the specified number of past days.
|
# * `d[number]`: requests results from the specified number of past days.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dataflow
|
# @see https://cloud.google.com/dataflow
|
||||||
module DataflowV1b3
|
module DataflowV1b3
|
||||||
VERSION = 'V1b3'
|
VERSION = 'V1b3'
|
||||||
REVISION = '20200703'
|
REVISION = '20200713'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -2038,7 +2038,8 @@ module Google
|
||||||
attr_accessor :start_time
|
attr_accessor :start_time
|
||||||
|
|
||||||
# Exactly one of step or steps_location should be specified.
|
# Exactly one of step or steps_location should be specified.
|
||||||
# The top-level steps that constitute the entire job.
|
# The top-level steps that constitute the entire job. Only retrieved with
|
||||||
|
# JOB_VIEW_ALL.
|
||||||
# Corresponds to the JSON property `steps`
|
# Corresponds to the JSON property `steps`
|
||||||
# @return [Array<Google::Apis::DataflowV1b3::Step>]
|
# @return [Array<Google::Apis::DataflowV1b3::Step>]
|
||||||
attr_accessor :steps
|
attr_accessor :steps
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/display-video/
|
# @see https://developers.google.com/display-video/
|
||||||
module DisplayvideoV1
|
module DisplayvideoV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200723'
|
REVISION = '20200724'
|
||||||
|
|
||||||
# Create, see, edit, and permanently delete your Display & Video 360 entities and reports
|
# Create, see, edit, and permanently delete your Display & Video 360 entities and reports
|
||||||
AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'
|
AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'
|
||||||
|
@ -34,6 +34,9 @@ module Google
|
||||||
# Create, see, and edit Display & Video 360 Campaign entities and see billing invoices
|
# Create, see, and edit Display & Video 360 Campaign entities and see billing invoices
|
||||||
AUTH_DISPLAY_VIDEO_MEDIAPLANNING = 'https://www.googleapis.com/auth/display-video-mediaplanning'
|
AUTH_DISPLAY_VIDEO_MEDIAPLANNING = 'https://www.googleapis.com/auth/display-video-mediaplanning'
|
||||||
|
|
||||||
|
# New Service: https://www.googleapis.com/auth/display-video-user-management
|
||||||
|
AUTH_DISPLAY_VIDEO_USER_MANAGEMENT = 'https://www.googleapis.com/auth/display-video-user-management'
|
||||||
|
|
||||||
# View and manage your reports in DoubleClick Bid Manager
|
# View and manage your reports in DoubleClick Bid Manager
|
||||||
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
||||||
end
|
end
|
||||||
|
|
|
@ -985,6 +985,44 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A single assigned user role, which defines a user's authorized interaction
|
||||||
|
# with a specified partner or advertiser.
|
||||||
|
class AssignedUserRole
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The ID of the advertiser that the assigend user role applies to.
|
||||||
|
# Corresponds to the JSON property `advertiserId`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :advertiser_id
|
||||||
|
|
||||||
|
# Output only. The ID of the assigned user role.
|
||||||
|
# Corresponds to the JSON property `assignedUserRoleId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :assigned_user_role_id
|
||||||
|
|
||||||
|
# The ID of the partner that the assigned user role applies to.
|
||||||
|
# Corresponds to the JSON property `partnerId`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :partner_id
|
||||||
|
|
||||||
|
# Required. The user role to assign to a user for the entity.
|
||||||
|
# Corresponds to the JSON property `userRole`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :user_role
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
|
||||||
|
@assigned_user_role_id = args[:assigned_user_role_id] if args.key?(:assigned_user_role_id)
|
||||||
|
@partner_id = args[:partner_id] if args.key?(:partner_id)
|
||||||
|
@user_role = args[:user_role] if args.key?(:user_role)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Assigned audience group targeting option details. This will be populated in
|
# Assigned audience group targeting option details. This will be populated in
|
||||||
# the details field of an AssignedTargetingOption when targeting_type is `
|
# the details field of an AssignedTargetingOption when targeting_type is `
|
||||||
# TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group is UNION,
|
# TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group is UNION,
|
||||||
|
@ -1074,6 +1112,41 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Response message for AdvertiserService.AuditAdvertiser.
|
||||||
|
class AuditAdvertiserResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The number of ACTIVE and PAUSED campaigns under this advertiser. These
|
||||||
|
# campaigns count towards the limit of 9,999 campaigns per advertiser.
|
||||||
|
# Corresponds to the JSON property `usedCampaignsCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :used_campaigns_count
|
||||||
|
|
||||||
|
# The number of ACTIVE, PAUSED and DRAFT insertion orders under this advertiser.
|
||||||
|
# These insertion orders count towards the limit of 9,999 insertion orders per
|
||||||
|
# advertiser.
|
||||||
|
# Corresponds to the JSON property `usedInsertionOrdersCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :used_insertion_orders_count
|
||||||
|
|
||||||
|
# The number of ACTIVE, PAUSED, and DRAFT line items under this advertiser.
|
||||||
|
# These line items count towards the limit of 9,999 line items per advertiser.
|
||||||
|
# Corresponds to the JSON property `usedLineItemsCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :used_line_items_count
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@used_campaigns_count = args[:used_campaigns_count] if args.key?(:used_campaigns_count)
|
||||||
|
@used_insertion_orders_count = args[:used_insertion_orders_count] if args.key?(:used_insertion_orders_count)
|
||||||
|
@used_line_items_count = args[:used_line_items_count] if args.key?(:used_line_items_count)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Represents an assigned authorized seller status. This will be populated in the
|
# Represents an assigned authorized seller status. This will be populated in the
|
||||||
# details field of an AssignedTargetingOption when targeting_type is `
|
# details field of an AssignedTargetingOption when targeting_type is `
|
||||||
# TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.
|
# TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.
|
||||||
|
@ -1368,6 +1441,54 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Request message for BulkEditAssignedUserRoles.
|
||||||
|
class BulkEditAssignedUserRolesRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The assigned user roles to create in batch, specified as a list of
|
||||||
|
# AssignedUserRoles.
|
||||||
|
# Corresponds to the JSON property `createdAssignedUserRoles`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::AssignedUserRole>]
|
||||||
|
attr_accessor :created_assigned_user_roles
|
||||||
|
|
||||||
|
# The assigned user roles to delete in batch, specified as a list of
|
||||||
|
# assigned_user_role_ids. The format of assigned_user_role_id is `entityType-
|
||||||
|
# entityid`, for example `partner-123`.
|
||||||
|
# Corresponds to the JSON property `deletedAssignedUserRoles`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :deleted_assigned_user_roles
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@created_assigned_user_roles = args[:created_assigned_user_roles] if args.key?(:created_assigned_user_roles)
|
||||||
|
@deleted_assigned_user_roles = args[:deleted_assigned_user_roles] if args.key?(:deleted_assigned_user_roles)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Response message for BulkEditAssignedUserRoles.
|
||||||
|
class BulkEditAssignedUserRolesResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The list of assigned user roles that have been successfully created. This list
|
||||||
|
# will be absent if empty.
|
||||||
|
# Corresponds to the JSON property `createdAssignedUserRoles`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::AssignedUserRole>]
|
||||||
|
attr_accessor :created_assigned_user_roles
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@created_assigned_user_roles = args[:created_assigned_user_roles] if args.key?(:created_assigned_user_roles)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Request message for BulkEditLineItemAssignedTargetingOptions.
|
# Request message for BulkEditLineItemAssignedTargetingOptions.
|
||||||
class BulkEditLineItemAssignedTargetingOptionsRequest
|
class BulkEditLineItemAssignedTargetingOptionsRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1462,6 +1583,55 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Request message for BulkEditPartnerAssignedTargetingOptions.
|
||||||
|
class BulkEditPartnerAssignedTargetingOptionsRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The assigned targeting options to create in batch, specified as a list of `
|
||||||
|
# CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `
|
||||||
|
# TARGETING_TYPE_CHANNEL`
|
||||||
|
# Corresponds to the JSON property `createRequests`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest>]
|
||||||
|
attr_accessor :create_requests
|
||||||
|
|
||||||
|
# The assigned targeting options to delete in batch, specified as a list of `
|
||||||
|
# DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `
|
||||||
|
# TARGETING_TYPE_CHANNEL`
|
||||||
|
# Corresponds to the JSON property `deleteRequests`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest>]
|
||||||
|
attr_accessor :delete_requests
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@create_requests = args[:create_requests] if args.key?(:create_requests)
|
||||||
|
@delete_requests = args[:delete_requests] if args.key?(:delete_requests)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class BulkEditPartnerAssignedTargetingOptionsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The list of assigned targeting options that have been successfully created.
|
||||||
|
# This list will be absent if empty.
|
||||||
|
# Corresponds to the JSON property `createdAssignedTargetingOptions`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::AssignedTargetingOption>]
|
||||||
|
attr_accessor :created_assigned_targeting_options
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@created_assigned_targeting_options = args[:created_assigned_targeting_options] if args.key?(:created_assigned_targeting_options)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Request message for SiteService.BulkEditSites.
|
# Request message for SiteService.BulkEditSites.
|
||||||
class BulkEditSitesRequest
|
class BulkEditSitesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -3439,6 +3609,65 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Settings that control which exchanges are enabled for a partner.
|
||||||
|
class ExchangeConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# All enabled exchanges in the partner. Duplicate enabled exchanges will be
|
||||||
|
# ignored.
|
||||||
|
# Corresponds to the JSON property `enabledExchanges`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::ExchangeConfigEnabledExchange>]
|
||||||
|
attr_accessor :enabled_exchanges
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@enabled_exchanges = args[:enabled_exchanges] if args.key?(:enabled_exchanges)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# An enabled exchange in the partner.
|
||||||
|
class ExchangeConfigEnabledExchange
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The enabled exchange.
|
||||||
|
# Corresponds to the JSON property `exchange`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :exchange
|
||||||
|
|
||||||
|
# Output only. Agency ID of Google Ad Manager. The field is only relevant when
|
||||||
|
# Google Ad Manager is the enabled exchange.
|
||||||
|
# Corresponds to the JSON property `googleAdManagerAgencyId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :google_ad_manager_agency_id
|
||||||
|
|
||||||
|
# Output only. Network ID of Google Ad Manager. The field is only relevant when
|
||||||
|
# Google Ad Manager is the enabled exchange.
|
||||||
|
# Corresponds to the JSON property `googleAdManagerBuyerNetworkId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :google_ad_manager_buyer_network_id
|
||||||
|
|
||||||
|
# Output only. Seat ID of the enabled exchange.
|
||||||
|
# Corresponds to the JSON property `seatId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :seat_id
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@exchange = args[:exchange] if args.key?(:exchange)
|
||||||
|
@google_ad_manager_agency_id = args[:google_ad_manager_agency_id] if args.key?(:google_ad_manager_agency_id)
|
||||||
|
@google_ad_manager_buyer_network_id = args[:google_ad_manager_buyer_network_id] if args.key?(:google_ad_manager_buyer_network_id)
|
||||||
|
@seat_id = args[:seat_id] if args.key?(:seat_id)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Exchange review status for the creative.
|
# Exchange review status for the creative.
|
||||||
class ExchangeReviewStatus
|
class ExchangeReviewStatus
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -5589,6 +5818,61 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Response message for ListPartnerAssignedTargetingOptions.
|
||||||
|
class ListPartnerAssignedTargetingOptionsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The list of assigned targeting options. This list will be absent if empty.
|
||||||
|
# Corresponds to the JSON property `assignedTargetingOptions`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::AssignedTargetingOption>]
|
||||||
|
attr_accessor :assigned_targeting_options
|
||||||
|
|
||||||
|
# A token identifying the next page of results. This value should be specified
|
||||||
|
# as the pageToken in a subsequent ListPartnerAssignedTargetingOptionsRequest to
|
||||||
|
# fetch the next page of results. This token will be absent if there are no more
|
||||||
|
# assigned_targeting_options to return.
|
||||||
|
# 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)
|
||||||
|
@assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Response message for ListPartners.
|
||||||
|
class ListPartnersResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A token to retrieve the next page of results. Pass this value in the
|
||||||
|
# page_token field in the subsequent call to `ListPartners` method to retrieve
|
||||||
|
# the next page of results.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
# The list of partners. This list will be absent if empty.
|
||||||
|
# Corresponds to the JSON property `partners`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::Partner>]
|
||||||
|
attr_accessor :partners
|
||||||
|
|
||||||
|
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)
|
||||||
|
@partners = args[:partners] if args.key?(:partners)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Response message for SiteService.ListSites.
|
# Response message for SiteService.ListSites.
|
||||||
class ListSitesResponse
|
class ListSitesResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -5643,6 +5927,34 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Response message for ListUsers.
|
||||||
|
class ListUsersResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A token to retrieve the next page of results. Pass this value in the
|
||||||
|
# page_token field in the subsequent call to `ListUsers` method to retrieve the
|
||||||
|
# next page of results. This token will be absent if there are no more results
|
||||||
|
# to return.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
# The list of users. This list will be absent if empty.
|
||||||
|
# Corresponds to the JSON property `users`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::User>]
|
||||||
|
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
|
||||||
|
|
||||||
# A list of locations used for targeting.
|
# A list of locations used for targeting.
|
||||||
class LocationList
|
class LocationList
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -5748,6 +6060,33 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Measurement settings of a partner.
|
||||||
|
class MeasurementConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Whether or not to report DV360 cost to CM.
|
||||||
|
# Corresponds to the JSON property `dv360ToCmCostReportingEnabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :dv360_to_cm_cost_reporting_enabled
|
||||||
|
alias_method :dv360_to_cm_cost_reporting_enabled?, :dv360_to_cm_cost_reporting_enabled
|
||||||
|
|
||||||
|
# Whether or not to include DV360 data in CM data transfer reports.
|
||||||
|
# Corresponds to the JSON property `dv360ToCmDataSharingEnabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :dv360_to_cm_data_sharing_enabled
|
||||||
|
alias_method :dv360_to_cm_data_sharing_enabled?, :dv360_to_cm_data_sharing_enabled
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@dv360_to_cm_cost_reporting_enabled = args[:dv360_to_cm_cost_reporting_enabled] if args.key?(:dv360_to_cm_cost_reporting_enabled)
|
||||||
|
@dv360_to_cm_data_sharing_enabled = args[:dv360_to_cm_data_sharing_enabled] if args.key?(:dv360_to_cm_data_sharing_enabled)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Represents an amount of money with its currency type.
|
# Represents an amount of money with its currency type.
|
||||||
class Money
|
class Money
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -6240,6 +6579,94 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A single partner in Display & Video 360 (DV360).
|
||||||
|
class Partner
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Ad server related settings of a partner.
|
||||||
|
# Corresponds to the JSON property `adServerConfig`
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::PartnerAdServerConfig]
|
||||||
|
attr_accessor :ad_server_config
|
||||||
|
|
||||||
|
# Settings that control how partner related data may be accessed.
|
||||||
|
# Corresponds to the JSON property `dataAccessConfig`
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::PartnerDataAccessConfig]
|
||||||
|
attr_accessor :data_access_config
|
||||||
|
|
||||||
|
# The display name of the partner. Must be UTF-8 encoded with a maximum size of
|
||||||
|
# 240 bytes.
|
||||||
|
# Corresponds to the JSON property `displayName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :display_name
|
||||||
|
|
||||||
|
# Output only. The status of the partner.
|
||||||
|
# Corresponds to the JSON property `entityStatus`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :entity_status
|
||||||
|
|
||||||
|
# Settings that control which exchanges are enabled for a partner.
|
||||||
|
# Corresponds to the JSON property `exchangeConfig`
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::ExchangeConfig]
|
||||||
|
attr_accessor :exchange_config
|
||||||
|
|
||||||
|
# General settings of a partner.
|
||||||
|
# Corresponds to the JSON property `generalConfig`
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::PartnerGeneralConfig]
|
||||||
|
attr_accessor :general_config
|
||||||
|
|
||||||
|
# Output only. The resource name of the partner.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# Output only. The unique ID of the partner. Assigned by the system.
|
||||||
|
# Corresponds to the JSON property `partnerId`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :partner_id
|
||||||
|
|
||||||
|
# Output only. The timestamp when the partner was last updated. Assigned by the
|
||||||
|
# system.
|
||||||
|
# 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)
|
||||||
|
@ad_server_config = args[:ad_server_config] if args.key?(:ad_server_config)
|
||||||
|
@data_access_config = args[:data_access_config] if args.key?(:data_access_config)
|
||||||
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
|
@entity_status = args[:entity_status] if args.key?(:entity_status)
|
||||||
|
@exchange_config = args[:exchange_config] if args.key?(:exchange_config)
|
||||||
|
@general_config = args[:general_config] if args.key?(:general_config)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@partner_id = args[:partner_id] if args.key?(:partner_id)
|
||||||
|
@update_time = args[:update_time] if args.key?(:update_time)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Ad server related settings of a partner.
|
||||||
|
class PartnerAdServerConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Measurement settings of a partner.
|
||||||
|
# Corresponds to the JSON property `measurementConfig`
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::MeasurementConfig]
|
||||||
|
attr_accessor :measurement_config
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@measurement_config = args[:measurement_config] if args.key?(:measurement_config)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Settings that control a partner cost. A partner cost is any type of expense
|
# Settings that control a partner cost. A partner cost is any type of expense
|
||||||
# involved in running a campaign, other than the costs of purchasing impressions
|
# involved in running a campaign, other than the costs of purchasing impressions
|
||||||
# (which is called the media cost) and using third-party audience segment data (
|
# (which is called the media cost) and using third-party audience segment data (
|
||||||
|
@ -6294,6 +6721,52 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Settings that control how partner related data may be accessed.
|
||||||
|
class PartnerDataAccessConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Structured Data File (SDF) related settings.
|
||||||
|
# Corresponds to the JSON property `sdfConfig`
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::SdfConfig]
|
||||||
|
attr_accessor :sdf_config
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@sdf_config = args[:sdf_config] if args.key?(:sdf_config)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# General settings of a partner.
|
||||||
|
class PartnerGeneralConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Immutable. Partner's currency in ISO 4217 format.
|
||||||
|
# Corresponds to the JSON property `currencyCode`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :currency_code
|
||||||
|
|
||||||
|
# Immutable. The standard TZ database name of the partner's time zone. For
|
||||||
|
# example, `America/New_York`. See more at: https://en.wikipedia.org/wiki/
|
||||||
|
# List_of_tz_database_time_zones
|
||||||
|
# Corresponds to the JSON property `timeZone`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :time_zone
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
||||||
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Settings that control how partner revenue is calculated.
|
# Settings that control how partner revenue is calculated.
|
||||||
class PartnerRevenueModel
|
class PartnerRevenueModel
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -7365,6 +7838,51 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A single user in Display & Video 360.
|
||||||
|
class User
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The assigned user roles. Required in CreateUser. Output only in UpdateUser.
|
||||||
|
# Can only be updated through BulkEditAssignedUserRoles.
|
||||||
|
# Corresponds to the JSON property `assignedUserRoles`
|
||||||
|
# @return [Array<Google::Apis::DisplayvideoV1::AssignedUserRole>]
|
||||||
|
attr_accessor :assigned_user_roles
|
||||||
|
|
||||||
|
# Required. The display name of the user. Must be UTF-8 encoded with a maximum
|
||||||
|
# size of 240 bytes.
|
||||||
|
# Corresponds to the JSON property `displayName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :display_name
|
||||||
|
|
||||||
|
# Required. Immutable. The email address used to identify the user.
|
||||||
|
# Corresponds to the JSON property `email`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :email
|
||||||
|
|
||||||
|
# Output only. The resource name of the user.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# Output only. The unique ID of the user. Assigned by the system.
|
||||||
|
# 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)
|
||||||
|
@assigned_user_roles = args[:assigned_user_roles] if args.key?(:assigned_user_roles)
|
||||||
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
|
@email = args[:email] if args.key?(:email)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@user_id = args[:user_id] if args.key?(:user_id)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# User rewarded content targeting option details. This will be populated in the
|
# User rewarded content targeting option details. This will be populated in the
|
||||||
# user_rewarded_content_details field when targeting_type is `
|
# user_rewarded_content_details field when targeting_type is `
|
||||||
# TARGETING_TYPE_USER_REWARDED_CONTENT`.
|
# TARGETING_TYPE_USER_REWARDED_CONTENT`.
|
||||||
|
|
|
@ -136,6 +136,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AssignedUserRole
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class AudienceGroupAssignedTargetingOptionDetails
|
class AudienceGroupAssignedTargetingOptionDetails
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -148,6 +154,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AuditAdvertiserResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class AuthorizedSellerStatusAssignedTargetingOptionDetails
|
class AuthorizedSellerStatusAssignedTargetingOptionDetails
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -214,6 +226,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class BulkEditAssignedUserRolesRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class BulkEditAssignedUserRolesResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class BulkEditLineItemAssignedTargetingOptionsRequest
|
class BulkEditLineItemAssignedTargetingOptionsRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -238,6 +262,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class BulkEditPartnerAssignedTargetingOptionsRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class BulkEditPartnerAssignedTargetingOptionsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class BulkEditSitesRequest
|
class BulkEditSitesRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -562,6 +598,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ExchangeConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ExchangeConfigEnabledExchange
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ExchangeReviewStatus
|
class ExchangeReviewStatus
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -910,6 +958,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListPartnerAssignedTargetingOptionsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListPartnersResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListSitesResponse
|
class ListSitesResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -922,6 +982,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListUsersResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class LocationList
|
class LocationList
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -940,6 +1006,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class MeasurementConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Money
|
class Money
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1024,12 +1096,36 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Partner
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PartnerAdServerConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class PartnerCost
|
class PartnerCost
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PartnerDataAccessConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PartnerGeneralConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class PartnerRevenueModel
|
class PartnerRevenueModel
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1192,6 +1288,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class User
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class UserRewardedContentAssignedTargetingOptionDetails
|
class UserRewardedContentAssignedTargetingOptionDetails
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1482,6 +1584,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AssignedUserRole
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :advertiser_id, :numeric_string => true, as: 'advertiserId'
|
||||||
|
property :assigned_user_role_id, as: 'assignedUserRoleId'
|
||||||
|
property :partner_id, :numeric_string => true, as: 'partnerId'
|
||||||
|
property :user_role, as: 'userRole'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class AudienceGroupAssignedTargetingOptionDetails
|
class AudienceGroupAssignedTargetingOptionDetails
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1508,6 +1620,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AuditAdvertiserResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :used_campaigns_count, :numeric_string => true, as: 'usedCampaignsCount'
|
||||||
|
property :used_insertion_orders_count, :numeric_string => true, as: 'usedInsertionOrdersCount'
|
||||||
|
property :used_line_items_count, :numeric_string => true, as: 'usedLineItemsCount'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class AuthorizedSellerStatusAssignedTargetingOptionDetails
|
class AuthorizedSellerStatusAssignedTargetingOptionDetails
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1605,6 +1726,23 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class BulkEditAssignedUserRolesRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :created_assigned_user_roles, as: 'createdAssignedUserRoles', class: Google::Apis::DisplayvideoV1::AssignedUserRole, decorator: Google::Apis::DisplayvideoV1::AssignedUserRole::Representation
|
||||||
|
|
||||||
|
collection :deleted_assigned_user_roles, as: 'deletedAssignedUserRoles'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class BulkEditAssignedUserRolesResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :created_assigned_user_roles, as: 'createdAssignedUserRoles', class: Google::Apis::DisplayvideoV1::AssignedUserRole, decorator: Google::Apis::DisplayvideoV1::AssignedUserRole::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class BulkEditLineItemAssignedTargetingOptionsRequest
|
class BulkEditLineItemAssignedTargetingOptionsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1640,6 +1778,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class BulkEditPartnerAssignedTargetingOptionsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :create_requests, as: 'createRequests', class: Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest, decorator: Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest::Representation
|
||||||
|
|
||||||
|
collection :delete_requests, as: 'deleteRequests', class: Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest, decorator: Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class BulkEditPartnerAssignedTargetingOptionsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :created_assigned_targeting_options, as: 'createdAssignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class BulkEditSitesRequest
|
class BulkEditSitesRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2174,6 +2330,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ExchangeConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :enabled_exchanges, as: 'enabledExchanges', class: Google::Apis::DisplayvideoV1::ExchangeConfigEnabledExchange, decorator: Google::Apis::DisplayvideoV1::ExchangeConfigEnabledExchange::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ExchangeConfigEnabledExchange
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :exchange, as: 'exchange'
|
||||||
|
property :google_ad_manager_agency_id, as: 'googleAdManagerAgencyId'
|
||||||
|
property :google_ad_manager_buyer_network_id, as: 'googleAdManagerBuyerNetworkId'
|
||||||
|
property :seat_id, as: 'seatId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ExchangeReviewStatus
|
class ExchangeReviewStatus
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2763,6 +2937,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListPartnerAssignedTargetingOptionsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListPartnersResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :partners, as: 'partners', class: Google::Apis::DisplayvideoV1::Partner, decorator: Google::Apis::DisplayvideoV1::Partner::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListSitesResponse
|
class ListSitesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2781,6 +2973,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListUsersResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :users, as: 'users', class: Google::Apis::DisplayvideoV1::User, decorator: Google::Apis::DisplayvideoV1::User::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class LocationList
|
class LocationList
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2808,6 +3009,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class MeasurementConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :dv360_to_cm_cost_reporting_enabled, as: 'dv360ToCmCostReportingEnabled'
|
||||||
|
property :dv360_to_cm_data_sharing_enabled, as: 'dv360ToCmDataSharingEnabled'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Money
|
class Money
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2934,6 +3143,33 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Partner
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :ad_server_config, as: 'adServerConfig', class: Google::Apis::DisplayvideoV1::PartnerAdServerConfig, decorator: Google::Apis::DisplayvideoV1::PartnerAdServerConfig::Representation
|
||||||
|
|
||||||
|
property :data_access_config, as: 'dataAccessConfig', class: Google::Apis::DisplayvideoV1::PartnerDataAccessConfig, decorator: Google::Apis::DisplayvideoV1::PartnerDataAccessConfig::Representation
|
||||||
|
|
||||||
|
property :display_name, as: 'displayName'
|
||||||
|
property :entity_status, as: 'entityStatus'
|
||||||
|
property :exchange_config, as: 'exchangeConfig', class: Google::Apis::DisplayvideoV1::ExchangeConfig, decorator: Google::Apis::DisplayvideoV1::ExchangeConfig::Representation
|
||||||
|
|
||||||
|
property :general_config, as: 'generalConfig', class: Google::Apis::DisplayvideoV1::PartnerGeneralConfig, decorator: Google::Apis::DisplayvideoV1::PartnerGeneralConfig::Representation
|
||||||
|
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :partner_id, :numeric_string => true, as: 'partnerId'
|
||||||
|
property :update_time, as: 'updateTime'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PartnerAdServerConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :measurement_config, as: 'measurementConfig', class: Google::Apis::DisplayvideoV1::MeasurementConfig, decorator: Google::Apis::DisplayvideoV1::MeasurementConfig::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class PartnerCost
|
class PartnerCost
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2945,6 +3181,22 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PartnerDataAccessConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :sdf_config, as: 'sdfConfig', class: Google::Apis::DisplayvideoV1::SdfConfig, decorator: Google::Apis::DisplayvideoV1::SdfConfig::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PartnerGeneralConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :currency_code, as: 'currencyCode'
|
||||||
|
property :time_zone, as: 'timeZone'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class PartnerRevenueModel
|
class PartnerRevenueModel
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -3234,6 +3486,18 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class User
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :assigned_user_roles, as: 'assignedUserRoles', class: Google::Apis::DisplayvideoV1::AssignedUserRole, decorator: Google::Apis::DisplayvideoV1::AssignedUserRole::Representation
|
||||||
|
|
||||||
|
property :display_name, as: 'displayName'
|
||||||
|
property :email, as: 'email'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :user_id, :numeric_string => true, as: 'userId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class UserRewardedContentAssignedTargetingOptionDetails
|
class UserRewardedContentAssignedTargetingOptionDetails
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -48,6 +48,43 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Audits an advertiser. Returns the counts of used entities per resource type
|
||||||
|
# under the advertiser provided. Used entities count towards their [respective
|
||||||
|
# resource limit]: (https://support.google.com/displayvideo/answer/6071450?hl=en)
|
||||||
|
# @param [Fixnum] advertiser_id
|
||||||
|
# Required. The ID of the advertiser to audit.
|
||||||
|
# @param [String] read_mask
|
||||||
|
# Optional. The specific fields to return. If no mask is specified, all fields
|
||||||
|
# in the response proto will be filled. Valid values are: * usedLineItemsCount *
|
||||||
|
# usedInsertionOrdersCount * usedCampaignsCount
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:audit', options)
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse
|
||||||
|
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
||||||
|
command.query['readMask'] = read_mask unless read_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
|
||||||
|
|
||||||
# Bulk edits targeting options under a single advertiser. The operation will
|
# Bulk edits targeting options under a single advertiser. The operation will
|
||||||
# delete the assigned targeting options provided in
|
# delete the assigned targeting options provided in
|
||||||
# BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then
|
# BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then
|
||||||
|
@ -1560,14 +1597,17 @@ module Google
|
||||||
# expressions are made up of one or more restrictions. * Restrictions can be
|
# expressions are made up of one or more restrictions. * Restrictions can be
|
||||||
# combined by `AND` or `OR` logical operators. A sequence of restrictions
|
# combined by `AND` or `OR` logical operators. A sequence of restrictions
|
||||||
# implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
|
# implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
|
||||||
# value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
|
# value``. * The operator used on `flight.dateRange.endDate` must be LESS THAN (<
|
||||||
# campaignId` - `insertionOrderId` - `entityStatus` - `lineItemType` Examples: *
|
# ). * The operators used on all other fields must be `EQUALS (=)`. * Supported
|
||||||
# All line items under an insertion order: `insertionOrderId="1234"` * All `
|
# fields: - `campaignId` - `insertionOrderId` - `entityStatus` - `lineItemType` -
|
||||||
|
# `flight.dateRange.endDate` (input formatted as YYYY-MM-DD) Examples: * All
|
||||||
|
# line items under an insertion order: `insertionOrderId="1234"` * All `
|
||||||
# ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `
|
# ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `
|
||||||
# LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus=
|
# LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus=
|
||||||
# "ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED") AND
|
# "ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED") AND
|
||||||
# lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` The length of this field should
|
# lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` * All line items whose flight
|
||||||
# be no more than 500 characters.
|
# dates end before March 28, 2019: `flight.dateRange.endDate<"2019-03-28"` The
|
||||||
|
# length of this field should be no more than 500 characters.
|
||||||
# @param [String] order_by
|
# @param [String] order_by
|
||||||
# Field by which to sort the list. Acceptable values are: * "displayName" (
|
# Field by which to sort the list. Acceptable values are: * "displayName" (
|
||||||
# default) * "entityStatus" * “flight.dateRange.endDate” The default sorting
|
# default) * "entityStatus" * “flight.dateRange.endDate” The default sorting
|
||||||
|
@ -3710,6 +3750,126 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Bulk edits targeting options under a single partner. The operation will delete
|
||||||
|
# the assigned targeting options provided in
|
||||||
|
# BulkEditPartnerAssignedTargetingOptionsRequest.delete_requests and then create
|
||||||
|
# the assigned targeting options provided in
|
||||||
|
# BulkEditPartnerAssignedTargetingOptionsRequest.create_requests .
|
||||||
|
# @param [Fixnum] partner_id
|
||||||
|
# Required. The ID of the partner.
|
||||||
|
# @param [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest] bulk_edit_partner_assigned_targeting_options_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::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def bulk_edit_partner_assigned_targeting_options(partner_id, bulk_edit_partner_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions', options)
|
||||||
|
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest::Representation
|
||||||
|
command.request_object = bulk_edit_partner_assigned_targeting_options_request_object
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse
|
||||||
|
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
|
||||||
|
|
||||||
|
# Gets a partner.
|
||||||
|
# @param [Fixnum] partner_id
|
||||||
|
# Required. The ID of the partner 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::DisplayvideoV1::Partner] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::Partner]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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(partner_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/partners/{+partnerId}', options)
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::Partner::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::Partner
|
||||||
|
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
|
||||||
|
|
||||||
|
# Lists partners that are accessible to the current user. The order is defined
|
||||||
|
# by the order_by parameter.
|
||||||
|
# @param [String] filter
|
||||||
|
# Allows filtering by partner properties. Supported syntax: * Filter expressions
|
||||||
|
# are made up of one or more restrictions. * Restrictions can be combined by `
|
||||||
|
# AND` or `OR` logical operators. A sequence of restrictions implicitly uses `
|
||||||
|
# AND`. * A restriction has the form of ``field` `operator` `value``. * The
|
||||||
|
# operator must be `EQUALS (=)`. * Supported fields: - `entityStatus` Examples: *
|
||||||
|
# All active partners: `entityStatus="ENTITY_STATUS_ACTIVE"` The length of this
|
||||||
|
# field should be no more than 500 characters.
|
||||||
|
# @param [String] order_by
|
||||||
|
# Field by which to sort the list. Acceptable values are: * `displayName` The
|
||||||
|
# default sorting order is ascending. To specify descending order for a field, a
|
||||||
|
# suffix "desc" should be added to the field name. For example, `displayName
|
||||||
|
# desc`.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
||||||
|
# default to `100`.
|
||||||
|
# @param [String] page_token
|
||||||
|
# A token identifying a page of results the server should return. Typically,
|
||||||
|
# this is the value of next_page_token returned from the previous call to `
|
||||||
|
# ListPartners` method. If not specified, the first page of results 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::DisplayvideoV1::ListPartnersResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::ListPartnersResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_partners(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/partners', options)
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::ListPartnersResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::ListPartnersResponse
|
||||||
|
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['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Creates a new channel. Returns the newly created channel if successful.
|
# Creates a new channel. Returns the newly created channel if successful.
|
||||||
# @param [Fixnum] partner_id
|
# @param [Fixnum] partner_id
|
||||||
# The ID of the partner that owns the created channel.
|
# The ID of the partner that owns the created channel.
|
||||||
|
@ -4058,6 +4218,179 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Assigns a targeting option to a partner. Returns the assigned targeting option
|
||||||
|
# if successful.
|
||||||
|
# @param [Fixnum] partner_id
|
||||||
|
# Required. The ID of the partner.
|
||||||
|
# @param [String] targeting_type
|
||||||
|
# Required. Identifies the type of this assigned targeting option. Supported
|
||||||
|
# targeting types: * `TARGETING_TYPE_CHANNEL`
|
||||||
|
# @param [Google::Apis::DisplayvideoV1::AssignedTargetingOption] assigned_targeting_option_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
||||||
|
command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
||||||
|
command.request_object = assigned_targeting_option_object
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
|
||||||
|
command.params['partnerId'] = partner_id unless partner_id.nil?
|
||||||
|
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Deletes an assigned targeting option from a partner.
|
||||||
|
# @param [Fixnum] partner_id
|
||||||
|
# Required. The ID of the partner.
|
||||||
|
# @param [String] targeting_type
|
||||||
|
# Required. Identifies the type of this assigned targeting option. Supported
|
||||||
|
# targeting types: * `TARGETING_TYPE_CHANNEL`
|
||||||
|
# @param [String] assigned_targeting_option_id
|
||||||
|
# Required. The ID of the assigned targeting option 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::DisplayvideoV1::Empty] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::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_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
||||||
|
command.params['partnerId'] = partner_id unless partner_id.nil?
|
||||||
|
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
||||||
|
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_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 single targeting option assigned to a partner.
|
||||||
|
# @param [Fixnum] partner_id
|
||||||
|
# Required. The ID of the partner.
|
||||||
|
# @param [String] targeting_type
|
||||||
|
# Required. Identifies the type of this assigned targeting option. Supported
|
||||||
|
# targeting types: * `TARGETING_TYPE_CHANNEL`
|
||||||
|
# @param [String] assigned_targeting_option_id
|
||||||
|
# Required. An identifier unique to the targeting type in this partner that
|
||||||
|
# identifies the assigned targeting option 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::DisplayvideoV1::AssignedTargetingOption] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
|
||||||
|
command.params['partnerId'] = partner_id unless partner_id.nil?
|
||||||
|
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
||||||
|
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_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 targeting options assigned to a partner.
|
||||||
|
# @param [Fixnum] partner_id
|
||||||
|
# Required. The ID of the partner.
|
||||||
|
# @param [String] targeting_type
|
||||||
|
# Required. Identifies the type of assigned targeting options to list. Supported
|
||||||
|
# targeting types: * `TARGETING_TYPE_CHANNEL`
|
||||||
|
# @param [String] filter
|
||||||
|
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
||||||
|
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
||||||
|
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
||||||
|
# field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
|
||||||
|
# fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
|
||||||
|
# ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
|
||||||
|
# be no more than 500 characters.
|
||||||
|
# @param [String] order_by
|
||||||
|
# Field by which to sort the list. Acceptable values are: * `
|
||||||
|
# assignedTargetingOptionId` (default) The default sorting order is ascending.
|
||||||
|
# To specify descending order for a field, a suffix "desc" should be added to
|
||||||
|
# the field name. Example: `assignedTargetingOptionId desc`.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
||||||
|
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
||||||
|
# specified.
|
||||||
|
# @param [String] page_token
|
||||||
|
# A token identifying a page of results the server should return. Typically,
|
||||||
|
# this is the value of next_page_token returned from the previous call to `
|
||||||
|
# ListPartnerAssignedTargetingOptions` method. If not specified, the first page
|
||||||
|
# of results 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::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_targeting_type_assigned_targeting_options(partner_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse
|
||||||
|
command.params['partnerId'] = partner_id unless partner_id.nil?
|
||||||
|
command.params['targetingType'] = targeting_type unless targeting_type.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['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a
|
# Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a
|
||||||
# long-running, asynchronous operation. The metadata type of this operation is
|
# long-running, asynchronous operation. The metadata type of this operation is
|
||||||
# SdfDownloadTaskMetadata. If the request is successful, the response type of
|
# SdfDownloadTaskMetadata. If the request is successful, the response type of
|
||||||
|
@ -4219,6 +4552,235 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Bulk edits user roles for a user. The operation will delete the assigned user
|
||||||
|
# roles provided in BulkEditAssignedUserRolesRequest.deleted_assigned_user_roles
|
||||||
|
# and then assign the user roles provided in BulkEditAssignedUserRolesRequest.
|
||||||
|
# created_assigned_user_roles.
|
||||||
|
# @param [Fixnum] user_id
|
||||||
|
# Required. The ID of the user to which the assigned user roles belong.
|
||||||
|
# @param [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest] bulk_edit_assigned_user_roles_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::DisplayvideoV1::BulkEditAssignedUserRolesResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def bulk_edit_assigned_user_roles(user_id, bulk_edit_assigned_user_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/users/{+userId}:bulkEditAssignedUserRoles', options)
|
||||||
|
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest::Representation
|
||||||
|
command.request_object = bulk_edit_assigned_user_roles_request_object
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse
|
||||||
|
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 new user. Returns the newly created user if successful.
|
||||||
|
# @param [Google::Apis::DisplayvideoV1::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.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::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 create_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/users', options)
|
||||||
|
command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
|
||||||
|
command.request_object = user_object
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::User
|
||||||
|
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.
|
||||||
|
# @param [Fixnum] user_id
|
||||||
|
# Required. The ID of the user 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::DisplayvideoV1::Empty] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::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(user_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'v1/users/{+userId}', options)
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
||||||
|
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
|
||||||
|
|
||||||
|
# Gets a user.
|
||||||
|
# @param [Fixnum] user_id
|
||||||
|
# Required. The ID of the user 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::DisplayvideoV1::User] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::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, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/users/{+userId}', options)
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::User
|
||||||
|
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
|
||||||
|
|
||||||
|
# Lists users that are accessible to the current user. If two users have user
|
||||||
|
# roles on the same partner or advertiser, they can access each other.
|
||||||
|
# @param [String] filter
|
||||||
|
# Allows filtering by user properties. Supported syntax: * Filter expressions
|
||||||
|
# are made up of one or more restrictions. * Restrictions can be combined by the
|
||||||
|
# logical operator `AND`. * A restriction has the form of ``field` `operator` `
|
||||||
|
# value``. * The operator must be `CONTAINS (:)` or `EQUALS (=)`. * The operator
|
||||||
|
# must be `CONTAINS (:)` for the following fields: - `displayName` - `email` *
|
||||||
|
# The operator must be `EQUALS (=)` for the following fields: - `
|
||||||
|
# assignedUserRole.userRole` - `assignedUserRole.partnerId` - `assignedUserRole.
|
||||||
|
# advertiserId` - `assignedUserRole.entityType`: A synthetic field of
|
||||||
|
# AssignedUserRole used for filtering. Identifies the type of entity to which
|
||||||
|
# the user role is assigned. Valid values are `Partner` and `Advertiser`. - `
|
||||||
|
# assignedUserRole.parentPartnerId`: A synthetic field of AssignedUserRole used
|
||||||
|
# for filtering. Identifies the parent partner of the entity to which the user
|
||||||
|
# role is assigned." Examples: * The user with displayName containing `foo`: `
|
||||||
|
# displayName:"foo"` * The user with email containing `bar`: `email:"bar"` * All
|
||||||
|
# users with standard user roles: `assignedUserRole.userRole="STANDARD"` * All
|
||||||
|
# users with user roles for partner 123: `assignedUserRole.partnerId="123"` *
|
||||||
|
# All users with user roles for advertiser 123: `assignedUserRole.advertiserId="
|
||||||
|
# 123"` * All users with partner level user roles: `entityType="PARTNER"` * All
|
||||||
|
# users with user roles for partner 123 and advertisers under partner 123: `
|
||||||
|
# parentPartnerId="123"` The length of this field should be no more than 500
|
||||||
|
# characters.
|
||||||
|
# @param [String] order_by
|
||||||
|
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
||||||
|
# default) The default sorting order is ascending. To specify descending order
|
||||||
|
# for a field, a suffix "desc" should be added to the field name. For example, `
|
||||||
|
# displayName desc`.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
||||||
|
# default to `100`.
|
||||||
|
# @param [String] page_token
|
||||||
|
# A token identifying a page of results the server should return. Typically,
|
||||||
|
# this is the value of next_page_token returned from the previous call to `
|
||||||
|
# ListUsers` method. If not specified, the first page of results 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::DisplayvideoV1::ListUsersResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::ListUsersResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/users', options)
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::ListUsersResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::ListUsersResponse
|
||||||
|
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['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates an existing user. Returns the updated user if successful.
|
||||||
|
# @param [Fixnum] user_id
|
||||||
|
# Output only. The unique ID of the user. Assigned by the system.
|
||||||
|
# @param [Google::Apis::DisplayvideoV1::User] user_object
|
||||||
|
# @param [String] update_mask
|
||||||
|
# Required. The mask to control which fields to update.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DisplayvideoV1::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 patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, 'v1/users/{+userId}', options)
|
||||||
|
command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
|
||||||
|
command.request_object = user_object
|
||||||
|
command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
|
||||||
|
command.response_class = Google::Apis::DisplayvideoV1::User
|
||||||
|
command.params['userId'] = user_id unless 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
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def apply_command_defaults(command)
|
def apply_command_defaults(command)
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/memorystore/docs/redis/
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
||||||
module RedisV1beta1
|
module RedisV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200706'
|
REVISION = '20200722'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -217,6 +217,403 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# consumer_defined_name is the name that is set by the consumer. On the other
|
||||||
|
# hand Name field represents system-assigned id of an instance so consumers
|
||||||
|
# are not necessarily aware of it.
|
||||||
|
# consumer_defined_name is used for notification/UI purposes for consumer to
|
||||||
|
# recognize their instances.
|
||||||
|
# Corresponds to the JSON property `consumerDefinedName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :consumer_defined_name
|
||||||
|
|
||||||
|
# Output only. Timestamp when the resource was created.
|
||||||
|
# Corresponds to the JSON property `createTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :create_time
|
||||||
|
|
||||||
|
# Optional. Resource labels to represent user provided metadata. Each label
|
||||||
|
# is a key-value pair, where both the key and the value are arbitrary strings
|
||||||
|
# provided by the user.
|
||||||
|
# Corresponds to the JSON property `labels`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :labels
|
||||||
|
|
||||||
|
# The MaintenancePolicies that have been attached to the instance.
|
||||||
|
# The key must be of the type name of the oneof policy name defined in
|
||||||
|
# MaintenancePolicy, and the referenced policy must define the same policy
|
||||||
|
# type. For complete details of MaintenancePolicy, please refer to
|
||||||
|
# go/cloud-saas-mw-ug.
|
||||||
|
# Corresponds to the JSON property `maintenancePolicyNames`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :maintenance_policy_names
|
||||||
|
|
||||||
|
# The MaintenanceSchedule contains the scheduling information of published
|
||||||
|
# maintenance schedule.
|
||||||
|
# Corresponds to the JSON property `maintenanceSchedules`
|
||||||
|
# @return [Hash<String,Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
||||||
|
attr_accessor :maintenance_schedules
|
||||||
|
|
||||||
|
# Maintenance settings associated with instance. Allows service producers and
|
||||||
|
# end users to assign settings that controls maintenance on this instance.
|
||||||
|
# Corresponds to the JSON property `maintenanceSettings`
|
||||||
|
# @return [Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
||||||
|
attr_accessor :maintenance_settings
|
||||||
|
|
||||||
|
# Unique name of the resource. It uses the form:
|
||||||
|
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# Output only. Custom string attributes used primarily to expose
|
||||||
|
# producer-specific information in monitoring dashboards.
|
||||||
|
# See go/get-instance-metadata.
|
||||||
|
# Corresponds to the JSON property `producerMetadata`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :producer_metadata
|
||||||
|
|
||||||
|
# Output only. The list of data plane resources provisioned for this
|
||||||
|
# instance, e.g. compute VMs. See go/get-instance-metadata.
|
||||||
|
# Corresponds to the JSON property `provisionedResources`
|
||||||
|
# @return [Array<Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
|
||||||
|
attr_accessor :provisioned_resources
|
||||||
|
|
||||||
|
# Link to the SLM instance template. Only populated when updating SLM
|
||||||
|
# instances via SSA's Actuation service adaptor.
|
||||||
|
# Service producers with custom control plane (e.g. Cloud SQL) doesn't
|
||||||
|
# need to populate this field. Instead they should use software_versions.
|
||||||
|
# Corresponds to the JSON property `slmInstanceTemplate`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :slm_instance_template
|
||||||
|
|
||||||
|
# SloMetadata contains resources required for proper SLO classification of the
|
||||||
|
# instance.
|
||||||
|
# Corresponds to the JSON property `sloMetadata`
|
||||||
|
# @return [Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
|
||||||
|
attr_accessor :slo_metadata
|
||||||
|
|
||||||
|
# Software versions that are used to deploy this instance. This can be
|
||||||
|
# mutated by rollout services.
|
||||||
|
# Corresponds to the JSON property `softwareVersions`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :software_versions
|
||||||
|
|
||||||
|
# Output only. Current lifecycle state of the resource (e.g. if it's being
|
||||||
|
# created or ready to use).
|
||||||
|
# Corresponds to the JSON property `state`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :state
|
||||||
|
|
||||||
|
# Output only. ID of the associated GCP tenant project.
|
||||||
|
# See go/get-instance-metadata.
|
||||||
|
# Corresponds to the JSON property `tenantProjectId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :tenant_project_id
|
||||||
|
|
||||||
|
# Output only. Timestamp when the resource 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)
|
||||||
|
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
|
||||||
|
@create_time = args[:create_time] if args.key?(:create_time)
|
||||||
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
|
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
||||||
|
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
|
||||||
|
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
||||||
|
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
||||||
|
@slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
|
||||||
|
@slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
|
||||||
|
@software_versions = args[:software_versions] if args.key?(:software_versions)
|
||||||
|
@state = args[:state] if args.key?(:state)
|
||||||
|
@tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
|
||||||
|
@update_time = args[:update_time] if args.key?(:update_time)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Maintenance schedule which is exposed to customer and potentially end user,
|
||||||
|
# indicating published upcoming future maintenance schedule
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Can this scheduled update be rescheduled?
|
||||||
|
# By default, it's true and API needs to do explicitly check whether it's
|
||||||
|
# set, if it's set as false explicitly, it's false
|
||||||
|
# Corresponds to the JSON property `canReschedule`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :can_reschedule
|
||||||
|
alias_method :can_reschedule?, :can_reschedule
|
||||||
|
|
||||||
|
# The scheduled end time for the maintenance.
|
||||||
|
# Corresponds to the JSON property `endTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :end_time
|
||||||
|
|
||||||
|
# The rollout management policy this maintenance schedule is associated
|
||||||
|
# with. When doing reschedule update request, the reschedule should be
|
||||||
|
# against this given policy.
|
||||||
|
# Corresponds to the JSON property `rolloutManagementPolicy`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :rollout_management_policy
|
||||||
|
|
||||||
|
# The scheduled start time for the maintenance.
|
||||||
|
# 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)
|
||||||
|
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
||||||
|
@end_time = args[:end_time] if args.key?(:end_time)
|
||||||
|
@rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
|
||||||
|
@start_time = args[:start_time] if args.key?(:start_time)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Maintenance settings associated with instance. Allows service producers and
|
||||||
|
# end users to assign settings that controls maintenance on this instance.
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. Exclude instance from maintenance. When true, rollout service will
|
||||||
|
# not
|
||||||
|
# attempt maintenance on the instance. Rollout service will include the
|
||||||
|
# instance in reported rollout progress as not attempted.
|
||||||
|
# Corresponds to the JSON property `exclude`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :exclude
|
||||||
|
alias_method :exclude?, :exclude
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@exclude = args[:exclude] if args.key?(:exclude)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Node information for custom per-node SLO implementations.
|
||||||
|
# SSA does not support per-node SLO, but producers can populate per-node
|
||||||
|
# information in SloMetadata for custom precomputations.
|
||||||
|
# SSA Eligibility Exporter will emit per-node metric based on this information.
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# By default node is eligible if instance is eligible.
|
||||||
|
# But individual node might be excluded from SLO by adding entry here.
|
||||||
|
# For semantic see SloMetadata.exclusions.
|
||||||
|
# If both instance and node level exclusions are present for time period,
|
||||||
|
# the node level's reason will be reported by Eligibility Exporter.
|
||||||
|
# Corresponds to the JSON property `exclusions`
|
||||||
|
# @return [Array<Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
||||||
|
attr_accessor :exclusions
|
||||||
|
|
||||||
|
# The location of the node, if different from instance location.
|
||||||
|
# Corresponds to the JSON property `location`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :location
|
||||||
|
|
||||||
|
# The id of the node.
|
||||||
|
# This should be equal to SaasInstanceNode.node_id.
|
||||||
|
# Corresponds to the JSON property `nodeId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :node_id
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
||||||
|
@location = args[:location] if args.key?(:location)
|
||||||
|
@node_id = args[:node_id] if args.key?(:node_id)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Describes provisioned dataplane resources.
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Type of the resource. This can be either a GCP resource or a custom one
|
||||||
|
# (e.g. another cloud provider's VM). For GCP compute resources use singular
|
||||||
|
# form of the names listed in GCP compute API documentation
|
||||||
|
# (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
|
||||||
|
# 'compute-', for example: 'compute-instance', 'compute-disk',
|
||||||
|
# 'compute-autoscaler'.
|
||||||
|
# Corresponds to the JSON property `resourceType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :resource_type
|
||||||
|
|
||||||
|
# URL identifying the resource, e.g.
|
||||||
|
# "https://www.googleapis.com/compute/v1/projects/...)".
|
||||||
|
# Corresponds to the JSON property `resourceUrl`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :resource_url
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
||||||
|
@resource_url = args[:resource_url] if args.key?(:resource_url)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# SloEligibility is a tuple containing eligibility value: true if an instance
|
||||||
|
# is eligible for SLO calculation or false if it should be excluded from all
|
||||||
|
# SLO-related calculations along with a user-defined reason.
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Whether an instance is eligible or ineligible.
|
||||||
|
# Corresponds to the JSON property `eligible`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :eligible
|
||||||
|
alias_method :eligible?, :eligible
|
||||||
|
|
||||||
|
# User-defined reason for the current value of instance eligibility. Usually,
|
||||||
|
# this can be directly mapped to the internal state. An empty reason is
|
||||||
|
# allowed.
|
||||||
|
# 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)
|
||||||
|
@eligible = args[:eligible] if args.key?(:eligible)
|
||||||
|
@reason = args[:reason] if args.key?(:reason)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Exclusion duration. No restrictions on the possible values.
|
||||||
|
# When an ongoing operation is taking longer than initially expected,
|
||||||
|
# an existing entry in the exclusion list can be updated by extending the
|
||||||
|
# duration. This is supported by the subsystem exporting eligibility data
|
||||||
|
# as long as such extension is committed at least 10 minutes before the
|
||||||
|
# original exclusion expiration - otherwise it is possible that there will
|
||||||
|
# be "gaps" in the exclusion application in the exported timeseries.
|
||||||
|
# Corresponds to the JSON property `duration`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :duration
|
||||||
|
|
||||||
|
# Human-readable reason for the exclusion.
|
||||||
|
# This should be a static string (e.g. "Disruptive update in progress")
|
||||||
|
# and should not contain dynamically generated data (e.g. instance name).
|
||||||
|
# Can be left empty.
|
||||||
|
# Corresponds to the JSON property `reason`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :reason
|
||||||
|
|
||||||
|
# Name of an SLI that this exclusion applies to. Can be left empty,
|
||||||
|
# signaling that the instance should be excluded from all SLIs defined
|
||||||
|
# in the service SLO configuration.
|
||||||
|
# Corresponds to the JSON property `sliName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :sli_name
|
||||||
|
|
||||||
|
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
||||||
|
# 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)
|
||||||
|
@duration = args[:duration] if args.key?(:duration)
|
||||||
|
@reason = args[:reason] if args.key?(:reason)
|
||||||
|
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
||||||
|
@start_time = args[:start_time] if args.key?(:start_time)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# SloMetadata contains resources required for proper SLO classification of the
|
||||||
|
# instance.
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# SloEligibility is a tuple containing eligibility value: true if an instance
|
||||||
|
# is eligible for SLO calculation or false if it should be excluded from all
|
||||||
|
# SLO-related calculations along with a user-defined reason.
|
||||||
|
# Corresponds to the JSON property `eligibility`
|
||||||
|
# @return [Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
|
||||||
|
attr_accessor :eligibility
|
||||||
|
|
||||||
|
# List of SLO exclusion windows. When multiple entries in the list match
|
||||||
|
# (matching the exclusion time-window against current time point)
|
||||||
|
# the exclusion reason used in the first matching entry will be published.
|
||||||
|
# It is not needed to include expired exclusion in this list, as only the
|
||||||
|
# currently applicable exclusions are taken into account by the eligibility
|
||||||
|
# exporting subsystem (the historical state of exclusions will be reflected
|
||||||
|
# in the historically produced timeseries regardless of the current state).
|
||||||
|
# This field can be used to mark the instance as temporary ineligible
|
||||||
|
# for the purpose of SLO calculation. For permanent instance SLO exclusion,
|
||||||
|
# use of custom instance eligibility is recommended. See 'eligibility' field
|
||||||
|
# below.
|
||||||
|
# Corresponds to the JSON property `exclusions`
|
||||||
|
# @return [Array<Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
||||||
|
attr_accessor :exclusions
|
||||||
|
|
||||||
|
# Optional. List of nodes.
|
||||||
|
# Some producers need to use per-node metadata to calculate SLO.
|
||||||
|
# This field allows such producers to publish per-node SLO meta data,
|
||||||
|
# which will be consumed by SSA Eligibility Exporter and published in the
|
||||||
|
# form of per node metric to Monarch.
|
||||||
|
# Corresponds to the JSON property `nodes`
|
||||||
|
# @return [Array<Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
||||||
|
attr_accessor :nodes
|
||||||
|
|
||||||
|
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
||||||
|
# match the tiers specified in the service SLO configuration.
|
||||||
|
# Field is mandatory and must not be empty.
|
||||||
|
# Corresponds to the JSON property `tier`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :tier
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
||||||
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
||||||
|
@nodes = args[:nodes] if args.key?(:nodes)
|
||||||
|
@tier = args[:tier] if args.key?(:tier)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Request for Import.
|
# Request for Import.
|
||||||
class ImportInstanceRequest
|
class ImportInstanceRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -70,6 +70,54 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ImportInstanceRequest
|
class ImportInstanceRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -198,6 +246,97 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :consumer_defined_name, as: 'consumerDefinedName'
|
||||||
|
property :create_time, as: 'createTime'
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
|
||||||
|
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
|
||||||
|
|
||||||
|
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
|
||||||
|
|
||||||
|
property :name, as: 'name'
|
||||||
|
hash :producer_metadata, as: 'producerMetadata'
|
||||||
|
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
||||||
|
|
||||||
|
property :slm_instance_template, as: 'slmInstanceTemplate'
|
||||||
|
property :slo_metadata, as: 'sloMetadata', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
|
||||||
|
|
||||||
|
hash :software_versions, as: 'softwareVersions'
|
||||||
|
property :state, as: 'state'
|
||||||
|
property :tenant_project_id, as: 'tenantProjectId'
|
||||||
|
property :update_time, as: 'updateTime'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :can_reschedule, as: 'canReschedule'
|
||||||
|
property :end_time, as: 'endTime'
|
||||||
|
property :rollout_management_policy, as: 'rolloutManagementPolicy'
|
||||||
|
property :start_time, as: 'startTime'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :exclude, as: 'exclude'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
||||||
|
|
||||||
|
property :location, as: 'location'
|
||||||
|
property :node_id, as: 'nodeId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :resource_type, as: 'resourceType'
|
||||||
|
property :resource_url, as: 'resourceUrl'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :eligible, as: 'eligible'
|
||||||
|
property :reason, as: 'reason'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :duration, as: 'duration'
|
||||||
|
property :reason, as: 'reason'
|
||||||
|
property :sli_name, as: 'sliName'
|
||||||
|
property :start_time, as: 'startTime'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :eligibility, as: 'eligibility', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
||||||
|
|
||||||
|
collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
||||||
|
|
||||||
|
collection :nodes, as: 'nodes', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
||||||
|
|
||||||
|
property :tier, as: 'tier'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ImportInstanceRequest
|
class ImportInstanceRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/spectrum-access-system/
|
# @see https://developers.google.com/spectrum-access-system/
|
||||||
module SasportalV1alpha1
|
module SasportalV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20200629'
|
REVISION = '20200722'
|
||||||
|
|
||||||
# View your email address
|
# View your email address
|
||||||
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
||||||
|
|
|
@ -150,50 +150,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The Deployment.
|
|
||||||
class SasPortalDeployment
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The allowed billing modes under this deployment.
|
|
||||||
# Corresponds to the JSON property `allowedBillingModes`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :allowed_billing_modes
|
|
||||||
|
|
||||||
# Default billing mode for the deployment and devices under it.
|
|
||||||
# Corresponds to the JSON property `defaultBillingMode`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :default_billing_mode
|
|
||||||
|
|
||||||
# The deployment's display name.
|
|
||||||
# Corresponds to the JSON property `displayName`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :display_name
|
|
||||||
|
|
||||||
# Output only. Resource name.
|
|
||||||
# Corresponds to the JSON property `name`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :name
|
|
||||||
|
|
||||||
# User id used by the devices belonging to this deployment. Each deployment
|
|
||||||
# should be associated with one unique user_id.
|
|
||||||
# Corresponds to the JSON property `sasUserIds`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :sas_user_ids
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@allowed_billing_modes = args[:allowed_billing_modes] if args.key?(:allowed_billing_modes)
|
|
||||||
@default_billing_mode = args[:default_billing_mode] if args.key?(:default_billing_mode)
|
|
||||||
@display_name = args[:display_name] if args.key?(:display_name)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
|
||||||
@sas_user_ids = args[:sas_user_ids] if args.key?(:sas_user_ids)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
#
|
#
|
||||||
class SasPortalDevice
|
class SasPortalDevice
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -765,35 +721,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Response for ListDeployments method.
|
|
||||||
class SasPortalListDeploymentsResponse
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The deployments that match the
|
|
||||||
# request.
|
|
||||||
# Corresponds to the JSON property `deployments`
|
|
||||||
# @return [Array<Google::Apis::SasportalV1alpha1::SasPortalDeployment>]
|
|
||||||
attr_accessor :deployments
|
|
||||||
|
|
||||||
# A pagination token returned from a previous call to
|
|
||||||
# ListDeployments method that indicates
|
|
||||||
# from where listing should continue. If the field is missing or empty, it
|
|
||||||
# means there is no more deployments.
|
|
||||||
# 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)
|
|
||||||
@deployments = args[:deployments] if args.key?(:deployments)
|
|
||||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Response for ListDevices method.
|
# Response for ListDevices method.
|
||||||
class SasPortalListDevicesResponse
|
class SasPortalListDevicesResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -52,12 +52,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class SasPortalDeployment
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SasPortalDevice
|
class SasPortalDevice
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -142,12 +136,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class SasPortalListDeploymentsResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SasPortalListDevicesResponse
|
class SasPortalListDevicesResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -278,17 +266,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SasPortalDeployment
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :allowed_billing_modes, as: 'allowedBillingModes'
|
|
||||||
property :default_billing_mode, as: 'defaultBillingMode'
|
|
||||||
property :display_name, as: 'displayName'
|
|
||||||
property :name, as: 'name'
|
|
||||||
collection :sas_user_ids, as: 'sasUserIds'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SasPortalDevice
|
class SasPortalDevice
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -439,15 +416,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class SasPortalListDeploymentsResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :deployments, as: 'deployments', class: Google::Apis::SasportalV1alpha1::SasPortalDeployment, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SasPortalListDevicesResponse
|
class SasPortalListDevicesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -149,174 +149,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a new deployment.
|
|
||||||
# @param [String] parent
|
|
||||||
# Required. The parent resource name where the deployment is to be created.
|
|
||||||
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
|
|
||||||
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.request_object = sas_portal_deployment_object
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
||||||
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 deployment.
|
|
||||||
# @param [String] name
|
|
||||||
# Required. The name of the deployment.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalEmpty] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalEmpty]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalEmpty
|
|
||||||
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 a requested deployment.
|
|
||||||
# @param [String] name
|
|
||||||
# Required. The name of the deployment.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
||||||
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 deployments.
|
|
||||||
# @param [String] parent
|
|
||||||
# Required. The parent resource name, for example, "nodes/1",
|
|
||||||
# customer/1/nodes/2.
|
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# The maximum number of deployments to return in the response.
|
|
||||||
# @param [String] page_token
|
|
||||||
# A pagination token returned from a previous call to ListDeployments
|
|
||||||
# method that
|
|
||||||
# indicates where this listing should continue from.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
|
|
||||||
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 an existing deployment.
|
|
||||||
# @param [String] name
|
|
||||||
# Output only. Resource name.
|
|
||||||
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
||||||
# @param [String] update_mask
|
|
||||||
# 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::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
|
|
||||||
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.request_object = sas_portal_deployment_object
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
||||||
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 device under a node or customer. Returned devices are unordered.
|
# Creates a device under a node or customer. Returned devices are unordered.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the parent resource.
|
# Required. The name of the parent resource.
|
||||||
|
@ -856,78 +688,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a new deployment.
|
|
||||||
# @param [String] parent
|
|
||||||
# Required. The parent resource name where the deployment is to be created.
|
|
||||||
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
|
|
||||||
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.request_object = sas_portal_deployment_object
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
||||||
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
|
|
||||||
|
|
||||||
# Lists deployments.
|
|
||||||
# @param [String] parent
|
|
||||||
# Required. The parent resource name, for example, "nodes/1",
|
|
||||||
# customer/1/nodes/2.
|
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# The maximum number of deployments to return in the response.
|
|
||||||
# @param [String] page_token
|
|
||||||
# A pagination token returned from a previous call to ListDeployments
|
|
||||||
# method that
|
|
||||||
# indicates where this listing should continue from.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
|
|
||||||
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 node.
|
# Creates a new node.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The parent resource name where the node is to be created.
|
# Required. The parent resource name where the node is to be created.
|
||||||
|
@ -998,36 +758,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns a requested deployment.
|
|
||||||
# @param [String] name
|
|
||||||
# Required. The name of the deployment.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
||||||
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
|
|
||||||
|
|
||||||
# Generates a secret to be used with the ValidateInstaller method
|
# Generates a secret to be used with the ValidateInstaller method
|
||||||
# @param [Google::Apis::SasportalV1alpha1::SasPortalGenerateSecretRequest] sas_portal_generate_secret_request_object
|
# @param [Google::Apis::SasportalV1alpha1::SasPortalGenerateSecretRequest] sas_portal_generate_secret_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -1118,141 +848,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a deployment.
|
|
||||||
# @param [String] name
|
|
||||||
# Required. The name of the deployment.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalEmpty] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalEmpty]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalEmpty
|
|
||||||
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 a requested deployment.
|
|
||||||
# @param [String] name
|
|
||||||
# Required. The name of the deployment.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
||||||
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 deployments.
|
|
||||||
# @param [String] parent
|
|
||||||
# Required. The parent resource name, for example, "nodes/1",
|
|
||||||
# customer/1/nodes/2.
|
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# The maximum number of deployments to return in the response.
|
|
||||||
# @param [String] page_token
|
|
||||||
# A pagination token returned from a previous call to ListDeployments
|
|
||||||
# method that
|
|
||||||
# indicates where this listing should continue from.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
|
|
||||||
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 an existing deployment.
|
|
||||||
# @param [String] name
|
|
||||||
# Output only. Resource name.
|
|
||||||
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
||||||
# @param [String] update_mask
|
|
||||||
# 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::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
|
|
||||||
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.request_object = sas_portal_deployment_object
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
||||||
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 device under a node or customer. Returned devices are unordered.
|
# Creates a device under a node or customer. Returned devices are unordered.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the parent resource.
|
# Required. The name of the parent resource.
|
||||||
|
@ -1792,78 +1387,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a new deployment.
|
|
||||||
# @param [String] parent
|
|
||||||
# Required. The parent resource name where the deployment is to be created.
|
|
||||||
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
|
|
||||||
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.request_object = sas_portal_deployment_object
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
||||||
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
|
|
||||||
|
|
||||||
# Lists deployments.
|
|
||||||
# @param [String] parent
|
|
||||||
# Required. The parent resource name, for example, "nodes/1",
|
|
||||||
# customer/1/nodes/2.
|
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# The maximum number of deployments to return in the response.
|
|
||||||
# @param [String] page_token
|
|
||||||
# A pagination token returned from a previous call to ListDeployments
|
|
||||||
# method that
|
|
||||||
# indicates where this listing should continue from.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
|
|
||||||
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
|
|
||||||
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
|
|
||||||
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 device under a node or customer. Returned devices are unordered.
|
# Creates a device under a node or customer. Returned devices are unordered.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the parent resource.
|
# Required. The name of the parent resource.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
|
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
|
||||||
module YoutubePartnerV1
|
module YoutubePartnerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200723'
|
REVISION = '20200724'
|
||||||
|
|
||||||
# View and manage your assets and associated content on YouTube
|
# View and manage your assets and associated content on YouTube
|
||||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||||
|
|
Loading…
Reference in New Issue