Autogenerated update (2020-09-25)

Update:
- bigquery_v2
- binaryauthorization_v1
- binaryauthorization_v1beta1
- chat_v1
- cloudfunctions_v1
- content_v2_1
- datacatalog_v1beta1
- displayvideo_v1
- firestore_v1
- firestore_v1beta1
- logging_v2
- people_v1
- run_v1
- sourcerepo_v1
- sqladmin_v1beta4
- storage_v1
- sts_v1beta
- youtube_partner_v1
This commit is contained in:
Google APIs 2020-09-25 00:38:43 +00:00
parent d26304c166
commit 6adb4b57dc
53 changed files with 6891 additions and 1134 deletions

View File

@ -6405,6 +6405,331 @@
"/analytics:v3/key": key
"/analytics:v3/quotaUser": quota_user
"/analytics:v3/userIp": user_ip
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount": google_analytics_admin_v1alpha_account
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/countryCode": country_code
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/createTime": create_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/deleted": deleted
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/displayName": display_name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/updateTime": update_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccountSummary": google_analytics_admin_v1alpha_account_summary
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccountSummary/account": account
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccountSummary/displayName": display_name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccountSummary/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccountSummary/propertySummaries": property_summaries
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccountSummary/propertySummaries/property_summary": property_summary
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAndroidAppDataStream": google_analytics_admin_v1alpha_android_app_data_stream
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAndroidAppDataStream/createTime": create_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAndroidAppDataStream/displayName": display_name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAndroidAppDataStream/firebaseAppId": firebase_app_id
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAndroidAppDataStream/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAndroidAppDataStream/packageName": package_name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAndroidAppDataStream/updateTime": update_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLink": google_analytics_admin_v1alpha_audit_user_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLink/directRoles": direct_roles
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLink/directRoles/direct_role": direct_role
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLink/effectiveRoles": effective_roles
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLink/effectiveRoles/effective_role": effective_role
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLink/emailAddress": email_address
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLink/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLinksRequest": google_analytics_admin_v1alpha_audit_user_links_request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLinksRequest/pageSize": page_size
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLinksRequest/pageToken": page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLinksResponse": google_analytics_admin_v1alpha_audit_user_links_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLinksResponse/nextPageToken": next_page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLinksResponse/userLinks": user_links
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAuditUserLinksResponse/userLinks/user_link": user_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest": google_analytics_admin_v1alpha_batch_create_user_links_request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest/notifyNewUsers": notify_new_users
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest/requests": requests
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest/requests/request": request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse": google_analytics_admin_v1alpha_batch_create_user_links_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse/userLinks": user_links
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse/userLinks/user_link": user_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest": google_analytics_admin_v1alpha_batch_delete_user_links_request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest/requests": requests
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest/requests/request": request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse": google_analytics_admin_v1alpha_batch_get_user_links_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse/userLinks": user_links
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse/userLinks/user_link": user_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest": google_analytics_admin_v1alpha_batch_update_user_links_request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest/requests": requests
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest/requests/request": request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse": google_analytics_admin_v1alpha_batch_update_user_links_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse/userLinks": user_links
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse/userLinks/user_link": user_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaCreateUserLinkRequest": google_analytics_admin_v1alpha_create_user_link_request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaCreateUserLinkRequest/notifyNewUser": notify_new_user
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaCreateUserLinkRequest/parent": parent
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaCreateUserLinkRequest/userLink": user_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaDataSharingSettings": google_analytics_admin_v1alpha_data_sharing_settings
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaDataSharingSettings/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaDataSharingSettings/sharingWithGoogleAnySalesEnabled": sharing_with_google_any_sales_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaDataSharingSettings/sharingWithGoogleAssignedSalesEnabled": sharing_with_google_assigned_sales_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaDataSharingSettings/sharingWithGoogleProductsEnabled": sharing_with_google_products_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaDataSharingSettings/sharingWithGoogleSupportEnabled": sharing_with_google_support_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaDataSharingSettings/sharingWithOthersEnabled": sharing_with_others_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest": google_analytics_admin_v1alpha_delete_user_link_request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings": google_analytics_admin_v1alpha_enhanced_measurement_settings
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/articlesAndBlogsEnabled": articles_and_blogs_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/contentViewsEnabled": content_views_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/dataTaggedElementClicksEnabled": data_tagged_element_clicks_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/excludedDomains": excluded_domains
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/fileDownloadsEnabled": file_downloads_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/formInteractionsEnabled": form_interactions_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/outboundClicksEnabled": outbound_clicks_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/pageChangesEnabled": page_changes_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/pageLoadsEnabled": page_loads_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/pageViewsEnabled": page_views_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/productsAndEcommerceEnabled": products_and_ecommerce_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/scrollsEnabled": scrolls_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/searchQueryParameter": search_query_parameter
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/siteSearchEnabled": site_search_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/streamEnabled": stream_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/urlQueryParameter": url_query_parameter
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings/videoEngagementEnabled": video_engagement_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaFirebaseLink": google_analytics_admin_v1alpha_firebase_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaFirebaseLink/createTime": create_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaFirebaseLink/maximumUserAccess": maximum_user_access
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaFirebaseLink/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaFirebaseLink/project": project
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGlobalSiteTag": google_analytics_admin_v1alpha_global_site_tag
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGlobalSiteTag/snippet": snippet
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGoogleAdsLink": google_analytics_admin_v1alpha_google_ads_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGoogleAdsLink/adsPersonalizationEnabled": ads_personalization_enabled
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGoogleAdsLink/canManageClients": can_manage_clients
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGoogleAdsLink/createTime": create_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGoogleAdsLink/customerId": customer_id
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGoogleAdsLink/emailAddress": email_address
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGoogleAdsLink/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGoogleAdsLink/parent": parent
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaGoogleAdsLink/updateTime": update_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream": google_analytics_admin_v1alpha_ios_app_data_stream
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream/bundleId": bundle_id
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream/createTime": create_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream/displayName": display_name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream/firebaseAppId": firebase_app_id
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream/updateTime": update_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAccountSummariesResponse": google_analytics_admin_v1alpha_list_account_summaries_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAccountSummariesResponse/accountSummaries": account_summaries
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAccountSummariesResponse/accountSummaries/account_summary": account_summary
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAccountSummariesResponse/nextPageToken": next_page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAccountsResponse": google_analytics_admin_v1alpha_list_accounts_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAccountsResponse/accounts": accounts
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAccountsResponse/accounts/account": account
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAccountsResponse/nextPageToken": next_page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse": google_analytics_admin_v1alpha_list_android_app_data_streams_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse/androidAppDataStreams": android_app_data_streams
? "/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse/androidAppDataStreams/android_app_data_stream"
: android_app_data_stream
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse/nextPageToken": next_page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse": google_analytics_admin_v1alpha_list_firebase_links_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse/firebaseLinks": firebase_links
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse/firebaseLinks/firebase_link": firebase_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse": google_analytics_admin_v1alpha_list_google_ads_links_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse/googleAdsLinks": google_ads_links
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse/googleAdsLinks/google_ads_link": google_ads_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse/nextPageToken": next_page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse": google_analytics_admin_v1alpha_list_ios_app_data_streams_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse/iosAppDataStreams": ios_app_data_streams
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse/iosAppDataStreams/ios_app_data_stream": ios_app_data_stream
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse/nextPageToken": next_page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListPropertiesResponse": google_analytics_admin_v1alpha_list_properties_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListPropertiesResponse/nextPageToken": next_page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListPropertiesResponse/properties": properties
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListPropertiesResponse/properties/property": property
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListUserLinksResponse": google_analytics_admin_v1alpha_list_user_links_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListUserLinksResponse/nextPageToken": next_page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListUserLinksResponse/userLinks": user_links
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListUserLinksResponse/userLinks/user_link": user_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse": google_analytics_admin_v1alpha_list_web_data_streams_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse/nextPageToken": next_page_token
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse/webDataStreams": web_data_streams
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse/webDataStreams/web_data_stream": web_data_stream
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty": google_analytics_admin_v1alpha_property
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty/createTime": create_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty/currencyCode": currency_code
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty/deleted": deleted
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty/displayName": display_name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty/industryCategory": industry_category
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty/parent": parent
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty/timeZone": time_zone
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProperty/updateTime": update_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaPropertySummary": google_analytics_admin_v1alpha_property_summary
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaPropertySummary/displayName": display_name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaPropertySummary/property": property
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest": google_analytics_admin_v1alpha_provision_account_ticket_request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest/account": account
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest/redirectUri": redirect_uri
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse": google_analytics_admin_v1alpha_provision_account_ticket_response
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse/accountTicketId": account_ticket_id
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest": google_analytics_admin_v1alpha_update_user_link_request
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest/userLink": user_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaUserLink": google_analytics_admin_v1alpha_user_link
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaUserLink/directRoles": direct_roles
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaUserLink/directRoles/direct_role": direct_role
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaUserLink/emailAddress": email_address
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaUserLink/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaWebDataStream": google_analytics_admin_v1alpha_web_data_stream
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaWebDataStream/createTime": create_time
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaWebDataStream/defaultUri": default_uri
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaWebDataStream/displayName": display_name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaWebDataStream/firebaseAppId": firebase_app_id
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaWebDataStream/measurementId": measurement_id
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaWebDataStream/name": name
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaWebDataStream/updateTime": update_time
"/analyticsadmin:v1alpha/GoogleProtobufEmpty": google_protobuf_empty
"/analyticsadmin:v1alpha/analyticsadmin.accountSummaries.list": list_account_summaries
"/analyticsadmin:v1alpha/analyticsadmin.accountSummaries.list/pageSize": page_size
"/analyticsadmin:v1alpha/analyticsadmin.accountSummaries.list/pageToken": page_token
"/analyticsadmin:v1alpha/analyticsadmin.accounts.delete": delete_account
"/analyticsadmin:v1alpha/analyticsadmin.accounts.delete/name": name
"/analyticsadmin:v1alpha/analyticsadmin.accounts.get": get_account
"/analyticsadmin:v1alpha/analyticsadmin.accounts.get/name": name
"/analyticsadmin:v1alpha/analyticsadmin.accounts.getDataSharingSettings": get_account_data_sharing_settings
"/analyticsadmin:v1alpha/analyticsadmin.accounts.getDataSharingSettings/name": name
"/analyticsadmin:v1alpha/analyticsadmin.accounts.list": list_accounts
"/analyticsadmin:v1alpha/analyticsadmin.accounts.list/pageSize": page_size
"/analyticsadmin:v1alpha/analyticsadmin.accounts.list/pageToken": page_token
"/analyticsadmin:v1alpha/analyticsadmin.accounts.list/showDeleted": show_deleted
"/analyticsadmin:v1alpha/analyticsadmin.accounts.patch": patch_account
"/analyticsadmin:v1alpha/analyticsadmin.accounts.patch/name": name
"/analyticsadmin:v1alpha/analyticsadmin.accounts.patch/updateMask": update_mask
"/analyticsadmin:v1alpha/analyticsadmin.accounts.provisionAccountTicket": provision_account_account_ticket
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.audit": audit_account_user_link
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.audit/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.batchCreate": batch_account_user_link_create
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.batchCreate/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.batchDelete": batch_account_user_link_delete
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.batchDelete/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.batchGet": batch_account_user_link_get
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.batchGet/names": names
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.batchGet/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.batchUpdate": batch_account_user_link_update
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.batchUpdate/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.create": create_account_user_link
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.create/notifyNewUser": notify_new_user
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.create/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.delete": delete_account_user_link
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.delete/name": name
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.get": get_account_user_link
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.get/name": name
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.list": list_account_user_links
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.list/pageSize": page_size
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.list/pageToken": page_token
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.list/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.patch": patch_account_user_link
"/analyticsadmin:v1alpha/analyticsadmin.accounts.userLinks.patch/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.create": create_property_android_app_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.create/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.delete": delete_property_android_app_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.delete/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.get": get_property_android_app_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.get/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.list": list_property_android_app_data_streams
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.list/pageSize": page_size
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.list/pageToken": page_token
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.list/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.patch": patch_property_android_app_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.patch/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.androidAppDataStreams.patch/updateMask": update_mask
"/analyticsadmin:v1alpha/analyticsadmin.properties.create": create_property
"/analyticsadmin:v1alpha/analyticsadmin.properties.delete": delete_property
"/analyticsadmin:v1alpha/analyticsadmin.properties.delete/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.firebaseLinks.create": create_property_firebase_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.firebaseLinks.create/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.firebaseLinks.delete": delete_property_firebase_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.firebaseLinks.delete/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.firebaseLinks.list": list_property_firebase_links
"/analyticsadmin:v1alpha/analyticsadmin.properties.firebaseLinks.list/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.firebaseLinks.patch": patch_property_firebase_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.firebaseLinks.patch/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.firebaseLinks.patch/updateMask": update_mask
"/analyticsadmin:v1alpha/analyticsadmin.properties.get": get_property
"/analyticsadmin:v1alpha/analyticsadmin.properties.get/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.create": create_property_google_ads_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.create/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.delete": delete_property_google_ads_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.delete/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.list": list_property_google_ads_links
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.list/pageSize": page_size
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.list/pageToken": page_token
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.list/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.patch": patch_property_google_ads_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.patch/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.googleAdsLinks.patch/updateMask": update_mask
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.create": create_property_ios_app_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.create/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.delete": delete_property_ios_app_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.delete/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.get": get_property_ios_app_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.get/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.list": list_property_ios_app_data_streams
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.list/pageSize": page_size
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.list/pageToken": page_token
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.list/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.patch": patch_property_ios_app_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.patch/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.patch/updateMask": update_mask
"/analyticsadmin:v1alpha/analyticsadmin.properties.list": list_properties
"/analyticsadmin:v1alpha/analyticsadmin.properties.list/filter": filter
"/analyticsadmin:v1alpha/analyticsadmin.properties.list/pageSize": page_size
"/analyticsadmin:v1alpha/analyticsadmin.properties.list/pageToken": page_token
"/analyticsadmin:v1alpha/analyticsadmin.properties.list/showDeleted": show_deleted
"/analyticsadmin:v1alpha/analyticsadmin.properties.patch": patch_property
"/analyticsadmin:v1alpha/analyticsadmin.properties.patch/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.patch/updateMask": update_mask
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.audit": audit_property_user_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.audit/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.batchCreate": batch_property_user_link_create
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.batchCreate/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.batchDelete": batch_property_user_link_delete
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.batchDelete/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.batchGet": batch_property_user_link_get
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.batchGet/names": names
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.batchGet/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.batchUpdate": batch_property_user_link_update
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.batchUpdate/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.create": create_property_user_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.create/notifyNewUser": notify_new_user
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.create/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.delete": delete_property_user_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.delete/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.get": get_property_user_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.get/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.list": list_property_user_links
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.list/pageSize": page_size
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.list/pageToken": page_token
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.list/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.patch": patch_property_user_link
"/analyticsadmin:v1alpha/analyticsadmin.properties.userLinks.patch/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.create": create_property_web_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.create/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.delete": delete_property_web_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.delete/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.get": get_property_web_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.get/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.getEnhancedMeasurementSettings": get_property_web_data_stream_enhanced_measurement_settings
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.getEnhancedMeasurementSettings/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.getGlobalSiteTag": get_property_web_data_stream_global_site_tag
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.getGlobalSiteTag/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.list": list_property_web_data_streams
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.list/pageSize": page_size
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.list/pageToken": page_token
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.list/parent": parent
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.patch": patch_property_web_data_stream
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.patch/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.patch/updateMask": update_mask
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.updateEnhancedMeasurementSettings": update_property_web_data_stream_enhanced_measurement_settings
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.updateEnhancedMeasurementSettings/name": name
"/analyticsadmin:v1alpha/analyticsadmin.properties.webDataStreams.updateEnhancedMeasurementSettings/updateMask": update_mask
"/analyticsadmin:v1alpha/fields": fields
"/analyticsadmin:v1alpha/key": key
"/analyticsadmin:v1alpha/quotaUser": quota_user
"/analyticsdata:v1alpha/BatchRunPivotReportsRequest": batch_run_pivot_reports_request
"/analyticsdata:v1alpha/BatchRunPivotReportsRequest/entity": entity
"/analyticsdata:v1alpha/BatchRunPivotReportsRequest/requests": requests
@ -14420,6 +14745,8 @@
"/bigquery:v2/JobConfigurationLoad/autodetect": autodetect
"/bigquery:v2/JobConfigurationLoad/clustering": clustering
"/bigquery:v2/JobConfigurationLoad/createDisposition": create_disposition
"/bigquery:v2/JobConfigurationLoad/decimalTargetTypes": decimal_target_types
"/bigquery:v2/JobConfigurationLoad/decimalTargetTypes/decimal_target_type": decimal_target_type
"/bigquery:v2/JobConfigurationLoad/destinationEncryptionConfiguration": destination_encryption_configuration
"/bigquery:v2/JobConfigurationLoad/destinationTable": destination_table
"/bigquery:v2/JobConfigurationLoad/destinationTableProperties": destination_table_properties
@ -16370,6 +16697,12 @@
"/binaryauthorization:v1/AdmissionRule/requireAttestationsBy/require_attestations_by": require_attestations_by
"/binaryauthorization:v1/AdmissionWhitelistPattern": admission_whitelist_pattern
"/binaryauthorization:v1/AdmissionWhitelistPattern/namePattern": name_pattern
"/binaryauthorization:v1/AttestationOccurrence": attestation_occurrence
"/binaryauthorization:v1/AttestationOccurrence/jwts": jwts
"/binaryauthorization:v1/AttestationOccurrence/jwts/jwt": jwt
"/binaryauthorization:v1/AttestationOccurrence/serializedPayload": serialized_payload
"/binaryauthorization:v1/AttestationOccurrence/signatures": signatures
"/binaryauthorization:v1/AttestationOccurrence/signatures/signature": signature
"/binaryauthorization:v1/Attestor": attestor
"/binaryauthorization:v1/Attestor/description": description
"/binaryauthorization:v1/Attestor/name": name
@ -16397,6 +16730,8 @@
"/binaryauthorization:v1/IamPolicy/bindings/binding": binding
"/binaryauthorization:v1/IamPolicy/etag": etag
"/binaryauthorization:v1/IamPolicy/version": version
"/binaryauthorization:v1/Jwt": jwt
"/binaryauthorization:v1/Jwt/compactJwt": compact_jwt
"/binaryauthorization:v1/ListAttestorsResponse": list_attestors_response
"/binaryauthorization:v1/ListAttestorsResponse/attestors": attestors
"/binaryauthorization:v1/ListAttestorsResponse/attestors/attestor": attestor
@ -16416,6 +16751,9 @@
"/binaryauthorization:v1/Policy/updateTime": update_time
"/binaryauthorization:v1/SetIamPolicyRequest": set_iam_policy_request
"/binaryauthorization:v1/SetIamPolicyRequest/policy": policy
"/binaryauthorization:v1/Signature": signature
"/binaryauthorization:v1/Signature/publicKeyId": public_key_id
"/binaryauthorization:v1/Signature/signature": signature
"/binaryauthorization:v1/TestIamPermissionsRequest": test_iam_permissions_request
"/binaryauthorization:v1/TestIamPermissionsRequest/permissions": permissions
"/binaryauthorization:v1/TestIamPermissionsRequest/permissions/permission": permission
@ -16427,6 +16765,13 @@
"/binaryauthorization:v1/UserOwnedGrafeasNote/noteReference": note_reference
"/binaryauthorization:v1/UserOwnedGrafeasNote/publicKeys": public_keys
"/binaryauthorization:v1/UserOwnedGrafeasNote/publicKeys/public_key": public_key
"/binaryauthorization:v1/ValidateAttestationOccurrenceRequest": validate_attestation_occurrence_request
"/binaryauthorization:v1/ValidateAttestationOccurrenceRequest/attestation": attestation
"/binaryauthorization:v1/ValidateAttestationOccurrenceRequest/occurrenceNote": occurrence_note
"/binaryauthorization:v1/ValidateAttestationOccurrenceRequest/occurrenceResourceUri": occurrence_resource_uri
"/binaryauthorization:v1/ValidateAttestationOccurrenceResponse": validate_attestation_occurrence_response
"/binaryauthorization:v1/ValidateAttestationOccurrenceResponse/denialReason": denial_reason
"/binaryauthorization:v1/ValidateAttestationOccurrenceResponse/result": result
"/binaryauthorization:v1/binaryauthorization.projects.attestors.create": create_project_attestor
"/binaryauthorization:v1/binaryauthorization.projects.attestors.create/attestorId": attestor_id
"/binaryauthorization:v1/binaryauthorization.projects.attestors.create/parent": parent
@ -16447,6 +16792,8 @@
"/binaryauthorization:v1/binaryauthorization.projects.attestors.testIamPermissions/resource": resource
"/binaryauthorization:v1/binaryauthorization.projects.attestors.update": update_project_attestor
"/binaryauthorization:v1/binaryauthorization.projects.attestors.update/name": name
"/binaryauthorization:v1/binaryauthorization.projects.attestors.validateAttestationOccurrence": validate_attestor_attestation_occurrence
"/binaryauthorization:v1/binaryauthorization.projects.attestors.validateAttestationOccurrence/attestor": attestor
"/binaryauthorization:v1/binaryauthorization.projects.getPolicy": get_project_policy
"/binaryauthorization:v1/binaryauthorization.projects.getPolicy/name": name
"/binaryauthorization:v1/binaryauthorization.projects.policy.getIamPolicy": get_project_policy_iam_policy
@ -16468,6 +16815,12 @@
"/binaryauthorization:v1beta1/AdmissionRule/requireAttestationsBy/require_attestations_by": require_attestations_by
"/binaryauthorization:v1beta1/AdmissionWhitelistPattern": admission_whitelist_pattern
"/binaryauthorization:v1beta1/AdmissionWhitelistPattern/namePattern": name_pattern
"/binaryauthorization:v1beta1/AttestationOccurrence": attestation_occurrence
"/binaryauthorization:v1beta1/AttestationOccurrence/jwts": jwts
"/binaryauthorization:v1beta1/AttestationOccurrence/jwts/jwt": jwt
"/binaryauthorization:v1beta1/AttestationOccurrence/serializedPayload": serialized_payload
"/binaryauthorization:v1beta1/AttestationOccurrence/signatures": signatures
"/binaryauthorization:v1beta1/AttestationOccurrence/signatures/signature": signature
"/binaryauthorization:v1beta1/Attestor": attestor
"/binaryauthorization:v1beta1/Attestor/description": description
"/binaryauthorization:v1beta1/Attestor/name": name
@ -16495,6 +16848,8 @@
"/binaryauthorization:v1beta1/IamPolicy/bindings/binding": binding
"/binaryauthorization:v1beta1/IamPolicy/etag": etag
"/binaryauthorization:v1beta1/IamPolicy/version": version
"/binaryauthorization:v1beta1/Jwt": jwt
"/binaryauthorization:v1beta1/Jwt/compactJwt": compact_jwt
"/binaryauthorization:v1beta1/ListAttestorsResponse": list_attestors_response
"/binaryauthorization:v1beta1/ListAttestorsResponse/attestors": attestors
"/binaryauthorization:v1beta1/ListAttestorsResponse/attestors/attestor": attestor
@ -16514,6 +16869,9 @@
"/binaryauthorization:v1beta1/Policy/updateTime": update_time
"/binaryauthorization:v1beta1/SetIamPolicyRequest": set_iam_policy_request
"/binaryauthorization:v1beta1/SetIamPolicyRequest/policy": policy
"/binaryauthorization:v1beta1/Signature": signature
"/binaryauthorization:v1beta1/Signature/publicKeyId": public_key_id
"/binaryauthorization:v1beta1/Signature/signature": signature
"/binaryauthorization:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request
"/binaryauthorization:v1beta1/TestIamPermissionsRequest/permissions": permissions
"/binaryauthorization:v1beta1/TestIamPermissionsRequest/permissions/permission": permission
@ -16525,6 +16883,13 @@
"/binaryauthorization:v1beta1/UserOwnedDrydockNote/noteReference": note_reference
"/binaryauthorization:v1beta1/UserOwnedDrydockNote/publicKeys": public_keys
"/binaryauthorization:v1beta1/UserOwnedDrydockNote/publicKeys/public_key": public_key
"/binaryauthorization:v1beta1/ValidateAttestationOccurrenceRequest": validate_attestation_occurrence_request
"/binaryauthorization:v1beta1/ValidateAttestationOccurrenceRequest/attestation": attestation
"/binaryauthorization:v1beta1/ValidateAttestationOccurrenceRequest/occurrenceNote": occurrence_note
"/binaryauthorization:v1beta1/ValidateAttestationOccurrenceRequest/occurrenceResourceUri": occurrence_resource_uri
"/binaryauthorization:v1beta1/ValidateAttestationOccurrenceResponse": validate_attestation_occurrence_response
"/binaryauthorization:v1beta1/ValidateAttestationOccurrenceResponse/denialReason": denial_reason
"/binaryauthorization:v1beta1/ValidateAttestationOccurrenceResponse/result": result
"/binaryauthorization:v1beta1/binaryauthorization.projects.attestors.create": create_project_attestor
"/binaryauthorization:v1beta1/binaryauthorization.projects.attestors.create/attestorId": attestor_id
"/binaryauthorization:v1beta1/binaryauthorization.projects.attestors.create/parent": parent
@ -16545,6 +16910,8 @@
"/binaryauthorization:v1beta1/binaryauthorization.projects.attestors.testIamPermissions/resource": resource
"/binaryauthorization:v1beta1/binaryauthorization.projects.attestors.update": update_project_attestor
"/binaryauthorization:v1beta1/binaryauthorization.projects.attestors.update/name": name
"/binaryauthorization:v1beta1/binaryauthorization.projects.attestors.validateAttestationOccurrence": validate_attestor_attestation_occurrence
"/binaryauthorization:v1beta1/binaryauthorization.projects.attestors.validateAttestationOccurrence/attestor": attestor
"/binaryauthorization:v1beta1/binaryauthorization.projects.getPolicy": get_project_policy
"/binaryauthorization:v1beta1/binaryauthorization.projects.getPolicy/name": name
"/binaryauthorization:v1beta1/binaryauthorization.projects.policy.getIamPolicy": get_project_policy_iam_policy
@ -18456,6 +18823,7 @@
"/chat:v1/ActionResponse/url": url
"/chat:v1/Annotation": annotation
"/chat:v1/Annotation/length": length
"/chat:v1/Annotation/slashCommand": slash_command
"/chat:v1/Annotation/startIndex": start_index
"/chat:v1/Annotation/type": type
"/chat:v1/Annotation/userMention": user_mention
@ -18552,6 +18920,7 @@
"/chat:v1/Message/name": name
"/chat:v1/Message/previewText": preview_text
"/chat:v1/Message/sender": sender
"/chat:v1/Message/slashCommand": slash_command
"/chat:v1/Message/space": space
"/chat:v1/Message/text": text
"/chat:v1/Message/thread": thread
@ -18564,6 +18933,14 @@
"/chat:v1/Section/header": header
"/chat:v1/Section/widgets": widgets
"/chat:v1/Section/widgets/widget": widget
"/chat:v1/SlashCommand": slash_command
"/chat:v1/SlashCommand/commandId": command_id
"/chat:v1/SlashCommandMetadata": slash_command_metadata
"/chat:v1/SlashCommandMetadata/bot": bot
"/chat:v1/SlashCommandMetadata/commandId": command_id
"/chat:v1/SlashCommandMetadata/commandName": command_name
"/chat:v1/SlashCommandMetadata/triggersDialog": triggers_dialog
"/chat:v1/SlashCommandMetadata/type": type
"/chat:v1/Space": space
"/chat:v1/Space/displayName": display_name
"/chat:v1/Space/name": name
@ -21537,6 +21914,8 @@
"/cloudfunctions:v1/CallFunctionResponse/result": result
"/cloudfunctions:v1/CloudFunction": cloud_function
"/cloudfunctions:v1/CloudFunction/availableMemoryMb": available_memory_mb
"/cloudfunctions:v1/CloudFunction/buildEnvironmentVariables": build_environment_variables
"/cloudfunctions:v1/CloudFunction/buildEnvironmentVariables/build_environment_variable": build_environment_variable
"/cloudfunctions:v1/CloudFunction/buildId": build_id
"/cloudfunctions:v1/CloudFunction/description": description
"/cloudfunctions:v1/CloudFunction/entryPoint": entry_point
@ -88054,6 +88433,8 @@
"/displayvideo:v1/LineItem/partnerCosts/partner_cost": partner_cost
"/displayvideo:v1/LineItem/partnerRevenueModel": partner_revenue_model
"/displayvideo:v1/LineItem/updateTime": update_time
"/displayvideo:v1/LineItem/warningMessages": warning_messages
"/displayvideo:v1/LineItem/warningMessages/warning_message": warning_message
"/displayvideo:v1/LineItemBudget": line_item_budget
"/displayvideo:v1/LineItemBudget/budgetAllocationType": budget_allocation_type
"/displayvideo:v1/LineItemBudget/budgetUnit": budget_unit
@ -108794,6 +109175,10 @@
"/logging:v2/ListSinksResponse/nextPageToken": next_page_token
"/logging:v2/ListSinksResponse/sinks": sinks
"/logging:v2/ListSinksResponse/sinks/sink": sink
"/logging:v2/ListViewsResponse": list_views_response
"/logging:v2/ListViewsResponse/nextPageToken": next_page_token
"/logging:v2/ListViewsResponse/views": views
"/logging:v2/ListViewsResponse/views/view": view
"/logging:v2/LogBucket": log_bucket
"/logging:v2/LogBucket/createTime": create_time
"/logging:v2/LogBucket/description": description
@ -108873,6 +109258,12 @@
"/logging:v2/LogSink/startTime": start_time
"/logging:v2/LogSink/updateTime": update_time
"/logging:v2/LogSink/writerIdentity": writer_identity
"/logging:v2/LogView": log_view
"/logging:v2/LogView/createTime": create_time
"/logging:v2/LogView/description": description
"/logging:v2/LogView/filter": filter
"/logging:v2/LogView/name": name
"/logging:v2/LogView/updateTime": update_time
"/logging:v2/MetricDescriptor": metric_descriptor
"/logging:v2/MetricDescriptor/description": description
"/logging:v2/MetricDescriptor/displayName": display_name
@ -108967,6 +109358,8 @@
"/logging:v2/key": key
"/logging:v2/logging.billingAccounts.buckets.get": get_billing_account_bucket
"/logging:v2/logging.billingAccounts.buckets.get/name": name
"/logging:v2/logging.billingAccounts.buckets.views.get": get_billing_account_bucket_view
"/logging:v2/logging.billingAccounts.buckets.views.get/name": name
"/logging:v2/logging.billingAccounts.exclusions.create": create_billing_account_exclusion
"/logging:v2/logging.billingAccounts.exclusions.create/parent": parent
"/logging:v2/logging.billingAccounts.exclusions.delete": delete_billing_account_exclusion
@ -108994,6 +109387,18 @@
"/logging:v2/logging.billingAccounts.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.billingAccounts.locations.buckets.undelete": undelete_billing_account_location_bucket
"/logging:v2/logging.billingAccounts.locations.buckets.undelete/name": name
"/logging:v2/logging.billingAccounts.locations.buckets.views.create": create_billing_account_location_bucket_view
"/logging:v2/logging.billingAccounts.locations.buckets.views.create/parent": parent
"/logging:v2/logging.billingAccounts.locations.buckets.views.create/viewId": view_id
"/logging:v2/logging.billingAccounts.locations.buckets.views.delete": delete_billing_account_location_bucket_view
"/logging:v2/logging.billingAccounts.locations.buckets.views.delete/name": name
"/logging:v2/logging.billingAccounts.locations.buckets.views.list": list_billing_account_location_bucket_views
"/logging:v2/logging.billingAccounts.locations.buckets.views.list/pageSize": page_size
"/logging:v2/logging.billingAccounts.locations.buckets.views.list/pageToken": page_token
"/logging:v2/logging.billingAccounts.locations.buckets.views.list/parent": parent
"/logging:v2/logging.billingAccounts.locations.buckets.views.patch": patch_billing_account_location_bucket_view
"/logging:v2/logging.billingAccounts.locations.buckets.views.patch/name": name
"/logging:v2/logging.billingAccounts.locations.buckets.views.patch/updateMask": update_mask
"/logging:v2/logging.billingAccounts.logs.delete": delete_billing_account_log
"/logging:v2/logging.billingAccounts.logs.delete/logName": log_name
"/logging:v2/logging.billingAccounts.logs.list": list_billing_account_logs
@ -109063,6 +109468,20 @@
"/logging:v2/logging.folders.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.folders.locations.buckets.undelete": undelete_folder_location_bucket
"/logging:v2/logging.folders.locations.buckets.undelete/name": name
"/logging:v2/logging.folders.locations.buckets.views.create": create_folder_location_bucket_view
"/logging:v2/logging.folders.locations.buckets.views.create/parent": parent
"/logging:v2/logging.folders.locations.buckets.views.create/viewId": view_id
"/logging:v2/logging.folders.locations.buckets.views.delete": delete_folder_location_bucket_view
"/logging:v2/logging.folders.locations.buckets.views.delete/name": name
"/logging:v2/logging.folders.locations.buckets.views.get": get_folder_location_bucket_view
"/logging:v2/logging.folders.locations.buckets.views.get/name": name
"/logging:v2/logging.folders.locations.buckets.views.list": list_folder_location_bucket_views
"/logging:v2/logging.folders.locations.buckets.views.list/pageSize": page_size
"/logging:v2/logging.folders.locations.buckets.views.list/pageToken": page_token
"/logging:v2/logging.folders.locations.buckets.views.list/parent": parent
"/logging:v2/logging.folders.locations.buckets.views.patch": patch_folder_location_bucket_view
"/logging:v2/logging.folders.locations.buckets.views.patch/name": name
"/logging:v2/logging.folders.locations.buckets.views.patch/updateMask": update_mask
"/logging:v2/logging.folders.logs.delete": delete_folder_log
"/logging:v2/logging.folders.logs.delete/logName": log_name
"/logging:v2/logging.folders.logs.list": list_folder_logs
@ -109105,6 +109524,20 @@
"/logging:v2/logging.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.locations.buckets.undelete": undelete_location_bucket
"/logging:v2/logging.locations.buckets.undelete/name": name
"/logging:v2/logging.locations.buckets.views.create": create_location_bucket_view
"/logging:v2/logging.locations.buckets.views.create/parent": parent
"/logging:v2/logging.locations.buckets.views.create/viewId": view_id
"/logging:v2/logging.locations.buckets.views.delete": delete_location_bucket_view
"/logging:v2/logging.locations.buckets.views.delete/name": name
"/logging:v2/logging.locations.buckets.views.get": get_location_bucket_view
"/logging:v2/logging.locations.buckets.views.get/name": name
"/logging:v2/logging.locations.buckets.views.list": list_location_bucket_views
"/logging:v2/logging.locations.buckets.views.list/pageSize": page_size
"/logging:v2/logging.locations.buckets.views.list/pageToken": page_token
"/logging:v2/logging.locations.buckets.views.list/parent": parent
"/logging:v2/logging.locations.buckets.views.patch": patch_location_bucket_view
"/logging:v2/logging.locations.buckets.views.patch/name": name
"/logging:v2/logging.locations.buckets.views.patch/updateMask": update_mask
"/logging:v2/logging.logs.delete": delete_log
"/logging:v2/logging.logs.delete/logName": log_name
"/logging:v2/logging.logs.list": list_logs
@ -109145,6 +109578,20 @@
"/logging:v2/logging.organizations.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.organizations.locations.buckets.undelete": undelete_organization_location_bucket
"/logging:v2/logging.organizations.locations.buckets.undelete/name": name
"/logging:v2/logging.organizations.locations.buckets.views.create": create_organization_location_bucket_view
"/logging:v2/logging.organizations.locations.buckets.views.create/parent": parent
"/logging:v2/logging.organizations.locations.buckets.views.create/viewId": view_id
"/logging:v2/logging.organizations.locations.buckets.views.delete": delete_organization_location_bucket_view
"/logging:v2/logging.organizations.locations.buckets.views.delete/name": name
"/logging:v2/logging.organizations.locations.buckets.views.get": get_organization_location_bucket_view
"/logging:v2/logging.organizations.locations.buckets.views.get/name": name
"/logging:v2/logging.organizations.locations.buckets.views.list": list_organization_location_bucket_views
"/logging:v2/logging.organizations.locations.buckets.views.list/pageSize": page_size
"/logging:v2/logging.organizations.locations.buckets.views.list/pageToken": page_token
"/logging:v2/logging.organizations.locations.buckets.views.list/parent": parent
"/logging:v2/logging.organizations.locations.buckets.views.patch": patch_organization_location_bucket_view
"/logging:v2/logging.organizations.locations.buckets.views.patch/name": name
"/logging:v2/logging.organizations.locations.buckets.views.patch/updateMask": update_mask
"/logging:v2/logging.organizations.logs.delete": delete_organization_log
"/logging:v2/logging.organizations.logs.delete/logName": log_name
"/logging:v2/logging.organizations.logs.list": list_organization_logs
@ -109202,6 +109649,20 @@
"/logging:v2/logging.projects.locations.buckets.patch/updateMask": update_mask
"/logging:v2/logging.projects.locations.buckets.undelete": undelete_project_location_bucket
"/logging:v2/logging.projects.locations.buckets.undelete/name": name
"/logging:v2/logging.projects.locations.buckets.views.create": create_project_location_bucket_view
"/logging:v2/logging.projects.locations.buckets.views.create/parent": parent
"/logging:v2/logging.projects.locations.buckets.views.create/viewId": view_id
"/logging:v2/logging.projects.locations.buckets.views.delete": delete_project_location_bucket_view
"/logging:v2/logging.projects.locations.buckets.views.delete/name": name
"/logging:v2/logging.projects.locations.buckets.views.get": get_project_location_bucket_view
"/logging:v2/logging.projects.locations.buckets.views.get/name": name
"/logging:v2/logging.projects.locations.buckets.views.list": list_project_location_bucket_views
"/logging:v2/logging.projects.locations.buckets.views.list/pageSize": page_size
"/logging:v2/logging.projects.locations.buckets.views.list/pageToken": page_token
"/logging:v2/logging.projects.locations.buckets.views.list/parent": parent
"/logging:v2/logging.projects.locations.buckets.views.patch": patch_project_location_bucket_view
"/logging:v2/logging.projects.locations.buckets.views.patch/name": name
"/logging:v2/logging.projects.locations.buckets.views.patch/updateMask": update_mask
"/logging:v2/logging.projects.logs.delete": delete_project_log
"/logging:v2/logging.projects.logs.delete/logName": log_name
"/logging:v2/logging.projects.logs.list": list_project_logs
@ -136293,6 +136754,10 @@
"/sqladmin:v1beta4/DemoteMasterMySqlReplicaConfiguration/kind": kind
"/sqladmin:v1beta4/DemoteMasterMySqlReplicaConfiguration/password": password
"/sqladmin:v1beta4/DemoteMasterMySqlReplicaConfiguration/username": username
"/sqladmin:v1beta4/DenyMaintenancePeriod": deny_maintenance_period
"/sqladmin:v1beta4/DenyMaintenancePeriod/endDate": end_date
"/sqladmin:v1beta4/DenyMaintenancePeriod/startDate": start_date
"/sqladmin:v1beta4/DenyMaintenancePeriod/time": time
"/sqladmin:v1beta4/DiskEncryptionConfiguration": disk_encryption_configuration
"/sqladmin:v1beta4/DiskEncryptionConfiguration/kind": kind
"/sqladmin:v1beta4/DiskEncryptionConfiguration/kmsKeyName": kms_key_name
@ -136468,6 +136933,7 @@
"/sqladmin:v1beta4/RotateServerCaContext/nextVersion": next_version
"/sqladmin:v1beta4/Settings": settings
"/sqladmin:v1beta4/Settings/activationPolicy": activation_policy
"/sqladmin:v1beta4/Settings/activeDirectoryConfig": active_directory_config
"/sqladmin:v1beta4/Settings/authorizedGaeApplications": authorized_gae_applications
"/sqladmin:v1beta4/Settings/authorizedGaeApplications/authorized_gae_application": authorized_gae_application
"/sqladmin:v1beta4/Settings/availabilityType": availability_type
@ -136479,6 +136945,8 @@
"/sqladmin:v1beta4/Settings/databaseFlags": database_flags
"/sqladmin:v1beta4/Settings/databaseFlags/database_flag": database_flag
"/sqladmin:v1beta4/Settings/databaseReplicationEnabled": database_replication_enabled
"/sqladmin:v1beta4/Settings/denyMaintenancePeriods": deny_maintenance_periods
"/sqladmin:v1beta4/Settings/denyMaintenancePeriods/deny_maintenance_period": deny_maintenance_period
"/sqladmin:v1beta4/Settings/ipConfiguration": ip_configuration
"/sqladmin:v1beta4/Settings/kind": kind
"/sqladmin:v1beta4/Settings/locationPreference": location_preference
@ -136493,6 +136961,9 @@
"/sqladmin:v1beta4/Settings/tier": tier
"/sqladmin:v1beta4/Settings/userLabels": user_labels
"/sqladmin:v1beta4/Settings/userLabels/user_label": user_label
"/sqladmin:v1beta4/SqlActiveDirectoryConfig": sql_active_directory_config
"/sqladmin:v1beta4/SqlActiveDirectoryConfig/domain": domain
"/sqladmin:v1beta4/SqlActiveDirectoryConfig/kind": kind
"/sqladmin:v1beta4/SqlExternalSyncSettingError": sql_external_sync_setting_error
"/sqladmin:v1beta4/SqlExternalSyncSettingError/detail": detail
"/sqladmin:v1beta4/SqlExternalSyncSettingError/kind": kind

View File

@ -0,0 +1,43 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/analyticsadmin_v1alpha/service.rb'
require 'google/apis/analyticsadmin_v1alpha/classes.rb'
require 'google/apis/analyticsadmin_v1alpha/representations.rb'
module Google
module Apis
# Google Analytics Admin API
#
#
#
# @see http://code.google.com/apis/analytics/docs/mgmt/home.html
module AnalyticsadminV1alpha
VERSION = 'V1alpha'
REVISION = '20200924'
# Edit Google Analytics management entities
AUTH_ANALYTICS_EDIT = 'https://www.googleapis.com/auth/analytics.edit'
# Manage Google Analytics Account users by email address
AUTH_ANALYTICS_MANAGE_USERS = 'https://www.googleapis.com/auth/analytics.manage.users'
# View Google Analytics user permissions
AUTH_ANALYTICS_MANAGE_USERS_READONLY = 'https://www.googleapis.com/auth/analytics.manage.users.readonly'
# View your Google Analytics data
AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,610 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module AnalyticsadminV1alpha
class GoogleAnalyticsAdminV1alphaAccount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaAccountSummary
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaAuditUserLink
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaAuditUserLinksRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaDataSharingSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaFirebaseLink
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaGlobalSiteTag
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaGoogleAdsLink
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaIosAppDataStream
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaListAccountSummariesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaListAccountsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaListUserLinksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaProperty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaPropertySummary
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaUserLink
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaWebDataStream
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleProtobufEmpty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleAnalyticsAdminV1alphaAccount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :country_code, as: 'countryCode'
property :create_time, as: 'createTime'
property :deleted, as: 'deleted'
property :display_name, as: 'displayName'
property :name, as: 'name'
property :update_time, as: 'updateTime'
end
end
class GoogleAnalyticsAdminV1alphaAccountSummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :account, as: 'account'
property :display_name, as: 'displayName'
property :name, as: 'name'
collection :property_summaries, as: 'propertySummaries', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary::Representation
end
end
class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :display_name, as: 'displayName'
property :firebase_app_id, as: 'firebaseAppId'
property :name, as: 'name'
property :package_name, as: 'packageName'
property :update_time, as: 'updateTime'
end
end
class GoogleAnalyticsAdminV1alphaAuditUserLink
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :direct_roles, as: 'directRoles'
collection :effective_roles, as: 'effectiveRoles'
property :email_address, as: 'emailAddress'
property :name, as: 'name'
end
end
class GoogleAnalyticsAdminV1alphaAuditUserLinksRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :page_size, as: 'pageSize'
property :page_token, as: 'pageToken'
end
end
class GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :user_links, as: 'userLinks', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLink::Representation
end
end
class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :notify_new_users, as: 'notifyNewUsers'
collection :requests, as: 'requests', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateUserLinkRequest, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateUserLinkRequest::Representation
end
end
class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :user_links, as: 'userLinks', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
end
end
class GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :requests, as: 'requests', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest::Representation
end
end
class GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :user_links, as: 'userLinks', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
end
end
class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :requests, as: 'requests', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest::Representation
end
end
class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :user_links, as: 'userLinks', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
end
end
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :notify_new_user, as: 'notifyNewUser'
property :parent, as: 'parent'
property :user_link, as: 'userLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
end
end
class GoogleAnalyticsAdminV1alphaDataSharingSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :sharing_with_google_any_sales_enabled, as: 'sharingWithGoogleAnySalesEnabled'
property :sharing_with_google_assigned_sales_enabled, as: 'sharingWithGoogleAssignedSalesEnabled'
property :sharing_with_google_products_enabled, as: 'sharingWithGoogleProductsEnabled'
property :sharing_with_google_support_enabled, as: 'sharingWithGoogleSupportEnabled'
property :sharing_with_others_enabled, as: 'sharingWithOthersEnabled'
end
end
class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :articles_and_blogs_enabled, as: 'articlesAndBlogsEnabled'
property :content_views_enabled, as: 'contentViewsEnabled'
property :data_tagged_element_clicks_enabled, as: 'dataTaggedElementClicksEnabled'
property :excluded_domains, as: 'excludedDomains'
property :file_downloads_enabled, as: 'fileDownloadsEnabled'
property :form_interactions_enabled, as: 'formInteractionsEnabled'
property :name, as: 'name'
property :outbound_clicks_enabled, as: 'outboundClicksEnabled'
property :page_changes_enabled, as: 'pageChangesEnabled'
property :page_loads_enabled, as: 'pageLoadsEnabled'
property :page_views_enabled, as: 'pageViewsEnabled'
property :products_and_ecommerce_enabled, as: 'productsAndEcommerceEnabled'
property :scrolls_enabled, as: 'scrollsEnabled'
property :search_query_parameter, as: 'searchQueryParameter'
property :site_search_enabled, as: 'siteSearchEnabled'
property :stream_enabled, as: 'streamEnabled'
property :url_query_parameter, as: 'urlQueryParameter'
property :video_engagement_enabled, as: 'videoEngagementEnabled'
end
end
class GoogleAnalyticsAdminV1alphaFirebaseLink
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :maximum_user_access, as: 'maximumUserAccess'
property :name, as: 'name'
property :project, as: 'project'
end
end
class GoogleAnalyticsAdminV1alphaGlobalSiteTag
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :snippet, as: 'snippet'
end
end
class GoogleAnalyticsAdminV1alphaGoogleAdsLink
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ads_personalization_enabled, as: 'adsPersonalizationEnabled'
property :can_manage_clients, as: 'canManageClients'
property :create_time, as: 'createTime'
property :customer_id, as: 'customerId'
property :email_address, as: 'emailAddress'
property :name, as: 'name'
property :parent, as: 'parent'
property :update_time, as: 'updateTime'
end
end
class GoogleAnalyticsAdminV1alphaIosAppDataStream
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bundle_id, as: 'bundleId'
property :create_time, as: 'createTime'
property :display_name, as: 'displayName'
property :firebase_app_id, as: 'firebaseAppId'
property :name, as: 'name'
property :update_time, as: 'updateTime'
end
end
class GoogleAnalyticsAdminV1alphaListAccountSummariesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :account_summaries, as: 'accountSummaries', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccountSummary, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccountSummary::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleAnalyticsAdminV1alphaListAccountsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :accounts, as: 'accounts', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :android_app_data_streams, as: 'androidAppDataStreams', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :firebase_links, as: 'firebaseLinks', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
end
end
class GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :google_ads_links, as: 'googleAdsLinks', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :ios_app_data_streams, as: 'iosAppDataStreams', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :properties, as: 'properties', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
end
end
class GoogleAnalyticsAdminV1alphaListUserLinksResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :user_links, as: 'userLinks', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
end
end
class GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :web_data_streams, as: 'webDataStreams', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
end
end
class GoogleAnalyticsAdminV1alphaProperty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :currency_code, as: 'currencyCode'
property :deleted, as: 'deleted'
property :display_name, as: 'displayName'
property :industry_category, as: 'industryCategory'
property :name, as: 'name'
property :parent, as: 'parent'
property :time_zone, as: 'timeZone'
property :update_time, as: 'updateTime'
end
end
class GoogleAnalyticsAdminV1alphaPropertySummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :property, as: 'property'
end
end
class GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :account, as: 'account', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
property :redirect_uri, as: 'redirectUri'
end
end
class GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :account_ticket_id, as: 'accountTicketId'
end
end
class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :user_link, as: 'userLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
end
end
class GoogleAnalyticsAdminV1alphaUserLink
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :direct_roles, as: 'directRoles'
property :email_address, as: 'emailAddress'
property :name, as: 'name'
end
end
class GoogleAnalyticsAdminV1alphaWebDataStream
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :default_uri, as: 'defaultUri'
property :display_name, as: 'displayName'
property :firebase_app_id, as: 'firebaseAppId'
property :measurement_id, as: 'measurementId'
property :name, as: 'name'
property :update_time, as: 'updateTime'
end
end
class GoogleProtobufEmpty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20200827'
REVISION = '20200916'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -2855,6 +2855,27 @@ module Google
# @return [String]
attr_accessor :create_disposition
# [Trusted Tester] Defines the list of possible SQL data types to which the
# source decimal values are converted. This list and the precision and the scale
# parameters of the decimal field determine the target type. In the order of
# NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified
# list and if it supports the precision and the scale. STRING supports all
# precision and scale values. If none of the listed types supports the precision
# and the scale, the type supporting the widest range in the specified list is
# picked, and if a value exceeds the supported range when reading the data, an
# error will be thrown. For example: suppose decimal_target_type = ["NUMERIC", "
# BIGNUMERIC"]. Then if (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) ->
# BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (
# NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -
# > BIGNUMERIC (error if value exeeds supported range). For duplicated types in
# this field, only one will be considered and the rest will be ignored. The
# order of the types in this field is ignored. For example, ["BIGNUMERIC", "
# NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes
# precedence over BIGNUMERIC.
# Corresponds to the JSON property `decimalTargetTypes`
# @return [Array<String>]
attr_accessor :decimal_target_types
# Custom encryption configuration (e.g., Cloud KMS keys).
# Corresponds to the JSON property `destinationEncryptionConfiguration`
# @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
@ -3044,6 +3065,7 @@ module Google
@autodetect = args[:autodetect] if args.key?(:autodetect)
@clustering = args[:clustering] if args.key?(:clustering)
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
@decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
@destination_table = args[:destination_table] if args.key?(:destination_table)
@destination_table_properties = args[:destination_table_properties] if args.key?(:destination_table_properties)

View File

@ -1495,6 +1495,7 @@ module Google
property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
property :create_disposition, as: 'createDisposition'
collection :decimal_target_types, as: 'decimalTargetTypes'
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1
VERSION = 'V1'
REVISION = '20200828'
REVISION = '20200918'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -83,6 +83,53 @@ module Google
end
end
# Occurrence that represents a single "attestation". The authenticity of an
# attestation can be verified using the attached signature. If the verifier
# trusts the public key of the signer, then verifying the signature is
# sufficient to establish trust. In this circumstance, the authority to which
# this attestation is attached is primarily useful for lookup (how to find this
# attestation if you already know the authority and artifact to be verified) and
# intent (for which authority this attestation was intended to sign.
class AttestationOccurrence
include Google::Apis::Core::Hashable
# One or more JWTs encoding a self-contained attestation. Each JWT encodes the
# payload that it verifies within the JWT itself. Verifier implementation SHOULD
# ignore the `serialized_payload` field when verifying these JWTs. If only JWTs
# are present on this AttestationOccurrence, then the `serialized_payload`
# SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `
# resource_uri` of this Occurrence, but this is not validated by Grafeas
# metadata API implementations. The JWT itself is opaque to Grafeas.
# Corresponds to the JSON property `jwts`
# @return [Array<Google::Apis::BinaryauthorizationV1::Jwt>]
attr_accessor :jwts
# Required. The serialized payload that is verified by one or more `signatures`.
# Corresponds to the JSON property `serializedPayload`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :serialized_payload
# One or more signatures over `serialized_payload`. Verifier implementations
# should consider this attestation message verified if at least one `signature`
# verifies `serialized_payload`. See `Signature` in common.proto for more
# details on signature structure and verification.
# Corresponds to the JSON property `signatures`
# @return [Array<Google::Apis::BinaryauthorizationV1::Signature>]
attr_accessor :signatures
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@jwts = args[:jwts] if args.key?(:jwts)
@serialized_payload = args[:serialized_payload] if args.key?(:serialized_payload)
@signatures = args[:signatures] if args.key?(:signatures)
end
end
# An attestor that attests to container image artifacts. An existing attestor
# cannot be modified except where indicated.
class Attestor
@ -406,6 +453,27 @@ module Google
end
end
#
class Jwt
include Google::Apis::Core::Hashable
# The compact encoding of a JWS, which is always three base64 encoded strings
# joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#
# section-3.1
# Corresponds to the JSON property `compactJwt`
# @return [String]
attr_accessor :compact_jwt
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@compact_jwt = args[:compact_jwt] if args.key?(:compact_jwt)
end
end
# Response message for BinauthzManagementService.ListAttestors.
class ListAttestorsResponse
include Google::Apis::Core::Hashable
@ -578,6 +646,61 @@ module Google
end
end
# Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to
# the trust anchors defined in policy (e.g. a Kritis policy). Typically this
# means that the verifier has been configured with a map from `public_key_id` to
# public key material (and any required parameters, e.g. signing algorithm). In
# particular, verification implementations MUST NOT treat the signature `
# public_key_id` as anything more than a key lookup hint. The `public_key_id`
# DOES NOT validate or authenticate a public key; it only provides a mechanism
# for quickly selecting a public key ALREADY CONFIGURED on the verifier through
# a trusted channel. Verification implementations MUST reject signatures in any
# of the following circumstances: * The `public_key_id` is not recognized by the
# verifier. * The public key that `public_key_id` refers to does not verify the
# signature with respect to the payload. The `signature` contents SHOULD NOT be "
# attached" (where the payload is included with the serialized `signature` bytes)
# . Verifiers MUST ignore any "attached" payload and only verify signatures with
# respect to explicitly provided payload (e.g. a `payload` field on the proto
# message that holds this Signature, or the canonical serialization of the proto
# message that holds this signature).
class Signature
include Google::Apis::Core::Hashable
# The identifier for the public key that verifies this signature. * The `
# public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986
# conformant URI. * When possible, the `public_key_id` SHOULD be an immutable
# reference, such as a cryptographic digest. Examples of valid `public_key_id`s:
# OpenPGP V4 public key fingerprint: * "openpgp4fpr:
# 74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" See https://www.iana.org/assignments/
# uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-
# named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;
# cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" * "nih:///sha-256;
# 703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
# Corresponds to the JSON property `publicKeyId`
# @return [String]
attr_accessor :public_key_id
# The content of the signature, an opaque bytestring. The payload that this
# signature verifies MUST be unambiguously provided with the Signature during
# verification. A wrapper message might provide the payload explicitly.
# Alternatively, a message might have a canonical serialization that can always
# be unambiguously computed to derive the payload.
# Corresponds to the JSON property `signature`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :signature
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@public_key_id = args[:public_key_id] if args.key?(:public_key_id)
@signature = args[:signature] if args.key?(:signature)
end
end
# Request message for `TestIamPermissions` method.
class TestIamPermissionsRequest
include Google::Apis::Core::Hashable
@ -664,6 +787,70 @@ module Google
@public_keys = args[:public_keys] if args.key?(:public_keys)
end
end
# Request message for ValidationHelperV1.ValidateAttestationOccurrence.
class ValidateAttestationOccurrenceRequest
include Google::Apis::Core::Hashable
# Occurrence that represents a single "attestation". The authenticity of an
# attestation can be verified using the attached signature. If the verifier
# trusts the public key of the signer, then verifying the signature is
# sufficient to establish trust. In this circumstance, the authority to which
# this attestation is attached is primarily useful for lookup (how to find this
# attestation if you already know the authority and artifact to be verified) and
# intent (for which authority this attestation was intended to sign.
# Corresponds to the JSON property `attestation`
# @return [Google::Apis::BinaryauthorizationV1::AttestationOccurrence]
attr_accessor :attestation
# Required. The resource name of the Note to which the containing Occurrence is
# associated.
# Corresponds to the JSON property `occurrenceNote`
# @return [String]
attr_accessor :occurrence_note
# Required. The URI of the artifact (e.g. container image) that is the subject
# of the containing Occurrence.
# Corresponds to the JSON property `occurrenceResourceUri`
# @return [String]
attr_accessor :occurrence_resource_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@attestation = args[:attestation] if args.key?(:attestation)
@occurrence_note = args[:occurrence_note] if args.key?(:occurrence_note)
@occurrence_resource_uri = args[:occurrence_resource_uri] if args.key?(:occurrence_resource_uri)
end
end
# Response message for ValidationHelperV1.ValidateAttestationOccurrence.
class ValidateAttestationOccurrenceResponse
include Google::Apis::Core::Hashable
# The reason for denial if the Attestation couldn't be validated.
# Corresponds to the JSON property `denialReason`
# @return [String]
attr_accessor :denial_reason
# The result of the Attestation validation.
# Corresponds to the JSON property `result`
# @return [String]
attr_accessor :result
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@denial_reason = args[:denial_reason] if args.key?(:denial_reason)
@result = args[:result] if args.key?(:result)
end
end
end
end
end

View File

@ -34,6 +34,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AttestationOccurrence
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Attestor
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -70,6 +76,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Jwt
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListAttestorsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -94,6 +106,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Signature
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestIamPermissionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -112,6 +130,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ValidateAttestationOccurrenceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ValidateAttestationOccurrenceResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdmissionRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -128,6 +158,17 @@ module Google
end
end
class AttestationOccurrence
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :jwts, as: 'jwts', class: Google::Apis::BinaryauthorizationV1::Jwt, decorator: Google::Apis::BinaryauthorizationV1::Jwt::Representation
property :serialized_payload, :base64 => true, as: 'serializedPayload'
collection :signatures, as: 'signatures', class: Google::Apis::BinaryauthorizationV1::Signature, decorator: Google::Apis::BinaryauthorizationV1::Signature::Representation
end
end
class Attestor
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -187,6 +228,13 @@ module Google
end
end
class Jwt
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :compact_jwt, as: 'compactJwt'
end
end
class ListAttestorsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -228,6 +276,14 @@ module Google
end
end
class Signature
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :public_key_id, as: 'publicKeyId'
property :signature, :base64 => true, as: 'signature'
end
end
class TestIamPermissionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -251,6 +307,24 @@ module Google
end
end
class ValidateAttestationOccurrenceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :attestation, as: 'attestation', class: Google::Apis::BinaryauthorizationV1::AttestationOccurrence, decorator: Google::Apis::BinaryauthorizationV1::AttestationOccurrence::Representation
property :occurrence_note, as: 'occurrenceNote'
property :occurrence_resource_uri, as: 'occurrenceResourceUri'
end
end
class ValidateAttestationOccurrenceResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :denial_reason, as: 'denialReason'
property :result, as: 'result'
end
end
end
end
end

View File

@ -409,6 +409,41 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns whether the given Attestation for the given image URI was signed by
# the given Attestor
# @param [String] attestor
# Required. The resource name of the Attestor of the occurrence, in the format `
# projects/*/attestors/*`.
# @param [Google::Apis::BinaryauthorizationV1::ValidateAttestationOccurrenceRequest] validate_attestation_occurrence_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::BinaryauthorizationV1::ValidateAttestationOccurrenceResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::BinaryauthorizationV1::ValidateAttestationOccurrenceResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def validate_attestor_attestation_occurrence(attestor, validate_attestation_occurrence_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+attestor}:validateAttestationOccurrence', options)
command.request_representation = Google::Apis::BinaryauthorizationV1::ValidateAttestationOccurrenceRequest::Representation
command.request_object = validate_attestation_occurrence_request_object
command.response_representation = Google::Apis::BinaryauthorizationV1::ValidateAttestationOccurrenceResponse::Representation
command.response_class = Google::Apis::BinaryauthorizationV1::ValidateAttestationOccurrenceResponse
command.params['attestor'] = attestor unless attestor.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1beta1
VERSION = 'V1beta1'
REVISION = '20200828'
REVISION = '20200918'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -83,6 +83,53 @@ module Google
end
end
# Occurrence that represents a single "attestation". The authenticity of an
# attestation can be verified using the attached signature. If the verifier
# trusts the public key of the signer, then verifying the signature is
# sufficient to establish trust. In this circumstance, the authority to which
# this attestation is attached is primarily useful for lookup (how to find this
# attestation if you already know the authority and artifact to be verified) and
# intent (for which authority this attestation was intended to sign.
class AttestationOccurrence
include Google::Apis::Core::Hashable
# One or more JWTs encoding a self-contained attestation. Each JWT encodes the
# payload that it verifies within the JWT itself. Verifier implementation SHOULD
# ignore the `serialized_payload` field when verifying these JWTs. If only JWTs
# are present on this AttestationOccurrence, then the `serialized_payload`
# SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `
# resource_uri` of this Occurrence, but this is not validated by Grafeas
# metadata API implementations. The JWT itself is opaque to Grafeas.
# Corresponds to the JSON property `jwts`
# @return [Array<Google::Apis::BinaryauthorizationV1beta1::Jwt>]
attr_accessor :jwts
# Required. The serialized payload that is verified by one or more `signatures`.
# Corresponds to the JSON property `serializedPayload`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :serialized_payload
# One or more signatures over `serialized_payload`. Verifier implementations
# should consider this attestation message verified if at least one `signature`
# verifies `serialized_payload`. See `Signature` in common.proto for more
# details on signature structure and verification.
# Corresponds to the JSON property `signatures`
# @return [Array<Google::Apis::BinaryauthorizationV1beta1::Signature>]
attr_accessor :signatures
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@jwts = args[:jwts] if args.key?(:jwts)
@serialized_payload = args[:serialized_payload] if args.key?(:serialized_payload)
@signatures = args[:signatures] if args.key?(:signatures)
end
end
# An attestor that attests to container image artifacts. An existing attestor
# cannot be modified except where indicated.
class Attestor
@ -406,6 +453,27 @@ module Google
end
end
#
class Jwt
include Google::Apis::Core::Hashable
# The compact encoding of a JWS, which is always three base64 encoded strings
# joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#
# section-3.1
# Corresponds to the JSON property `compactJwt`
# @return [String]
attr_accessor :compact_jwt
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@compact_jwt = args[:compact_jwt] if args.key?(:compact_jwt)
end
end
# Response message for BinauthzManagementService.ListAttestors.
class ListAttestorsResponse
include Google::Apis::Core::Hashable
@ -578,6 +646,61 @@ module Google
end
end
# Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to
# the trust anchors defined in policy (e.g. a Kritis policy). Typically this
# means that the verifier has been configured with a map from `public_key_id` to
# public key material (and any required parameters, e.g. signing algorithm). In
# particular, verification implementations MUST NOT treat the signature `
# public_key_id` as anything more than a key lookup hint. The `public_key_id`
# DOES NOT validate or authenticate a public key; it only provides a mechanism
# for quickly selecting a public key ALREADY CONFIGURED on the verifier through
# a trusted channel. Verification implementations MUST reject signatures in any
# of the following circumstances: * The `public_key_id` is not recognized by the
# verifier. * The public key that `public_key_id` refers to does not verify the
# signature with respect to the payload. The `signature` contents SHOULD NOT be "
# attached" (where the payload is included with the serialized `signature` bytes)
# . Verifiers MUST ignore any "attached" payload and only verify signatures with
# respect to explicitly provided payload (e.g. a `payload` field on the proto
# message that holds this Signature, or the canonical serialization of the proto
# message that holds this signature).
class Signature
include Google::Apis::Core::Hashable
# The identifier for the public key that verifies this signature. * The `
# public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986
# conformant URI. * When possible, the `public_key_id` SHOULD be an immutable
# reference, such as a cryptographic digest. Examples of valid `public_key_id`s:
# OpenPGP V4 public key fingerprint: * "openpgp4fpr:
# 74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" See https://www.iana.org/assignments/
# uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-
# named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;
# cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" * "nih:///sha-256;
# 703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
# Corresponds to the JSON property `publicKeyId`
# @return [String]
attr_accessor :public_key_id
# The content of the signature, an opaque bytestring. The payload that this
# signature verifies MUST be unambiguously provided with the Signature during
# verification. A wrapper message might provide the payload explicitly.
# Alternatively, a message might have a canonical serialization that can always
# be unambiguously computed to derive the payload.
# Corresponds to the JSON property `signature`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :signature
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@public_key_id = args[:public_key_id] if args.key?(:public_key_id)
@signature = args[:signature] if args.key?(:signature)
end
end
# Request message for `TestIamPermissions` method.
class TestIamPermissionsRequest
include Google::Apis::Core::Hashable
@ -664,6 +787,70 @@ module Google
@public_keys = args[:public_keys] if args.key?(:public_keys)
end
end
# Request message for ValidationHelperV1.ValidateAttestationOccurrence.
class ValidateAttestationOccurrenceRequest
include Google::Apis::Core::Hashable
# Occurrence that represents a single "attestation". The authenticity of an
# attestation can be verified using the attached signature. If the verifier
# trusts the public key of the signer, then verifying the signature is
# sufficient to establish trust. In this circumstance, the authority to which
# this attestation is attached is primarily useful for lookup (how to find this
# attestation if you already know the authority and artifact to be verified) and
# intent (for which authority this attestation was intended to sign.
# Corresponds to the JSON property `attestation`
# @return [Google::Apis::BinaryauthorizationV1beta1::AttestationOccurrence]
attr_accessor :attestation
# Required. The resource name of the Note to which the containing Occurrence is
# associated.
# Corresponds to the JSON property `occurrenceNote`
# @return [String]
attr_accessor :occurrence_note
# Required. The URI of the artifact (e.g. container image) that is the subject
# of the containing Occurrence.
# Corresponds to the JSON property `occurrenceResourceUri`
# @return [String]
attr_accessor :occurrence_resource_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@attestation = args[:attestation] if args.key?(:attestation)
@occurrence_note = args[:occurrence_note] if args.key?(:occurrence_note)
@occurrence_resource_uri = args[:occurrence_resource_uri] if args.key?(:occurrence_resource_uri)
end
end
# Response message for ValidationHelperV1.ValidateAttestationOccurrence.
class ValidateAttestationOccurrenceResponse
include Google::Apis::Core::Hashable
# The reason for denial if the Attestation couldn't be validated.
# Corresponds to the JSON property `denialReason`
# @return [String]
attr_accessor :denial_reason
# The result of the Attestation validation.
# Corresponds to the JSON property `result`
# @return [String]
attr_accessor :result
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@denial_reason = args[:denial_reason] if args.key?(:denial_reason)
@result = args[:result] if args.key?(:result)
end
end
end
end
end

View File

@ -34,6 +34,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AttestationOccurrence
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Attestor
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -70,6 +76,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Jwt
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListAttestorsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -94,6 +106,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Signature
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestIamPermissionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -112,6 +130,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ValidateAttestationOccurrenceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ValidateAttestationOccurrenceResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdmissionRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -128,6 +158,17 @@ module Google
end
end
class AttestationOccurrence
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :jwts, as: 'jwts', class: Google::Apis::BinaryauthorizationV1beta1::Jwt, decorator: Google::Apis::BinaryauthorizationV1beta1::Jwt::Representation
property :serialized_payload, :base64 => true, as: 'serializedPayload'
collection :signatures, as: 'signatures', class: Google::Apis::BinaryauthorizationV1beta1::Signature, decorator: Google::Apis::BinaryauthorizationV1beta1::Signature::Representation
end
end
class Attestor
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -187,6 +228,13 @@ module Google
end
end
class Jwt
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :compact_jwt, as: 'compactJwt'
end
end
class ListAttestorsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -228,6 +276,14 @@ module Google
end
end
class Signature
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :public_key_id, as: 'publicKeyId'
property :signature, :base64 => true, as: 'signature'
end
end
class TestIamPermissionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -251,6 +307,24 @@ module Google
end
end
class ValidateAttestationOccurrenceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :attestation, as: 'attestation', class: Google::Apis::BinaryauthorizationV1beta1::AttestationOccurrence, decorator: Google::Apis::BinaryauthorizationV1beta1::AttestationOccurrence::Representation
property :occurrence_note, as: 'occurrenceNote'
property :occurrence_resource_uri, as: 'occurrenceResourceUri'
end
end
class ValidateAttestationOccurrenceResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :denial_reason, as: 'denialReason'
property :result, as: 'result'
end
end
end
end
end

View File

@ -409,6 +409,41 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns whether the given Attestation for the given image URI was signed by
# the given Attestor
# @param [String] attestor
# Required. The resource name of the Attestor of the occurrence, in the format `
# projects/*/attestors/*`.
# @param [Google::Apis::BinaryauthorizationV1beta1::ValidateAttestationOccurrenceRequest] validate_attestation_occurrence_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::BinaryauthorizationV1beta1::ValidateAttestationOccurrenceResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::BinaryauthorizationV1beta1::ValidateAttestationOccurrenceResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def validate_attestor_attestation_occurrence(attestor, validate_attestation_occurrence_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+attestor}:validateAttestationOccurrence', options)
command.request_representation = Google::Apis::BinaryauthorizationV1beta1::ValidateAttestationOccurrenceRequest::Representation
command.request_object = validate_attestation_occurrence_request_object
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::ValidateAttestationOccurrenceResponse::Representation
command.response_class = Google::Apis::BinaryauthorizationV1beta1::ValidateAttestationOccurrenceResponse
command.params['attestor'] = attestor unless attestor.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/hangouts/chat
module ChatV1
VERSION = 'V1'
REVISION = '20200909'
REVISION = '20200919'
end
end
end

View File

@ -90,6 +90,11 @@ module Google
# @return [Fixnum]
attr_accessor :length
# Annotation metadata for slash commands (/).
# Corresponds to the JSON property `slashCommand`
# @return [Google::Apis::ChatV1::SlashCommandMetadata]
attr_accessor :slash_command
# Start index (0-based, inclusive) in the plain-text message body this
# annotation corresponds to.
# Corresponds to the JSON property `startIndex`
@ -113,6 +118,7 @@ module Google
# Update properties of this object
def update!(**args)
@length = args[:length] if args.key?(:length)
@slash_command = args[:slash_command] if args.key?(:slash_command)
@start_index = args[:start_index] if args.key?(:start_index)
@type = args[:type] if args.key?(:type)
@user_mention = args[:user_mention] if args.key?(:user_mention)
@ -695,8 +701,7 @@ module Google
# @return [Google::Apis::ChatV1::User]
attr_accessor :member
# Resource name of the membership, in the form "spaces/*/members/*". Example:
# spaces/AAAAMpdlehY/members/105115627578887013105
#
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -779,6 +784,11 @@ module Google
# @return [Google::Apis::ChatV1::User]
attr_accessor :sender
# A Slash Command in Hangouts Chat.
# Corresponds to the JSON property `slashCommand`
# @return [Google::Apis::ChatV1::SlashCommand]
attr_accessor :slash_command
# A room or DM in Hangouts Chat.
# Corresponds to the JSON property `space`
# @return [Google::Apis::ChatV1::Space]
@ -810,6 +820,7 @@ module Google
@name = args[:name] if args.key?(:name)
@preview_text = args[:preview_text] if args.key?(:preview_text)
@sender = args[:sender] if args.key?(:sender)
@slash_command = args[:slash_command] if args.key?(:slash_command)
@space = args[:space] if args.key?(:space)
@text = args[:text] if args.key?(:text)
@thread = args[:thread] if args.key?(:thread)
@ -888,6 +899,69 @@ module Google
end
end
# A Slash Command in Hangouts Chat.
class SlashCommand
include Google::Apis::Core::Hashable
# The id of the slash command invoked.
# Corresponds to the JSON property `commandId`
# @return [Fixnum]
attr_accessor :command_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@command_id = args[:command_id] if args.key?(:command_id)
end
end
# Annotation metadata for slash commands (/).
class SlashCommandMetadata
include Google::Apis::Core::Hashable
# A user in Hangouts Chat.
# Corresponds to the JSON property `bot`
# @return [Google::Apis::ChatV1::User]
attr_accessor :bot
# The command id of the invoked slash command.
# Corresponds to the JSON property `commandId`
# @return [Fixnum]
attr_accessor :command_id
# The name of the invoked slash command.
# Corresponds to the JSON property `commandName`
# @return [String]
attr_accessor :command_name
# Indicating whether the slash command is for a dialog.
# Corresponds to the JSON property `triggersDialog`
# @return [Boolean]
attr_accessor :triggers_dialog
alias_method :triggers_dialog?, :triggers_dialog
# The type of slash command.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bot = args[:bot] if args.key?(:bot)
@command_id = args[:command_id] if args.key?(:command_id)
@command_name = args[:command_name] if args.key?(:command_name)
@triggers_dialog = args[:triggers_dialog] if args.key?(:triggers_dialog)
@type = args[:type] if args.key?(:type)
end
end
# A room or DM in Hangouts Chat.
class Space
include Google::Apis::Core::Hashable

View File

@ -166,6 +166,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SlashCommand
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SlashCommandMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Space
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -228,6 +240,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :length, as: 'length'
property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommandMetadata, decorator: Google::Apis::ChatV1::SlashCommandMetadata::Representation
property :start_index, as: 'startIndex'
property :type, as: 'type'
property :user_mention, as: 'userMention', class: Google::Apis::ChatV1::UserMentionMetadata, decorator: Google::Apis::ChatV1::UserMentionMetadata::Representation
@ -432,6 +446,8 @@ module Google
property :preview_text, as: 'previewText'
property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommand, decorator: Google::Apis::ChatV1::SlashCommand::Representation
property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
property :text, as: 'text'
@ -466,6 +482,25 @@ module Google
end
end
class SlashCommand
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :command_id, :numeric_string => true, as: 'commandId'
end
end
class SlashCommandMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bot, as: 'bot', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
property :command_id, :numeric_string => true, as: 'commandId'
property :command_name, as: 'commandName'
property :triggers_dialog, as: 'triggersDialog'
property :type, as: 'type'
end
end
class Space
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/functions
module CloudfunctionsV1
VERSION = 'V1'
REVISION = '20200806'
REVISION = '20200917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -226,6 +226,11 @@ module Google
# @return [Fixnum]
attr_accessor :available_memory_mb
# Build environment variables that shall be available during build time.
# Corresponds to the JSON property `buildEnvironmentVariables`
# @return [Hash<String,String>]
attr_accessor :build_environment_variables
# Output only. The Cloud Build ID of the latest successful deployment of the
# function.
# Corresponds to the JSON property `buildId`
@ -272,7 +277,12 @@ module Google
attr_accessor :labels
# The limit on the maximum number of function instances that may coexist at a
# given time.
# given time. In some cases, such as rapid traffic surges, Cloud Functions may,
# for a short period of time, create more instances than the specified max
# instances limit. If your function cannot tolerate this temporary behavior, you
# may want to factor in a safety margin and set a lower max instances value than
# your function can tolerate. See the [Max Instances](https://cloud.google.com/
# functions/docs/max-instances) Guide for more details.
# Corresponds to the JSON property `maxInstances`
# @return [Fixnum]
attr_accessor :max_instances
@ -375,6 +385,7 @@ module Google
# Update properties of this object
def update!(**args)
@available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb)
@build_environment_variables = args[:build_environment_variables] if args.key?(:build_environment_variables)
@build_id = args[:build_id] if args.key?(:build_id)
@description = args[:description] if args.key?(:description)
@entry_point = args[:entry_point] if args.key?(:entry_point)

View File

@ -231,6 +231,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :available_memory_mb, as: 'availableMemoryMb'
hash :build_environment_variables, as: 'buildEnvironmentVariables'
property :build_id, as: 'buildId'
property :description, as: 'description'
property :entry_point, as: 'entryPoint'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2_1
VERSION = 'V2_1'
REVISION = '20200908'
REVISION = '20200916'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -1582,7 +1582,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the local inventory of a product in your Merchant Center account.
# Updates the local inventory of a product in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that contains the product. This account cannot be a
# multi-client account.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/data-catalog/docs/
module DatacatalogV1beta1
VERSION = 'V1beta1'
REVISION = '20200831'
REVISION = '20200918'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1088,7 +1088,7 @@ module Google
# Unreachable locations. Search result does not include data from those
# locations. Users can get additional information on the error by repeating the
# search request with a more restrictive parameter -- setting the value for `
# SearchDataCatalogRequest.scope.include_locations`.
# SearchDataCatalogRequest.scope.restricted_locations`.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/display-video/
module DisplayvideoV1
VERSION = 'V1'
REVISION = '20200901'
REVISION = '20200924'
# Create, see, edit, and permanently delete your Display & Video 360 entities and reports
AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'

View File

@ -5310,6 +5310,13 @@ module Google
# @return [String]
attr_accessor :update_time
# Output only. The warning messages generated by the line item. These warnings
# do not block saving the line item, but some may block the line item from
# running.
# Corresponds to the JSON property `warningMessages`
# @return [Array<String>]
attr_accessor :warning_messages
def initialize(**args)
update!(**args)
end
@ -5336,6 +5343,7 @@ module Google
@partner_costs = args[:partner_costs] if args.key?(:partner_costs)
@partner_revenue_model = args[:partner_revenue_model] if args.key?(:partner_revenue_model)
@update_time = args[:update_time] if args.key?(:update_time)
@warning_messages = args[:warning_messages] if args.key?(:warning_messages)
end
end

View File

@ -2775,6 +2775,7 @@ module Google
property :partner_revenue_model, as: 'partnerRevenueModel', class: Google::Apis::DisplayvideoV1::PartnerRevenueModel, decorator: Google::Apis::DisplayvideoV1::PartnerRevenueModel::Representation
property :update_time, as: 'updateTime'
collection :warning_messages, as: 'warningMessages'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/firestore
module FirestoreV1
VERSION = 'V1'
REVISION = '20200821'
REVISION = '20200912'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/firestore
module FirestoreV1beta1
VERSION = 'V1beta1'
REVISION = '20200822'
REVISION = '20200912'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/logging/docs/
module LoggingV2
VERSION = 'V2'
REVISION = '20200801'
REVISION = '20200918'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -534,8 +534,13 @@ module Google
# Required. Names of one or more parent resources from which to retrieve log
# entries: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "
# billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Projects listed in
# the project_ids field are added to this list.
# billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" May alternatively
# be one or more views projects/PROJECT_ID/locations/LOCATION_ID/buckets/
# BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/locations/LOCATION_ID/
# buckets/BUCKET_ID/views/VIEW_ID billingAccounts/BILLING_ACCOUNT_ID/locations/
# LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID folders/FOLDER_ID/locations/
# LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDProjects listed in the project_ids
# field are added to this list.
# Corresponds to the JSON property `resourceNames`
# @return [Array<String>]
attr_accessor :resource_names
@ -699,6 +704,33 @@ module Google
end
end
# The response from ListViews.
class ListViewsResponse
include Google::Apis::Core::Hashable
# If there might be more results than appear in this response, then
# nextPageToken is included. To get the next set of results, call the same
# method again using the value of nextPageToken as pageToken.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# A list of views.
# Corresponds to the JSON property `views`
# @return [Array<Google::Apis::LoggingV2::LogView>]
attr_accessor :views
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)
@views = args[:views] if args.key?(:views)
end
end
# Describes a repository of logs (Beta).
class LogBucket
include Google::Apis::Core::Hashable
@ -1188,13 +1220,7 @@ module Google
# Defines a metric type and its schema. Once a metric descriptor is created,
# deleting or altering it stops data collection and makes the metric type's
# existing data unusable.The following are specific rules for service defined
# Monitoring metric descriptors: type, metric_kind, value_type and description
# fields are all required. The unit field must be specified if the value_type is
# any of DOUBLE, INT64, DISTRIBUTION. Maximum of default 500 metric descriptors
# per service is allowed. Maximum of default 10 labels per metric descriptor is
# allowed.The default maximum limit can be overridden. Please follow https://
# cloud.google.com/monitoring/quotas
# existing data unusable.
# Corresponds to the JSON property `metricDescriptor`
# @return [Google::Apis::LoggingV2::MetricDescriptor]
attr_accessor :metric_descriptor
@ -1388,15 +1414,55 @@ module Google
end
end
# Describes a view over logs in a bucket.
class LogView
include Google::Apis::Core::Hashable
# Output only. The creation timestamp of the view.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# Describes this view.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Filter that restricts which log entries in a bucket are visible in this view.
# Filters are restricted to be a logical AND of ==/!= of any of the following:
# originating project/folder/organization/billing account. resource type log id
# Corresponds to the JSON property `filter`
# @return [String]
attr_accessor :filter
# The resource name of the view. For example "projects/my-project-id/locations/
# my-location/buckets/my-bucket-id/views/my-view
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The last update timestamp of the view.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@description = args[:description] if args.key?(:description)
@filter = args[:filter] if args.key?(:filter)
@name = args[:name] if args.key?(:name)
@update_time = args[:update_time] if args.key?(:update_time)
end
end
# Defines a metric type and its schema. Once a metric descriptor is created,
# deleting or altering it stops data collection and makes the metric type's
# existing data unusable.The following are specific rules for service defined
# Monitoring metric descriptors: type, metric_kind, value_type and description
# fields are all required. The unit field must be specified if the value_type is
# any of DOUBLE, INT64, DISTRIBUTION. Maximum of default 500 metric descriptors
# per service is allowed. Maximum of default 10 labels per metric descriptor is
# allowed.The default maximum limit can be overridden. Please follow https://
# cloud.google.com/monitoring/quotas
# existing data unusable.
class MetricDescriptor
include Google::Apis::Core::Hashable
@ -1414,12 +1480,10 @@ module Google
attr_accessor :display_name
# The set of labels that can be used to describe a specific instance of this
# metric type.The label key name must follow: Only upper and lower-case letters,
# digits and underscores (_) are allowed. Label name must start with a letter or
# digit. The maximum length of a label name is 100 characters.For example, the
# appengine.googleapis.com/http/server/response_latencies metric type has a
# label for the HTTP response code, response_code, so you can look at latencies
# for successful responses or just for responses that failed.
# metric type. For example, the appengine.googleapis.com/http/server/
# response_latencies metric type has a label for the HTTP response code,
# response_code, so you can look at latencies for successful responses or just
# for responses that failed.
# Corresponds to the JSON property `labels`
# @return [Array<Google::Apis::LoggingV2::LabelDescriptor>]
attr_accessor :labels
@ -1454,16 +1518,11 @@ module Google
attr_accessor :name
# The metric type, including its DNS name prefix. The type is not URL-encoded.
# All service defined metrics must be prefixed with the service name, in the
# format of `service name`/`relative metric name`, such as cloudsql.googleapis.
# com/database/cpu/utilization. The relative metric name must follow: Only upper
# and lower-case letters, digits, '/' and underscores '_' are allowed. The
# maximum number of characters allowed for the relative_metric_name is 100.All
# user-defined metric types have the DNS name custom.googleapis.com, external.
# googleapis.com, or logging.googleapis.com/user/.Metric types should use a
# natural hierarchical grouping. For example: "custom.googleapis.com/invoice/
# paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/
# http/server/response_latencies"
# All user-defined metric types have the DNS name custom.googleapis.com or
# external.googleapis.com. Metric types should use a natural hierarchical
# grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.
# googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/
# response_latencies"
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -1619,16 +1678,9 @@ module Google
# name and a set of labels. For example, the monitored resource descriptor for
# Google Compute Engine VM instances has a type of "gce_instance" and specifies
# the use of the labels "instance_id" and "zone" to identify particular VM
# instances.Different services can support different monitored resource types.
# The following are specific rules to service defined monitored resources for
# Monitoring and Logging: The type, display_name, description, labels and
# launch_stage fields are all required. The first label of the monitored
# resource descriptor must be resource_container. There are legacy monitored
# resource descritptors start with project_id. It must include a location label.
# Maximum of default 5 service defined monitored resource descriptors is allowed
# per service. Maximum of default 10 labels per monitored resource is allowed.
# The default maximum limit can be overridden. Please follow https://cloud.
# google.com/monitoring/quotas
# instances.Different APIs can support different monitored resource types. APIs
# generally provide a list method that returns the monitored resource
# descriptors used by the API.
class MonitoredResourceDescriptor
include Google::Apis::Core::Hashable
@ -1646,11 +1698,8 @@ module Google
attr_accessor :display_name
# Required. A set of labels used to describe instances of this monitored
# resource type. The label key name must follow: Only upper and lower-case
# letters, digits and underscores (_) are allowed. Label name must start with a
# letter or digit. The maximum length of a label name is 100 characters.For
# example, an individual Google Cloud SQL database is identified by values for
# the labels database_id and location.
# resource type. For example, an individual Google Cloud SQL database is
# identified by values for the labels "database_id" and "zone".
# Corresponds to the JSON property `labels`
# @return [Array<Google::Apis::LoggingV2::LabelDescriptor>]
attr_accessor :labels
@ -1670,14 +1719,8 @@ module Google
# @return [String]
attr_accessor :name
# Required. The monitored resource type. For example, the type cloudsql_database
# represents databases in Google Cloud SQL.All service defined monitored
# resource types must be prefixed with the service name, in the format of `
# service name`/`relative resource name`. The relative resource name must follow:
# Only upper and lower-case letters and digits are allowed. It must start with
# upper case character and is recommended to use Upper Camel Case style. The
# maximum number of characters allowed for the relative_resource_name is 100.
# Note there are legacy service monitored resources not following this rule.
# Required. The monitored resource type. For example, the type "
# cloudsql_database" represents databases in Google Cloud SQL.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type

View File

@ -124,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListViewsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogBucket
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -172,6 +178,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LogView
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MetricDescriptor
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -402,6 +414,15 @@ module Google
end
end
class ListViewsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :views, as: 'views', class: Google::Apis::LoggingV2::LogView, decorator: Google::Apis::LoggingV2::LogView::Representation
end
end
class LogBucket
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -523,6 +544,17 @@ module Google
end
end
class LogView
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :description, as: 'description'
property :filter, as: 'filter'
property :name, as: 'name'
property :update_time, as: 'updateTime'
end
end
class MetricDescriptor
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -85,6 +85,38 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets a view.
# @param [String] name
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_billing_account_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a new exclusion in a specified parent resource. Only log entries
# belonging to that resource can be excluded. You can have up to 10 exclusions
# in a resource.
@ -493,6 +525,164 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
# views.
# @param [String] parent
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
# project/locations/my-location/buckets/my-bucket"
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] view_id
# Required. The id to use for this view.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_billing_account_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/views', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
command.params['parent'] = parent unless parent.nil?
command.query['viewId'] = view_id unless view_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a view from a bucket.
# @param [String] name
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_billing_account_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
command.response_class = Google::Apis::LoggingV2::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists views on a bucket..
# @param [String] parent
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
# @param [Fixnum] page_size
# Optional. The maximum number of results to return from this request. Non-
# positive values are ignored. The presence of nextPageToken in the response
# indicates that more results might be available.
# @param [String] page_token
# Optional. If present, then retrieve the next batch of results from the
# preceding call to this method. pageToken must be the value of nextPageToken
# from the previous response. The values of other method parameters should be
# identical to those in the previous call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::ListViewsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_billing_account_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/views', options)
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates a view. This method replaces the following fields in the existing view
# with values from the new view: filter.
# @param [String] name
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] update_mask
# Optional. Field mask that specifies the fields in view that need an update. A
# field will be overwritten if, and only if, it is in the update mask. name and
# output only fields cannot be updated.For a detailed FieldMask definition, see
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
# google.protobuf.FieldMaskExample: updateMask=filter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_billing_account_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
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
# Deletes all the log entries in a log. The log reappears if it receives new
# entries. Log entries written shortly before the delete operation might not be
# deleted. Entries received after the delete operation with a timestamp before
@ -1557,6 +1747,196 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
# views.
# @param [String] parent
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
# project/locations/my-location/buckets/my-bucket"
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] view_id
# Required. The id to use for this view.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_folder_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/views', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
command.params['parent'] = parent unless parent.nil?
command.query['viewId'] = view_id unless view_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a view from a bucket.
# @param [String] name
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_folder_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
command.response_class = Google::Apis::LoggingV2::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets a view.
# @param [String] name
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_folder_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
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 views on a bucket..
# @param [String] parent
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
# @param [Fixnum] page_size
# Optional. The maximum number of results to return from this request. Non-
# positive values are ignored. The presence of nextPageToken in the response
# indicates that more results might be available.
# @param [String] page_token
# Optional. If present, then retrieve the next batch of results from the
# preceding call to this method. pageToken must be the value of nextPageToken
# from the previous response. The values of other method parameters should be
# identical to those in the previous call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::ListViewsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_folder_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/views', options)
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates a view. This method replaces the following fields in the existing view
# with values from the new view: filter.
# @param [String] name
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] update_mask
# Optional. Field mask that specifies the fields in view that need an update. A
# field will be overwritten if, and only if, it is in the update mask. name and
# output only fields cannot be updated.For a detailed FieldMask definition, see
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
# google.protobuf.FieldMaskExample: updateMask=filter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_folder_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
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
# Deletes all the log entries in a log. The log reappears if it receives new
# entries. Log entries written shortly before the delete operation might not be
# deleted. Entries received after the delete operation with a timestamp before
@ -2167,6 +2547,196 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
# views.
# @param [String] parent
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
# project/locations/my-location/buckets/my-bucket"
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] view_id
# Required. The id to use for this view.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/views', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
command.params['parent'] = parent unless parent.nil?
command.query['viewId'] = view_id unless view_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a view from a bucket.
# @param [String] name
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
command.response_class = Google::Apis::LoggingV2::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets a view.
# @param [String] name
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
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 views on a bucket..
# @param [String] parent
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
# @param [Fixnum] page_size
# Optional. The maximum number of results to return from this request. Non-
# positive values are ignored. The presence of nextPageToken in the response
# indicates that more results might be available.
# @param [String] page_token
# Optional. If present, then retrieve the next batch of results from the
# preceding call to this method. pageToken must be the value of nextPageToken
# from the previous response. The values of other method parameters should be
# identical to those in the previous call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::ListViewsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/views', options)
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates a view. This method replaces the following fields in the existing view
# with values from the new view: filter.
# @param [String] name
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] update_mask
# Optional. Field mask that specifies the fields in view that need an update. A
# field will be overwritten if, and only if, it is in the update mask. name and
# output only fields cannot be updated.For a detailed FieldMask definition, see
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
# google.protobuf.FieldMaskExample: updateMask=filter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
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
# Deletes all the log entries in a log. The log reappears if it receives new
# entries. Log entries written shortly before the delete operation might not be
# deleted. Entries received after the delete operation with a timestamp before
@ -2820,6 +3390,196 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
# views.
# @param [String] parent
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
# project/locations/my-location/buckets/my-bucket"
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] view_id
# Required. The id to use for this view.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_organization_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/views', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
command.params['parent'] = parent unless parent.nil?
command.query['viewId'] = view_id unless view_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a view from a bucket.
# @param [String] name
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_organization_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
command.response_class = Google::Apis::LoggingV2::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets a view.
# @param [String] name
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_organization_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
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 views on a bucket..
# @param [String] parent
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
# @param [Fixnum] page_size
# Optional. The maximum number of results to return from this request. Non-
# positive values are ignored. The presence of nextPageToken in the response
# indicates that more results might be available.
# @param [String] page_token
# Optional. If present, then retrieve the next batch of results from the
# preceding call to this method. pageToken must be the value of nextPageToken
# from the previous response. The values of other method parameters should be
# identical to those in the previous call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::ListViewsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_organization_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/views', options)
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates a view. This method replaces the following fields in the existing view
# with values from the new view: filter.
# @param [String] name
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] update_mask
# Optional. Field mask that specifies the fields in view that need an update. A
# field will be overwritten if, and only if, it is in the update mask. name and
# output only fields cannot be updated.For a detailed FieldMask definition, see
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
# google.protobuf.FieldMaskExample: updateMask=filter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_organization_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
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
# Deletes all the log entries in a log. The log reappears if it receives new
# entries. Log entries written shortly before the delete operation might not be
# deleted. Entries received after the delete operation with a timestamp before
@ -3624,6 +4384,196 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
# views.
# @param [String] parent
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
# project/locations/my-location/buckets/my-bucket"
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] view_id
# Required. The id to use for this view.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/views', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
command.params['parent'] = parent unless parent.nil?
command.query['viewId'] = view_id unless view_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a view from a bucket.
# @param [String] name
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
command.response_class = Google::Apis::LoggingV2::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets a view.
# @param [String] name
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
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 views on a bucket..
# @param [String] parent
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
# @param [Fixnum] page_size
# Optional. The maximum number of results to return from this request. Non-
# positive values are ignored. The presence of nextPageToken in the response
# indicates that more results might be available.
# @param [String] page_token
# Optional. If present, then retrieve the next batch of results from the
# preceding call to this method. pageToken must be the value of nextPageToken
# from the previous response. The values of other method parameters should be
# identical to those in the previous call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::ListViewsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/views', options)
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates a view. This method replaces the following fields in the existing view
# with values from the new view: filter.
# @param [String] name
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
# view-id".
# @param [Google::Apis::LoggingV2::LogView] log_view_object
# @param [String] update_mask
# Optional. Field mask that specifies the fields in view that need an update. A
# field will be overwritten if, and only if, it is in the update mask. name and
# output only fields cannot be updated.For a detailed FieldMask definition, see
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
# google.protobuf.FieldMaskExample: updateMask=filter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::LoggingV2::LogView]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_project_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2/{+name}', options)
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
command.request_object = log_view_object
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
command.response_class = Google::Apis::LoggingV2::LogView
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
# Deletes all the log entries in a log. The log reappears if it receives new
# entries. Log entries written shortly before the delete operation might not be
# deleted. Entries received after the delete operation with a timestamp before

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/people/
module PeopleV1
VERSION = 'V1'
REVISION = '20200813'
REVISION = '20200923'
# See, edit, download, and permanently delete your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

View File

@ -574,12 +574,14 @@ module Google
# Each path should start with `person.`: for example, `person.names` or `person.
# photos`.
# @param [Array<String>, String] resource_names
# Required. The resource names of the people to provide information about. - To
# get information about the authenticated user, specify `people/me`. - To get
# information about a google account, specify `people/`account_id``. - To get
# information about a contact, specify the resource name that identifies the
# contact as returned by [`people.connections.list`](/people/api/rest/v1/people.
# connections/list). You can include up to 50 resource names in one request.
# Required. The resource names of the people to provide information about. It's
# repeatable. The URL query parameter should be resourceNames=<name1>&
# resourceNames=<name2>&... - To get information about the authenticated user,
# specify `people/me`. - To get information about a google account, specify `
# people/`account_id``. - To get information about a contact, specify the
# resource name that identifies the contact as returned by [`people.connections.
# list`](/people/api/rest/v1/people.connections/list). You can include up to 50
# resource names in one request.
# @param [Array<String>, String] sources
# Optional. A mask of what source types to return. Defaults to ReadSourceType.
# CONTACT and ReadSourceType.PROFILE if not set.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/
module RunV1
VERSION = 'V1'
REVISION = '20200907'
REVISION = '20200918'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1528,84 +1528,6 @@ module Google
end
end
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Namespace
# provides a scope for Names. Use of multiple namespaces is optional.
class Namespace
include Google::Apis::Core::Hashable
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
# resources must have, which includes all objects users must create.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1::ObjectMeta]
attr_accessor :metadata
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
# NamespaceSpec describes the attributes on a Namespace.
# Corresponds to the JSON property `spec`
# @return [Google::Apis::RunV1::NamespaceSpec]
attr_accessor :spec
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
# NamespaceStatus is information about the current status of a Namespace.
# Corresponds to the JSON property `status`
# @return [Google::Apis::RunV1::NamespaceStatus]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@metadata = args[:metadata] if args.key?(:metadata)
@spec = args[:spec] if args.key?(:spec)
@status = args[:status] if args.key?(:status)
end
end
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
# NamespaceSpec describes the attributes on a Namespace.
class NamespaceSpec
include Google::Apis::Core::Hashable
# Finalizers is an opaque list of values that must be empty to permanently
# remove object from storage. More info: https://kubernetes.io/docs/tasks/
# administer-cluster/namespaces/
# Corresponds to the JSON property `finalizers`
# @return [Array<String>]
attr_accessor :finalizers
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@finalizers = args[:finalizers] if args.key?(:finalizers)
end
end
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
# NamespaceStatus is information about the current status of a Namespace.
class NamespaceStatus
include Google::Apis::Core::Hashable
# Phase is the current lifecycle phase of the namespace. More info: https://
# kubernetes.io/docs/tasks/administer-cluster/namespaces/
# Corresponds to the JSON property `phase`
# @return [String]
attr_accessor :phase
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@phase = args[:phase] if args.key?(:phase)
end
end
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
# resources must have, which includes all objects users must create.
class ObjectMeta
@ -2401,52 +2323,6 @@ module Google
end
end
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Secret
# holds secret data of a certain type. The total bytes of the values in the Data
# field must be less than MaxSecretSize bytes.
class Secret
include Google::Apis::Core::Hashable
# Data contains the secret data. Each key must consist of alphanumeric
# characters, '-', '_' or '.'. The serialized form of the secret data is a
# base64 encoded string, representing the arbitrary (possibly non-string) data
# value here. Described in https://tools.ietf.org/html/rfc4648#section-4
# Corresponds to the JSON property `data`
# @return [Hash<String,String>]
attr_accessor :data
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
# resources must have, which includes all objects users must create.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1::ObjectMeta]
attr_accessor :metadata
# stringData allows specifying non-binary secret data in string form. It is
# provided as a write-only convenience method. All keys and values are merged
# into the data field on write, overwriting any existing values. It is never
# output when reading from the API. +k8s:conversion-gen=false
# Corresponds to the JSON property `stringData`
# @return [Hash<String,String>]
attr_accessor :string_data
# Used to facilitate programmatic handling of secret data.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@data = args[:data] if args.key?(:data)
@metadata = args[:metadata] if args.key?(:metadata)
@string_data = args[:string_data] if args.key?(:string_data)
@type = args[:type] if args.key?(:type)
end
end
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
# SecretEnvSource selects a Secret to populate the environment variables with.
# The contents of the target Secret's Data field will represent the key-value

View File

@ -232,24 +232,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Namespace
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NamespaceSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NamespaceStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ObjectMeta
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -328,12 +310,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Secret
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SecretEnvSource
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -816,32 +792,6 @@ module Google
end
end
class Namespace
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1::NamespaceSpec, decorator: Google::Apis::RunV1::NamespaceSpec::Representation
property :status, as: 'status', class: Google::Apis::RunV1::NamespaceStatus, decorator: Google::Apis::RunV1::NamespaceStatus::Representation
end
end
class NamespaceSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :finalizers, as: 'finalizers'
end
end
class NamespaceStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :phase, as: 'phase'
end
end
class ObjectMeta
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1007,17 +957,6 @@ module Google
end
end
class Secret
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :data, as: 'data'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
hash :string_data, as: 'stringData'
property :type, as: 'type'
end
end
class SecretEnvSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -48,177 +48,6 @@ module Google
@batch_path = 'batch'
end
# Rpc to get information about a namespace.
# @param [String] name
# Required. The name of the namespace being retrieved. If needed, replace `
# namespace_id` with the project ID.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Namespace] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Namespace]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_api_v1_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'api/v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::Namespace::Representation
command.response_class = Google::Apis::RunV1::Namespace
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
# Rpc to update a namespace.
# @param [String] name
# Required. The name of the namespace being retrieved. If needed, replace `
# namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Namespace] namespace_object
# @param [String] update_mask
# Required. Indicates which fields in the provided namespace to update. This
# field is currently unused.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Namespace] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Namespace]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_api_v1_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'api/v1/{+name}', options)
command.request_representation = Google::Apis::RunV1::Namespace::Representation
command.request_object = namespace_object
command.response_representation = Google::Apis::RunV1::Namespace::Representation
command.response_class = Google::Apis::RunV1::Namespace
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 new secret.
# @param [String] parent
# Required. The project ID or project number in which this secret should be
# created.
# @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_api_v1_namespace_secret(parent, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'api/v1/{+parent}/secrets', options)
command.request_representation = Google::Apis::RunV1::Secret::Representation
command.request_object = secret_object
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
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
# Rpc to get information about a secret.
# @param [String] name
# Required. The name of the secret being retrieved. If needed, replace `
# namespace_id` with the project ID.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_api_v1_namespace_secret(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'api/v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
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
# Rpc to replace a secret. Only the spec and metadata labels and annotations are
# modifiable. After the Update request, Cloud Run will work to make the 'status'
# match the requested 'spec'. May provide metadata.resourceVersion to enforce
# update from last read for optimistic concurrency control.
# @param [String] name
# Required. The name of the secret being retrieved. If needed, replace `
# namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def replace_api_v1_namespace_secret_secret(name, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'api/v1/{+name}', options)
command.request_representation = Google::Apis::RunV1::Secret::Representation
command.request_object = secret_object
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# List authorized domains.
# @param [String] parent
# Name of the parent Project resource. Example: `projects/myproject`.
@ -1290,75 +1119,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Rpc to get information about a namespace.
# @param [String] name
# Required. The name of the namespace being retrieved. If needed, replace `
# namespace_id` with the project ID.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Namespace] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Namespace]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::Namespace::Representation
command.response_class = Google::Apis::RunV1::Namespace
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
# Rpc to update a namespace.
# @param [String] name
# Required. The name of the namespace being retrieved. If needed, replace `
# namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Namespace] namespace_object
# @param [String] update_mask
# Required. Indicates which fields in the provided namespace to update. This
# field is currently unused.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Namespace] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Namespace]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_project_location_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::RunV1::Namespace::Representation
command.request_object = namespace_object
command.response_representation = Google::Apis::RunV1::Namespace::Representation
command.response_class = Google::Apis::RunV1::Namespace
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
# Delete a revision.
# @param [String] name
# The name of the revision to delete. For Cloud Run (fully managed), replace `
@ -1577,108 +1337,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a new secret.
# @param [String] parent
# Required. The project ID or project number in which this secret should be
# created.
# @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_secret(parent, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/secrets', options)
command.request_representation = Google::Apis::RunV1::Secret::Representation
command.request_object = secret_object
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
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
# Rpc to get information about a secret.
# @param [String] name
# Required. The name of the secret being retrieved. If needed, replace `
# namespace_id` with the project ID.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_secret(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
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
# Rpc to replace a secret. Only the spec and metadata labels and annotations are
# modifiable. After the Update request, Cloud Run will work to make the 'status'
# match the requested 'spec'. May provide metadata.resourceVersion to enforce
# update from last read for optimistic concurrency control.
# @param [String] name
# Required. The name of the secret being retrieved. If needed, replace `
# namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def replace_project_location_secret_secret(name, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}', options)
command.request_representation = Google::Apis::RunV1::Secret::Representation
command.request_object = secret_object
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Create a service.
# @param [String] parent
# The namespace in which the service should be created. For Cloud Run (fully

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/source-repositories/docs/apis
module SourcerepoV1
VERSION = 'V1'
REVISION = '20200729'
REVISION = '20200914'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,53 +22,21 @@ module Google
module Apis
module SourcerepoV1
# Specifies the audit configuration for a service.
# The configuration determines which permission types are logged, and what
# identities, if any, are exempted from logging.
# An AuditConfig must have one or more AuditLogConfigs.
# If there are AuditConfigs for both `allServices` and a specific service,
# the union of the two AuditConfigs is used for that service: the log_types
# specified in each AuditConfig are enabled, and the exempted_members in each
# AuditLogConfig are exempted.
# Example Policy with multiple AuditConfigs:
# `
# "audit_configs": [
# `
# "service": "allServices",
# "audit_log_configs": [
# `
# "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.
# Specifies the audit configuration for a service. The configuration determines
# which permission types are logged, and what identities, if any, are exempted
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
# are AuditConfigs for both `allServices` and a specific service, the union of
# the two AuditConfigs is used for that service: the log_types specified in each
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
# service": "allServices", "audit_log_configs": [ ` "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
include Google::Apis::Core::Hashable
@ -77,9 +45,9 @@ module Google
# @return [Array<Google::Apis::SourcerepoV1::AuditLogConfig>]
attr_accessor :audit_log_configs
# Specifies a service that will be enabled for audit logging.
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
# `allServices` is a special value that covers all services.
# Specifies a service that will be enabled for audit logging. For example, `
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
# value that covers all services.
# Corresponds to the JSON property `service`
# @return [String]
attr_accessor :service
@ -95,28 +63,15 @@ module Google
end
end
# Provides the configuration for logging a type of permissions.
# Example:
# `
# "audit_log_configs": [
# `
# "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.
# Provides the configuration for logging a type of permissions. Example: ` "
# audit_log_configs": [ ` "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
include Google::Apis::Core::Hashable
# Specifies the identities that do not cause logging for this type of
# permission.
# Specifies the identities that do not cause logging for this type of permission.
# Follows the same format of Binding.members.
# Corresponds to the JSON property `exemptedMembers`
# @return [Array<String>]
@ -142,69 +97,57 @@ module Google
class Binding
include Google::Apis::Core::Hashable
# Represents a textual expression in the Common Expression Language (CEL)
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
# are documented at https://github.com/google/cel-spec.
# Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# 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.
# Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
# "Summary size limit" description: "Determines if a summary is less than 100
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
# Requestor is owner" description: "Determines if requestor is the document
# owner" expression: "document.owner == request.auth.claims.email" Example (
# Logic): title: "Public documents" description: "Determine whether the document
# should be publicly visible" expression: "document.type != 'private' &&
# document.type != 'internal'" 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`
# @return [Google::Apis::SourcerepoV1::Expr]
attr_accessor :condition
# Specifies the identities requesting access for a Cloud Platform resource.
# `members` can have the following values:
# * `allUsers`: A special identifier that represents anyone who is
# on the internet; with or without a Google account.
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a user that has been recently deleted. For
# example, `alice@example.com?uid=123456789012345678901`. If the user is
# recovered, this value reverts to `user:`emailid`` and the recovered user
# retains the role in the binding.
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example,
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
# If the service account is undeleted, this value reverts to
# `serviceAccount:`emailid`` and the undeleted service account retains the
# role in the binding.
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently
# 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`.
# Specifies the identities requesting access for a Cloud Platform resource. `
# members` can have the following values: * `allUsers`: A special identifier
# that represents anyone who is on the internet; with or without a Google
# account. * `allAuthenticatedUsers`: A special identifier that represents
# anyone who is authenticated with a Google account or a service account. * `
# user:`emailid``: An email address that represents a specific Google account.
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
# address that represents a service account. For example, `my-other-app@appspot.
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
# `uniqueid``: An email address (plus unique identifier) representing a user
# that has been recently deleted. For example, `alice@example.com?uid=
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
# emailid`` and the recovered user retains the role in the binding. * `deleted:
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a service account that has been recently deleted. For
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
# If the service account is undeleted, this value reverts to `serviceAccount:`
# emailid`` and the undeleted service account retains the role in the binding. *
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently 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`
# @return [Array<String>]
attr_accessor :members
# Role that is assigned to `members`.
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
# , or `roles/owner`.
# Corresponds to the JSON property `role`
# @return [String]
attr_accessor :role
@ -221,13 +164,11 @@ module Google
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
@ -240,52 +181,43 @@ module Google
end
end
# Represents a textual expression in the Common Expression Language (CEL)
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
# are documented at https://github.com/google/cel-spec.
# Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# 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.
# Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
# "Summary size limit" description: "Determines if a summary is less than 100
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
# Requestor is owner" description: "Determines if requestor is the document
# owner" expression: "document.owner == request.auth.claims.email" Example (
# Logic): title: "Public documents" description: "Determine whether the document
# should be publicly visible" expression: "document.type != 'private' &&
# document.type != 'internal'" 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
include Google::Apis::Core::Hashable
# Optional. Description of the expression. This is a longer text which
# describes the expression, e.g. when hovered over it in a UI.
# Optional. Description of the expression. This is a longer text which describes
# the expression, e.g. when hovered over it in a UI.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Textual representation of an expression in Common Expression Language
# syntax.
# Textual representation of an expression in Common Expression Language syntax.
# Corresponds to the JSON property `expression`
# @return [String]
attr_accessor :expression
# Optional. String indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file.
# Optional. String indicating the location of the expression for error reporting,
# e.g. a file name and a position in the file.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# Optional. Title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the
# expression.
# Optional. Title for the expression, i.e. a short string describing its purpose.
# This can be used e.g. in UIs which allow to enter the expression.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
@ -303,13 +235,13 @@ module Google
end
end
# Response for ListRepos. The size is not set in the returned repositories.
# Response for ListRepos. The size is not set in the returned repositories.
class ListReposResponse
include Google::Apis::Core::Hashable
# If non-empty, additional repositories exist within the project. These
# can be retrieved by including this value in the next ListReposRequest's
# page_token field.
# If non-empty, additional repositories exist within the project. These can be
# retrieved by including this value in the next ListReposRequest's page_token
# field.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -330,14 +262,14 @@ module Google
end
end
# Configuration to automatically mirror a repository from another
# hosting service, for example GitHub or Bitbucket.
# Configuration to automatically mirror a repository from another hosting
# service, for example GitHub or Bitbucket.
class MirrorConfig
include Google::Apis::Core::Hashable
# ID of the SSH deploy key at the other hosting service.
# Removing this key from the other service would deauthorize
# Google Cloud Source Repositories from mirroring.
# ID of the SSH deploy key at the other hosting service. Removing this key from
# the other service would deauthorize Google Cloud Source Repositories from
# mirroring.
# Corresponds to the JSON property `deployKeyId`
# @return [String]
attr_accessor :deploy_key_id
@ -347,10 +279,9 @@ module Google
# @return [String]
attr_accessor :url
# ID of the webhook listening to updates to trigger mirroring.
# Removing this webhook from the other hosting service will stop
# Google Cloud Source Repositories from receiving notifications,
# and thereby disabling mirroring.
# ID of the webhook listening to updates to trigger mirroring. Removing this
# webhook from the other hosting service will stop Google Cloud Source
# Repositories from receiving notifications, and thereby disabling mirroring.
# Corresponds to the JSON property `webhookId`
# @return [String]
attr_accessor :webhook_id
@ -372,47 +303,45 @@ module Google
class Operation
include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
# If the value is `false`, it means the operation is still in progress. If `true`
# , the operation is completed, and either `error` or `response` is available.
# Corresponds to the JSON property `done`
# @return [Boolean]
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `error`
# @return [Google::Apis::SourcerepoV1::Status]
attr_accessor :error
# Service-specific metadata associated with the operation. It typically
# contains progress information and common metadata such as create time.
# Some services might not provide such metadata. Any method that returns a
# long-running operation should document the metadata type, if any.
# Service-specific metadata associated with the operation. It typically contains
# progress information and common metadata such as create time. Some services
# might not provide such metadata. Any method that returns a long-running
# operation should document the metadata type, if any.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,Object>]
attr_accessor :metadata
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/`unique_id``.
# originally returns it. If you use the default HTTP mapping, the `name` should
# be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The normal response of the operation in case of success. If the original
# method returns no data on success, such as `Delete`, the response is
# `google.protobuf.Empty`. If the original method is standard
# `Get`/`Create`/`Update`, the response should be the resource. For other
# methods, the response should have the type `XxxResponse`, where `Xxx`
# is the original method name. For example, if the original method name
# is `TakeSnapshot()`, the inferred response type is
# `TakeSnapshotResponse`.
# The normal response of the operation in case of success. If the original
# method returns no data on success, such as `Delete`, the response is `google.
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
# the response should be the resource. For other methods, the response should
# have the type `XxxResponse`, where `Xxx` is the original method name. For
# example, if the original method name is `TakeSnapshot()`, the inferred
# response type is `TakeSnapshotResponse`.
# Corresponds to the JSON property `response`
# @return [Hash<String,Object>]
attr_accessor :response
@ -432,66 +361,32 @@ module Google
end
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
# `
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "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/).
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
# A `binding` binds one or more `members` to a single `role`. Members can be
# user accounts, service accounts, Google groups, and domains (such as G Suite).
# A `role` is a named list of permissions; each `role` can be an IAM predefined
# role or a user-created custom role. For some types of Google Cloud resources,
# a `binding` can also specify a `condition`, which is a logical expression that
# allows access to a resource only if the expression evaluates to `true`. A
# condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
# appspot.gserviceaccount.com" ] `, ` "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
include Google::Apis::Core::Hashable
@ -500,48 +395,44 @@ module Google
# @return [Array<Google::Apis::SourcerepoV1::AuditConfig>]
attr_accessor :audit_configs
# Associates a list of `members` to a `role`. Optionally, may specify a
# `condition` that determines how and when the `bindings` are applied. Each
# of the `bindings` must contain at least one member.
# Associates a list of `members` to a `role`. Optionally, may specify a `
# condition` that determines how and when the `bindings` are applied. Each of
# the `bindings` must contain at least one member.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::SourcerepoV1::Binding>]
attr_accessor :bindings
# `etag` is used for optimistic concurrency control as a way to help
# prevent simultaneous updates of a policy from overwriting each other.
# It is strongly suggested that systems make use of the `etag` in the
# read-modify-write cycle to perform policy updates in order to avoid race
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
# you to overwrite a version `3` policy with a version `1` policy, and all of
# the conditions in the version `3` policy are lost.
# `etag` is used for optimistic concurrency control as a way to help prevent
# simultaneous updates of a policy from overwriting each other. It is strongly
# suggested that systems make use of the `etag` in the read-modify-write cycle
# to perform policy updates in order to avoid race conditions: An `etag` is
# returned in the response to `getIamPolicy`, and systems are expected to put
# that etag in the request to `setIamPolicy` to ensure that their change will be
# applied to the same version of the policy. **Important:** If you use IAM
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
# If you omit this field, then IAM allows you to overwrite a version `3` policy
# with a version `1` policy, and all of the conditions in the version `3` policy
# are lost.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# Specifies the format of the policy.
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
# are rejected.
# Any operation that affects conditional role bindings must specify version
# `3`. This requirement applies to the following operations:
# * Getting a policy that includes a conditional role binding
# * Adding a conditional role binding to a policy
# * Changing a conditional role binding in a policy
# * Removing any role binding, with or without a condition, from a policy
# that includes conditions
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
# you to overwrite a version `3` policy with a version `1` policy, and all of
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# 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).
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
# Requests that specify an invalid value are rejected. Any operation that
# affects conditional role bindings must specify version `3`. This requirement
# applies to the following operations: * Getting a policy that includes a
# conditional role binding * Adding a conditional role binding to a policy *
# Changing a conditional role binding in a policy * Removing any role binding,
# with or without a condition, from a policy that includes conditions **
# Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
# to overwrite a version `3` policy with a version `1` policy, and all of the
# conditions in the version `3` policy are lost. If a policy does not include
# any conditions, operations on that policy may 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`
# @return [Fixnum]
attr_accessor :version
@ -569,13 +460,13 @@ module Google
attr_accessor :enable_private_key_check
alias_method :enable_private_key_check?, :enable_private_key_check
# The name of the project. Values are of the form `projects/<project>`.
# The name of the project. Values are of the form `projects/`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# How this project publishes a change in the repositories through Cloud
# Pub/Sub. Keyed by the topic names.
# How this project publishes a change in the repositories through Cloud Pub/Sub.
# Keyed by the topic names.
# Corresponds to the JSON property `pubsubConfigs`
# @return [Hash<String,Google::Apis::SourcerepoV1::PubsubConfig>]
attr_accessor :pubsub_configs
@ -603,16 +494,15 @@ module Google
# Email address of the service account used for publishing Cloud Pub/Sub
# messages. This service account needs to be in the same project as the
# PubsubConfig. When added, the caller needs to have
# iam.serviceAccounts.actAs permission on this service account. If
# unspecified, it defaults to the compute engine default service account.
# PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs
# permission on this service account. If unspecified, it defaults to the compute
# engine default service account.
# Corresponds to the JSON property `serviceAccountEmail`
# @return [String]
attr_accessor :service_account_email
# A topic of Cloud Pub/Sub. Values are of the form
# `projects/<project>/topics/<topic>`. The project needs to be the same
# project as this config is in.
# A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The
# project needs to be the same project as this config is in.
# Corresponds to the JSON property `topic`
# @return [String]
attr_accessor :topic
@ -633,33 +523,32 @@ module Google
class Repo
include Google::Apis::Core::Hashable
# Configuration to automatically mirror a repository from another
# hosting service, for example GitHub or Bitbucket.
# Configuration to automatically mirror a repository from another hosting
# service, for example GitHub or Bitbucket.
# Corresponds to the JSON property `mirrorConfig`
# @return [Google::Apis::SourcerepoV1::MirrorConfig]
attr_accessor :mirror_config
# Resource name of the repository, of the form
# `projects/<project>/repos/<repo>`. The repo name may contain slashes.
# eg, `projects/myproject/repos/name/with/slash`
# Resource name of the repository, of the form `projects//repos/`. The repo name
# may contain slashes. eg, `projects/myproject/repos/name/with/slash`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# How this repository publishes a change in the repository through Cloud
# Pub/Sub. Keyed by the topic names.
# How this repository publishes a change in the repository through Cloud Pub/Sub.
# Keyed by the topic names.
# Corresponds to the JSON property `pubsubConfigs`
# @return [Hash<String,Google::Apis::SourcerepoV1::PubsubConfig>]
attr_accessor :pubsub_configs
# The disk usage of the repo, in bytes. Read-only field. Size is only
# returned by GetRepo.
# The disk usage of the repo, in bytes. Read-only field. Size is only returned
# by GetRepo.
# Corresponds to the JSON property `size`
# @return [Fixnum]
attr_accessor :size
# URL to clone the repository from Google Cloud Source Repositories.
# Read-only field.
# URL to clone the repository from Google Cloud Source Repositories. Read-only
# field.
# Corresponds to the JSON property `url`
# @return [String]
attr_accessor :url
@ -683,74 +572,39 @@ module Google
include Google::Apis::Core::Hashable
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
# `
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "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/).
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
# A `binding` binds one or more `members` to a single `role`. Members can be
# user accounts, service accounts, Google groups, and domains (such as G Suite).
# A `role` is a named list of permissions; each `role` can be an IAM predefined
# role or a user-created custom role. For some types of Google Cloud resources,
# a `binding` can also specify a `condition`, which is a logical expression that
# allows access to a resource only if the expression evaluates to `true`. A
# condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
# appspot.gserviceaccount.com" ] `, ` "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`
# @return [Google::Apis::SourcerepoV1::Policy]
attr_accessor :policy
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
# the fields in the mask will be modified. If no mask is provided, the
# following default mask is used:
# `paths: "bindings, etag"`
# the fields in the mask will be modified. If no mask is provided, the following
# default mask is used: `paths: "bindings, etag"`
# Corresponds to the JSON property `updateMask`
# @return [String]
attr_accessor :update_mask
@ -766,12 +620,12 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
class Status
include Google::Apis::Core::Hashable
@ -780,15 +634,15 @@ module Google
# @return [Fixnum]
attr_accessor :code
# A list of messages that carry the error details. There is a common set of
# A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details
# A developer-facing error message, which should be in English. Any
# user-facing error message should be localized and sent in the
# google.rpc.Status.details field, or localized by the client.
# A developer-facing error message, which should be in English. Any user-facing
# error message should be localized and sent in the google.rpc.Status.details
# field, or localized by the client.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
@ -805,13 +659,12 @@ module Google
end
end
# Metadata of SyncRepo.
# This message is in the metadata field of Operation.
# Metadata of SyncRepo. This message is in the metadata field of Operation.
class SyncRepoMetadata
include Google::Apis::Core::Hashable
# The name of the repo being synchronized. Values are of the form
# `projects/<project>/repos/<repo>`.
# The name of the repo being synchronized. Values are of the form `projects//
# repos/`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -861,10 +714,9 @@ module Google
class TestIamPermissionsRequest
include Google::Apis::Core::Hashable
# The set of permissions to check for the `resource`. Permissions with
# wildcards (such as '*' or 'storage.*') are not allowed. For more
# information see
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
# The set of permissions to check for the `resource`. Permissions with wildcards
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
@ -883,8 +735,7 @@ module Google
class TestIamPermissionsResponse
include Google::Apis::Core::Hashable
# A subset of `TestPermissionsRequest.permissions` that the caller is
# allowed.
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
@ -908,9 +759,9 @@ module Google
# @return [Google::Apis::SourcerepoV1::ProjectConfig]
attr_accessor :project_config
# A FieldMask specifying which fields of the project_config to modify. Only
# the fields in the mask will be modified. If no mask is provided, this
# request is no-op.
# A FieldMask specifying which fields of the project_config to modify. Only the
# fields in the mask will be modified. If no mask is provided, this request is
# no-op.
# Corresponds to the JSON property `updateMask`
# @return [String]
attr_accessor :update_mask
@ -935,9 +786,8 @@ module Google
# @return [Google::Apis::SourcerepoV1::Repo]
attr_accessor :repo
# A FieldMask specifying which fields of the repo to modify. Only the fields
# in the mask will be modified. If no mask is provided, this request is
# no-op.
# A FieldMask specifying which fields of the repo to modify. Only the fields in
# the mask will be modified. If no mask is provided, this request is no-op.
# Corresponds to the JSON property `updateMask`
# @return [String]
attr_accessor :update_mask

View File

@ -49,8 +49,7 @@ module Google
# Returns the Cloud Source Repositories configuration of the project.
# @param [String] name
# The name of the requested project. Values are of the form
# `projects/<project>`.
# The name of the requested project. Values are of the form `projects/`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -80,8 +79,7 @@ module Google
# Updates the Cloud Source Repositories configuration of the project.
# @param [String] name
# The name of the requested project. Values are of the form
# `projects/<project>`.
# The name of the requested project. Values are of the form `projects/`.
# @param [Google::Apis::SourcerepoV1::UpdateProjectConfigRequest] update_project_config_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -112,12 +110,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a repo in the given project with the given name.
# If the named repository already exists, `CreateRepo` returns
# `ALREADY_EXISTS`.
# Creates a repo in the given project with the given name. If the named
# repository already exists, `CreateRepo` returns `ALREADY_EXISTS`.
# @param [String] parent
# The project in which to create the repo. Values are of the form
# `projects/<project>`.
# The project in which to create the repo. Values are of the form `projects/`.
# @param [Google::Apis::SourcerepoV1::Repo] repo_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -150,8 +146,7 @@ module Google
# Deletes a repo.
# @param [String] name
# The name of the repo to delete. Values are of the form
# `projects/<project>/repos/<repo>`.
# The name of the repo to delete. Values are of the form `projects//repos/`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -181,8 +176,8 @@ module Google
# Returns information about a repo.
# @param [String] name
# The name of the requested repository. Values are of the form
# `projects/<project>/repos/<repo>`.
# The name of the requested repository. Values are of the form `projects//repos/`
# .
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -210,22 +205,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource.
# Returns an empty policy if the resource exists and does not have a policy
# set.
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value 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).
# Optional. The policy format version to be returned. Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected. Requests for
# policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value 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).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -254,18 +246,18 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns all repos belonging to a project. The sizes of the repos are
# not set by ListRepos. To get the size of a repo, use GetRepo.
# Returns all repos belonging to a project. The sizes of the repos are not set
# by ListRepos. To get the size of a repo, use GetRepo.
# @param [String] name
# The project ID whose repos should be listed. Values are of the form
# `projects/<project>`.
# The project ID whose repos should be listed. Values are of the form `projects/`
# .
# @param [Fixnum] page_size
# Maximum number of repositories to return; between 1 and 500.
# If not set or zero, defaults to 100 at the server.
# Maximum number of repositories to return; between 1 and 500. If not set or
# zero, defaults to 100 at the server.
# @param [String] page_token
# Resume listing repositories where a prior ListReposResponse
# left off. This is an opaque token that must be obtained from
# a recent, prior ListReposResponse's next_page_token field.
# Resume listing repositories where a prior ListReposResponse left off. This is
# an opaque token that must be obtained from a recent, prior ListReposResponse's
# next_page_token field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -297,8 +289,8 @@ module Google
# Updates information about a repo.
# @param [String] name
# The name of the requested repository. Values are of the form
# `projects/<project>/repos/<repo>`.
# The name of the requested repository. Values are of the form `projects//repos/`
# .
# @param [Google::Apis::SourcerepoV1::UpdateRepoRequest] update_repo_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -332,8 +324,8 @@ module Google
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -364,11 +356,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Synchronize a connected repo.
# The response contains SyncRepoMetadata in the metadata field.
# Synchronize a connected repo. The response contains SyncRepoMetadata in the
# metadata field.
# @param [String] name
# The name of the repo to synchronize. Values are of the form
# `projects/<project>/repos/<repo>`.
# The name of the repo to synchronize. Values are of the form `projects//repos/`.
# @param [Google::Apis::SourcerepoV1::SyncRepoRequest] sync_repo_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -399,12 +390,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a NOT_FOUND error.
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a
# NOT_FOUND error.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-sql/
module SqladminV1beta4
VERSION = 'V1beta4'
REVISION = '20200903'
REVISION = '20200919'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -488,11 +488,11 @@ module Google
attr_accessor :current_disk_size
# The database engine type and version. The *databaseVersion* field cannot be
# changed after instance creation. MySQL instances: *MYSQL_5_7* (default), or *
# MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11*
# or *POSTGRES_12* (default). SQL Server instances: *SQLSERVER_2017_STANDARD* (
# default), *SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *
# SQLSERVER_2017_WEB*.
# changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (
# default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
# *POSTGRES_11* or *POSTGRES_12* (default). SQL Server instances: *
# SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *
# SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.
# Corresponds to the JSON property `databaseVersion`
# @return [String]
attr_accessor :database_version
@ -855,6 +855,45 @@ module Google
end
end
# Deny Maintenance Periods. This specifies a date range during when all CSA
# rollout will be denied.
class DenyMaintenancePeriod
include Google::Apis::Core::Hashable
# "deny maintenance period" end date. If the year of the end date is empty, the
# year of the start date also must be empty. In this case, it means the deny
# maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
# 2020-11-01, or mm-dd, i.e., 11-01
# Corresponds to the JSON property `endDate`
# @return [String]
attr_accessor :end_date
# "deny maintenance period" start date. If the year of the start date is empty,
# the year of the end date also must be empty. In this case, it means the deny
# maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
# 2020-11-01, or mm-dd, i.e., 11-01
# Corresponds to the JSON property `startDate`
# @return [String]
attr_accessor :start_date
# Time in UTC when the "deny maintenance period" starts on start_date and ends
# on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
# Corresponds to the JSON property `time`
# @return [String]
attr_accessor :time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@end_date = args[:end_date] if args.key?(:end_date)
@start_date = args[:start_date] if args.key?(:start_date)
@time = args[:time] if args.key?(:time)
end
end
# Disk encryption configuration for an instance.
class DiskEncryptionConfiguration
include Google::Apis::Core::Hashable
@ -1087,8 +1126,8 @@ module Google
# @return [Array<String>]
attr_accessor :allowed_string_values
# The database version this flag applies to. Can be *MYSQL_5_5*, *MYSQL_5_6*, or
# *MYSQL_5_7*. *MYSQL_5_7* is applicable only to Second Generation instances.
# The database version this flag applies to. Can be *MYSQL_8_0*, *MYSQL_5_6*, or
# *MYSQL_5_7*.
# Corresponds to the JSON property `appliesTo`
# @return [Array<String>]
attr_accessor :applies_to
@ -1659,45 +1698,6 @@ module Google
end
end
# Maintenance Deny Periods. This specifies a date range during when all CSA
# rollout will be denied.
class MaintenanceDenyPeriod
include Google::Apis::Core::Hashable
# "maintenance deny period" end date. If the year of the end date is empty, the
# year of the start date also must be empty. In this case, it means the no
# maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e.,
# 2020-11-01, or mm-dd, i.e., 11-01
# Corresponds to the JSON property `endDate`
# @return [String]
attr_accessor :end_date
# "maintenance deny period" start date. If the year of the start date is empty,
# the year of the end date also must be empty. In this case, it means the no
# maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e.,
# 2020-11-01, or mm-dd, i.e., 11-01
# Corresponds to the JSON property `startDate`
# @return [String]
attr_accessor :start_date
# Time in UTC when the "no maintenance interval" starts on start_date and ends
# on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
# Corresponds to the JSON property `time`
# @return [String]
attr_accessor :time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@end_date = args[:end_date] if args.key?(:end_date)
@start_date = args[:start_date] if args.key?(:start_date)
@time = args[:time] if args.key?(:time)
end
end
# Maintenance window. This specifies when a Cloud SQL instance is restarted for
# system maintenance purposes.
class MaintenanceWindow
@ -2225,6 +2225,11 @@ module Google
# @return [String]
attr_accessor :activation_policy
# Active Directory configuration, for now relevant only for SQL Server
# Corresponds to the JSON property `activeDirectoryConfig`
# @return [Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig]
attr_accessor :active_directory_config
# The App Engine app IDs that can access this instance. (Deprecated) Applied to
# First Generation instances only.
# Corresponds to the JSON property `authorizedGaeApplications`
@ -2281,6 +2286,11 @@ module Google
attr_accessor :database_replication_enabled
alias_method :database_replication_enabled?, :database_replication_enabled
# Deny maintenance periods
# Corresponds to the JSON property `denyMaintenancePeriods`
# @return [Array<Google::Apis::SqladminV1beta4::DenyMaintenancePeriod>]
attr_accessor :deny_maintenance_periods
# IP Management configuration.
# Corresponds to the JSON property `ipConfiguration`
# @return [Google::Apis::SqladminV1beta4::IpConfiguration]
@ -2300,11 +2310,6 @@ module Google
# @return [Google::Apis::SqladminV1beta4::LocationPreference]
attr_accessor :location_preference
# Maintenance deny periods
# Corresponds to the JSON property `maintenanceDenyPeriods`
# @return [Array<Google::Apis::SqladminV1beta4::MaintenanceDenyPeriod>]
attr_accessor :maintenance_deny_periods
# Maintenance window. This specifies when a Cloud SQL instance is restarted for
# system maintenance purposes.
# Corresponds to the JSON property `maintenanceWindow`
@ -2364,6 +2369,7 @@ module Google
# Update properties of this object
def update!(**args)
@activation_policy = args[:activation_policy] if args.key?(:activation_policy)
@active_directory_config = args[:active_directory_config] if args.key?(:active_directory_config)
@authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
@availability_type = args[:availability_type] if args.key?(:availability_type)
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
@ -2373,10 +2379,10 @@ module Google
@data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
@database_flags = args[:database_flags] if args.key?(:database_flags)
@database_replication_enabled = args[:database_replication_enabled] if args.key?(:database_replication_enabled)
@deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
@kind = args[:kind] if args.key?(:kind)
@location_preference = args[:location_preference] if args.key?(:location_preference)
@maintenance_deny_periods = args[:maintenance_deny_periods] if args.key?(:maintenance_deny_periods)
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
@pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
@replication_type = args[:replication_type] if args.key?(:replication_type)
@ -2388,6 +2394,31 @@ module Google
end
end
# Active Directory configuration, for now relevant only for SQL Server
class SqlActiveDirectoryConfig
include Google::Apis::Core::Hashable
# Domain name
# Corresponds to the JSON property `domain`
# @return [String]
attr_accessor :domain
# This will be always sql#activeDirectoryConfig.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@domain = args[:domain] if args.key?(:domain)
@kind = args[:kind] if args.key?(:kind)
end
end
# External primary instance migration setting error.
class SqlExternalSyncSettingError
include Google::Apis::Core::Hashable

View File

@ -112,6 +112,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DenyMaintenancePeriod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DiskEncryptionConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -268,12 +274,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MaintenanceDenyPeriod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MaintenanceWindow
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -346,6 +346,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SqlActiveDirectoryConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SqlExternalSyncSettingError
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -652,6 +658,15 @@ module Google
end
end
class DenyMaintenancePeriod
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_date, as: 'endDate'
property :start_date, as: 'startDate'
property :time, as: 'time'
end
end
class DiskEncryptionConfiguration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -895,15 +910,6 @@ module Google
end
end
class MaintenanceDenyPeriod
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_date, as: 'endDate'
property :start_date, as: 'startDate'
property :time, as: 'time'
end
end
class MaintenanceWindow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1037,6 +1043,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :activation_policy, as: 'activationPolicy'
property :active_directory_config, as: 'activeDirectoryConfig', class: Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig, decorator: Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig::Representation
collection :authorized_gae_applications, as: 'authorizedGaeApplications'
property :availability_type, as: 'availabilityType'
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
@ -1048,13 +1056,13 @@ module Google
collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1beta4::DatabaseFlags, decorator: Google::Apis::SqladminV1beta4::DatabaseFlags::Representation
property :database_replication_enabled, as: 'databaseReplicationEnabled'
collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::SqladminV1beta4::DenyMaintenancePeriod, decorator: Google::Apis::SqladminV1beta4::DenyMaintenancePeriod::Representation
property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1beta4::IpConfiguration, decorator: Google::Apis::SqladminV1beta4::IpConfiguration::Representation
property :kind, as: 'kind'
property :location_preference, as: 'locationPreference', class: Google::Apis::SqladminV1beta4::LocationPreference, decorator: Google::Apis::SqladminV1beta4::LocationPreference::Representation
collection :maintenance_deny_periods, as: 'maintenanceDenyPeriods', class: Google::Apis::SqladminV1beta4::MaintenanceDenyPeriod, decorator: Google::Apis::SqladminV1beta4::MaintenanceDenyPeriod::Representation
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::SqladminV1beta4::MaintenanceWindow, decorator: Google::Apis::SqladminV1beta4::MaintenanceWindow::Representation
property :pricing_plan, as: 'pricingPlan'
@ -1067,6 +1075,14 @@ module Google
end
end
class SqlActiveDirectoryConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :domain, as: 'domain'
property :kind, as: 'kind'
end
end
class SqlExternalSyncSettingError
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/storage/docs/json_api/
module StorageV1
VERSION = 'V1'
REVISION = '20200814'
REVISION = '20200821'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1446,8 +1446,8 @@ module Google
# @return [String]
attr_accessor :kind
# Cloud KMS Key used to encrypt this object, if the object is encrypted by such
# a key.
# Not currently supported. Specifying the parameter causes the request to fail
# with status code 400 - Bad Request.
# Corresponds to the JSON property `kmsKeyName`
# @return [String]
attr_accessor :kms_key_name

View File

@ -1617,8 +1617,9 @@ module Google
# Makes the operation conditional on whether the object's current metageneration
# matches the given value.
# @param [String] kms_key_name
# Not currently supported. Specifying the parameter causes the request to fail
# with status code 400 - Bad Request.
# Resource name of the Cloud KMS key, of the form projects/my-project/locations/
# global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the
# object. Overrides the object metadata's kms_key_name value, if any.
# @param [String] provisional_user_project
# The project to be billed for this request if the target bucket is requester-
# pays bucket.

View File

@ -26,7 +26,7 @@ module Google
# @see http://cloud.google.com/iam/docs/workload-identity-federation
module StsV1beta
VERSION = 'V1beta'
REVISION = '20200908'
REVISION = '20200919'
end
end
end

View File

@ -150,7 +150,10 @@ module Google
include Google::Apis::Core::Hashable
# An OAuth 2.0 security token, issued by Google, in response to the token
# exchange request.
# exchange request. Tokens can vary in size (mainly depending on the size of
# mapped claims), currently up to the 12288 bytes (12 KB) size limit. Google
# reserves the right to change token size, including increasing these limits.
# Your application must support variable token sizes accordingly.
# Corresponds to the JSON property `access_token`
# @return [String]
attr_accessor :access_token

View File

@ -26,7 +26,7 @@ module Google
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20200918'
REVISION = '20200924'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'