diff --git a/api_names_out.yaml b/api_names_out.yaml
index 98c64397e..244ffe6ff 100644
--- a/api_names_out.yaml
+++ b/api_names_out.yaml
@@ -37,6 +37,85 @@
"/acceleratedmobilepageurl:v1/fields": fields
"/acceleratedmobilepageurl:v1/key": key
"/acceleratedmobilepageurl:v1/quotaUser": quota_user
+"/accessapproval:v1beta1/AccessApprovalSettings": access_approval_settings
+"/accessapproval:v1beta1/AccessApprovalSettings/name": name
+"/accessapproval:v1beta1/AccessApprovalSettings/notificationEmails": notification_emails
+"/accessapproval:v1beta1/AccessApprovalSettings/notificationEmails/notification_email": notification_email
+"/accessapproval:v1beta1/AccessLocations": access_locations
+"/accessapproval:v1beta1/AccessLocations/principalOfficeCountry": principal_office_country
+"/accessapproval:v1beta1/AccessLocations/principalPhysicalLocationCountry": principal_physical_location_country
+"/accessapproval:v1beta1/AccessReason": access_reason
+"/accessapproval:v1beta1/AccessReason/detail": detail
+"/accessapproval:v1beta1/AccessReason/type": type
+"/accessapproval:v1beta1/ApprovalRequest": approval_request
+"/accessapproval:v1beta1/ApprovalRequest/approve": approve
+"/accessapproval:v1beta1/ApprovalRequest/dismiss": dismiss
+"/accessapproval:v1beta1/ApprovalRequest/name": name
+"/accessapproval:v1beta1/ApprovalRequest/requestTime": request_time
+"/accessapproval:v1beta1/ApprovalRequest/requestedExpiration": requested_expiration
+"/accessapproval:v1beta1/ApprovalRequest/requestedLocations": requested_locations
+"/accessapproval:v1beta1/ApprovalRequest/requestedReason": requested_reason
+"/accessapproval:v1beta1/ApprovalRequest/requestedResourceName": requested_resource_name
+"/accessapproval:v1beta1/ApproveApprovalRequestMessage": approve_approval_request_message
+"/accessapproval:v1beta1/ApproveApprovalRequestMessage/expireTime": expire_time
+"/accessapproval:v1beta1/ApproveDecision": approve_decision
+"/accessapproval:v1beta1/ApproveDecision/approveTime": approve_time
+"/accessapproval:v1beta1/ApproveDecision/expireTime": expire_time
+"/accessapproval:v1beta1/DismissApprovalRequestMessage": dismiss_approval_request_message
+"/accessapproval:v1beta1/DismissDecision": dismiss_decision
+"/accessapproval:v1beta1/DismissDecision/dismissTime": dismiss_time
+"/accessapproval:v1beta1/ListApprovalRequestsResponse": list_approval_requests_response
+"/accessapproval:v1beta1/ListApprovalRequestsResponse/approvalRequests": approval_requests
+"/accessapproval:v1beta1/ListApprovalRequestsResponse/approvalRequests/approval_request": approval_request
+"/accessapproval:v1beta1/ListApprovalRequestsResponse/nextPageToken": next_page_token
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.approve": approve_folder_approval_request
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.approve/name": name
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.dismiss": dismiss_folder_approval_request
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.dismiss/name": name
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.get": get_folder_approval_request
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.get/name": name
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.list": list_folder_approval_requests
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.list/filter": filter
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.list/pageSize": page_size
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.list/pageToken": page_token
+"/accessapproval:v1beta1/accessapproval.folders.approvalRequests.list/parent": parent
+"/accessapproval:v1beta1/accessapproval.folders.getAccessApprovalSettings": get_folder_access_approval_settings
+"/accessapproval:v1beta1/accessapproval.folders.getAccessApprovalSettings/name": name
+"/accessapproval:v1beta1/accessapproval.folders.updateAccessApprovalSettings": update_folder_access_approval_settings
+"/accessapproval:v1beta1/accessapproval.folders.updateAccessApprovalSettings/name": name
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.approve": approve_organization_approval_request
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.approve/name": name
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.dismiss": dismiss_organization_approval_request
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.dismiss/name": name
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.get": get_organization_approval_request
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.get/name": name
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.list": list_organization_approval_requests
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.list/filter": filter
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.list/pageSize": page_size
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.list/pageToken": page_token
+"/accessapproval:v1beta1/accessapproval.organizations.approvalRequests.list/parent": parent
+"/accessapproval:v1beta1/accessapproval.organizations.getAccessApprovalSettings": get_organization_access_approval_settings
+"/accessapproval:v1beta1/accessapproval.organizations.getAccessApprovalSettings/name": name
+"/accessapproval:v1beta1/accessapproval.organizations.updateAccessApprovalSettings": update_organization_access_approval_settings
+"/accessapproval:v1beta1/accessapproval.organizations.updateAccessApprovalSettings/name": name
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.approve": approve_project_approval_request
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.approve/name": name
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.dismiss": dismiss_project_approval_request
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.dismiss/name": name
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.get": get_project_approval_request
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.get/name": name
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.list": list_project_approval_requests
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.list/filter": filter
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.list/pageSize": page_size
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.list/pageToken": page_token
+"/accessapproval:v1beta1/accessapproval.projects.approvalRequests.list/parent": parent
+"/accessapproval:v1beta1/accessapproval.projects.getAccessApprovalSettings": get_project_access_approval_settings
+"/accessapproval:v1beta1/accessapproval.projects.getAccessApprovalSettings/name": name
+"/accessapproval:v1beta1/accessapproval.projects.updateAccessApprovalSettings": update_project_access_approval_settings
+"/accessapproval:v1beta1/accessapproval.projects.updateAccessApprovalSettings/name": name
+"/accessapproval:v1beta1/fields": fields
+"/accessapproval:v1beta1/key": key
+"/accessapproval:v1beta1/quotaUser": quota_user
"/accesscontextmanager:v1/AccessLevel": access_level
"/accesscontextmanager:v1/AccessLevel/basic": basic
"/accesscontextmanager:v1/AccessLevel/createTime": create_time
@@ -4531,6 +4610,21 @@
"/alertcenter:v1beta1/AccountWarning": account_warning
"/alertcenter:v1beta1/AccountWarning/email": email
"/alertcenter:v1beta1/AccountWarning/loginDetails": login_details
+"/alertcenter:v1beta1/ActivityRule": activity_rule
+"/alertcenter:v1beta1/ActivityRule/actionNames": action_names
+"/alertcenter:v1beta1/ActivityRule/actionNames/action_name": action_name
+"/alertcenter:v1beta1/ActivityRule/createTime": create_time
+"/alertcenter:v1beta1/ActivityRule/description": description
+"/alertcenter:v1beta1/ActivityRule/displayName": display_name
+"/alertcenter:v1beta1/ActivityRule/name": name
+"/alertcenter:v1beta1/ActivityRule/query": query
+"/alertcenter:v1beta1/ActivityRule/supersededAlerts": superseded_alerts
+"/alertcenter:v1beta1/ActivityRule/supersededAlerts/superseded_alert": superseded_alert
+"/alertcenter:v1beta1/ActivityRule/supersedingAlert": superseding_alert
+"/alertcenter:v1beta1/ActivityRule/threshold": threshold
+"/alertcenter:v1beta1/ActivityRule/triggerSource": trigger_source
+"/alertcenter:v1beta1/ActivityRule/updateTime": update_time
+"/alertcenter:v1beta1/ActivityRule/windowSize": window_size
"/alertcenter:v1beta1/Alert": alert
"/alertcenter:v1beta1/Alert/alertId": alert_id
"/alertcenter:v1beta1/Alert/createTime": create_time
@@ -4543,6 +4637,7 @@
"/alertcenter:v1beta1/Alert/source": source
"/alertcenter:v1beta1/Alert/startTime": start_time
"/alertcenter:v1beta1/Alert/type": type
+"/alertcenter:v1beta1/Alert/updateTime": update_time
"/alertcenter:v1beta1/AlertFeedback": alert_feedback
"/alertcenter:v1beta1/AlertFeedback/alertId": alert_id
"/alertcenter:v1beta1/AlertFeedback/createTime": create_time
@@ -6237,6 +6332,8 @@
"/androiddeviceprovisioning:v1/DeviceClaim/ownerCompanyId": owner_company_id
"/androiddeviceprovisioning:v1/DeviceClaim/resellerId": reseller_id
"/androiddeviceprovisioning:v1/DeviceClaim/sectionType": section_type
+"/androiddeviceprovisioning:v1/DeviceClaim/vacationModeExpireTime": vacation_mode_expire_time
+"/androiddeviceprovisioning:v1/DeviceClaim/vacationModeStartTime": vacation_mode_start_time
"/androiddeviceprovisioning:v1/DeviceIdentifier": device_identifier
"/androiddeviceprovisioning:v1/DeviceIdentifier/imei": imei
"/androiddeviceprovisioning:v1/DeviceIdentifier/manufacturer": manufacturer
@@ -6319,6 +6416,8 @@
"/androiddeviceprovisioning:v1/PartnerUnclaim/deviceId": device_id
"/androiddeviceprovisioning:v1/PartnerUnclaim/deviceIdentifier": device_identifier
"/androiddeviceprovisioning:v1/PartnerUnclaim/sectionType": section_type
+"/androiddeviceprovisioning:v1/PartnerUnclaim/vacationModeDays": vacation_mode_days
+"/androiddeviceprovisioning:v1/PartnerUnclaim/vacationModeExpireTime": vacation_mode_expire_time
"/androiddeviceprovisioning:v1/PerDeviceStatusInBatch": per_device_status_in_batch
"/androiddeviceprovisioning:v1/PerDeviceStatusInBatch/deviceId": device_id
"/androiddeviceprovisioning:v1/PerDeviceStatusInBatch/errorIdentifier": error_identifier
@@ -6334,6 +6433,8 @@
"/androiddeviceprovisioning:v1/UnclaimDeviceRequest/deviceId": device_id
"/androiddeviceprovisioning:v1/UnclaimDeviceRequest/deviceIdentifier": device_identifier
"/androiddeviceprovisioning:v1/UnclaimDeviceRequest/sectionType": section_type
+"/androiddeviceprovisioning:v1/UnclaimDeviceRequest/vacationModeDays": vacation_mode_days
+"/androiddeviceprovisioning:v1/UnclaimDeviceRequest/vacationModeExpireTime": vacation_mode_expire_time
"/androiddeviceprovisioning:v1/UnclaimDevicesRequest": unclaim_devices_request
"/androiddeviceprovisioning:v1/UnclaimDevicesRequest/unclaims": unclaims
"/androiddeviceprovisioning:v1/UnclaimDevicesRequest/unclaims/unclaim": unclaim
@@ -7160,6 +7261,8 @@
"/androidmanagement:v1/ApplicationReport/events": events
"/androidmanagement:v1/ApplicationReport/events/event": event
"/androidmanagement:v1/ApplicationReport/installerPackageName": installer_package_name
+"/androidmanagement:v1/ApplicationReport/keyedAppStates": keyed_app_states
+"/androidmanagement:v1/ApplicationReport/keyedAppStates/keyed_app_state": keyed_app_state
"/androidmanagement:v1/ApplicationReport/packageName": package_name
"/androidmanagement:v1/ApplicationReport/packageSha256Hash": package_sha256_hash
"/androidmanagement:v1/ApplicationReport/signingKeyCertFingerprints": signing_key_cert_fingerprints
@@ -7167,6 +7270,8 @@
"/androidmanagement:v1/ApplicationReport/state": state
"/androidmanagement:v1/ApplicationReport/versionCode": version_code
"/androidmanagement:v1/ApplicationReport/versionName": version_name
+"/androidmanagement:v1/ApplicationReportingSettings": application_reporting_settings
+"/androidmanagement:v1/ApplicationReportingSettings/includeRemovedApps": include_removed_apps
"/androidmanagement:v1/ChoosePrivateKeyRule": choose_private_key_rule
"/androidmanagement:v1/ChoosePrivateKeyRule/packageNames": package_names
"/androidmanagement:v1/ChoosePrivateKeyRule/packageNames/package_name": package_name
@@ -7306,6 +7411,13 @@
"/androidmanagement:v1/HardwareStatus/gpuTemperatures/gpu_temperature": gpu_temperature
"/androidmanagement:v1/HardwareStatus/skinTemperatures": skin_temperatures
"/androidmanagement:v1/HardwareStatus/skinTemperatures/skin_temperature": skin_temperature
+"/androidmanagement:v1/KeyedAppState": keyed_app_state
+"/androidmanagement:v1/KeyedAppState/createTime": create_time
+"/androidmanagement:v1/KeyedAppState/data": data
+"/androidmanagement:v1/KeyedAppState/key": key
+"/androidmanagement:v1/KeyedAppState/lastUpdateTime": last_update_time
+"/androidmanagement:v1/KeyedAppState/message": message
+"/androidmanagement:v1/KeyedAppState/severity": severity
"/androidmanagement:v1/LaunchAppAction": launch_app_action
"/androidmanagement:v1/LaunchAppAction/packageName": package_name
"/androidmanagement:v1/ListDevicesResponse": list_devices_response
@@ -7320,6 +7432,10 @@
"/androidmanagement:v1/ListPoliciesResponse/nextPageToken": next_page_token
"/androidmanagement:v1/ListPoliciesResponse/policies": policies
"/androidmanagement:v1/ListPoliciesResponse/policies/policy": policy
+"/androidmanagement:v1/ListWebAppsResponse": list_web_apps_response
+"/androidmanagement:v1/ListWebAppsResponse/nextPageToken": next_page_token
+"/androidmanagement:v1/ListWebAppsResponse/webApps": web_apps
+"/androidmanagement:v1/ListWebAppsResponse/webApps/web_app": web_app
"/androidmanagement:v1/ManagedConfigurationTemplate": managed_configuration_template
"/androidmanagement:v1/ManagedConfigurationTemplate/configurationVariables": configuration_variables
"/androidmanagement:v1/ManagedConfigurationTemplate/configurationVariables/configuration_variable": configuration_variable
@@ -7521,6 +7637,7 @@
"/androidmanagement:v1/Status/details/detail/detail": detail
"/androidmanagement:v1/Status/message": message
"/androidmanagement:v1/StatusReportingSettings": status_reporting_settings
+"/androidmanagement:v1/StatusReportingSettings/applicationReportingSettings": application_reporting_settings
"/androidmanagement:v1/StatusReportingSettings/applicationReportsEnabled": application_reports_enabled
"/androidmanagement:v1/StatusReportingSettings/deviceSettingsEnabled": device_settings_enabled
"/androidmanagement:v1/StatusReportingSettings/displayInfoEnabled": display_info_enabled
@@ -7542,6 +7659,16 @@
"/androidmanagement:v1/UserFacingMessage/defaultMessage": default_message
"/androidmanagement:v1/UserFacingMessage/localizedMessages": localized_messages
"/androidmanagement:v1/UserFacingMessage/localizedMessages/localized_message": localized_message
+"/androidmanagement:v1/WebApp": web_app
+"/androidmanagement:v1/WebApp/displayMode": display_mode
+"/androidmanagement:v1/WebApp/icons": icons
+"/androidmanagement:v1/WebApp/icons/icon": icon
+"/androidmanagement:v1/WebApp/name": name
+"/androidmanagement:v1/WebApp/startUrl": start_url
+"/androidmanagement:v1/WebApp/title": title
+"/androidmanagement:v1/WebApp/versionCode": version_code
+"/androidmanagement:v1/WebAppIcon": web_app_icon
+"/androidmanagement:v1/WebAppIcon/imageData": image_data
"/androidmanagement:v1/WebToken": web_token
"/androidmanagement:v1/WebToken/name": name
"/androidmanagement:v1/WebToken/parentFrameUrl": parent_frame_url
@@ -7600,6 +7727,19 @@
"/androidmanagement:v1/androidmanagement.enterprises.policies.patch": patch_enterprise_policy
"/androidmanagement:v1/androidmanagement.enterprises.policies.patch/name": name
"/androidmanagement:v1/androidmanagement.enterprises.policies.patch/updateMask": update_mask
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.create": create_enterprise_web_app
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.create/parent": parent
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.delete": delete_enterprise_web_app
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.delete/name": name
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.get": get_enterprise_web_app
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.get/name": name
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.list": list_enterprise_web_apps
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.list/pageSize": page_size
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.list/pageToken": page_token
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.list/parent": parent
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.patch": patch_enterprise_web_app
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.patch/name": name
+"/androidmanagement:v1/androidmanagement.enterprises.webApps.patch/updateMask": update_mask
"/androidmanagement:v1/androidmanagement.enterprises.webTokens.create": create_enterprise_web_token
"/androidmanagement:v1/androidmanagement.enterprises.webTokens.create/parent": parent
"/androidmanagement:v1/androidmanagement.signupUrls.create": create_signup_url
@@ -12294,6 +12434,8 @@
"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.get": get_project_instance_table
"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.get/name": name
"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.get/view": view
+"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.getIamPolicy": get_table_iam_policy
+"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.getIamPolicy/resource": resource
"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.list": list_project_instance_tables
"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.list/pageSize": page_size
"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.list/pageToken": page_token
@@ -12301,6 +12443,10 @@
"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.list/view": view
"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.modifyColumnFamilies": modify_table_column_families
"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.modifyColumnFamilies/name": name
+"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.setIamPolicy": set_table_iam_policy
+"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.setIamPolicy/resource": resource
+"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.testIamPermissions": test_table_iam_permissions
+"/bigtableadmin:v2/bigtableadmin.projects.instances.tables.testIamPermissions/resource": resource
"/bigtableadmin:v2/bigtableadmin.projects.instances.testIamPermissions": test_instance_iam_permissions
"/bigtableadmin:v2/bigtableadmin.projects.instances.testIamPermissions/resource": resource
"/bigtableadmin:v2/bigtableadmin.projects.instances.update": update_project_instance
@@ -14809,6 +14955,7 @@
"/classroom:v1/CourseWork/state": state
"/classroom:v1/CourseWork/submissionModificationMode": submission_modification_mode
"/classroom:v1/CourseWork/title": title
+"/classroom:v1/CourseWork/topicId": topic_id
"/classroom:v1/CourseWork/updateTime": update_time
"/classroom:v1/CourseWork/workType": work_type
"/classroom:v1/CourseWorkChangesInfo": course_work_changes_info
@@ -15133,6 +15280,11 @@
"/classroom:v1/classroom.courses.teachers.list/courseId": course_id
"/classroom:v1/classroom.courses.teachers.list/pageSize": page_size
"/classroom:v1/classroom.courses.teachers.list/pageToken": page_token
+"/classroom:v1/classroom.courses.topics.create": create_course_topic
+"/classroom:v1/classroom.courses.topics.create/courseId": course_id
+"/classroom:v1/classroom.courses.topics.delete": delete_course_topic
+"/classroom:v1/classroom.courses.topics.delete/courseId": course_id
+"/classroom:v1/classroom.courses.topics.delete/id": id
"/classroom:v1/classroom.courses.topics.get": get_course_topic
"/classroom:v1/classroom.courses.topics.get/courseId": course_id
"/classroom:v1/classroom.courses.topics.get/id": id
@@ -15140,6 +15292,10 @@
"/classroom:v1/classroom.courses.topics.list/courseId": course_id
"/classroom:v1/classroom.courses.topics.list/pageSize": page_size
"/classroom:v1/classroom.courses.topics.list/pageToken": page_token
+"/classroom:v1/classroom.courses.topics.patch": patch_course_topic
+"/classroom:v1/classroom.courses.topics.patch/courseId": course_id
+"/classroom:v1/classroom.courses.topics.patch/id": id
+"/classroom:v1/classroom.courses.topics.patch/updateMask": update_mask
"/classroom:v1/classroom.courses.update": update_course
"/classroom:v1/classroom.courses.update/id": id
"/classroom:v1/classroom.invitations.accept": accept_invitation
@@ -15222,6 +15378,7 @@
"/cloudasset:v1/Expr/title": title
"/cloudasset:v1/GcsDestination": gcs_destination
"/cloudasset:v1/GcsDestination/uri": uri
+"/cloudasset:v1/GcsDestination/uriPrefix": uri_prefix
"/cloudasset:v1/Operation": operation
"/cloudasset:v1/Operation/done": done
"/cloudasset:v1/Operation/error": error
@@ -15306,6 +15463,7 @@
"/cloudasset:v1beta1/Expr/title": title
"/cloudasset:v1beta1/GcsDestination": gcs_destination
"/cloudasset:v1beta1/GcsDestination/uri": uri
+"/cloudasset:v1beta1/GcsDestination/uriPrefix": uri_prefix
"/cloudasset:v1beta1/Operation": operation
"/cloudasset:v1beta1/Operation/done": done
"/cloudasset:v1beta1/Operation/error": error
@@ -18312,6 +18470,110 @@
"/cloudresourcemanager:v2beta1/fields": fields
"/cloudresourcemanager:v2beta1/key": key
"/cloudresourcemanager:v2beta1/quotaUser": quota_user
+"/cloudscheduler:v1/AppEngineHttpTarget": app_engine_http_target
+"/cloudscheduler:v1/AppEngineHttpTarget/appEngineRouting": app_engine_routing
+"/cloudscheduler:v1/AppEngineHttpTarget/body": body
+"/cloudscheduler:v1/AppEngineHttpTarget/headers": headers
+"/cloudscheduler:v1/AppEngineHttpTarget/headers/header": header
+"/cloudscheduler:v1/AppEngineHttpTarget/httpMethod": http_method
+"/cloudscheduler:v1/AppEngineHttpTarget/relativeUri": relative_uri
+"/cloudscheduler:v1/AppEngineRouting": app_engine_routing
+"/cloudscheduler:v1/AppEngineRouting/host": host
+"/cloudscheduler:v1/AppEngineRouting/instance": instance
+"/cloudscheduler:v1/AppEngineRouting/service": service
+"/cloudscheduler:v1/AppEngineRouting/version": version
+"/cloudscheduler:v1/Empty": empty
+"/cloudscheduler:v1/HttpTarget": http_target
+"/cloudscheduler:v1/HttpTarget/body": body
+"/cloudscheduler:v1/HttpTarget/headers": headers
+"/cloudscheduler:v1/HttpTarget/headers/header": header
+"/cloudscheduler:v1/HttpTarget/httpMethod": http_method
+"/cloudscheduler:v1/HttpTarget/uri": uri
+"/cloudscheduler:v1/Job": job
+"/cloudscheduler:v1/Job/appEngineHttpTarget": app_engine_http_target
+"/cloudscheduler:v1/Job/description": description
+"/cloudscheduler:v1/Job/httpTarget": http_target
+"/cloudscheduler:v1/Job/lastAttemptTime": last_attempt_time
+"/cloudscheduler:v1/Job/name": name
+"/cloudscheduler:v1/Job/pubsubTarget": pubsub_target
+"/cloudscheduler:v1/Job/retryConfig": retry_config
+"/cloudscheduler:v1/Job/schedule": schedule
+"/cloudscheduler:v1/Job/scheduleTime": schedule_time
+"/cloudscheduler:v1/Job/state": state
+"/cloudscheduler:v1/Job/status": status
+"/cloudscheduler:v1/Job/timeZone": time_zone
+"/cloudscheduler:v1/Job/userUpdateTime": user_update_time
+"/cloudscheduler:v1/ListJobsResponse": list_jobs_response
+"/cloudscheduler:v1/ListJobsResponse/jobs": jobs
+"/cloudscheduler:v1/ListJobsResponse/jobs/job": job
+"/cloudscheduler:v1/ListJobsResponse/nextPageToken": next_page_token
+"/cloudscheduler:v1/ListLocationsResponse": list_locations_response
+"/cloudscheduler:v1/ListLocationsResponse/locations": locations
+"/cloudscheduler:v1/ListLocationsResponse/locations/location": location
+"/cloudscheduler:v1/ListLocationsResponse/nextPageToken": next_page_token
+"/cloudscheduler:v1/Location": location
+"/cloudscheduler:v1/Location/displayName": display_name
+"/cloudscheduler:v1/Location/labels": labels
+"/cloudscheduler:v1/Location/labels/label": label
+"/cloudscheduler:v1/Location/locationId": location_id
+"/cloudscheduler:v1/Location/metadata": metadata
+"/cloudscheduler:v1/Location/metadata/metadatum": metadatum
+"/cloudscheduler:v1/Location/name": name
+"/cloudscheduler:v1/PauseJobRequest": pause_job_request
+"/cloudscheduler:v1/PubsubMessage": pubsub_message
+"/cloudscheduler:v1/PubsubMessage/attributes": attributes
+"/cloudscheduler:v1/PubsubMessage/attributes/attribute": attribute
+"/cloudscheduler:v1/PubsubMessage/data": data
+"/cloudscheduler:v1/PubsubMessage/messageId": message_id
+"/cloudscheduler:v1/PubsubMessage/publishTime": publish_time
+"/cloudscheduler:v1/PubsubTarget": pubsub_target
+"/cloudscheduler:v1/PubsubTarget/attributes": attributes
+"/cloudscheduler:v1/PubsubTarget/attributes/attribute": attribute
+"/cloudscheduler:v1/PubsubTarget/data": data
+"/cloudscheduler:v1/PubsubTarget/topicName": topic_name
+"/cloudscheduler:v1/ResumeJobRequest": resume_job_request
+"/cloudscheduler:v1/RetryConfig": retry_config
+"/cloudscheduler:v1/RetryConfig/maxBackoffDuration": max_backoff_duration
+"/cloudscheduler:v1/RetryConfig/maxDoublings": max_doublings
+"/cloudscheduler:v1/RetryConfig/maxRetryDuration": max_retry_duration
+"/cloudscheduler:v1/RetryConfig/minBackoffDuration": min_backoff_duration
+"/cloudscheduler:v1/RetryConfig/retryCount": retry_count
+"/cloudscheduler:v1/RunJobRequest": run_job_request
+"/cloudscheduler:v1/Status": status
+"/cloudscheduler:v1/Status/code": code
+"/cloudscheduler:v1/Status/details": details
+"/cloudscheduler:v1/Status/details/detail": detail
+"/cloudscheduler:v1/Status/details/detail/detail": detail
+"/cloudscheduler:v1/Status/message": message
+"/cloudscheduler:v1/cloudscheduler.projects.locations.get": get_project_location
+"/cloudscheduler:v1/cloudscheduler.projects.locations.get/name": name
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.create": create_project_location_job
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.create/parent": parent
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.delete": delete_project_location_job
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.delete/name": name
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.get": get_project_location_job
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.get/name": name
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.list": list_project_location_jobs
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.list/pageSize": page_size
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.list/pageToken": page_token
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.list/parent": parent
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.patch": patch_project_location_job
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.patch/name": name
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.patch/updateMask": update_mask
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.pause": pause_job
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.pause/name": name
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.resume": resume_job
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.resume/name": name
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.run": run_job
+"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.run/name": name
+"/cloudscheduler:v1/cloudscheduler.projects.locations.list": list_project_locations
+"/cloudscheduler:v1/cloudscheduler.projects.locations.list/filter": filter
+"/cloudscheduler:v1/cloudscheduler.projects.locations.list/name": name
+"/cloudscheduler:v1/cloudscheduler.projects.locations.list/pageSize": page_size
+"/cloudscheduler:v1/cloudscheduler.projects.locations.list/pageToken": page_token
+"/cloudscheduler:v1/fields": fields
+"/cloudscheduler:v1/key": key
+"/cloudscheduler:v1/quotaUser": quota_user
"/cloudscheduler:v1beta1/AppEngineHttpTarget": app_engine_http_target
"/cloudscheduler:v1beta1/AppEngineHttpTarget/appEngineRouting": app_engine_routing
"/cloudscheduler:v1beta1/AppEngineHttpTarget/body": body
@@ -20831,6 +21093,71 @@
"/clouduseraccounts:vm_beta/key": key
"/clouduseraccounts:vm_beta/quotaUser": quota_user
"/clouduseraccounts:vm_beta/userIp": user_ip
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest": analyze_comment_request
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/clientToken": client_token
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/comment": comment
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/communityId": community_id
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/context": context
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/doNotStore": do_not_store
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/languages": languages
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/languages/language": language
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/requestedAttributes": requested_attributes
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/requestedAttributes/requested_attribute": requested_attribute
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/sessionId": session_id
+"/commentanalyzer:v1alpha1/AnalyzeCommentRequest/spanAnnotations": span_annotations
+"/commentanalyzer:v1alpha1/AnalyzeCommentResponse": analyze_comment_response
+"/commentanalyzer:v1alpha1/AnalyzeCommentResponse/attributeScores": attribute_scores
+"/commentanalyzer:v1alpha1/AnalyzeCommentResponse/attributeScores/attribute_score": attribute_score
+"/commentanalyzer:v1alpha1/AnalyzeCommentResponse/clientToken": client_token
+"/commentanalyzer:v1alpha1/AnalyzeCommentResponse/detectedLanguages": detected_languages
+"/commentanalyzer:v1alpha1/AnalyzeCommentResponse/detectedLanguages/detected_language": detected_language
+"/commentanalyzer:v1alpha1/AnalyzeCommentResponse/languages": languages
+"/commentanalyzer:v1alpha1/AnalyzeCommentResponse/languages/language": language
+"/commentanalyzer:v1alpha1/ArticleAndParentComment": article_and_parent_comment
+"/commentanalyzer:v1alpha1/ArticleAndParentComment/article": article
+"/commentanalyzer:v1alpha1/ArticleAndParentComment/parentComment": parent_comment
+"/commentanalyzer:v1alpha1/AttributeParameters": attribute_parameters
+"/commentanalyzer:v1alpha1/AttributeParameters/scoreThreshold": score_threshold
+"/commentanalyzer:v1alpha1/AttributeParameters/scoreType": score_type
+"/commentanalyzer:v1alpha1/AttributeScores": attribute_scores
+"/commentanalyzer:v1alpha1/AttributeScores/spanScores": span_scores
+"/commentanalyzer:v1alpha1/AttributeScores/spanScores/span_score": span_score
+"/commentanalyzer:v1alpha1/AttributeScores/summaryScore": summary_score
+"/commentanalyzer:v1alpha1/Context": context
+"/commentanalyzer:v1alpha1/Context/articleAndParentComment": article_and_parent_comment
+"/commentanalyzer:v1alpha1/Context/entries": entries
+"/commentanalyzer:v1alpha1/Context/entries/entry": entry
+"/commentanalyzer:v1alpha1/Score": score
+"/commentanalyzer:v1alpha1/Score/type": type
+"/commentanalyzer:v1alpha1/Score/value": value
+"/commentanalyzer:v1alpha1/SpanScore": span_score
+"/commentanalyzer:v1alpha1/SpanScore/begin": begin
+"/commentanalyzer:v1alpha1/SpanScore/end": end
+"/commentanalyzer:v1alpha1/SpanScore/score": score
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest": suggest_comment_score_request
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest/attributeScores": attribute_scores
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest/attributeScores/attribute_score": attribute_score
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest/clientToken": client_token
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest/comment": comment
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest/communityId": community_id
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest/context": context
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest/languages": languages
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest/languages/language": language
+"/commentanalyzer:v1alpha1/SuggestCommentScoreRequest/sessionId": session_id
+"/commentanalyzer:v1alpha1/SuggestCommentScoreResponse": suggest_comment_score_response
+"/commentanalyzer:v1alpha1/SuggestCommentScoreResponse/clientToken": client_token
+"/commentanalyzer:v1alpha1/SuggestCommentScoreResponse/detectedLanguages": detected_languages
+"/commentanalyzer:v1alpha1/SuggestCommentScoreResponse/detectedLanguages/detected_language": detected_language
+"/commentanalyzer:v1alpha1/SuggestCommentScoreResponse/requestedLanguages": requested_languages
+"/commentanalyzer:v1alpha1/SuggestCommentScoreResponse/requestedLanguages/requested_language": requested_language
+"/commentanalyzer:v1alpha1/TextEntry": text_entry
+"/commentanalyzer:v1alpha1/TextEntry/text": text
+"/commentanalyzer:v1alpha1/TextEntry/type": type
+"/commentanalyzer:v1alpha1/commentanalyzer.comments.analyze": analyze_comment
+"/commentanalyzer:v1alpha1/commentanalyzer.comments.suggestscore": suggestscore_comment
+"/commentanalyzer:v1alpha1/fields": fields
+"/commentanalyzer:v1alpha1/key": key
+"/commentanalyzer:v1alpha1/quotaUser": quota_user
"/composer:v1/Empty": empty
"/composer:v1/Environment": environment
"/composer:v1/Environment/config": config
@@ -21313,6 +21640,8 @@
"/compute:alpha/AttachedDiskInitializeParams/labels/label": label
"/compute:alpha/AttachedDiskInitializeParams/replicaZones": replica_zones
"/compute:alpha/AttachedDiskInitializeParams/replicaZones/replica_zone": replica_zone
+"/compute:alpha/AttachedDiskInitializeParams/resourcePolicies": resource_policies
+"/compute:alpha/AttachedDiskInitializeParams/resourcePolicies/resource_policy": resource_policy
"/compute:alpha/AttachedDiskInitializeParams/sourceImage": source_image
"/compute:alpha/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key
"/compute:alpha/AttachedDiskInitializeParams/sourceSnapshot": source_snapshot
@@ -21753,6 +22082,8 @@
"/compute:alpha/Disk/resourcePolicies/resource_policy": resource_policy
"/compute:alpha/Disk/selfLink": self_link
"/compute:alpha/Disk/sizeGb": size_gb
+"/compute:alpha/Disk/sourceDisk": source_disk
+"/compute:alpha/Disk/sourceDiskId": source_disk_id
"/compute:alpha/Disk/sourceImage": source_image
"/compute:alpha/Disk/sourceImageEncryptionKey": source_image_encryption_key
"/compute:alpha/Disk/sourceImageId": source_image_id
@@ -22068,6 +22399,12 @@
"/compute:alpha/ForwardingRulesScopedList/warning/data/datum/key": key
"/compute:alpha/ForwardingRulesScopedList/warning/data/datum/value": value
"/compute:alpha/ForwardingRulesScopedList/warning/message": message
+"/compute:alpha/GlobalNetworkEndpointGroupsAttachEndpointsRequest": global_network_endpoint_groups_attach_endpoints_request
+"/compute:alpha/GlobalNetworkEndpointGroupsAttachEndpointsRequest/networkEndpoints": network_endpoints
+"/compute:alpha/GlobalNetworkEndpointGroupsAttachEndpointsRequest/networkEndpoints/network_endpoint": network_endpoint
+"/compute:alpha/GlobalNetworkEndpointGroupsDetachEndpointsRequest": global_network_endpoint_groups_detach_endpoints_request
+"/compute:alpha/GlobalNetworkEndpointGroupsDetachEndpointsRequest/networkEndpoints": network_endpoints
+"/compute:alpha/GlobalNetworkEndpointGroupsDetachEndpointsRequest/networkEndpoints/network_endpoint": network_endpoint
"/compute:alpha/GlobalSetLabelsRequest": global_set_labels_request
"/compute:alpha/GlobalSetLabelsRequest/labelFingerprint": label_fingerprint
"/compute:alpha/GlobalSetLabelsRequest/labels": labels
@@ -22948,6 +23285,15 @@
"/compute:alpha/InstancesAddResourcePoliciesRequest": instances_add_resource_policies_request
"/compute:alpha/InstancesAddResourcePoliciesRequest/resourcePolicies": resource_policies
"/compute:alpha/InstancesAddResourcePoliciesRequest/resourcePolicies/resource_policy": resource_policy
+"/compute:alpha/InstancesGetEffectiveFirewallsResponse": instances_get_effective_firewalls_response
+"/compute:alpha/InstancesGetEffectiveFirewallsResponse/firewalls": firewalls
+"/compute:alpha/InstancesGetEffectiveFirewallsResponse/firewalls/firewall": firewall
+"/compute:alpha/InstancesGetEffectiveFirewallsResponse/organizationFirewalls": organization_firewalls
+"/compute:alpha/InstancesGetEffectiveFirewallsResponse/organizationFirewalls/organization_firewall": organization_firewall
+"/compute:alpha/InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy": instances_get_effective_firewalls_response_organization_firewall_policy
+"/compute:alpha/InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy/id": id
+"/compute:alpha/InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy/rules": rules
+"/compute:alpha/InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy/rules/rule": rule
"/compute:alpha/InstancesRemoveMaintenancePoliciesRequest": instances_remove_maintenance_policies_request
"/compute:alpha/InstancesRemoveMaintenancePoliciesRequest/maintenancePolicies": maintenance_policies
"/compute:alpha/InstancesRemoveMaintenancePoliciesRequest/maintenancePolicies/maintenance_policy": maintenance_policy
@@ -23280,6 +23626,10 @@
"/compute:alpha/LicensesListResponse/warning/data/datum/key": key
"/compute:alpha/LicensesListResponse/warning/data/datum/value": value
"/compute:alpha/LicensesListResponse/warning/message": message
+"/compute:alpha/LocalDisk": local_disk
+"/compute:alpha/LocalDisk/diskCount": disk_count
+"/compute:alpha/LocalDisk/diskSizeGb": disk_size_gb
+"/compute:alpha/LocalDisk/diskType": disk_type
"/compute:alpha/LogConfig": log_config
"/compute:alpha/LogConfig/cloudAudit": cloud_audit
"/compute:alpha/LogConfig/counter": counter
@@ -23497,6 +23847,7 @@
"/compute:alpha/Network/id": id
"/compute:alpha/Network/kind": kind
"/compute:alpha/Network/loadBalancerVmEncryption": load_balancer_vm_encryption
+"/compute:alpha/Network/multicastMode": multicast_mode
"/compute:alpha/Network/name": name
"/compute:alpha/Network/peerings": peerings
"/compute:alpha/Network/peerings/peering": peering
@@ -23570,7 +23921,11 @@
"/compute:alpha/NetworkEndpointGroupsDetachEndpointsRequest/networkEndpoints": network_endpoints
"/compute:alpha/NetworkEndpointGroupsDetachEndpointsRequest/networkEndpoints/network_endpoint": network_endpoint
"/compute:alpha/NetworkEndpointGroupsListEndpointsRequest": network_endpoint_groups_list_endpoints_request
+"/compute:alpha/NetworkEndpointGroupsListEndpointsRequest/endpointFilters": endpoint_filters
+"/compute:alpha/NetworkEndpointGroupsListEndpointsRequest/endpointFilters/endpoint_filter": endpoint_filter
"/compute:alpha/NetworkEndpointGroupsListEndpointsRequest/healthStatus": health_status
+"/compute:alpha/NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter": network_endpoint_groups_list_endpoints_request_network_endpoint_filter
+"/compute:alpha/NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter/networkEndpoint": network_endpoint
"/compute:alpha/NetworkEndpointGroupsListNetworkEndpoints": network_endpoint_groups_list_network_endpoints
"/compute:alpha/NetworkEndpointGroupsListNetworkEndpoints/id": id
"/compute:alpha/NetworkEndpointGroupsListNetworkEndpoints/items": items
@@ -23604,6 +23959,7 @@
"/compute:alpha/NetworkInterface/aliasIpRanges": alias_ip_ranges
"/compute:alpha/NetworkInterface/aliasIpRanges/alias_ip_range": alias_ip_range
"/compute:alpha/NetworkInterface/fingerprint": fingerprint
+"/compute:alpha/NetworkInterface/ipv6Address": ipv6_address
"/compute:alpha/NetworkInterface/kind": kind
"/compute:alpha/NetworkInterface/name": name
"/compute:alpha/NetworkInterface/network": network
@@ -23644,6 +24000,15 @@
"/compute:alpha/NetworksAddPeeringRequest/name": name
"/compute:alpha/NetworksAddPeeringRequest/networkPeering": network_peering
"/compute:alpha/NetworksAddPeeringRequest/peerNetwork": peer_network
+"/compute:alpha/NetworksGetEffectiveFirewallsResponse": networks_get_effective_firewalls_response
+"/compute:alpha/NetworksGetEffectiveFirewallsResponse/firewalls": firewalls
+"/compute:alpha/NetworksGetEffectiveFirewallsResponse/firewalls/firewall": firewall
+"/compute:alpha/NetworksGetEffectiveFirewallsResponse/organizationFirewalls": organization_firewalls
+"/compute:alpha/NetworksGetEffectiveFirewallsResponse/organizationFirewalls/organization_firewall": organization_firewall
+"/compute:alpha/NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy": networks_get_effective_firewalls_response_organization_firewall_policy
+"/compute:alpha/NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy/id": id
+"/compute:alpha/NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy/rules": rules
+"/compute:alpha/NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy/rules/rule": rule
"/compute:alpha/NetworksRemovePeeringRequest": networks_remove_peering_request
"/compute:alpha/NetworksRemovePeeringRequest/name": name
"/compute:alpha/NetworksUpdatePeeringRequest": networks_update_peering_request
@@ -23654,6 +24019,7 @@
"/compute:alpha/NodeGroup/description": description
"/compute:alpha/NodeGroup/id": id
"/compute:alpha/NodeGroup/kind": kind
+"/compute:alpha/NodeGroup/managedHoldback": managed_holdback
"/compute:alpha/NodeGroup/name": name
"/compute:alpha/NodeGroup/nodeTemplate": node_template
"/compute:alpha/NodeGroup/nodes": nodes
@@ -23695,6 +24061,8 @@
"/compute:alpha/NodeGroupList/warning/data/datum/value": value
"/compute:alpha/NodeGroupList/warning/message": message
"/compute:alpha/NodeGroupNode": node_group_node
+"/compute:alpha/NodeGroupNode/disks": disks
+"/compute:alpha/NodeGroupNode/disks/disk": disk
"/compute:alpha/NodeGroupNode/index": index
"/compute:alpha/NodeGroupNode/instances": instances
"/compute:alpha/NodeGroupNode/instances/instance": instance
@@ -23740,6 +24108,8 @@
"/compute:alpha/NodeTemplate": node_template
"/compute:alpha/NodeTemplate/creationTimestamp": creation_timestamp
"/compute:alpha/NodeTemplate/description": description
+"/compute:alpha/NodeTemplate/disks": disks
+"/compute:alpha/NodeTemplate/disks/disk": disk
"/compute:alpha/NodeTemplate/id": id
"/compute:alpha/NodeTemplate/kind": kind
"/compute:alpha/NodeTemplate/name": name
@@ -24393,6 +24763,7 @@
"/compute:alpha/ResourcePolicy/selfLink": self_link
"/compute:alpha/ResourcePolicy/selfLinkWithId": self_link_with_id
"/compute:alpha/ResourcePolicy/snapshotSchedulePolicy": snapshot_schedule_policy
+"/compute:alpha/ResourcePolicy/status": status
"/compute:alpha/ResourcePolicy/vmMaintenancePolicy": vm_maintenance_policy
"/compute:alpha/ResourcePolicyAggregatedList": resource_policy_aggregated_list
"/compute:alpha/ResourcePolicyAggregatedList/etag": etag
@@ -24496,6 +24867,7 @@
"/compute:alpha/Route/nextHopGateway": next_hop_gateway
"/compute:alpha/Route/nextHopIlb": next_hop_ilb
"/compute:alpha/Route/nextHopInstance": next_hop_instance
+"/compute:alpha/Route/nextHopInterconnectAttachment": next_hop_interconnect_attachment
"/compute:alpha/Route/nextHopIp": next_hop_ip
"/compute:alpha/Route/nextHopNetwork": next_hop_network
"/compute:alpha/Route/nextHopPeering": next_hop_peering
@@ -24741,6 +25113,7 @@
"/compute:alpha/SavedAttachedDisk/type": type
"/compute:alpha/Scheduling": scheduling
"/compute:alpha/Scheduling/automaticRestart": automatic_restart
+"/compute:alpha/Scheduling/latencyTolerant": latency_tolerant
"/compute:alpha/Scheduling/minNodeCpus": min_node_cpus
"/compute:alpha/Scheduling/nodeAffinities": node_affinities
"/compute:alpha/Scheduling/nodeAffinities/node_affinity": node_affinity
@@ -26360,6 +26733,37 @@
"/compute:alpha/compute.globalForwardingRules.testIamPermissions": test_global_forwarding_rule_iam_permissions
"/compute:alpha/compute.globalForwardingRules.testIamPermissions/project": project
"/compute:alpha/compute.globalForwardingRules.testIamPermissions/resource": resource
+"/compute:alpha/compute.globalNetworkEndpointGroups.attachNetworkEndpoints": attach_global_network_endpoint_group_network_endpoints
+"/compute:alpha/compute.globalNetworkEndpointGroups.attachNetworkEndpoints/networkEndpointGroup": network_endpoint_group
+"/compute:alpha/compute.globalNetworkEndpointGroups.attachNetworkEndpoints/project": project
+"/compute:alpha/compute.globalNetworkEndpointGroups.attachNetworkEndpoints/requestId": request_id
+"/compute:alpha/compute.globalNetworkEndpointGroups.delete": delete_global_network_endpoint_group
+"/compute:alpha/compute.globalNetworkEndpointGroups.delete/networkEndpointGroup": network_endpoint_group
+"/compute:alpha/compute.globalNetworkEndpointGroups.delete/project": project
+"/compute:alpha/compute.globalNetworkEndpointGroups.delete/requestId": request_id
+"/compute:alpha/compute.globalNetworkEndpointGroups.detachNetworkEndpoints": detach_global_network_endpoint_group_network_endpoints
+"/compute:alpha/compute.globalNetworkEndpointGroups.detachNetworkEndpoints/networkEndpointGroup": network_endpoint_group
+"/compute:alpha/compute.globalNetworkEndpointGroups.detachNetworkEndpoints/project": project
+"/compute:alpha/compute.globalNetworkEndpointGroups.detachNetworkEndpoints/requestId": request_id
+"/compute:alpha/compute.globalNetworkEndpointGroups.get": get_global_network_endpoint_group
+"/compute:alpha/compute.globalNetworkEndpointGroups.get/networkEndpointGroup": network_endpoint_group
+"/compute:alpha/compute.globalNetworkEndpointGroups.get/project": project
+"/compute:alpha/compute.globalNetworkEndpointGroups.insert": insert_global_network_endpoint_group
+"/compute:alpha/compute.globalNetworkEndpointGroups.insert/project": project
+"/compute:alpha/compute.globalNetworkEndpointGroups.insert/requestId": request_id
+"/compute:alpha/compute.globalNetworkEndpointGroups.list": list_global_network_endpoint_groups
+"/compute:alpha/compute.globalNetworkEndpointGroups.list/filter": filter
+"/compute:alpha/compute.globalNetworkEndpointGroups.list/maxResults": max_results
+"/compute:alpha/compute.globalNetworkEndpointGroups.list/orderBy": order_by
+"/compute:alpha/compute.globalNetworkEndpointGroups.list/pageToken": page_token
+"/compute:alpha/compute.globalNetworkEndpointGroups.list/project": project
+"/compute:alpha/compute.globalNetworkEndpointGroups.listNetworkEndpoints": list_global_network_endpoint_group_network_endpoints
+"/compute:alpha/compute.globalNetworkEndpointGroups.listNetworkEndpoints/filter": filter
+"/compute:alpha/compute.globalNetworkEndpointGroups.listNetworkEndpoints/maxResults": max_results
+"/compute:alpha/compute.globalNetworkEndpointGroups.listNetworkEndpoints/networkEndpointGroup": network_endpoint_group
+"/compute:alpha/compute.globalNetworkEndpointGroups.listNetworkEndpoints/orderBy": order_by
+"/compute:alpha/compute.globalNetworkEndpointGroups.listNetworkEndpoints/pageToken": page_token
+"/compute:alpha/compute.globalNetworkEndpointGroups.listNetworkEndpoints/project": project
"/compute:alpha/compute.globalOperations.aggregatedList": aggregated_global_operation_list
"/compute:alpha/compute.globalOperations.aggregatedList/filter": filter
"/compute:alpha/compute.globalOperations.aggregatedList/maxResults": max_results
@@ -26822,6 +27226,11 @@
"/compute:alpha/compute.instances.get/instance": instance
"/compute:alpha/compute.instances.get/project": project
"/compute:alpha/compute.instances.get/zone": zone
+"/compute:alpha/compute.instances.getEffectiveFirewalls": get_instance_effective_firewalls
+"/compute:alpha/compute.instances.getEffectiveFirewalls/instance": instance
+"/compute:alpha/compute.instances.getEffectiveFirewalls/networkInterface": network_interface
+"/compute:alpha/compute.instances.getEffectiveFirewalls/project": project
+"/compute:alpha/compute.instances.getEffectiveFirewalls/zone": zone
"/compute:alpha/compute.instances.getGuestAttributes": get_instance_guest_attributes
"/compute:alpha/compute.instances.getGuestAttributes/instance": instance
"/compute:alpha/compute.instances.getGuestAttributes/project": project
@@ -27283,6 +27692,9 @@
"/compute:alpha/compute.networks.get": get_network
"/compute:alpha/compute.networks.get/network": network
"/compute:alpha/compute.networks.get/project": project
+"/compute:alpha/compute.networks.getEffectiveFirewalls": get_network_effective_firewalls
+"/compute:alpha/compute.networks.getEffectiveFirewalls/network": network
+"/compute:alpha/compute.networks.getEffectiveFirewalls/project": project
"/compute:alpha/compute.networks.insert": insert_network
"/compute:alpha/compute.networks.insert/project": project
"/compute:alpha/compute.networks.insert/requestId": request_id
@@ -29096,8 +29508,12 @@
"/compute:beta/AttachedDiskInitializeParams/guestOsFeatures/guest_os_feature": guest_os_feature
"/compute:beta/AttachedDiskInitializeParams/labels": labels
"/compute:beta/AttachedDiskInitializeParams/labels/label": label
+"/compute:beta/AttachedDiskInitializeParams/resourcePolicies": resource_policies
+"/compute:beta/AttachedDiskInitializeParams/resourcePolicies/resource_policy": resource_policy
"/compute:beta/AttachedDiskInitializeParams/sourceImage": source_image
"/compute:beta/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key
+"/compute:beta/AttachedDiskInitializeParams/sourceSnapshot": source_snapshot
+"/compute:beta/AttachedDiskInitializeParams/sourceSnapshotEncryptionKey": source_snapshot_encryption_key
"/compute:beta/AuditConfig": audit_config
"/compute:beta/AuditConfig/auditLogConfigs": audit_log_configs
"/compute:beta/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
@@ -30121,6 +30537,7 @@
"/compute:beta/InstanceGroupManagerStatusVersionTarget": instance_group_manager_status_version_target
"/compute:beta/InstanceGroupManagerStatusVersionTarget/isReached": is_reached
"/compute:beta/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy
+"/compute:beta/InstanceGroupManagerUpdatePolicy/instanceRedistributionType": instance_redistribution_type
"/compute:beta/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge
"/compute:beta/InstanceGroupManagerUpdatePolicy/maxUnavailable": max_unavailable
"/compute:beta/InstanceGroupManagerUpdatePolicy/minReadySec": min_ready_sec
@@ -31369,6 +31786,7 @@
"/compute:beta/ResourcePolicy/region": region
"/compute:beta/ResourcePolicy/selfLink": self_link
"/compute:beta/ResourcePolicy/snapshotSchedulePolicy": snapshot_schedule_policy
+"/compute:beta/ResourcePolicy/status": status
"/compute:beta/ResourcePolicyAggregatedList": resource_policy_aggregated_list
"/compute:beta/ResourcePolicyAggregatedList/etag": etag
"/compute:beta/ResourcePolicyAggregatedList/id": id
@@ -31459,6 +31877,7 @@
"/compute:beta/Route/nextHopGateway": next_hop_gateway
"/compute:beta/Route/nextHopIlb": next_hop_ilb
"/compute:beta/Route/nextHopInstance": next_hop_instance
+"/compute:beta/Route/nextHopInterconnectAttachment": next_hop_interconnect_attachment
"/compute:beta/Route/nextHopIp": next_hop_ip
"/compute:beta/Route/nextHopNetwork": next_hop_network
"/compute:beta/Route/nextHopPeering": next_hop_peering
@@ -35145,8 +35564,10 @@
"/compute:v1/Backend/description": description
"/compute:v1/Backend/group": group
"/compute:v1/Backend/maxConnections": max_connections
+"/compute:v1/Backend/maxConnectionsPerEndpoint": max_connections_per_endpoint
"/compute:v1/Backend/maxConnectionsPerInstance": max_connections_per_instance
"/compute:v1/Backend/maxRate": max_rate
+"/compute:v1/Backend/maxRatePerEndpoint": max_rate_per_endpoint
"/compute:v1/Backend/maxRatePerInstance": max_rate_per_instance
"/compute:v1/Backend/maxUtilization": max_utilization
"/compute:v1/BackendBucket": backend_bucket
@@ -35246,6 +35667,8 @@
"/compute:v1/BackendServiceList/warning/data/datum/key": key
"/compute:v1/BackendServiceList/warning/data/datum/value": value
"/compute:v1/BackendServiceList/warning/message": message
+"/compute:v1/BackendServiceReference": backend_service_reference
+"/compute:v1/BackendServiceReference/backendService": backend_service
"/compute:v1/BackendServicesScopedList": backend_services_scoped_list
"/compute:v1/BackendServicesScopedList/backendServices": backend_services
"/compute:v1/BackendServicesScopedList/backendServices/backend_service": backend_service
@@ -35597,6 +36020,8 @@
"/compute:v1/ForwardingRuleList/warning/data/datum/key": key
"/compute:v1/ForwardingRuleList/warning/data/datum/value": value
"/compute:v1/ForwardingRuleList/warning/message": message
+"/compute:v1/ForwardingRuleReference": forwarding_rule_reference
+"/compute:v1/ForwardingRuleReference/forwardingRule": forwarding_rule
"/compute:v1/ForwardingRulesScopedList": forwarding_rules_scoped_list
"/compute:v1/ForwardingRulesScopedList/forwardingRules": forwarding_rules
"/compute:v1/ForwardingRulesScopedList/forwardingRules/forwarding_rule": forwarding_rule
@@ -35622,6 +36047,7 @@
"/compute:v1/HTTP2HealthCheck/host": host
"/compute:v1/HTTP2HealthCheck/port": port
"/compute:v1/HTTP2HealthCheck/portName": port_name
+"/compute:v1/HTTP2HealthCheck/portSpecification": port_specification
"/compute:v1/HTTP2HealthCheck/proxyHeader": proxy_header
"/compute:v1/HTTP2HealthCheck/requestPath": request_path
"/compute:v1/HTTP2HealthCheck/response": response
@@ -35629,6 +36055,7 @@
"/compute:v1/HTTPHealthCheck/host": host
"/compute:v1/HTTPHealthCheck/port": port
"/compute:v1/HTTPHealthCheck/portName": port_name
+"/compute:v1/HTTPHealthCheck/portSpecification": port_specification
"/compute:v1/HTTPHealthCheck/proxyHeader": proxy_header
"/compute:v1/HTTPHealthCheck/requestPath": request_path
"/compute:v1/HTTPHealthCheck/response": response
@@ -35636,6 +36063,7 @@
"/compute:v1/HTTPSHealthCheck/host": host
"/compute:v1/HTTPSHealthCheck/port": port
"/compute:v1/HTTPSHealthCheck/portName": port_name
+"/compute:v1/HTTPSHealthCheck/portSpecification": port_specification
"/compute:v1/HTTPSHealthCheck/proxyHeader": proxy_header
"/compute:v1/HTTPSHealthCheck/requestPath": request_path
"/compute:v1/HTTPSHealthCheck/response": response
@@ -35677,6 +36105,11 @@
"/compute:v1/HealthStatus/instance": instance
"/compute:v1/HealthStatus/ipAddress": ip_address
"/compute:v1/HealthStatus/port": port
+"/compute:v1/HealthStatusForNetworkEndpoint": health_status_for_network_endpoint
+"/compute:v1/HealthStatusForNetworkEndpoint/backendService": backend_service
+"/compute:v1/HealthStatusForNetworkEndpoint/forwardingRule": forwarding_rule
+"/compute:v1/HealthStatusForNetworkEndpoint/healthCheck": health_check
+"/compute:v1/HealthStatusForNetworkEndpoint/healthState": health_state
"/compute:v1/HostRule": host_rule
"/compute:v1/HostRule/description": description
"/compute:v1/HostRule/hosts": hosts
@@ -36068,6 +36501,7 @@
"/compute:v1/InstanceProperties/scheduling": scheduling
"/compute:v1/InstanceProperties/serviceAccounts": service_accounts
"/compute:v1/InstanceProperties/serviceAccounts/service_account": service_account
+"/compute:v1/InstanceProperties/shieldedInstanceConfig": shielded_instance_config
"/compute:v1/InstanceProperties/tags": tags
"/compute:v1/InstanceReference": instance_reference
"/compute:v1/InstanceReference/instance": instance
@@ -36464,6 +36898,86 @@
"/compute:v1/Network/selfLink": self_link
"/compute:v1/Network/subnetworks": subnetworks
"/compute:v1/Network/subnetworks/subnetwork": subnetwork
+"/compute:v1/NetworkEndpoint": network_endpoint
+"/compute:v1/NetworkEndpoint/instance": instance
+"/compute:v1/NetworkEndpoint/ipAddress": ip_address
+"/compute:v1/NetworkEndpoint/port": port
+"/compute:v1/NetworkEndpointGroup": network_endpoint_group
+"/compute:v1/NetworkEndpointGroup/creationTimestamp": creation_timestamp
+"/compute:v1/NetworkEndpointGroup/defaultPort": default_port
+"/compute:v1/NetworkEndpointGroup/description": description
+"/compute:v1/NetworkEndpointGroup/id": id
+"/compute:v1/NetworkEndpointGroup/kind": kind
+"/compute:v1/NetworkEndpointGroup/name": name
+"/compute:v1/NetworkEndpointGroup/network": network
+"/compute:v1/NetworkEndpointGroup/networkEndpointType": network_endpoint_type
+"/compute:v1/NetworkEndpointGroup/selfLink": self_link
+"/compute:v1/NetworkEndpointGroup/size": size
+"/compute:v1/NetworkEndpointGroup/subnetwork": subnetwork
+"/compute:v1/NetworkEndpointGroup/zone": zone
+"/compute:v1/NetworkEndpointGroupAggregatedList": network_endpoint_group_aggregated_list
+"/compute:v1/NetworkEndpointGroupAggregatedList/id": id
+"/compute:v1/NetworkEndpointGroupAggregatedList/items": items
+"/compute:v1/NetworkEndpointGroupAggregatedList/items/item": item
+"/compute:v1/NetworkEndpointGroupAggregatedList/kind": kind
+"/compute:v1/NetworkEndpointGroupAggregatedList/nextPageToken": next_page_token
+"/compute:v1/NetworkEndpointGroupAggregatedList/selfLink": self_link
+"/compute:v1/NetworkEndpointGroupAggregatedList/warning": warning
+"/compute:v1/NetworkEndpointGroupAggregatedList/warning/code": code
+"/compute:v1/NetworkEndpointGroupAggregatedList/warning/data": data
+"/compute:v1/NetworkEndpointGroupAggregatedList/warning/data/datum": datum
+"/compute:v1/NetworkEndpointGroupAggregatedList/warning/data/datum/key": key
+"/compute:v1/NetworkEndpointGroupAggregatedList/warning/data/datum/value": value
+"/compute:v1/NetworkEndpointGroupAggregatedList/warning/message": message
+"/compute:v1/NetworkEndpointGroupList": network_endpoint_group_list
+"/compute:v1/NetworkEndpointGroupList/id": id
+"/compute:v1/NetworkEndpointGroupList/items": items
+"/compute:v1/NetworkEndpointGroupList/items/item": item
+"/compute:v1/NetworkEndpointGroupList/kind": kind
+"/compute:v1/NetworkEndpointGroupList/nextPageToken": next_page_token
+"/compute:v1/NetworkEndpointGroupList/selfLink": self_link
+"/compute:v1/NetworkEndpointGroupList/warning": warning
+"/compute:v1/NetworkEndpointGroupList/warning/code": code
+"/compute:v1/NetworkEndpointGroupList/warning/data": data
+"/compute:v1/NetworkEndpointGroupList/warning/data/datum": datum
+"/compute:v1/NetworkEndpointGroupList/warning/data/datum/key": key
+"/compute:v1/NetworkEndpointGroupList/warning/data/datum/value": value
+"/compute:v1/NetworkEndpointGroupList/warning/message": message
+"/compute:v1/NetworkEndpointGroupsAttachEndpointsRequest": network_endpoint_groups_attach_endpoints_request
+"/compute:v1/NetworkEndpointGroupsAttachEndpointsRequest/networkEndpoints": network_endpoints
+"/compute:v1/NetworkEndpointGroupsAttachEndpointsRequest/networkEndpoints/network_endpoint": network_endpoint
+"/compute:v1/NetworkEndpointGroupsDetachEndpointsRequest": network_endpoint_groups_detach_endpoints_request
+"/compute:v1/NetworkEndpointGroupsDetachEndpointsRequest/networkEndpoints": network_endpoints
+"/compute:v1/NetworkEndpointGroupsDetachEndpointsRequest/networkEndpoints/network_endpoint": network_endpoint
+"/compute:v1/NetworkEndpointGroupsListEndpointsRequest": network_endpoint_groups_list_endpoints_request
+"/compute:v1/NetworkEndpointGroupsListEndpointsRequest/healthStatus": health_status
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints": network_endpoint_groups_list_network_endpoints
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/id": id
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/items": items
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/items/item": item
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/kind": kind
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/nextPageToken": next_page_token
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/warning": warning
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/warning/code": code
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/warning/data": data
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/warning/data/datum": datum
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/warning/data/datum/key": key
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/warning/data/datum/value": value
+"/compute:v1/NetworkEndpointGroupsListNetworkEndpoints/warning/message": message
+"/compute:v1/NetworkEndpointGroupsScopedList": network_endpoint_groups_scoped_list
+"/compute:v1/NetworkEndpointGroupsScopedList/networkEndpointGroups": network_endpoint_groups
+"/compute:v1/NetworkEndpointGroupsScopedList/networkEndpointGroups/network_endpoint_group": network_endpoint_group
+"/compute:v1/NetworkEndpointGroupsScopedList/warning": warning
+"/compute:v1/NetworkEndpointGroupsScopedList/warning/code": code
+"/compute:v1/NetworkEndpointGroupsScopedList/warning/data": data
+"/compute:v1/NetworkEndpointGroupsScopedList/warning/data/datum": datum
+"/compute:v1/NetworkEndpointGroupsScopedList/warning/data/datum/key": key
+"/compute:v1/NetworkEndpointGroupsScopedList/warning/data/datum/value": value
+"/compute:v1/NetworkEndpointGroupsScopedList/warning/message": message
+"/compute:v1/NetworkEndpointWithHealthStatus": network_endpoint_with_health_status
+"/compute:v1/NetworkEndpointWithHealthStatus/healths": healths
+"/compute:v1/NetworkEndpointWithHealthStatus/healths/health": health
+"/compute:v1/NetworkEndpointWithHealthStatus/networkEndpoint": network_endpoint
"/compute:v1/NetworkInterface": network_interface
"/compute:v1/NetworkInterface/accessConfigs": access_configs
"/compute:v1/NetworkInterface/accessConfigs/access_config": access_config
@@ -37154,6 +37668,7 @@
"/compute:v1/SSLHealthCheck": ssl_health_check
"/compute:v1/SSLHealthCheck/port": port
"/compute:v1/SSLHealthCheck/portName": port_name
+"/compute:v1/SSLHealthCheck/portSpecification": port_specification
"/compute:v1/SSLHealthCheck/proxyHeader": proxy_header
"/compute:v1/SSLHealthCheck/request": request
"/compute:v1/SSLHealthCheck/response": response
@@ -37254,6 +37769,8 @@
"/compute:v1/Snapshot/status": status
"/compute:v1/Snapshot/storageBytes": storage_bytes
"/compute:v1/Snapshot/storageBytesStatus": storage_bytes_status
+"/compute:v1/Snapshot/storageLocations": storage_locations
+"/compute:v1/Snapshot/storageLocations/storage_location": storage_location
"/compute:v1/SnapshotList": snapshot_list
"/compute:v1/SnapshotList/id": id
"/compute:v1/SnapshotList/items": items
@@ -37399,6 +37916,7 @@
"/compute:v1/TCPHealthCheck": tcp_health_check
"/compute:v1/TCPHealthCheck/port": port
"/compute:v1/TCPHealthCheck/portName": port_name
+"/compute:v1/TCPHealthCheck/portSpecification": port_specification
"/compute:v1/TCPHealthCheck/proxyHeader": proxy_header
"/compute:v1/TCPHealthCheck/request": request
"/compute:v1/TCPHealthCheck/response": response
@@ -38791,6 +39309,54 @@
"/compute:v1/compute.machineTypes.list/pageToken": page_token
"/compute:v1/compute.machineTypes.list/project": project
"/compute:v1/compute.machineTypes.list/zone": zone
+"/compute:v1/compute.networkEndpointGroups.aggregatedList": aggregated_network_endpoint_group_list
+"/compute:v1/compute.networkEndpointGroups.aggregatedList/filter": filter
+"/compute:v1/compute.networkEndpointGroups.aggregatedList/maxResults": max_results
+"/compute:v1/compute.networkEndpointGroups.aggregatedList/orderBy": order_by
+"/compute:v1/compute.networkEndpointGroups.aggregatedList/pageToken": page_token
+"/compute:v1/compute.networkEndpointGroups.aggregatedList/project": project
+"/compute:v1/compute.networkEndpointGroups.attachNetworkEndpoints": attach_network_endpoint_group_network_endpoints
+"/compute:v1/compute.networkEndpointGroups.attachNetworkEndpoints/networkEndpointGroup": network_endpoint_group
+"/compute:v1/compute.networkEndpointGroups.attachNetworkEndpoints/project": project
+"/compute:v1/compute.networkEndpointGroups.attachNetworkEndpoints/requestId": request_id
+"/compute:v1/compute.networkEndpointGroups.attachNetworkEndpoints/zone": zone
+"/compute:v1/compute.networkEndpointGroups.delete": delete_network_endpoint_group
+"/compute:v1/compute.networkEndpointGroups.delete/networkEndpointGroup": network_endpoint_group
+"/compute:v1/compute.networkEndpointGroups.delete/project": project
+"/compute:v1/compute.networkEndpointGroups.delete/requestId": request_id
+"/compute:v1/compute.networkEndpointGroups.delete/zone": zone
+"/compute:v1/compute.networkEndpointGroups.detachNetworkEndpoints": detach_network_endpoint_group_network_endpoints
+"/compute:v1/compute.networkEndpointGroups.detachNetworkEndpoints/networkEndpointGroup": network_endpoint_group
+"/compute:v1/compute.networkEndpointGroups.detachNetworkEndpoints/project": project
+"/compute:v1/compute.networkEndpointGroups.detachNetworkEndpoints/requestId": request_id
+"/compute:v1/compute.networkEndpointGroups.detachNetworkEndpoints/zone": zone
+"/compute:v1/compute.networkEndpointGroups.get": get_network_endpoint_group
+"/compute:v1/compute.networkEndpointGroups.get/networkEndpointGroup": network_endpoint_group
+"/compute:v1/compute.networkEndpointGroups.get/project": project
+"/compute:v1/compute.networkEndpointGroups.get/zone": zone
+"/compute:v1/compute.networkEndpointGroups.insert": insert_network_endpoint_group
+"/compute:v1/compute.networkEndpointGroups.insert/project": project
+"/compute:v1/compute.networkEndpointGroups.insert/requestId": request_id
+"/compute:v1/compute.networkEndpointGroups.insert/zone": zone
+"/compute:v1/compute.networkEndpointGroups.list": list_network_endpoint_groups
+"/compute:v1/compute.networkEndpointGroups.list/filter": filter
+"/compute:v1/compute.networkEndpointGroups.list/maxResults": max_results
+"/compute:v1/compute.networkEndpointGroups.list/orderBy": order_by
+"/compute:v1/compute.networkEndpointGroups.list/pageToken": page_token
+"/compute:v1/compute.networkEndpointGroups.list/project": project
+"/compute:v1/compute.networkEndpointGroups.list/zone": zone
+"/compute:v1/compute.networkEndpointGroups.listNetworkEndpoints": list_network_endpoint_group_network_endpoints
+"/compute:v1/compute.networkEndpointGroups.listNetworkEndpoints/filter": filter
+"/compute:v1/compute.networkEndpointGroups.listNetworkEndpoints/maxResults": max_results
+"/compute:v1/compute.networkEndpointGroups.listNetworkEndpoints/networkEndpointGroup": network_endpoint_group
+"/compute:v1/compute.networkEndpointGroups.listNetworkEndpoints/orderBy": order_by
+"/compute:v1/compute.networkEndpointGroups.listNetworkEndpoints/pageToken": page_token
+"/compute:v1/compute.networkEndpointGroups.listNetworkEndpoints/project": project
+"/compute:v1/compute.networkEndpointGroups.listNetworkEndpoints/zone": zone
+"/compute:v1/compute.networkEndpointGroups.testIamPermissions": test_network_endpoint_group_iam_permissions
+"/compute:v1/compute.networkEndpointGroups.testIamPermissions/project": project
+"/compute:v1/compute.networkEndpointGroups.testIamPermissions/resource": resource
+"/compute:v1/compute.networkEndpointGroups.testIamPermissions/zone": zone
"/compute:v1/compute.networks.addPeering": add_network_peering
"/compute:v1/compute.networks.addPeering/network": network
"/compute:v1/compute.networks.addPeering/project": project
@@ -39927,6 +40493,7 @@
"/container:v1/Cluster/currentMasterVersion": current_master_version
"/container:v1/Cluster/currentNodeCount": current_node_count
"/container:v1/Cluster/currentNodeVersion": current_node_version
+"/container:v1/Cluster/defaultMaxPodsConstraint": default_max_pods_constraint
"/container:v1/Cluster/description": description
"/container:v1/Cluster/enableKubernetesAlpha": enable_kubernetes_alpha
"/container:v1/Cluster/enableTpu": enable_tpu
@@ -40056,6 +40623,10 @@
"/container:v1/ListOperationsResponse/missingZones/missing_zone": missing_zone
"/container:v1/ListOperationsResponse/operations": operations
"/container:v1/ListOperationsResponse/operations/operation": operation
+"/container:v1/ListUsableSubnetworksResponse": list_usable_subnetworks_response
+"/container:v1/ListUsableSubnetworksResponse/nextPageToken": next_page_token
+"/container:v1/ListUsableSubnetworksResponse/subnetworks": subnetworks
+"/container:v1/ListUsableSubnetworksResponse/subnetworks/subnetwork": subnetwork
"/container:v1/MaintenancePolicy": maintenance_policy
"/container:v1/MaintenancePolicy/window": window
"/container:v1/MaintenanceWindow": maintenance_window
@@ -40071,6 +40642,8 @@
"/container:v1/MasterAuthorizedNetworksConfig/cidrBlocks": cidr_blocks
"/container:v1/MasterAuthorizedNetworksConfig/cidrBlocks/cidr_block": cidr_block
"/container:v1/MasterAuthorizedNetworksConfig/enabled": enabled
+"/container:v1/MaxPodsConstraint": max_pods_constraint
+"/container:v1/MaxPodsConstraint/maxPodsPerNode": max_pods_per_node
"/container:v1/NetworkConfig": network_config
"/container:v1/NetworkConfig/network": network
"/container:v1/NetworkConfig/subnetwork": subnetwork
@@ -40113,6 +40686,7 @@
"/container:v1/NodePool/instanceGroupUrls": instance_group_urls
"/container:v1/NodePool/instanceGroupUrls/instance_group_url": instance_group_url
"/container:v1/NodePool/management": management
+"/container:v1/NodePool/maxPodsConstraint": max_pods_constraint
"/container:v1/NodePool/name": name
"/container:v1/NodePool/selfLink": self_link
"/container:v1/NodePool/status": status
@@ -40271,6 +40845,22 @@
"/container:v1/UpdateNodePoolRequest/nodeVersion": node_version
"/container:v1/UpdateNodePoolRequest/projectId": project_id
"/container:v1/UpdateNodePoolRequest/zone": zone
+"/container:v1/UsableSubnetwork": usable_subnetwork
+"/container:v1/UsableSubnetwork/ipCidrRange": ip_cidr_range
+"/container:v1/UsableSubnetwork/network": network
+"/container:v1/UsableSubnetwork/secondaryIpRanges": secondary_ip_ranges
+"/container:v1/UsableSubnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range
+"/container:v1/UsableSubnetwork/statusMessage": status_message
+"/container:v1/UsableSubnetwork/subnetwork": subnetwork
+"/container:v1/UsableSubnetworkSecondaryRange": usable_subnetwork_secondary_range
+"/container:v1/UsableSubnetworkSecondaryRange/ipCidrRange": ip_cidr_range
+"/container:v1/UsableSubnetworkSecondaryRange/rangeName": range_name
+"/container:v1/UsableSubnetworkSecondaryRange/status": status
+"/container:v1/container.projects.aggregated.usableSubnetworks.list": list_project_aggregated_usable_subnetworks
+"/container:v1/container.projects.aggregated.usableSubnetworks.list/filter": filter
+"/container:v1/container.projects.aggregated.usableSubnetworks.list/pageSize": page_size
+"/container:v1/container.projects.aggregated.usableSubnetworks.list/pageToken": page_token
+"/container:v1/container.projects.aggregated.usableSubnetworks.list/parent": parent
"/container:v1/container.projects.clusters.list": list_clusters
"/container:v1/container.projects.locations.clusters.completeIpRotation": complete_project_location_cluster_ip_rotation
"/container:v1/container.projects.locations.clusters.completeIpRotation/name": name
@@ -40777,6 +41367,7 @@
"/container:v1beta1/NodeConfig/oauthScopes": oauth_scopes
"/container:v1beta1/NodeConfig/oauthScopes/oauth_scope": oauth_scope
"/container:v1beta1/NodeConfig/preemptible": preemptible
+"/container:v1beta1/NodeConfig/sandboxConfig": sandbox_config
"/container:v1beta1/NodeConfig/serviceAccount": service_account
"/container:v1beta1/NodeConfig/tags": tags
"/container:v1beta1/NodeConfig/tags/tag": tag
@@ -40856,6 +41447,8 @@
"/container:v1beta1/RollbackNodePoolUpgradeRequest/nodePoolId": node_pool_id
"/container:v1beta1/RollbackNodePoolUpgradeRequest/projectId": project_id
"/container:v1beta1/RollbackNodePoolUpgradeRequest/zone": zone
+"/container:v1beta1/SandboxConfig": sandbox_config
+"/container:v1beta1/SandboxConfig/sandboxType": sandbox_type
"/container:v1beta1/ServerConfig": server_config
"/container:v1beta1/ServerConfig/defaultClusterVersion": default_cluster_version
"/container:v1beta1/ServerConfig/defaultImageType": default_image_type
@@ -41719,6 +42312,18 @@
"/containeranalysis:v1beta1/BuildSignature/keyType": key_type
"/containeranalysis:v1beta1/BuildSignature/publicKey": public_key
"/containeranalysis:v1beta1/BuildSignature/signature": signature
+"/containeranalysis:v1beta1/CVSSv3": cvs_sv3
+"/containeranalysis:v1beta1/CVSSv3/attackComplexity": attack_complexity
+"/containeranalysis:v1beta1/CVSSv3/attackVector": attack_vector
+"/containeranalysis:v1beta1/CVSSv3/availabilityImpact": availability_impact
+"/containeranalysis:v1beta1/CVSSv3/baseScore": base_score
+"/containeranalysis:v1beta1/CVSSv3/confidentialityImpact": confidentiality_impact
+"/containeranalysis:v1beta1/CVSSv3/exploitabilityScore": exploitability_score
+"/containeranalysis:v1beta1/CVSSv3/impactScore": impact_score
+"/containeranalysis:v1beta1/CVSSv3/integrityImpact": integrity_impact
+"/containeranalysis:v1beta1/CVSSv3/privilegesRequired": privileges_required
+"/containeranalysis:v1beta1/CVSSv3/scope": scope
+"/containeranalysis:v1beta1/CVSSv3/userInteraction": user_interaction
"/containeranalysis:v1beta1/CloudRepoSourceContext": cloud_repo_source_context
"/containeranalysis:v1beta1/CloudRepoSourceContext/aliasContext": alias_context
"/containeranalysis:v1beta1/CloudRepoSourceContext/repoId": repo_id
@@ -41980,6 +42585,7 @@
"/containeranalysis:v1beta1/Version/revision": revision
"/containeranalysis:v1beta1/Vulnerability": vulnerability
"/containeranalysis:v1beta1/Vulnerability/cvssScore": cvss_score
+"/containeranalysis:v1beta1/Vulnerability/cvssV3": cvss_v3
"/containeranalysis:v1beta1/Vulnerability/details": details
"/containeranalysis:v1beta1/Vulnerability/details/detail": detail
"/containeranalysis:v1beta1/Vulnerability/severity": severity
@@ -43114,9 +43720,11 @@
"/content:v2.1/Product/sizes/size": size
"/content:v2.1/Product/source": source
"/content:v2.1/Product/targetCountry": target_country
+"/content:v2.1/Product/taxCategory": tax_category
"/content:v2.1/Product/taxes": taxes
"/content:v2.1/Product/taxes/tax": tax
"/content:v2.1/Product/title": title
+"/content:v2.1/Product/transitTimeLabel": transit_time_label
"/content:v2.1/Product/unitPricingBaseMeasure": unit_pricing_base_measure
"/content:v2.1/Product/unitPricingMeasure": unit_pricing_measure
"/content:v2.1/ProductAmount": product_amount
@@ -47572,6 +48180,198 @@
"/dataflow:v1b3/fields": fields
"/dataflow:v1b3/key": key
"/dataflow:v1b3/quotaUser": quota_user
+"/datafusion:v1beta1/AuditConfig": audit_config
+"/datafusion:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs
+"/datafusion:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
+"/datafusion:v1beta1/AuditConfig/exemptedMembers": exempted_members
+"/datafusion:v1beta1/AuditConfig/exemptedMembers/exempted_member": exempted_member
+"/datafusion:v1beta1/AuditConfig/service": service
+"/datafusion:v1beta1/AuditLogConfig": audit_log_config
+"/datafusion:v1beta1/AuditLogConfig/exemptedMembers": exempted_members
+"/datafusion:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
+"/datafusion:v1beta1/AuditLogConfig/logType": log_type
+"/datafusion:v1beta1/AuthorizationLoggingOptions": authorization_logging_options
+"/datafusion:v1beta1/AuthorizationLoggingOptions/permissionType": permission_type
+"/datafusion:v1beta1/Binding": binding
+"/datafusion:v1beta1/Binding/condition": condition
+"/datafusion:v1beta1/Binding/members": members
+"/datafusion:v1beta1/Binding/members/member": member
+"/datafusion:v1beta1/Binding/role": role
+"/datafusion:v1beta1/CancelOperationRequest": cancel_operation_request
+"/datafusion:v1beta1/CloudAuditOptions": cloud_audit_options
+"/datafusion:v1beta1/CloudAuditOptions/authorizationLoggingOptions": authorization_logging_options
+"/datafusion:v1beta1/CloudAuditOptions/logName": log_name
+"/datafusion:v1beta1/Condition": condition
+"/datafusion:v1beta1/Condition/iam": iam
+"/datafusion:v1beta1/Condition/op": op
+"/datafusion:v1beta1/Condition/svc": svc
+"/datafusion:v1beta1/Condition/sys": sys
+"/datafusion:v1beta1/Condition/values": values
+"/datafusion:v1beta1/Condition/values/value": value
+"/datafusion:v1beta1/CounterOptions": counter_options
+"/datafusion:v1beta1/CounterOptions/field": field
+"/datafusion:v1beta1/CounterOptions/metric": metric
+"/datafusion:v1beta1/DataAccessOptions": data_access_options
+"/datafusion:v1beta1/DataAccessOptions/logMode": log_mode
+"/datafusion:v1beta1/Empty": empty
+"/datafusion:v1beta1/Expr": expr
+"/datafusion:v1beta1/Expr/description": description
+"/datafusion:v1beta1/Expr/expression": expression
+"/datafusion:v1beta1/Expr/location": location
+"/datafusion:v1beta1/Expr/title": title
+"/datafusion:v1beta1/Instance": instance
+"/datafusion:v1beta1/Instance/createTime": create_time
+"/datafusion:v1beta1/Instance/description": description
+"/datafusion:v1beta1/Instance/displayName": display_name
+"/datafusion:v1beta1/Instance/enableStackdriverLogging": enable_stackdriver_logging
+"/datafusion:v1beta1/Instance/enableStackdriverMonitoring": enable_stackdriver_monitoring
+"/datafusion:v1beta1/Instance/labels": labels
+"/datafusion:v1beta1/Instance/labels/label": label
+"/datafusion:v1beta1/Instance/name": name
+"/datafusion:v1beta1/Instance/networkConfig": network_config
+"/datafusion:v1beta1/Instance/options": options
+"/datafusion:v1beta1/Instance/options/option": option
+"/datafusion:v1beta1/Instance/privateInstance": private_instance
+"/datafusion:v1beta1/Instance/serviceAccount": service_account
+"/datafusion:v1beta1/Instance/serviceEndpoint": service_endpoint
+"/datafusion:v1beta1/Instance/state": state
+"/datafusion:v1beta1/Instance/stateMessage": state_message
+"/datafusion:v1beta1/Instance/type": type
+"/datafusion:v1beta1/Instance/updateTime": update_time
+"/datafusion:v1beta1/Instance/version": version
+"/datafusion:v1beta1/Instance/zone": zone
+"/datafusion:v1beta1/ListInstancesResponse": list_instances_response
+"/datafusion:v1beta1/ListInstancesResponse/instances": instances
+"/datafusion:v1beta1/ListInstancesResponse/instances/instance": instance
+"/datafusion:v1beta1/ListInstancesResponse/nextPageToken": next_page_token
+"/datafusion:v1beta1/ListInstancesResponse/unreachable": unreachable
+"/datafusion:v1beta1/ListInstancesResponse/unreachable/unreachable": unreachable
+"/datafusion:v1beta1/ListLocationsResponse": list_locations_response
+"/datafusion:v1beta1/ListLocationsResponse/locations": locations
+"/datafusion:v1beta1/ListLocationsResponse/locations/location": location
+"/datafusion:v1beta1/ListLocationsResponse/nextPageToken": next_page_token
+"/datafusion:v1beta1/ListOperationsResponse": list_operations_response
+"/datafusion:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
+"/datafusion:v1beta1/ListOperationsResponse/operations": operations
+"/datafusion:v1beta1/ListOperationsResponse/operations/operation": operation
+"/datafusion:v1beta1/Location": location
+"/datafusion:v1beta1/Location/displayName": display_name
+"/datafusion:v1beta1/Location/labels": labels
+"/datafusion:v1beta1/Location/labels/label": label
+"/datafusion:v1beta1/Location/locationId": location_id
+"/datafusion:v1beta1/Location/metadata": metadata
+"/datafusion:v1beta1/Location/metadata/metadatum": metadatum
+"/datafusion:v1beta1/Location/name": name
+"/datafusion:v1beta1/LogConfig": log_config
+"/datafusion:v1beta1/LogConfig/cloudAudit": cloud_audit
+"/datafusion:v1beta1/LogConfig/counter": counter
+"/datafusion:v1beta1/LogConfig/dataAccess": data_access
+"/datafusion:v1beta1/NetworkConfig": network_config
+"/datafusion:v1beta1/NetworkConfig/ipAllocation": ip_allocation
+"/datafusion:v1beta1/NetworkConfig/network": network
+"/datafusion:v1beta1/Operation": operation
+"/datafusion:v1beta1/Operation/done": done
+"/datafusion:v1beta1/Operation/error": error
+"/datafusion:v1beta1/Operation/metadata": metadata
+"/datafusion:v1beta1/Operation/metadata/metadatum": metadatum
+"/datafusion:v1beta1/Operation/name": name
+"/datafusion:v1beta1/Operation/response": response
+"/datafusion:v1beta1/Operation/response/response": response
+"/datafusion:v1beta1/OperationMetadata": operation_metadata
+"/datafusion:v1beta1/OperationMetadata/apiVersion": api_version
+"/datafusion:v1beta1/OperationMetadata/createTime": create_time
+"/datafusion:v1beta1/OperationMetadata/endTime": end_time
+"/datafusion:v1beta1/OperationMetadata/requestedCancellation": requested_cancellation
+"/datafusion:v1beta1/OperationMetadata/statusDetail": status_detail
+"/datafusion:v1beta1/OperationMetadata/target": target
+"/datafusion:v1beta1/OperationMetadata/verb": verb
+"/datafusion:v1beta1/Policy": policy
+"/datafusion:v1beta1/Policy/auditConfigs": audit_configs
+"/datafusion:v1beta1/Policy/auditConfigs/audit_config": audit_config
+"/datafusion:v1beta1/Policy/bindings": bindings
+"/datafusion:v1beta1/Policy/bindings/binding": binding
+"/datafusion:v1beta1/Policy/etag": etag
+"/datafusion:v1beta1/Policy/iamOwned": iam_owned
+"/datafusion:v1beta1/Policy/rules": rules
+"/datafusion:v1beta1/Policy/rules/rule": rule
+"/datafusion:v1beta1/Policy/version": version
+"/datafusion:v1beta1/RestartInstanceRequest": restart_instance_request
+"/datafusion:v1beta1/Rule": rule
+"/datafusion:v1beta1/Rule/action": action
+"/datafusion:v1beta1/Rule/conditions": conditions
+"/datafusion:v1beta1/Rule/conditions/condition": condition
+"/datafusion:v1beta1/Rule/description": description
+"/datafusion:v1beta1/Rule/in": in
+"/datafusion:v1beta1/Rule/in/in": in
+"/datafusion:v1beta1/Rule/logConfig": log_config
+"/datafusion:v1beta1/Rule/logConfig/log_config": log_config
+"/datafusion:v1beta1/Rule/notIn": not_in
+"/datafusion:v1beta1/Rule/notIn/not_in": not_in
+"/datafusion:v1beta1/Rule/permissions": permissions
+"/datafusion:v1beta1/Rule/permissions/permission": permission
+"/datafusion:v1beta1/SetIamPolicyRequest": set_iam_policy_request
+"/datafusion:v1beta1/SetIamPolicyRequest/policy": policy
+"/datafusion:v1beta1/SetIamPolicyRequest/updateMask": update_mask
+"/datafusion:v1beta1/Status": status
+"/datafusion:v1beta1/Status/code": code
+"/datafusion:v1beta1/Status/details": details
+"/datafusion:v1beta1/Status/details/detail": detail
+"/datafusion:v1beta1/Status/details/detail/detail": detail
+"/datafusion:v1beta1/Status/message": message
+"/datafusion:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request
+"/datafusion:v1beta1/TestIamPermissionsRequest/permissions": permissions
+"/datafusion:v1beta1/TestIamPermissionsRequest/permissions/permission": permission
+"/datafusion:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response
+"/datafusion:v1beta1/TestIamPermissionsResponse/permissions": permissions
+"/datafusion:v1beta1/TestIamPermissionsResponse/permissions/permission": permission
+"/datafusion:v1beta1/UpgradeInstanceRequest": upgrade_instance_request
+"/datafusion:v1beta1/datafusion.projects.locations.get": get_project_location
+"/datafusion:v1beta1/datafusion.projects.locations.get/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.instances.create": create_project_location_instance
+"/datafusion:v1beta1/datafusion.projects.locations.instances.create/instanceId": instance_id
+"/datafusion:v1beta1/datafusion.projects.locations.instances.create/parent": parent
+"/datafusion:v1beta1/datafusion.projects.locations.instances.delete": delete_project_location_instance
+"/datafusion:v1beta1/datafusion.projects.locations.instances.delete/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.instances.get": get_project_location_instance
+"/datafusion:v1beta1/datafusion.projects.locations.instances.get/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.instances.getIamPolicy": get_project_location_instance_iam_policy
+"/datafusion:v1beta1/datafusion.projects.locations.instances.getIamPolicy/resource": resource
+"/datafusion:v1beta1/datafusion.projects.locations.instances.list": list_project_location_instances
+"/datafusion:v1beta1/datafusion.projects.locations.instances.list/filter": filter
+"/datafusion:v1beta1/datafusion.projects.locations.instances.list/orderBy": order_by
+"/datafusion:v1beta1/datafusion.projects.locations.instances.list/pageSize": page_size
+"/datafusion:v1beta1/datafusion.projects.locations.instances.list/pageToken": page_token
+"/datafusion:v1beta1/datafusion.projects.locations.instances.list/parent": parent
+"/datafusion:v1beta1/datafusion.projects.locations.instances.patch": patch_project_location_instance
+"/datafusion:v1beta1/datafusion.projects.locations.instances.patch/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.instances.patch/updateMask": update_mask
+"/datafusion:v1beta1/datafusion.projects.locations.instances.restart": restart_instance
+"/datafusion:v1beta1/datafusion.projects.locations.instances.restart/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.instances.setIamPolicy": set_instance_iam_policy
+"/datafusion:v1beta1/datafusion.projects.locations.instances.setIamPolicy/resource": resource
+"/datafusion:v1beta1/datafusion.projects.locations.instances.testIamPermissions": test_instance_iam_permissions
+"/datafusion:v1beta1/datafusion.projects.locations.instances.testIamPermissions/resource": resource
+"/datafusion:v1beta1/datafusion.projects.locations.instances.upgrade": upgrade_instance
+"/datafusion:v1beta1/datafusion.projects.locations.instances.upgrade/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.list": list_project_locations
+"/datafusion:v1beta1/datafusion.projects.locations.list/filter": filter
+"/datafusion:v1beta1/datafusion.projects.locations.list/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.list/pageSize": page_size
+"/datafusion:v1beta1/datafusion.projects.locations.list/pageToken": page_token
+"/datafusion:v1beta1/datafusion.projects.locations.operations.cancel": cancel_operation
+"/datafusion:v1beta1/datafusion.projects.locations.operations.cancel/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.operations.delete": delete_project_location_operation
+"/datafusion:v1beta1/datafusion.projects.locations.operations.delete/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.operations.get": get_project_location_operation
+"/datafusion:v1beta1/datafusion.projects.locations.operations.get/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.operations.list": list_project_location_operations
+"/datafusion:v1beta1/datafusion.projects.locations.operations.list/filter": filter
+"/datafusion:v1beta1/datafusion.projects.locations.operations.list/name": name
+"/datafusion:v1beta1/datafusion.projects.locations.operations.list/pageSize": page_size
+"/datafusion:v1beta1/datafusion.projects.locations.operations.list/pageToken": page_token
+"/datafusion:v1beta1/fields": fields
+"/datafusion:v1beta1/key": key
+"/datafusion:v1beta1/quotaUser": quota_user
"/dataproc:v1/AcceleratorConfig": accelerator_config
"/dataproc:v1/AcceleratorConfig/acceleratorCount": accelerator_count
"/dataproc:v1/AcceleratorConfig/acceleratorTypeUri": accelerator_type_uri
@@ -66337,9 +67137,12 @@
"/dialogflow:v2/GoogleCloudDialogflowV2Context/parameters/parameter": parameter
"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentRequest": google_cloud_dialogflow_v2_detect_intent_request
"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentRequest/inputAudio": input_audio
+"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentRequest/outputAudioConfig": output_audio_config
"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentRequest/queryInput": query_input
"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentRequest/queryParams": query_params
"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentResponse": google_cloud_dialogflow_v2_detect_intent_response
+"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentResponse/outputAudio": output_audio
+"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentResponse/outputAudioConfig": output_audio_config
"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentResponse/queryResult": query_result
"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentResponse/responseId": response_id
"/dialogflow:v2/GoogleCloudDialogflowV2DetectIntentResponse/webhookStatus": webhook_status
@@ -66373,6 +67176,7 @@
"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig": google_cloud_dialogflow_v2_input_audio_config
"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig/audioEncoding": audio_encoding
"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig/languageCode": language_code
+"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig/modelVariant": model_variant
"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig/phraseHints": phrase_hints
"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig/phraseHints/phrase_hint": phrase_hint
"/dialogflow:v2/GoogleCloudDialogflowV2InputAudioConfig/sampleRateHertz": sample_rate_hertz
@@ -66532,6 +67336,10 @@
"/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/payload/payload": payload
"/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/source": source
"/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/version": version
+"/dialogflow:v2/GoogleCloudDialogflowV2OutputAudioConfig": google_cloud_dialogflow_v2_output_audio_config
+"/dialogflow:v2/GoogleCloudDialogflowV2OutputAudioConfig/audioEncoding": audio_encoding
+"/dialogflow:v2/GoogleCloudDialogflowV2OutputAudioConfig/sampleRateHertz": sample_rate_hertz
+"/dialogflow:v2/GoogleCloudDialogflowV2OutputAudioConfig/synthesizeSpeechConfig": synthesize_speech_config
"/dialogflow:v2/GoogleCloudDialogflowV2QueryInput": google_cloud_dialogflow_v2_query_input
"/dialogflow:v2/GoogleCloudDialogflowV2QueryInput/audioConfig": audio_config
"/dialogflow:v2/GoogleCloudDialogflowV2QueryInput/event": event
@@ -66543,6 +67351,7 @@
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/payload": payload
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/payload/payload": payload
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/resetContexts": reset_contexts
+"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/sentimentAnalysisRequestConfig": sentiment_analysis_request_config
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/sessionEntityTypes": session_entity_types
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/sessionEntityTypes/session_entity_type": session_entity_type
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/timeZone": time_zone
@@ -66562,6 +67371,7 @@
"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult/parameters": parameters
"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult/parameters/parameter": parameter
"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult/queryText": query_text
+"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult/sentimentAnalysisResult": sentiment_analysis_result
"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult/speechRecognitionConfidence": speech_recognition_confidence
"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult/webhookPayload": webhook_payload
"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult/webhookPayload/webhook_payload": webhook_payload
@@ -66573,15 +67383,32 @@
"/dialogflow:v2/GoogleCloudDialogflowV2SearchAgentsResponse/agents": agents
"/dialogflow:v2/GoogleCloudDialogflowV2SearchAgentsResponse/agents/agent": agent
"/dialogflow:v2/GoogleCloudDialogflowV2SearchAgentsResponse/nextPageToken": next_page_token
+"/dialogflow:v2/GoogleCloudDialogflowV2Sentiment": google_cloud_dialogflow_v2_sentiment
+"/dialogflow:v2/GoogleCloudDialogflowV2Sentiment/magnitude": magnitude
+"/dialogflow:v2/GoogleCloudDialogflowV2Sentiment/score": score
+"/dialogflow:v2/GoogleCloudDialogflowV2SentimentAnalysisRequestConfig": google_cloud_dialogflow_v2_sentiment_analysis_request_config
+"/dialogflow:v2/GoogleCloudDialogflowV2SentimentAnalysisRequestConfig/analyzeQueryTextSentiment": analyze_query_text_sentiment
+"/dialogflow:v2/GoogleCloudDialogflowV2SentimentAnalysisResult": google_cloud_dialogflow_v2_sentiment_analysis_result
+"/dialogflow:v2/GoogleCloudDialogflowV2SentimentAnalysisResult/queryTextSentiment": query_text_sentiment
"/dialogflow:v2/GoogleCloudDialogflowV2SessionEntityType": google_cloud_dialogflow_v2_session_entity_type
"/dialogflow:v2/GoogleCloudDialogflowV2SessionEntityType/entities": entities
"/dialogflow:v2/GoogleCloudDialogflowV2SessionEntityType/entities/entity": entity
"/dialogflow:v2/GoogleCloudDialogflowV2SessionEntityType/entityOverrideMode": entity_override_mode
"/dialogflow:v2/GoogleCloudDialogflowV2SessionEntityType/name": name
+"/dialogflow:v2/GoogleCloudDialogflowV2SynthesizeSpeechConfig": google_cloud_dialogflow_v2_synthesize_speech_config
+"/dialogflow:v2/GoogleCloudDialogflowV2SynthesizeSpeechConfig/effectsProfileId": effects_profile_id
+"/dialogflow:v2/GoogleCloudDialogflowV2SynthesizeSpeechConfig/effectsProfileId/effects_profile_id": effects_profile_id
+"/dialogflow:v2/GoogleCloudDialogflowV2SynthesizeSpeechConfig/pitch": pitch
+"/dialogflow:v2/GoogleCloudDialogflowV2SynthesizeSpeechConfig/speakingRate": speaking_rate
+"/dialogflow:v2/GoogleCloudDialogflowV2SynthesizeSpeechConfig/voice": voice
+"/dialogflow:v2/GoogleCloudDialogflowV2SynthesizeSpeechConfig/volumeGainDb": volume_gain_db
"/dialogflow:v2/GoogleCloudDialogflowV2TextInput": google_cloud_dialogflow_v2_text_input
"/dialogflow:v2/GoogleCloudDialogflowV2TextInput/languageCode": language_code
"/dialogflow:v2/GoogleCloudDialogflowV2TextInput/text": text
"/dialogflow:v2/GoogleCloudDialogflowV2TrainAgentRequest": google_cloud_dialogflow_v2_train_agent_request
+"/dialogflow:v2/GoogleCloudDialogflowV2VoiceSelectionParams": google_cloud_dialogflow_v2_voice_selection_params
+"/dialogflow:v2/GoogleCloudDialogflowV2VoiceSelectionParams/name": name
+"/dialogflow:v2/GoogleCloudDialogflowV2VoiceSelectionParams/ssmlGender": ssml_gender
"/dialogflow:v2/GoogleCloudDialogflowV2WebhookRequest": google_cloud_dialogflow_v2_webhook_request
"/dialogflow:v2/GoogleCloudDialogflowV2WebhookRequest/originalDetectIntentRequest": original_detect_intent_request
"/dialogflow:v2/GoogleCloudDialogflowV2WebhookRequest/queryResult": query_result
@@ -67258,10 +68085,16 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/parameters": parameters
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/parameters/parameter": parameter
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/queryText": query_text
+"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/sentimentAnalysisResult": sentiment_analysis_result
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/speechRecognitionConfidence": speech_recognition_confidence
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/webhookPayload": webhook_payload
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/webhookPayload/webhook_payload": webhook_payload
"/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/webhookSource": webhook_source
+"/dialogflow:v2beta1/GoogleCloudDialogflowV2Sentiment": google_cloud_dialogflow_v2_sentiment
+"/dialogflow:v2beta1/GoogleCloudDialogflowV2Sentiment/magnitude": magnitude
+"/dialogflow:v2beta1/GoogleCloudDialogflowV2Sentiment/score": score
+"/dialogflow:v2beta1/GoogleCloudDialogflowV2SentimentAnalysisResult": google_cloud_dialogflow_v2_sentiment_analysis_result
+"/dialogflow:v2beta1/GoogleCloudDialogflowV2SentimentAnalysisResult/queryTextSentiment": query_text_sentiment
"/dialogflow:v2beta1/GoogleCloudDialogflowV2WebhookRequest": google_cloud_dialogflow_v2_webhook_request
"/dialogflow:v2beta1/GoogleCloudDialogflowV2WebhookRequest/originalDetectIntentRequest": original_detect_intent_request
"/dialogflow:v2beta1/GoogleCloudDialogflowV2WebhookRequest/queryResult": query_result
@@ -67442,6 +68275,7 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudioConfig/audioEncoding": audio_encoding
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudioConfig/languageCode": language_code
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudioConfig/model": model
+"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudioConfig/modelVariant": model_variant
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudioConfig/phraseHints": phrase_hints
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudioConfig/phraseHints/phrase_hint": phrase_hint
"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1InputAudioConfig/sampleRateHertz": sample_rate_hertz
@@ -72723,8 +73557,14 @@
"/drive:v2/About/additionalRoleInfo/additional_role_info/roleSets/role_set/additionalRoles/additional_role": additional_role
"/drive:v2/About/additionalRoleInfo/additional_role_info/roleSets/role_set/primaryRole": primary_role
"/drive:v2/About/additionalRoleInfo/additional_role_info/type": type
+"/drive:v2/About/canCreateDrives": can_create_drives
"/drive:v2/About/canCreateTeamDrives": can_create_team_drives
"/drive:v2/About/domainSharingPolicy": domain_sharing_policy
+"/drive:v2/About/driveThemes": drive_themes
+"/drive:v2/About/driveThemes/drive_theme": drive_theme
+"/drive:v2/About/driveThemes/drive_theme/backgroundImageLink": background_image_link
+"/drive:v2/About/driveThemes/drive_theme/colorRgb": color_rgb
+"/drive:v2/About/driveThemes/drive_theme/id": id
"/drive:v2/About/etag": etag
"/drive:v2/About/exportFormats": export_formats
"/drive:v2/About/exportFormats/export_format": export_format
@@ -72812,7 +73652,10 @@
"/drive:v2/AppList/kind": kind
"/drive:v2/AppList/selfLink": self_link
"/drive:v2/Change": change
+"/drive:v2/Change/changeType": change_type
"/drive:v2/Change/deleted": deleted
+"/drive:v2/Change/drive": drive
+"/drive:v2/Change/driveId": drive_id
"/drive:v2/Change/file": file
"/drive:v2/Change/fileId": file_id
"/drive:v2/Change/id": id
@@ -72900,6 +73743,49 @@
"/drive:v2/CommentReplyList/nextLink": next_link
"/drive:v2/CommentReplyList/nextPageToken": next_page_token
"/drive:v2/CommentReplyList/selfLink": self_link
+"/drive:v2/Drive": drive
+"/drive:v2/Drive/backgroundImageFile": background_image_file
+"/drive:v2/Drive/backgroundImageFile/id": id
+"/drive:v2/Drive/backgroundImageFile/width": width
+"/drive:v2/Drive/backgroundImageFile/xCoordinate": x_coordinate
+"/drive:v2/Drive/backgroundImageFile/yCoordinate": y_coordinate
+"/drive:v2/Drive/backgroundImageLink": background_image_link
+"/drive:v2/Drive/capabilities": capabilities
+"/drive:v2/Drive/capabilities/canAddChildren": can_add_children
+"/drive:v2/Drive/capabilities/canChangeCopyRequiresWriterPermissionRestriction": can_change_copy_requires_writer_permission_restriction
+"/drive:v2/Drive/capabilities/canChangeDomainUsersOnlyRestriction": can_change_domain_users_only_restriction
+"/drive:v2/Drive/capabilities/canChangeDriveBackground": can_change_drive_background
+"/drive:v2/Drive/capabilities/canChangeDriveMembersOnlyRestriction": can_change_drive_members_only_restriction
+"/drive:v2/Drive/capabilities/canComment": can_comment
+"/drive:v2/Drive/capabilities/canCopy": can_copy
+"/drive:v2/Drive/capabilities/canDeleteChildren": can_delete_children
+"/drive:v2/Drive/capabilities/canDeleteDrive": can_delete_drive
+"/drive:v2/Drive/capabilities/canDownload": can_download
+"/drive:v2/Drive/capabilities/canEdit": can_edit
+"/drive:v2/Drive/capabilities/canListChildren": can_list_children
+"/drive:v2/Drive/capabilities/canManageMembers": can_manage_members
+"/drive:v2/Drive/capabilities/canReadRevisions": can_read_revisions
+"/drive:v2/Drive/capabilities/canRename": can_rename
+"/drive:v2/Drive/capabilities/canRenameDrive": can_rename_drive
+"/drive:v2/Drive/capabilities/canShare": can_share
+"/drive:v2/Drive/capabilities/canTrashChildren": can_trash_children
+"/drive:v2/Drive/colorRgb": color_rgb
+"/drive:v2/Drive/createdDate": created_date
+"/drive:v2/Drive/hidden": hidden
+"/drive:v2/Drive/id": id
+"/drive:v2/Drive/kind": kind
+"/drive:v2/Drive/name": name
+"/drive:v2/Drive/restrictions": restrictions
+"/drive:v2/Drive/restrictions/adminManagedRestrictions": admin_managed_restrictions
+"/drive:v2/Drive/restrictions/copyRequiresWriterPermission": copy_requires_writer_permission
+"/drive:v2/Drive/restrictions/domainUsersOnly": domain_users_only
+"/drive:v2/Drive/restrictions/driveMembersOnly": drive_members_only
+"/drive:v2/Drive/themeId": theme_id
+"/drive:v2/DriveList": drive_list
+"/drive:v2/DriveList/items": items
+"/drive:v2/DriveList/items/item": item
+"/drive:v2/DriveList/kind": kind
+"/drive:v2/DriveList/nextPageToken": next_page_token
"/drive:v2/File": file
"/drive:v2/File/alternateLink": alternate_link
"/drive:v2/File/appDataContents": app_data_contents
@@ -72916,12 +73802,17 @@
"/drive:v2/File/capabilities/canDownload": can_download
"/drive:v2/File/capabilities/canEdit": can_edit
"/drive:v2/File/capabilities/canListChildren": can_list_children
+"/drive:v2/File/capabilities/canMoveChildrenOutOfDrive": can_move_children_out_of_drive
"/drive:v2/File/capabilities/canMoveChildrenOutOfTeamDrive": can_move_children_out_of_team_drive
+"/drive:v2/File/capabilities/canMoveChildrenWithinDrive": can_move_children_within_drive
"/drive:v2/File/capabilities/canMoveChildrenWithinTeamDrive": can_move_children_within_team_drive
"/drive:v2/File/capabilities/canMoveItemIntoTeamDrive": can_move_item_into_team_drive
+"/drive:v2/File/capabilities/canMoveItemOutOfDrive": can_move_item_out_of_drive
"/drive:v2/File/capabilities/canMoveItemOutOfTeamDrive": can_move_item_out_of_team_drive
+"/drive:v2/File/capabilities/canMoveItemWithinDrive": can_move_item_within_drive
"/drive:v2/File/capabilities/canMoveItemWithinTeamDrive": can_move_item_within_team_drive
"/drive:v2/File/capabilities/canMoveTeamDriveItem": can_move_team_drive_item
+"/drive:v2/File/capabilities/canReadDrive": can_read_drive
"/drive:v2/File/capabilities/canReadRevisions": can_read_revisions
"/drive:v2/File/capabilities/canReadTeamDrive": can_read_team_drive
"/drive:v2/File/capabilities/canRemoveChildren": can_remove_children
@@ -72936,6 +73827,7 @@
"/drive:v2/File/defaultOpenWithLink": default_open_with_link
"/drive:v2/File/description": description
"/drive:v2/File/downloadUrl": download_url
+"/drive:v2/File/driveId": drive_id
"/drive:v2/File/editable": editable
"/drive:v2/File/embedLink": embed_link
"/drive:v2/File/etag": etag
@@ -73075,6 +73967,14 @@
"/drive:v2/Permission/id": id
"/drive:v2/Permission/kind": kind
"/drive:v2/Permission/name": name
+"/drive:v2/Permission/permissionDetails": permission_details
+"/drive:v2/Permission/permissionDetails/permission_detail": permission_detail
+"/drive:v2/Permission/permissionDetails/permission_detail/additionalRoles": additional_roles
+"/drive:v2/Permission/permissionDetails/permission_detail/additionalRoles/additional_role": additional_role
+"/drive:v2/Permission/permissionDetails/permission_detail/inherited": inherited
+"/drive:v2/Permission/permissionDetails/permission_detail/inheritedFrom": inherited_from
+"/drive:v2/Permission/permissionDetails/permission_detail/permissionType": permission_type
+"/drive:v2/Permission/permissionDetails/permission_detail/role": role
"/drive:v2/Permission/photoLink": photo_link
"/drive:v2/Permission/role": role
"/drive:v2/Permission/selfLink": self_link
@@ -73205,31 +74105,41 @@
"/drive:v2/drive.apps.list/languageCode": language_code
"/drive:v2/drive.changes.get": get_change
"/drive:v2/drive.changes.get/changeId": change_id
+"/drive:v2/drive.changes.get/driveId": drive_id
+"/drive:v2/drive.changes.get/supportsAllDrives": supports_all_drives
"/drive:v2/drive.changes.get/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.changes.get/teamDriveId": team_drive_id
"/drive:v2/drive.changes.getStartPageToken": get_change_start_page_token
+"/drive:v2/drive.changes.getStartPageToken/driveId": drive_id
+"/drive:v2/drive.changes.getStartPageToken/supportsAllDrives": supports_all_drives
"/drive:v2/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.changes.getStartPageToken/teamDriveId": team_drive_id
"/drive:v2/drive.changes.list": list_changes
+"/drive:v2/drive.changes.list/driveId": drive_id
"/drive:v2/drive.changes.list/includeCorpusRemovals": include_corpus_removals
"/drive:v2/drive.changes.list/includeDeleted": include_deleted
+"/drive:v2/drive.changes.list/includeItemsFromAllDrives": include_items_from_all_drives
"/drive:v2/drive.changes.list/includeSubscribed": include_subscribed
"/drive:v2/drive.changes.list/includeTeamDriveItems": include_team_drive_items
"/drive:v2/drive.changes.list/maxResults": max_results
"/drive:v2/drive.changes.list/pageToken": page_token
"/drive:v2/drive.changes.list/spaces": spaces
"/drive:v2/drive.changes.list/startChangeId": start_change_id
+"/drive:v2/drive.changes.list/supportsAllDrives": supports_all_drives
"/drive:v2/drive.changes.list/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.changes.list/teamDriveId": team_drive_id
"/drive:v2/drive.changes.watch": watch_change
+"/drive:v2/drive.changes.watch/driveId": drive_id
"/drive:v2/drive.changes.watch/includeCorpusRemovals": include_corpus_removals
"/drive:v2/drive.changes.watch/includeDeleted": include_deleted
+"/drive:v2/drive.changes.watch/includeItemsFromAllDrives": include_items_from_all_drives
"/drive:v2/drive.changes.watch/includeSubscribed": include_subscribed
"/drive:v2/drive.changes.watch/includeTeamDriveItems": include_team_drive_items
"/drive:v2/drive.changes.watch/maxResults": max_results
"/drive:v2/drive.changes.watch/pageToken": page_token
"/drive:v2/drive.changes.watch/spaces": spaces
"/drive:v2/drive.changes.watch/startChangeId": start_change_id
+"/drive:v2/drive.changes.watch/supportsAllDrives": supports_all_drives
"/drive:v2/drive.changes.watch/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.changes.watch/teamDriveId": team_drive_id
"/drive:v2/drive.channels.stop": stop_channel
@@ -73241,6 +74151,7 @@
"/drive:v2/drive.children.get/folderId": folder_id
"/drive:v2/drive.children.insert": insert_child
"/drive:v2/drive.children.insert/folderId": folder_id
+"/drive:v2/drive.children.insert/supportsAllDrives": supports_all_drives
"/drive:v2/drive.children.insert/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.children.list": list_children
"/drive:v2/drive.children.list/folderId": folder_id
@@ -73269,18 +74180,39 @@
"/drive:v2/drive.comments.update": update_comment
"/drive:v2/drive.comments.update/commentId": comment_id
"/drive:v2/drive.comments.update/fileId": file_id
+"/drive:v2/drive.drives.delete": delete_drife
+"/drive:v2/drive.drives.delete/driveId": drive_id
+"/drive:v2/drive.drives.get": get_drife
+"/drive:v2/drive.drives.get/driveId": drive_id
+"/drive:v2/drive.drives.get/useDomainAdminAccess": use_domain_admin_access
+"/drive:v2/drive.drives.hide": hide_drife
+"/drive:v2/drive.drives.hide/driveId": drive_id
+"/drive:v2/drive.drives.insert": insert_drife
+"/drive:v2/drive.drives.insert/requestId": request_id
+"/drive:v2/drive.drives.list": list_drives
+"/drive:v2/drive.drives.list/maxResults": max_results
+"/drive:v2/drive.drives.list/pageToken": page_token
+"/drive:v2/drive.drives.list/q": q
+"/drive:v2/drive.drives.list/useDomainAdminAccess": use_domain_admin_access
+"/drive:v2/drive.drives.unhide": unhide_drife
+"/drive:v2/drive.drives.unhide/driveId": drive_id
+"/drive:v2/drive.drives.update": update_drife
+"/drive:v2/drive.drives.update/driveId": drive_id
+"/drive:v2/drive.drives.update/useDomainAdminAccess": use_domain_admin_access
"/drive:v2/drive.files.copy": copy_file
"/drive:v2/drive.files.copy/convert": convert
"/drive:v2/drive.files.copy/fileId": file_id
"/drive:v2/drive.files.copy/ocr": ocr
"/drive:v2/drive.files.copy/ocrLanguage": ocr_language
"/drive:v2/drive.files.copy/pinned": pinned
+"/drive:v2/drive.files.copy/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.copy/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.copy/timedTextLanguage": timed_text_language
"/drive:v2/drive.files.copy/timedTextTrackName": timed_text_track_name
"/drive:v2/drive.files.copy/visibility": visibility
"/drive:v2/drive.files.delete": delete_file
"/drive:v2/drive.files.delete/fileId": file_id
+"/drive:v2/drive.files.delete/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.delete/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.emptyTrash": empty_trash
"/drive:v2/drive.files.export": export_file
@@ -73294,6 +74226,7 @@
"/drive:v2/drive.files.get/fileId": file_id
"/drive:v2/drive.files.get/projection": projection
"/drive:v2/drive.files.get/revisionId": revision_id
+"/drive:v2/drive.files.get/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.get/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.get/updateViewedDate": update_viewed_date
"/drive:v2/drive.files.insert": insert_file
@@ -73301,6 +74234,7 @@
"/drive:v2/drive.files.insert/ocr": ocr
"/drive:v2/drive.files.insert/ocrLanguage": ocr_language
"/drive:v2/drive.files.insert/pinned": pinned
+"/drive:v2/drive.files.insert/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.insert/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.insert/timedTextLanguage": timed_text_language
"/drive:v2/drive.files.insert/timedTextTrackName": timed_text_track_name
@@ -73309,6 +74243,8 @@
"/drive:v2/drive.files.list": list_files
"/drive:v2/drive.files.list/corpora": corpora
"/drive:v2/drive.files.list/corpus": corpus
+"/drive:v2/drive.files.list/driveId": drive_id
+"/drive:v2/drive.files.list/includeItemsFromAllDrives": include_items_from_all_drives
"/drive:v2/drive.files.list/includeTeamDriveItems": include_team_drive_items
"/drive:v2/drive.files.list/maxResults": max_results
"/drive:v2/drive.files.list/orderBy": order_by
@@ -73316,6 +74252,7 @@
"/drive:v2/drive.files.list/projection": projection
"/drive:v2/drive.files.list/q": q
"/drive:v2/drive.files.list/spaces": spaces
+"/drive:v2/drive.files.list/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.list/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.list/teamDriveId": team_drive_id
"/drive:v2/drive.files.patch": patch_file
@@ -73329,6 +74266,7 @@
"/drive:v2/drive.files.patch/pinned": pinned
"/drive:v2/drive.files.patch/removeParents": remove_parents
"/drive:v2/drive.files.patch/setModifiedDate": set_modified_date
+"/drive:v2/drive.files.patch/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.patch/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.patch/timedTextLanguage": timed_text_language
"/drive:v2/drive.files.patch/timedTextTrackName": timed_text_track_name
@@ -73336,12 +74274,15 @@
"/drive:v2/drive.files.patch/useContentAsIndexableText": use_content_as_indexable_text
"/drive:v2/drive.files.touch": touch_file
"/drive:v2/drive.files.touch/fileId": file_id
+"/drive:v2/drive.files.touch/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.touch/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.trash": trash_file
"/drive:v2/drive.files.trash/fileId": file_id
+"/drive:v2/drive.files.trash/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.trash/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.untrash": untrash_file
"/drive:v2/drive.files.untrash/fileId": file_id
+"/drive:v2/drive.files.untrash/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.untrash/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.update": update_file
"/drive:v2/drive.files.update/addParents": add_parents
@@ -73354,6 +74295,7 @@
"/drive:v2/drive.files.update/pinned": pinned
"/drive:v2/drive.files.update/removeParents": remove_parents
"/drive:v2/drive.files.update/setModifiedDate": set_modified_date
+"/drive:v2/drive.files.update/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.update/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.update/timedTextLanguage": timed_text_language
"/drive:v2/drive.files.update/timedTextTrackName": timed_text_track_name
@@ -73364,6 +74306,7 @@
"/drive:v2/drive.files.watch/fileId": file_id
"/drive:v2/drive.files.watch/projection": projection
"/drive:v2/drive.files.watch/revisionId": revision_id
+"/drive:v2/drive.files.watch/supportsAllDrives": supports_all_drives
"/drive:v2/drive.files.watch/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.files.watch/updateViewedDate": update_viewed_date
"/drive:v2/drive.parents.delete": delete_parent
@@ -73374,17 +74317,20 @@
"/drive:v2/drive.parents.get/parentId": parent_id
"/drive:v2/drive.parents.insert": insert_parent
"/drive:v2/drive.parents.insert/fileId": file_id
+"/drive:v2/drive.parents.insert/supportsAllDrives": supports_all_drives
"/drive:v2/drive.parents.insert/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.parents.list": list_parents
"/drive:v2/drive.parents.list/fileId": file_id
"/drive:v2/drive.permissions.delete": delete_permission
"/drive:v2/drive.permissions.delete/fileId": file_id
"/drive:v2/drive.permissions.delete/permissionId": permission_id
+"/drive:v2/drive.permissions.delete/supportsAllDrives": supports_all_drives
"/drive:v2/drive.permissions.delete/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.permissions.delete/useDomainAdminAccess": use_domain_admin_access
"/drive:v2/drive.permissions.get": get_permission
"/drive:v2/drive.permissions.get/fileId": file_id
"/drive:v2/drive.permissions.get/permissionId": permission_id
+"/drive:v2/drive.permissions.get/supportsAllDrives": supports_all_drives
"/drive:v2/drive.permissions.get/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.permissions.get/useDomainAdminAccess": use_domain_admin_access
"/drive:v2/drive.permissions.getIdForEmail": get_permission_id_for_email
@@ -73393,18 +74339,21 @@
"/drive:v2/drive.permissions.insert/emailMessage": email_message
"/drive:v2/drive.permissions.insert/fileId": file_id
"/drive:v2/drive.permissions.insert/sendNotificationEmails": send_notification_emails
+"/drive:v2/drive.permissions.insert/supportsAllDrives": supports_all_drives
"/drive:v2/drive.permissions.insert/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.permissions.insert/useDomainAdminAccess": use_domain_admin_access
"/drive:v2/drive.permissions.list": list_permissions
"/drive:v2/drive.permissions.list/fileId": file_id
"/drive:v2/drive.permissions.list/maxResults": max_results
"/drive:v2/drive.permissions.list/pageToken": page_token
+"/drive:v2/drive.permissions.list/supportsAllDrives": supports_all_drives
"/drive:v2/drive.permissions.list/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.permissions.list/useDomainAdminAccess": use_domain_admin_access
"/drive:v2/drive.permissions.patch": patch_permission
"/drive:v2/drive.permissions.patch/fileId": file_id
"/drive:v2/drive.permissions.patch/permissionId": permission_id
"/drive:v2/drive.permissions.patch/removeExpiration": remove_expiration
+"/drive:v2/drive.permissions.patch/supportsAllDrives": supports_all_drives
"/drive:v2/drive.permissions.patch/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.permissions.patch/transferOwnership": transfer_ownership
"/drive:v2/drive.permissions.patch/useDomainAdminAccess": use_domain_admin_access
@@ -73412,6 +74361,7 @@
"/drive:v2/drive.permissions.update/fileId": file_id
"/drive:v2/drive.permissions.update/permissionId": permission_id
"/drive:v2/drive.permissions.update/removeExpiration": remove_expiration
+"/drive:v2/drive.permissions.update/supportsAllDrives": supports_all_drives
"/drive:v2/drive.permissions.update/supportsTeamDrives": supports_team_drives
"/drive:v2/drive.permissions.update/transferOwnership": transfer_ownership
"/drive:v2/drive.permissions.update/useDomainAdminAccess": use_domain_admin_access
@@ -73504,7 +74454,13 @@
"/drive:v2/userIp": user_ip
"/drive:v3/About": about
"/drive:v3/About/appInstalled": app_installed
+"/drive:v3/About/canCreateDrives": can_create_drives
"/drive:v3/About/canCreateTeamDrives": can_create_team_drives
+"/drive:v3/About/driveThemes": drive_themes
+"/drive:v3/About/driveThemes/drive_theme": drive_theme
+"/drive:v3/About/driveThemes/drive_theme/backgroundImageLink": background_image_link
+"/drive:v3/About/driveThemes/drive_theme/colorRgb": color_rgb
+"/drive:v3/About/driveThemes/drive_theme/id": id
"/drive:v3/About/exportFormats": export_formats
"/drive:v3/About/exportFormats/export_format": export_format
"/drive:v3/About/exportFormats/export_format/export_format": export_format
@@ -73529,6 +74485,9 @@
"/drive:v3/About/teamDriveThemes/team_drive_theme/id": id
"/drive:v3/About/user": user
"/drive:v3/Change": change
+"/drive:v3/Change/changeType": change_type
+"/drive:v3/Change/drive": drive
+"/drive:v3/Change/driveId": drive_id
"/drive:v3/Change/file": file
"/drive:v3/Change/fileId": file_id
"/drive:v3/Change/kind": kind
@@ -73576,6 +74535,49 @@
"/drive:v3/CommentList/comments/comment": comment
"/drive:v3/CommentList/kind": kind
"/drive:v3/CommentList/nextPageToken": next_page_token
+"/drive:v3/Drive": drive
+"/drive:v3/Drive/backgroundImageFile": background_image_file
+"/drive:v3/Drive/backgroundImageFile/id": id
+"/drive:v3/Drive/backgroundImageFile/width": width
+"/drive:v3/Drive/backgroundImageFile/xCoordinate": x_coordinate
+"/drive:v3/Drive/backgroundImageFile/yCoordinate": y_coordinate
+"/drive:v3/Drive/backgroundImageLink": background_image_link
+"/drive:v3/Drive/capabilities": capabilities
+"/drive:v3/Drive/capabilities/canAddChildren": can_add_children
+"/drive:v3/Drive/capabilities/canChangeCopyRequiresWriterPermissionRestriction": can_change_copy_requires_writer_permission_restriction
+"/drive:v3/Drive/capabilities/canChangeDomainUsersOnlyRestriction": can_change_domain_users_only_restriction
+"/drive:v3/Drive/capabilities/canChangeDriveBackground": can_change_drive_background
+"/drive:v3/Drive/capabilities/canChangeDriveMembersOnlyRestriction": can_change_drive_members_only_restriction
+"/drive:v3/Drive/capabilities/canComment": can_comment
+"/drive:v3/Drive/capabilities/canCopy": can_copy
+"/drive:v3/Drive/capabilities/canDeleteChildren": can_delete_children
+"/drive:v3/Drive/capabilities/canDeleteDrive": can_delete_drive
+"/drive:v3/Drive/capabilities/canDownload": can_download
+"/drive:v3/Drive/capabilities/canEdit": can_edit
+"/drive:v3/Drive/capabilities/canListChildren": can_list_children
+"/drive:v3/Drive/capabilities/canManageMembers": can_manage_members
+"/drive:v3/Drive/capabilities/canReadRevisions": can_read_revisions
+"/drive:v3/Drive/capabilities/canRename": can_rename
+"/drive:v3/Drive/capabilities/canRenameDrive": can_rename_drive
+"/drive:v3/Drive/capabilities/canShare": can_share
+"/drive:v3/Drive/capabilities/canTrashChildren": can_trash_children
+"/drive:v3/Drive/colorRgb": color_rgb
+"/drive:v3/Drive/createdTime": created_time
+"/drive:v3/Drive/hidden": hidden
+"/drive:v3/Drive/id": id
+"/drive:v3/Drive/kind": kind
+"/drive:v3/Drive/name": name
+"/drive:v3/Drive/restrictions": restrictions
+"/drive:v3/Drive/restrictions/adminManagedRestrictions": admin_managed_restrictions
+"/drive:v3/Drive/restrictions/copyRequiresWriterPermission": copy_requires_writer_permission
+"/drive:v3/Drive/restrictions/domainUsersOnly": domain_users_only
+"/drive:v3/Drive/restrictions/driveMembersOnly": drive_members_only
+"/drive:v3/Drive/themeId": theme_id
+"/drive:v3/DriveList": drive_list
+"/drive:v3/DriveList/drives": drives
+"/drive:v3/DriveList/drives/drife": drife
+"/drive:v3/DriveList/kind": kind
+"/drive:v3/DriveList/nextPageToken": next_page_token
"/drive:v3/File": file
"/drive:v3/File/appProperties": app_properties
"/drive:v3/File/appProperties/app_property": app_property
@@ -73590,12 +74592,17 @@
"/drive:v3/File/capabilities/canDownload": can_download
"/drive:v3/File/capabilities/canEdit": can_edit
"/drive:v3/File/capabilities/canListChildren": can_list_children
+"/drive:v3/File/capabilities/canMoveChildrenOutOfDrive": can_move_children_out_of_drive
"/drive:v3/File/capabilities/canMoveChildrenOutOfTeamDrive": can_move_children_out_of_team_drive
+"/drive:v3/File/capabilities/canMoveChildrenWithinDrive": can_move_children_within_drive
"/drive:v3/File/capabilities/canMoveChildrenWithinTeamDrive": can_move_children_within_team_drive
"/drive:v3/File/capabilities/canMoveItemIntoTeamDrive": can_move_item_into_team_drive
+"/drive:v3/File/capabilities/canMoveItemOutOfDrive": can_move_item_out_of_drive
"/drive:v3/File/capabilities/canMoveItemOutOfTeamDrive": can_move_item_out_of_team_drive
+"/drive:v3/File/capabilities/canMoveItemWithinDrive": can_move_item_within_drive
"/drive:v3/File/capabilities/canMoveItemWithinTeamDrive": can_move_item_within_team_drive
"/drive:v3/File/capabilities/canMoveTeamDriveItem": can_move_team_drive_item
+"/drive:v3/File/capabilities/canReadDrive": can_read_drive
"/drive:v3/File/capabilities/canReadRevisions": can_read_revisions
"/drive:v3/File/capabilities/canReadTeamDrive": can_read_team_drive
"/drive:v3/File/capabilities/canRemoveChildren": can_remove_children
@@ -73612,6 +74619,7 @@
"/drive:v3/File/copyRequiresWriterPermission": copy_requires_writer_permission
"/drive:v3/File/createdTime": created_time
"/drive:v3/File/description": description
+"/drive:v3/File/driveId": drive_id
"/drive:v3/File/explicitlyTrashed": explicitly_trashed
"/drive:v3/File/exportLinks": export_links
"/drive:v3/File/exportLinks/export_link": export_link
@@ -73714,6 +74722,12 @@
"/drive:v3/Permission/expirationTime": expiration_time
"/drive:v3/Permission/id": id
"/drive:v3/Permission/kind": kind
+"/drive:v3/Permission/permissionDetails": permission_details
+"/drive:v3/Permission/permissionDetails/permission_detail": permission_detail
+"/drive:v3/Permission/permissionDetails/permission_detail/inherited": inherited
+"/drive:v3/Permission/permissionDetails/permission_detail/inheritedFrom": inherited_from
+"/drive:v3/Permission/permissionDetails/permission_detail/permissionType": permission_type
+"/drive:v3/Permission/permissionDetails/permission_detail/role": role
"/drive:v3/Permission/photoLink": photo_link
"/drive:v3/Permission/role": role
"/drive:v3/Permission/teamDrivePermissionDetails": team_drive_permission_details
@@ -73818,26 +74832,34 @@
"/drive:v3/User/photoLink": photo_link
"/drive:v3/drive.about.get": get_about
"/drive:v3/drive.changes.getStartPageToken": get_changes_start_page_token
+"/drive:v3/drive.changes.getStartPageToken/driveId": drive_id
+"/drive:v3/drive.changes.getStartPageToken/supportsAllDrives": supports_all_drives
"/drive:v3/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.changes.getStartPageToken/teamDriveId": team_drive_id
"/drive:v3/drive.changes.list": list_changes
+"/drive:v3/drive.changes.list/driveId": drive_id
"/drive:v3/drive.changes.list/includeCorpusRemovals": include_corpus_removals
+"/drive:v3/drive.changes.list/includeItemsFromAllDrives": include_items_from_all_drives
"/drive:v3/drive.changes.list/includeRemoved": include_removed
"/drive:v3/drive.changes.list/includeTeamDriveItems": include_team_drive_items
"/drive:v3/drive.changes.list/pageSize": page_size
"/drive:v3/drive.changes.list/pageToken": page_token
"/drive:v3/drive.changes.list/restrictToMyDrive": restrict_to_my_drive
"/drive:v3/drive.changes.list/spaces": spaces
+"/drive:v3/drive.changes.list/supportsAllDrives": supports_all_drives
"/drive:v3/drive.changes.list/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.changes.list/teamDriveId": team_drive_id
"/drive:v3/drive.changes.watch": watch_change
+"/drive:v3/drive.changes.watch/driveId": drive_id
"/drive:v3/drive.changes.watch/includeCorpusRemovals": include_corpus_removals
+"/drive:v3/drive.changes.watch/includeItemsFromAllDrives": include_items_from_all_drives
"/drive:v3/drive.changes.watch/includeRemoved": include_removed
"/drive:v3/drive.changes.watch/includeTeamDriveItems": include_team_drive_items
"/drive:v3/drive.changes.watch/pageSize": page_size
"/drive:v3/drive.changes.watch/pageToken": page_token
"/drive:v3/drive.changes.watch/restrictToMyDrive": restrict_to_my_drive
"/drive:v3/drive.changes.watch/spaces": spaces
+"/drive:v3/drive.changes.watch/supportsAllDrives": supports_all_drives
"/drive:v3/drive.changes.watch/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.changes.watch/teamDriveId": team_drive_id
"/drive:v3/drive.channels.stop": stop_channel
@@ -73859,20 +74881,42 @@
"/drive:v3/drive.comments.update": update_comment
"/drive:v3/drive.comments.update/commentId": comment_id
"/drive:v3/drive.comments.update/fileId": file_id
+"/drive:v3/drive.drives.create": create_drife
+"/drive:v3/drive.drives.create/requestId": request_id
+"/drive:v3/drive.drives.delete": delete_drife
+"/drive:v3/drive.drives.delete/driveId": drive_id
+"/drive:v3/drive.drives.get": get_drife
+"/drive:v3/drive.drives.get/driveId": drive_id
+"/drive:v3/drive.drives.get/useDomainAdminAccess": use_domain_admin_access
+"/drive:v3/drive.drives.hide": hide_drife
+"/drive:v3/drive.drives.hide/driveId": drive_id
+"/drive:v3/drive.drives.list": list_drives
+"/drive:v3/drive.drives.list/pageSize": page_size
+"/drive:v3/drive.drives.list/pageToken": page_token
+"/drive:v3/drive.drives.list/q": q
+"/drive:v3/drive.drives.list/useDomainAdminAccess": use_domain_admin_access
+"/drive:v3/drive.drives.unhide": unhide_drife
+"/drive:v3/drive.drives.unhide/driveId": drive_id
+"/drive:v3/drive.drives.update": update_drife
+"/drive:v3/drive.drives.update/driveId": drive_id
+"/drive:v3/drive.drives.update/useDomainAdminAccess": use_domain_admin_access
"/drive:v3/drive.files.copy": copy_file
"/drive:v3/drive.files.copy/fileId": file_id
"/drive:v3/drive.files.copy/ignoreDefaultVisibility": ignore_default_visibility
"/drive:v3/drive.files.copy/keepRevisionForever": keep_revision_forever
"/drive:v3/drive.files.copy/ocrLanguage": ocr_language
+"/drive:v3/drive.files.copy/supportsAllDrives": supports_all_drives
"/drive:v3/drive.files.copy/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.files.create": create_file
"/drive:v3/drive.files.create/ignoreDefaultVisibility": ignore_default_visibility
"/drive:v3/drive.files.create/keepRevisionForever": keep_revision_forever
"/drive:v3/drive.files.create/ocrLanguage": ocr_language
+"/drive:v3/drive.files.create/supportsAllDrives": supports_all_drives
"/drive:v3/drive.files.create/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.files.create/useContentAsIndexableText": use_content_as_indexable_text
"/drive:v3/drive.files.delete": delete_file
"/drive:v3/drive.files.delete/fileId": file_id
+"/drive:v3/drive.files.delete/supportsAllDrives": supports_all_drives
"/drive:v3/drive.files.delete/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.files.emptyTrash": empty_file_trash
"/drive:v3/drive.files.export": export_file
@@ -73884,16 +74928,20 @@
"/drive:v3/drive.files.get": get_file
"/drive:v3/drive.files.get/acknowledgeAbuse": acknowledge_abuse
"/drive:v3/drive.files.get/fileId": file_id
+"/drive:v3/drive.files.get/supportsAllDrives": supports_all_drives
"/drive:v3/drive.files.get/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.files.list": list_files
"/drive:v3/drive.files.list/corpora": corpora
"/drive:v3/drive.files.list/corpus": corpus
+"/drive:v3/drive.files.list/driveId": drive_id
+"/drive:v3/drive.files.list/includeItemsFromAllDrives": include_items_from_all_drives
"/drive:v3/drive.files.list/includeTeamDriveItems": include_team_drive_items
"/drive:v3/drive.files.list/orderBy": order_by
"/drive:v3/drive.files.list/pageSize": page_size
"/drive:v3/drive.files.list/pageToken": page_token
"/drive:v3/drive.files.list/q": q
"/drive:v3/drive.files.list/spaces": spaces
+"/drive:v3/drive.files.list/supportsAllDrives": supports_all_drives
"/drive:v3/drive.files.list/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.files.list/teamDriveId": team_drive_id
"/drive:v3/drive.files.update": update_file
@@ -73902,39 +74950,46 @@
"/drive:v3/drive.files.update/keepRevisionForever": keep_revision_forever
"/drive:v3/drive.files.update/ocrLanguage": ocr_language
"/drive:v3/drive.files.update/removeParents": remove_parents
+"/drive:v3/drive.files.update/supportsAllDrives": supports_all_drives
"/drive:v3/drive.files.update/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.files.update/useContentAsIndexableText": use_content_as_indexable_text
"/drive:v3/drive.files.watch": watch_file
"/drive:v3/drive.files.watch/acknowledgeAbuse": acknowledge_abuse
"/drive:v3/drive.files.watch/fileId": file_id
+"/drive:v3/drive.files.watch/supportsAllDrives": supports_all_drives
"/drive:v3/drive.files.watch/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.permissions.create": create_permission
"/drive:v3/drive.permissions.create/emailMessage": email_message
"/drive:v3/drive.permissions.create/fileId": file_id
"/drive:v3/drive.permissions.create/sendNotificationEmail": send_notification_email
+"/drive:v3/drive.permissions.create/supportsAllDrives": supports_all_drives
"/drive:v3/drive.permissions.create/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.permissions.create/transferOwnership": transfer_ownership
"/drive:v3/drive.permissions.create/useDomainAdminAccess": use_domain_admin_access
"/drive:v3/drive.permissions.delete": delete_permission
"/drive:v3/drive.permissions.delete/fileId": file_id
"/drive:v3/drive.permissions.delete/permissionId": permission_id
+"/drive:v3/drive.permissions.delete/supportsAllDrives": supports_all_drives
"/drive:v3/drive.permissions.delete/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.permissions.delete/useDomainAdminAccess": use_domain_admin_access
"/drive:v3/drive.permissions.get": get_permission
"/drive:v3/drive.permissions.get/fileId": file_id
"/drive:v3/drive.permissions.get/permissionId": permission_id
+"/drive:v3/drive.permissions.get/supportsAllDrives": supports_all_drives
"/drive:v3/drive.permissions.get/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.permissions.get/useDomainAdminAccess": use_domain_admin_access
"/drive:v3/drive.permissions.list": list_permissions
"/drive:v3/drive.permissions.list/fileId": file_id
"/drive:v3/drive.permissions.list/pageSize": page_size
"/drive:v3/drive.permissions.list/pageToken": page_token
+"/drive:v3/drive.permissions.list/supportsAllDrives": supports_all_drives
"/drive:v3/drive.permissions.list/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.permissions.list/useDomainAdminAccess": use_domain_admin_access
"/drive:v3/drive.permissions.update": update_permission
"/drive:v3/drive.permissions.update/fileId": file_id
"/drive:v3/drive.permissions.update/permissionId": permission_id
"/drive:v3/drive.permissions.update/removeExpiration": remove_expiration
+"/drive:v3/drive.permissions.update/supportsAllDrives": supports_all_drives
"/drive:v3/drive.permissions.update/supportsTeamDrives": supports_team_drives
"/drive:v3/drive.permissions.update/transferOwnership": transfer_ownership
"/drive:v3/drive.permissions.update/useDomainAdminAccess": use_domain_admin_access
@@ -74047,6 +75102,10 @@
"/driveactivity:v2/Domain": domain
"/driveactivity:v2/Domain/legacyId": legacy_id
"/driveactivity:v2/Domain/name": name
+"/driveactivity:v2/Drive": drive
+"/driveactivity:v2/Drive/name": name
+"/driveactivity:v2/Drive/root": root
+"/driveactivity:v2/Drive/title": title
"/driveactivity:v2/DriveActivity": drive_activity
"/driveactivity:v2/DriveActivity/actions": actions
"/driveactivity:v2/DriveActivity/actions/action": action
@@ -74057,7 +75116,12 @@
"/driveactivity:v2/DriveActivity/targets/target": target
"/driveactivity:v2/DriveActivity/timeRange": time_range
"/driveactivity:v2/DriveActivity/timestamp": timestamp
+"/driveactivity:v2/DriveFile": drive_file
+"/driveactivity:v2/DriveFolder": drive_folder
+"/driveactivity:v2/DriveFolder/type": type
"/driveactivity:v2/DriveItem": drive_item
+"/driveactivity:v2/DriveItem/driveFile": drive_file
+"/driveactivity:v2/DriveItem/driveFolder": drive_folder
"/driveactivity:v2/DriveItem/file": file
"/driveactivity:v2/DriveItem/folder": folder
"/driveactivity:v2/DriveItem/mimeType": mime_type
@@ -74065,10 +75129,15 @@
"/driveactivity:v2/DriveItem/owner": owner
"/driveactivity:v2/DriveItem/title": title
"/driveactivity:v2/DriveItemReference": drive_item_reference
+"/driveactivity:v2/DriveItemReference/driveFile": drive_file
+"/driveactivity:v2/DriveItemReference/driveFolder": drive_folder
"/driveactivity:v2/DriveItemReference/file": file
"/driveactivity:v2/DriveItemReference/folder": folder
"/driveactivity:v2/DriveItemReference/name": name
"/driveactivity:v2/DriveItemReference/title": title
+"/driveactivity:v2/DriveReference": drive_reference
+"/driveactivity:v2/DriveReference/name": name
+"/driveactivity:v2/DriveReference/title": title
"/driveactivity:v2/Edit": edit
"/driveactivity:v2/File": file
"/driveactivity:v2/FileComment": file_comment
@@ -74096,6 +75165,7 @@
"/driveactivity:v2/NoConsolidation": no_consolidation
"/driveactivity:v2/Owner": owner
"/driveactivity:v2/Owner/domain": domain
+"/driveactivity:v2/Owner/drive": drive
"/driveactivity:v2/Owner/teamDrive": team_drive
"/driveactivity:v2/Owner/user": user
"/driveactivity:v2/Permission": permission
@@ -74139,10 +75209,12 @@
"/driveactivity:v2/SystemEvent": system_event
"/driveactivity:v2/SystemEvent/type": type
"/driveactivity:v2/Target": target
+"/driveactivity:v2/Target/drive": drive
"/driveactivity:v2/Target/driveItem": drive_item
"/driveactivity:v2/Target/fileComment": file_comment
"/driveactivity:v2/Target/teamDrive": team_drive
"/driveactivity:v2/TargetReference": target_reference
+"/driveactivity:v2/TargetReference/drive": drive
"/driveactivity:v2/TargetReference/driveItem": drive_item
"/driveactivity:v2/TargetReference/teamDrive": team_drive
"/driveactivity:v2/TeamDrive": team_drive
@@ -74252,6 +75324,46 @@
"/file:v1/FileShareConfig": file_share_config
"/file:v1/FileShareConfig/capacityGb": capacity_gb
"/file:v1/FileShareConfig/name": name
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance": google_cloud_saasaccelerator_management_providers_v1_instance
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/createTime": create_time
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels": labels
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels/label": label
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames": maintenance_policy_names
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames/maintenance_policy_name": maintenance_policy_name
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/name": name
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata": producer_metadata
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata/producer_metadatum": producer_metadatum
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources": provisioned_resources
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources/provisioned_resource": provisioned_resource
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/rolloutMetadata": rollout_metadata
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/rolloutMetadata/rollout_metadatum": rollout_metadatum
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/sloMetadata": slo_metadata
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions": software_versions
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions/software_version": software_version
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/state": state
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/tenantProjectId": tenant_project_id
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/updateTime": update_time
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata": google_cloud_saasaccelerator_management_providers_v1_notification_metadata
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/rescheduled": rescheduled
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/scheduledEndTime": scheduled_end_time
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/scheduledStartTime": scheduled_start_time
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/targetRelease": target_release
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": google_cloud_saasaccelerator_management_providers_v1_provisioned_resource
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceType": resource_type
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceUrl": resource_url
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata": google_cloud_saasaccelerator_management_providers_v1_rollout_metadata
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata/notification": notification
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata/releaseName": release_name
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata/rolloutName": rollout_name
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": google_cloud_saasaccelerator_management_providers_v1_slo_exclusion
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/exclusionDuration": exclusion_duration
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/exclusionStartTime": exclusion_start_time
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/reason": reason
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/sloName": slo_name
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": google_cloud_saasaccelerator_management_providers_v1_slo_metadata
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions": exclusions
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions/exclusion": exclusion
+"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/tier": tier
"/file:v1/Instance": instance
"/file:v1/Instance/createTime": create_time
"/file:v1/Instance/description": description
@@ -74380,6 +75492,46 @@
"/file:v1beta1/FileShareConfig/name": name
"/file:v1beta1/FileShareConfig/protocols": protocols
"/file:v1beta1/FileShareConfig/protocols/protocol": protocol
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance": google_cloud_saasaccelerator_management_providers_v1_instance
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/createTime": create_time
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels": labels
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels/label": label
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames": maintenance_policy_names
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames/maintenance_policy_name": maintenance_policy_name
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/name": name
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata": producer_metadata
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata/producer_metadatum": producer_metadatum
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources": provisioned_resources
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources/provisioned_resource": provisioned_resource
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/rolloutMetadata": rollout_metadata
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/rolloutMetadata/rollout_metadatum": rollout_metadatum
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/sloMetadata": slo_metadata
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions": software_versions
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions/software_version": software_version
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/state": state
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/tenantProjectId": tenant_project_id
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/updateTime": update_time
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata": google_cloud_saasaccelerator_management_providers_v1_notification_metadata
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/rescheduled": rescheduled
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/scheduledEndTime": scheduled_end_time
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/scheduledStartTime": scheduled_start_time
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/targetRelease": target_release
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": google_cloud_saasaccelerator_management_providers_v1_provisioned_resource
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceType": resource_type
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceUrl": resource_url
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata": google_cloud_saasaccelerator_management_providers_v1_rollout_metadata
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata/notification": notification
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata/releaseName": release_name
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata/rolloutName": rollout_name
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": google_cloud_saasaccelerator_management_providers_v1_slo_exclusion
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/exclusionDuration": exclusion_duration
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/exclusionStartTime": exclusion_start_time
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/reason": reason
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/sloName": slo_name
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": google_cloud_saasaccelerator_management_providers_v1_slo_metadata
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions": exclusions
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions/exclusion": exclusion
+"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/tier": tier
"/file:v1beta1/Instance": instance
"/file:v1beta1/Instance/createTime": create_time
"/file:v1beta1/Instance/description": description
@@ -78775,6 +79927,8 @@
"/gmail:v1/LabelColor": label_color
"/gmail:v1/LabelColor/backgroundColor": background_color
"/gmail:v1/LabelColor/textColor": text_color
+"/gmail:v1/LanguageSettings": language_settings
+"/gmail:v1/LanguageSettings/displayLanguage": display_language
"/gmail:v1/ListDelegatesResponse": list_delegates_response
"/gmail:v1/ListDelegatesResponse/delegates": delegates
"/gmail:v1/ListDelegatesResponse/delegates/delegate": delegate
@@ -79029,6 +80183,8 @@
"/gmail:v1/gmail.users.settings.getAutoForwarding/userId": user_id
"/gmail:v1/gmail.users.settings.getImap": get_user_setting_imap
"/gmail:v1/gmail.users.settings.getImap/userId": user_id
+"/gmail:v1/gmail.users.settings.getLanguage": get_user_setting_language
+"/gmail:v1/gmail.users.settings.getLanguage/userId": user_id
"/gmail:v1/gmail.users.settings.getPop": get_user_setting_pop
"/gmail:v1/gmail.users.settings.getPop/userId": user_id
"/gmail:v1/gmail.users.settings.getVacation": get_user_setting_vacation
@@ -79074,6 +80230,8 @@
"/gmail:v1/gmail.users.settings.updateAutoForwarding/userId": user_id
"/gmail:v1/gmail.users.settings.updateImap": update_user_setting_imap
"/gmail:v1/gmail.users.settings.updateImap/userId": user_id
+"/gmail:v1/gmail.users.settings.updateLanguage": update_user_setting_language
+"/gmail:v1/gmail.users.settings.updateLanguage/userId": user_id
"/gmail:v1/gmail.users.settings.updatePop": update_user_setting_pop
"/gmail:v1/gmail.users.settings.updatePop/userId": user_id
"/gmail:v1/gmail.users.settings.updateVacation": update_user_setting_vacation
@@ -79677,6 +80835,9 @@
"/healthcare:v1alpha2/Annotation/name": name
"/healthcare:v1alpha2/Annotation/resourceAnnotation": resource_annotation
"/healthcare:v1alpha2/Annotation/textAnnotation": text_annotation
+"/healthcare:v1alpha2/AnnotationConfig": annotation_config
+"/healthcare:v1alpha2/AnnotationConfig/annotationStoreName": annotation_store_name
+"/healthcare:v1alpha2/AnnotationConfig/storeQuote": store_quote
"/healthcare:v1alpha2/AnnotationSource": annotation_source
"/healthcare:v1alpha2/AnnotationSource/cloudHealthcareSource": cloud_healthcare_source
"/healthcare:v1alpha2/AnnotationStore": annotation_store
@@ -79717,10 +80878,13 @@
"/healthcare:v1alpha2/DateShiftConfig": date_shift_config
"/healthcare:v1alpha2/DateShiftConfig/cryptoKey": crypto_key
"/healthcare:v1alpha2/DeidentifyConfig": deidentify_config
+"/healthcare:v1alpha2/DeidentifyConfig/annotation": annotation
"/healthcare:v1alpha2/DeidentifyConfig/dicom": dicom
"/healthcare:v1alpha2/DeidentifyConfig/fhir": fhir
"/healthcare:v1alpha2/DeidentifyConfig/image": image
+"/healthcare:v1alpha2/DeidentifyConfig/inspectionConfig": inspection_config
"/healthcare:v1alpha2/DeidentifyConfig/text": text
+"/healthcare:v1alpha2/DeidentifyConfig/transformationConfig": transformation_config
"/healthcare:v1alpha2/DeidentifyDatasetRequest": deidentify_dataset_request
"/healthcare:v1alpha2/DeidentifyDatasetRequest/config": config
"/healthcare:v1alpha2/DeidentifyDatasetRequest/destinationDataset": destination_dataset
@@ -79739,6 +80903,7 @@
"/healthcare:v1alpha2/DicomConfig/filterProfile": filter_profile
"/healthcare:v1alpha2/DicomConfig/keepList": keep_list
"/healthcare:v1alpha2/DicomConfig/removeList": remove_list
+"/healthcare:v1alpha2/DicomConfig/skipIdRedaction": skip_id_redaction
"/healthcare:v1alpha2/DicomStore": dicom_store
"/healthcare:v1alpha2/DicomStore/labels": labels
"/healthcare:v1alpha2/DicomStore/labels/label": label
@@ -79853,6 +81018,9 @@
"/healthcare:v1alpha2/IngestMessageResponse": ingest_message_response
"/healthcare:v1alpha2/IngestMessageResponse/hl7Ack": hl7_ack
"/healthcare:v1alpha2/IngestMessageResponse/message": message
+"/healthcare:v1alpha2/InspectionConfig": inspection_config
+"/healthcare:v1alpha2/InspectionConfig/annotation": annotation
+"/healthcare:v1alpha2/InspectionConfig/textInspectorConfigs": text_inspector_configs
"/healthcare:v1alpha2/ListAnnotationStoresResponse": list_annotation_stores_response
"/healthcare:v1alpha2/ListAnnotationStoresResponse/annotationStores": annotation_stores
"/healthcare:v1alpha2/ListAnnotationStoresResponse/annotationStores/annotation_store": annotation_store
@@ -79983,6 +81151,14 @@
"/healthcare:v1alpha2/TextConfig/experimentalConfig": experimental_config
"/healthcare:v1alpha2/TextConfig/transformations": transformations
"/healthcare:v1alpha2/TextConfig/transformations/transformation": transformation
+"/healthcare:v1alpha2/TextInspectorConfig": text_inspector_config
+"/healthcare:v1alpha2/TextInspectorConfig/infoTypes": info_types
+"/healthcare:v1alpha2/TextInspectorConfig/infoTypes/info_type": info_type
+"/healthcare:v1alpha2/TextInspectorConfig/models": models
+"/healthcare:v1alpha2/TextInspectorConfig/models/model": model
+"/healthcare:v1alpha2/TransformationConfig": transformation_config
+"/healthcare:v1alpha2/TransformationConfig/image": image
+"/healthcare:v1alpha2/TransformationConfig/text": text
"/healthcare:v1alpha2/Vertex": vertex
"/healthcare:v1alpha2/Vertex/x": x
"/healthcare:v1alpha2/Vertex/y": y
@@ -80139,6 +81315,8 @@
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.setIamPolicy/resource": resource
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.testIamPermissions": test_dicom_store_iam_permissions
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.dicomStores.testIamPermissions/resource": resource
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.capabilities": capabilities_project_location_dataset_fhir_store
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.capabilities/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.create": create_project_location_dataset_fhir_store
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.create/fhirStoreId": fhir_store_id
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.create/parent": parent
@@ -80149,10 +81327,18 @@
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.export": export_fhir_store_resources
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.export/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir": fhir_project_location_dataset_fhir_store
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Observation-lastn": observation_project_location_dataset_fhir_store_fhir_lastn
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Observation-lastn/parent": parent
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything": patient_project_location_dataset_fhir_store_fhir_everything
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything/end": end_
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything/name": name
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything/start": start
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Patient.get$everything": get$everything_project_location_dataset_fhir_store_fhir_patient
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Patient.get$everything/end": end_
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Patient.get$everything/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Patient.get$everything/start": start
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Resource-purge": resource_project_location_dataset_fhir_store_fhir_purge
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.Resource-purge/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir._history.get": get_project_location_dataset_fhir_store_fhir__history
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir._history.get/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir._history.list": list_project_location_dataset_fhir_store_fhir__histories
@@ -80163,15 +81349,29 @@
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir._history.list/since": since
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir._search": _project_location_dataset_fhir_store_fhir_search
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir._search/parent": parent
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.capabilities": capabilities_project_location_dataset_fhir_store_fhir
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.capabilities/name": name
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDelete": conditional_project_location_dataset_fhir_store_fhir_delete
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDelete/parent": parent
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDelete/type": type
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDeleteResource": conditional_project_location_dataset_fhir_store_fhir_delete_resource
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDeleteResource/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDeleteResource/type": type
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatch": conditional_project_location_dataset_fhir_store_fhir_patch
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatch/parent": parent
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatch/type": type
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatchResource": conditional_project_location_dataset_fhir_store_fhir_patch_resource
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatchResource/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatchResource/type": type
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdate": conditional_project_location_dataset_fhir_store_fhir_update
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdate/parent": parent
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdate/type": type
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdateResource": conditional_project_location_dataset_fhir_store_fhir_update_resource
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdateResource/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdateResource/type": type
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.create": create_project_location_dataset_fhir_store_fhir
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.create/parent": parent
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.create/type": type
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.createResource": create_project_location_dataset_fhir_store_fhir_resource
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.createResource/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.createResource/type": type
@@ -80179,17 +81379,31 @@
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.delete$purge": delete$purge_project_location_dataset_fhir_store_fhir
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.delete$purge/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.delete/name": name
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.executeBundle": execute_project_location_dataset_fhir_store_fhir_bundle
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.executeBundle/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.get": get_project_location_dataset_fhir_store_fhir
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.get/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.getMetadata": get_project_location_dataset_fhir_store_fhir_metadata
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.getMetadata/name": name
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.history": history_project_location_dataset_fhir_store_fhir
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.history/at": at
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.history/count": count
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.history/name": name
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.history/page": page
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.history/since": since
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.patch": patch_project_location_dataset_fhir_store_fhir
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.patch/name": name
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.read": read_project_location_dataset_fhir_store_fhir
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.read/name": name
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.search": search_fhir_resources
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.search/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.searchResources": search_project_location_dataset_fhir_store_fhir_resources
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.searchResources/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.searchResources/resourceType": resource_type
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.update": update_project_location_dataset_fhir_store_fhir
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.update/name": name
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.vread": vread_project_location_dataset_fhir_store_fhir
+"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir.vread/name": name
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.fhir/parent": parent
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.get": get_project_location_dataset_fhir_store
"/healthcare:v1alpha2/healthcare.projects.locations.datasets.fhirStores.get/name": name
@@ -80285,6 +81499,495 @@
"/healthcare:v1alpha2/healthcare.projects.locations.list/pageToken": page_token
"/healthcare:v1alpha2/key": key
"/healthcare:v1alpha2/quotaUser": quota_user
+"/healthcare:v1beta1/AuditConfig": audit_config
+"/healthcare:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs
+"/healthcare:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
+"/healthcare:v1beta1/AuditConfig/service": service
+"/healthcare:v1beta1/AuditLogConfig": audit_log_config
+"/healthcare:v1beta1/AuditLogConfig/exemptedMembers": exempted_members
+"/healthcare:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
+"/healthcare:v1beta1/AuditLogConfig/logType": log_type
+"/healthcare:v1beta1/Binding": binding
+"/healthcare:v1beta1/Binding/condition": condition
+"/healthcare:v1beta1/Binding/members": members
+"/healthcare:v1beta1/Binding/members/member": member
+"/healthcare:v1beta1/Binding/role": role
+"/healthcare:v1beta1/CharacterMaskConfig": character_mask_config
+"/healthcare:v1beta1/CharacterMaskConfig/maskingCharacter": masking_character
+"/healthcare:v1beta1/CreateMessageRequest": create_message_request
+"/healthcare:v1beta1/CreateMessageRequest/message": message
+"/healthcare:v1beta1/CryptoHashConfig": crypto_hash_config
+"/healthcare:v1beta1/CryptoHashConfig/cryptoKey": crypto_key
+"/healthcare:v1beta1/Dataset": dataset
+"/healthcare:v1beta1/Dataset/name": name
+"/healthcare:v1beta1/Dataset/timeZone": time_zone
+"/healthcare:v1beta1/DateShiftConfig": date_shift_config
+"/healthcare:v1beta1/DateShiftConfig/cryptoKey": crypto_key
+"/healthcare:v1beta1/DeidentifyConfig": deidentify_config
+"/healthcare:v1beta1/DeidentifyConfig/dicom": dicom
+"/healthcare:v1beta1/DeidentifyConfig/fhir": fhir
+"/healthcare:v1beta1/DeidentifyConfig/image": image
+"/healthcare:v1beta1/DeidentifyConfig/text": text
+"/healthcare:v1beta1/DeidentifyDatasetRequest": deidentify_dataset_request
+"/healthcare:v1beta1/DeidentifyDatasetRequest/config": config
+"/healthcare:v1beta1/DeidentifyDatasetRequest/destinationDataset": destination_dataset
+"/healthcare:v1beta1/DeidentifyErrorDetails": deidentify_error_details
+"/healthcare:v1beta1/DeidentifyErrorDetails/failureResourceCount": failure_resource_count
+"/healthcare:v1beta1/DeidentifyErrorDetails/failureStoreCount": failure_store_count
+"/healthcare:v1beta1/DeidentifyErrorDetails/successResourceCount": success_resource_count
+"/healthcare:v1beta1/DeidentifyErrorDetails/successStoreCount": success_store_count
+"/healthcare:v1beta1/DeidentifySummary": deidentify_summary
+"/healthcare:v1beta1/DeidentifySummary/successResourceCount": success_resource_count
+"/healthcare:v1beta1/DeidentifySummary/successStoreCount": success_store_count
+"/healthcare:v1beta1/DicomConfig": dicom_config
+"/healthcare:v1beta1/DicomConfig/filterProfile": filter_profile
+"/healthcare:v1beta1/DicomConfig/keepList": keep_list
+"/healthcare:v1beta1/DicomConfig/removeList": remove_list
+"/healthcare:v1beta1/DicomStore": dicom_store
+"/healthcare:v1beta1/DicomStore/labels": labels
+"/healthcare:v1beta1/DicomStore/labels/label": label
+"/healthcare:v1beta1/DicomStore/name": name
+"/healthcare:v1beta1/DicomStore/notificationConfig": notification_config
+"/healthcare:v1beta1/Empty": empty
+"/healthcare:v1beta1/ErrorDetail": error_detail
+"/healthcare:v1beta1/ErrorDetail/error": error
+"/healthcare:v1beta1/ErrorDetail/resource": resource
+"/healthcare:v1beta1/ExportDicomDataRequest": export_dicom_data_request
+"/healthcare:v1beta1/ExportDicomDataRequest/bigqueryDestination": bigquery_destination
+"/healthcare:v1beta1/ExportDicomDataRequest/gcsDestination": gcs_destination
+"/healthcare:v1beta1/ExportResourcesRequest": export_resources_request
+"/healthcare:v1beta1/ExportResourcesRequest/bigqueryDestination": bigquery_destination
+"/healthcare:v1beta1/ExportResourcesRequest/gcsDestination": gcs_destination
+"/healthcare:v1beta1/Expr": expr
+"/healthcare:v1beta1/Expr/description": description
+"/healthcare:v1beta1/Expr/expression": expression
+"/healthcare:v1beta1/Expr/location": location
+"/healthcare:v1beta1/Expr/title": title
+"/healthcare:v1beta1/FhirConfig": fhir_config
+"/healthcare:v1beta1/FhirConfig/fieldMetadataList": field_metadata_list
+"/healthcare:v1beta1/FhirConfig/fieldMetadataList/field_metadata_list": field_metadata_list
+"/healthcare:v1beta1/FhirStore": fhir_store
+"/healthcare:v1beta1/FhirStore/disableReferentialIntegrity": disable_referential_integrity
+"/healthcare:v1beta1/FhirStore/disableResourceVersioning": disable_resource_versioning
+"/healthcare:v1beta1/FhirStore/enableHistoryImport": enable_history_import
+"/healthcare:v1beta1/FhirStore/enableUpdateCreate": enable_update_create
+"/healthcare:v1beta1/FhirStore/labels": labels
+"/healthcare:v1beta1/FhirStore/labels/label": label
+"/healthcare:v1beta1/FhirStore/name": name
+"/healthcare:v1beta1/FhirStore/notificationConfig": notification_config
+"/healthcare:v1beta1/FieldMetadata": field_metadata
+"/healthcare:v1beta1/FieldMetadata/action": action
+"/healthcare:v1beta1/FieldMetadata/paths": paths
+"/healthcare:v1beta1/FieldMetadata/paths/path": path
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1DicomBigQueryDestination": google_cloud_healthcare_v1beta1_dicom_big_query_destination
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1DicomBigQueryDestination/force": force
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1DicomBigQueryDestination/tableUri": table_uri
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1DicomGcsDestination": google_cloud_healthcare_v1beta1_dicom_gcs_destination
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1DicomGcsDestination/mimeType": mime_type
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1DicomGcsDestination/uriPrefix": uri_prefix
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1DicomGcsSource": google_cloud_healthcare_v1beta1_dicom_gcs_source
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1DicomGcsSource/uri": uri
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirBigQueryDestination": google_cloud_healthcare_v1beta1_fhir_big_query_destination
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirBigQueryDestination/datasetUri": dataset_uri
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirBigQueryDestination/schemaConfig": schema_config
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse": google_cloud_healthcare_v1beta1_fhir_rest_export_resources_response
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse/fhirStore": fhir_store
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse/resourceCount": resource_count
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestGcsDestination": google_cloud_healthcare_v1beta1_fhir_rest_gcs_destination
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestGcsDestination/uriPrefix": uri_prefix
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestGcsSource": google_cloud_healthcare_v1beta1_fhir_rest_gcs_source
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestGcsSource/uri": uri
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails": google_cloud_healthcare_v1beta1_fhir_rest_import_resources_error_details
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails/errorCount": error_count
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails/fhirStore": fhir_store
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails/inputSize": input_size
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails/successCount": success_count
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse": google_cloud_healthcare_v1beta1_fhir_rest_import_resources_response
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse/fhirStore": fhir_store
+"/healthcare:v1beta1/GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse/inputSize": input_size
+"/healthcare:v1beta1/Hl7V2Store": hl7_v2_store
+"/healthcare:v1beta1/Hl7V2Store/labels": labels
+"/healthcare:v1beta1/Hl7V2Store/labels/label": label
+"/healthcare:v1beta1/Hl7V2Store/name": name
+"/healthcare:v1beta1/Hl7V2Store/notificationConfig": notification_config
+"/healthcare:v1beta1/Hl7V2Store/parserConfig": parser_config
+"/healthcare:v1beta1/HttpBody": http_body
+"/healthcare:v1beta1/HttpBody/contentType": content_type
+"/healthcare:v1beta1/HttpBody/data": data
+"/healthcare:v1beta1/HttpBody/extensions": extensions
+"/healthcare:v1beta1/HttpBody/extensions/extension": extension
+"/healthcare:v1beta1/HttpBody/extensions/extension/extension": extension
+"/healthcare:v1beta1/ImageConfig": image_config
+"/healthcare:v1beta1/ImageConfig/textRedactionMode": text_redaction_mode
+"/healthcare:v1beta1/ImportDicomDataErrorDetails": import_dicom_data_error_details
+"/healthcare:v1beta1/ImportDicomDataErrorDetails/sampleErrors": sample_errors
+"/healthcare:v1beta1/ImportDicomDataErrorDetails/sampleErrors/sample_error": sample_error
+"/healthcare:v1beta1/ImportDicomDataRequest": import_dicom_data_request
+"/healthcare:v1beta1/ImportDicomDataRequest/gcsSource": gcs_source
+"/healthcare:v1beta1/ImportResourcesRequest": import_resources_request
+"/healthcare:v1beta1/ImportResourcesRequest/contentStructure": content_structure
+"/healthcare:v1beta1/ImportResourcesRequest/gcsSource": gcs_source
+"/healthcare:v1beta1/InfoTypeTransformation": info_type_transformation
+"/healthcare:v1beta1/InfoTypeTransformation/characterMaskConfig": character_mask_config
+"/healthcare:v1beta1/InfoTypeTransformation/cryptoHashConfig": crypto_hash_config
+"/healthcare:v1beta1/InfoTypeTransformation/dateShiftConfig": date_shift_config
+"/healthcare:v1beta1/InfoTypeTransformation/infoTypes": info_types
+"/healthcare:v1beta1/InfoTypeTransformation/infoTypes/info_type": info_type
+"/healthcare:v1beta1/InfoTypeTransformation/redactConfig": redact_config
+"/healthcare:v1beta1/InfoTypeTransformation/replaceWithInfoTypeConfig": replace_with_info_type_config
+"/healthcare:v1beta1/IngestMessageRequest": ingest_message_request
+"/healthcare:v1beta1/IngestMessageRequest/message": message
+"/healthcare:v1beta1/IngestMessageResponse": ingest_message_response
+"/healthcare:v1beta1/IngestMessageResponse/hl7Ack": hl7_ack
+"/healthcare:v1beta1/IngestMessageResponse/message": message
+"/healthcare:v1beta1/ListDatasetsResponse": list_datasets_response
+"/healthcare:v1beta1/ListDatasetsResponse/datasets": datasets
+"/healthcare:v1beta1/ListDatasetsResponse/datasets/dataset": dataset
+"/healthcare:v1beta1/ListDatasetsResponse/nextPageToken": next_page_token
+"/healthcare:v1beta1/ListDicomStoresResponse": list_dicom_stores_response
+"/healthcare:v1beta1/ListDicomStoresResponse/dicomStores": dicom_stores
+"/healthcare:v1beta1/ListDicomStoresResponse/dicomStores/dicom_store": dicom_store
+"/healthcare:v1beta1/ListDicomStoresResponse/nextPageToken": next_page_token
+"/healthcare:v1beta1/ListFhirStoresResponse": list_fhir_stores_response
+"/healthcare:v1beta1/ListFhirStoresResponse/fhirStores": fhir_stores
+"/healthcare:v1beta1/ListFhirStoresResponse/fhirStores/fhir_store": fhir_store
+"/healthcare:v1beta1/ListFhirStoresResponse/nextPageToken": next_page_token
+"/healthcare:v1beta1/ListHl7V2StoresResponse": list_hl7_v2_stores_response
+"/healthcare:v1beta1/ListHl7V2StoresResponse/hl7V2Stores": hl7_v2_stores
+"/healthcare:v1beta1/ListHl7V2StoresResponse/hl7V2Stores/hl7_v2_store": hl7_v2_store
+"/healthcare:v1beta1/ListHl7V2StoresResponse/nextPageToken": next_page_token
+"/healthcare:v1beta1/ListLocationsResponse": list_locations_response
+"/healthcare:v1beta1/ListLocationsResponse/locations": locations
+"/healthcare:v1beta1/ListLocationsResponse/locations/location": location
+"/healthcare:v1beta1/ListLocationsResponse/nextPageToken": next_page_token
+"/healthcare:v1beta1/ListMessagesResponse": list_messages_response
+"/healthcare:v1beta1/ListMessagesResponse/messages": messages
+"/healthcare:v1beta1/ListMessagesResponse/messages/message": message
+"/healthcare:v1beta1/ListMessagesResponse/nextPageToken": next_page_token
+"/healthcare:v1beta1/ListOperationsResponse": list_operations_response
+"/healthcare:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
+"/healthcare:v1beta1/ListOperationsResponse/operations": operations
+"/healthcare:v1beta1/ListOperationsResponse/operations/operation": operation
+"/healthcare:v1beta1/Location": location
+"/healthcare:v1beta1/Location/displayName": display_name
+"/healthcare:v1beta1/Location/labels": labels
+"/healthcare:v1beta1/Location/labels/label": label
+"/healthcare:v1beta1/Location/locationId": location_id
+"/healthcare:v1beta1/Location/metadata": metadata
+"/healthcare:v1beta1/Location/metadata/metadatum": metadatum
+"/healthcare:v1beta1/Location/name": name
+"/healthcare:v1beta1/Message": message
+"/healthcare:v1beta1/Message/createTime": create_time
+"/healthcare:v1beta1/Message/data": data
+"/healthcare:v1beta1/Message/labels": labels
+"/healthcare:v1beta1/Message/labels/label": label
+"/healthcare:v1beta1/Message/messageType": message_type
+"/healthcare:v1beta1/Message/name": name
+"/healthcare:v1beta1/Message/parsedData": parsed_data
+"/healthcare:v1beta1/Message/patientIds": patient_ids
+"/healthcare:v1beta1/Message/patientIds/patient_id": patient_id
+"/healthcare:v1beta1/Message/sendFacility": send_facility
+"/healthcare:v1beta1/Message/sendTime": send_time
+"/healthcare:v1beta1/NotificationConfig": notification_config
+"/healthcare:v1beta1/NotificationConfig/pubsubTopic": pubsub_topic
+"/healthcare:v1beta1/Operation": operation
+"/healthcare:v1beta1/Operation/done": done
+"/healthcare:v1beta1/Operation/error": error
+"/healthcare:v1beta1/Operation/metadata": metadata
+"/healthcare:v1beta1/Operation/metadata/metadatum": metadatum
+"/healthcare:v1beta1/Operation/name": name
+"/healthcare:v1beta1/Operation/response": response
+"/healthcare:v1beta1/Operation/response/response": response
+"/healthcare:v1beta1/OperationMetadata": operation_metadata
+"/healthcare:v1beta1/OperationMetadata/apiMethodName": api_method_name
+"/healthcare:v1beta1/OperationMetadata/counter": counter
+"/healthcare:v1beta1/OperationMetadata/createTime": create_time
+"/healthcare:v1beta1/OperationMetadata/endTime": end_time
+"/healthcare:v1beta1/ParsedData": parsed_data
+"/healthcare:v1beta1/ParsedData/segments": segments
+"/healthcare:v1beta1/ParsedData/segments/segment": segment
+"/healthcare:v1beta1/ParserConfig": parser_config
+"/healthcare:v1beta1/ParserConfig/allowNullHeader": allow_null_header
+"/healthcare:v1beta1/ParserConfig/segmentTerminator": segment_terminator
+"/healthcare:v1beta1/PatientId": patient_id
+"/healthcare:v1beta1/PatientId/type": type
+"/healthcare:v1beta1/PatientId/value": value
+"/healthcare:v1beta1/Policy": policy
+"/healthcare:v1beta1/Policy/auditConfigs": audit_configs
+"/healthcare:v1beta1/Policy/auditConfigs/audit_config": audit_config
+"/healthcare:v1beta1/Policy/bindings": bindings
+"/healthcare:v1beta1/Policy/bindings/binding": binding
+"/healthcare:v1beta1/Policy/etag": etag
+"/healthcare:v1beta1/Policy/version": version
+"/healthcare:v1beta1/ProgressCounter": progress_counter
+"/healthcare:v1beta1/ProgressCounter/failure": failure
+"/healthcare:v1beta1/ProgressCounter/pending": pending
+"/healthcare:v1beta1/ProgressCounter/success": success
+"/healthcare:v1beta1/RedactConfig": redact_config
+"/healthcare:v1beta1/ReplaceWithInfoTypeConfig": replace_with_info_type_config
+"/healthcare:v1beta1/SchemaConfig": schema_config
+"/healthcare:v1beta1/SchemaConfig/recursiveStructureDepth": recursive_structure_depth
+"/healthcare:v1beta1/SchemaConfig/schemaType": schema_type
+"/healthcare:v1beta1/SearchResourcesRequest": search_resources_request
+"/healthcare:v1beta1/SearchResourcesRequest/resourceType": resource_type
+"/healthcare:v1beta1/Segment": segment
+"/healthcare:v1beta1/Segment/fields": fields
+"/healthcare:v1beta1/Segment/fields/field": field
+"/healthcare:v1beta1/Segment/segmentId": segment_id
+"/healthcare:v1beta1/Segment/setId": set_id
+"/healthcare:v1beta1/SetIamPolicyRequest": set_iam_policy_request
+"/healthcare:v1beta1/SetIamPolicyRequest/policy": policy
+"/healthcare:v1beta1/SetIamPolicyRequest/updateMask": update_mask
+"/healthcare:v1beta1/Status": status
+"/healthcare:v1beta1/Status/code": code
+"/healthcare:v1beta1/Status/details": details
+"/healthcare:v1beta1/Status/details/detail": detail
+"/healthcare:v1beta1/Status/details/detail/detail": detail
+"/healthcare:v1beta1/Status/message": message
+"/healthcare:v1beta1/TagFilterList": tag_filter_list
+"/healthcare:v1beta1/TagFilterList/tags": tags
+"/healthcare:v1beta1/TagFilterList/tags/tag": tag
+"/healthcare:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request
+"/healthcare:v1beta1/TestIamPermissionsRequest/permissions": permissions
+"/healthcare:v1beta1/TestIamPermissionsRequest/permissions/permission": permission
+"/healthcare:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response
+"/healthcare:v1beta1/TestIamPermissionsResponse/permissions": permissions
+"/healthcare:v1beta1/TestIamPermissionsResponse/permissions/permission": permission
+"/healthcare:v1beta1/TextConfig": text_config
+"/healthcare:v1beta1/TextConfig/transformations": transformations
+"/healthcare:v1beta1/TextConfig/transformations/transformation": transformation
+"/healthcare:v1beta1/fields": fields
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.create": create_project_location_dataset
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.create/datasetId": dataset_id
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.create/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.deidentify": deidentify_dataset
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.deidentify/sourceDataset": source_dataset
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.delete": delete_project_location_dataset
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.delete/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.create": create_project_location_dataset_dicom_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.create/dicomStoreId": dicom_store_id
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.create/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.delete": delete_project_location_dataset_dicom_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.delete/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.export": export_dicom_store_dicom_data
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.export/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.get": get_project_location_dataset_dicom_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.get/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.getIamPolicy": get_project_location_dataset_dicom_store_iam_policy
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.getIamPolicy/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.import": import_dicom_store_dicom_data
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.import/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.list": list_project_location_dataset_dicom_stores
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.list/filter": filter
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.list/pageSize": page_size
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.list/pageToken": page_token
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.list/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.patch": patch_project_location_dataset_dicom_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.patch/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.patch/updateMask": update_mask
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.searchForInstances": search_project_location_dataset_dicom_store_for_instances
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.searchForInstances/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.searchForInstances/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.searchForSeries": search_project_location_dataset_dicom_store_for_series
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.searchForSeries/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.searchForSeries/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.searchForStudies": search_project_location_dataset_dicom_store_for_studies
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.searchForStudies/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.searchForStudies/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.setIamPolicy": set_dicom_store_iam_policy
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.setIamPolicy/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.storeInstances": store_project_location_dataset_dicom_store_instances
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.storeInstances/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.storeInstances/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.delete": delete_project_location_dataset_dicom_store_study
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.delete/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.delete/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.retrieveMetadata": retrieve_project_location_dataset_dicom_store_study_metadata
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.retrieveMetadata/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.retrieveMetadata/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.retrieveStudy": retrieve_project_location_dataset_dicom_store_study_study
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.retrieveStudy/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.retrieveStudy/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.searchForInstances": search_project_location_dataset_dicom_store_study_for_instances
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.searchForInstances/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.searchForInstances/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.searchForSeries": search_project_location_dataset_dicom_store_study_for_series
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.searchForSeries/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.searchForSeries/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.delete": delete_project_location_dataset_dicom_store_study_series
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.delete/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.delete/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.delete": delete_project_location_dataset_dicom_store_study_series_instance
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.delete/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.delete/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveFrames": retrieve_project_location_dataset_dicom_store_study_series_instance_frame_frames
+? "/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveFrames/dicomWebPath"
+: dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveFrames/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveRendered": retrieve_project_location_dataset_dicom_store_study_series_instance_frame_rendered
+? "/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveRendered/dicomWebPath"
+: dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveRendered/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveInstance": retrieve_project_location_dataset_dicom_store_study_series_instance_instance
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveInstance/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveInstance/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveMetadata": retrieve_project_location_dataset_dicom_store_study_series_instance_metadata
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveMetadata/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveMetadata/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveRendered": retrieve_project_location_dataset_dicom_store_study_series_instance_rendered
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveRendered/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveRendered/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveMetadata": retrieve_project_location_dataset_dicom_store_study_series_metadata
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveMetadata/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveMetadata/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveSeries": retrieve_project_location_dataset_dicom_store_study_series_series
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveSeries/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveSeries/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.searchForInstances": search_project_location_dataset_dicom_store_study_series_for_instances
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.searchForInstances/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.series.searchForInstances/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.storeInstances": store_project_location_dataset_dicom_store_study_instances
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.storeInstances/dicomWebPath": dicom_web_path
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.studies.storeInstances/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.testIamPermissions": test_dicom_store_iam_permissions
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.dicomStores.testIamPermissions/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.create": create_project_location_dataset_fhir_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.create/fhirStoreId": fhir_store_id
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.create/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.delete": delete_project_location_dataset_fhir_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.delete/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.export": export_fhir_store_resources
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.export/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.Observation-lastn": observation_project_location_dataset_fhir_store_fhir_lastn
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.Observation-lastn/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything": patient_project_location_dataset_fhir_store_fhir_everything
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything/end": end_
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything/start": start
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.Resource-purge": resource_project_location_dataset_fhir_store_fhir_purge
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.Resource-purge/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.capabilities": capabilities_project_location_dataset_fhir_store_fhir
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.capabilities/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDelete": conditional_project_location_dataset_fhir_store_fhir_delete
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDelete/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDelete/type": type
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatch": conditional_project_location_dataset_fhir_store_fhir_patch
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatch/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatch/type": type
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdate": conditional_project_location_dataset_fhir_store_fhir_update
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdate/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdate/type": type
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.create": create_project_location_dataset_fhir_store_fhir
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.create/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.create/type": type
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.delete": delete_project_location_dataset_fhir_store_fhir
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.delete/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.executeBundle": execute_project_location_dataset_fhir_store_fhir_bundle
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.executeBundle/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.history": history_project_location_dataset_fhir_store_fhir
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.history/at": at
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.history/count": count
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.history/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.history/page": page
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.history/since": since
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.patch": patch_project_location_dataset_fhir_store_fhir
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.patch/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.read": read_project_location_dataset_fhir_store_fhir
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.read/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.search": search_fhir_resources
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.search/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.update": update_project_location_dataset_fhir_store_fhir
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.update/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.vread": vread_project_location_dataset_fhir_store_fhir
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.fhir.vread/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.get": get_project_location_dataset_fhir_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.get/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.getIamPolicy": get_project_location_dataset_fhir_store_iam_policy
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.getIamPolicy/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.import": import_fhir_store_resources
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.import/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.list": list_project_location_dataset_fhir_stores
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.list/filter": filter
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.list/pageSize": page_size
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.list/pageToken": page_token
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.list/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.patch": patch_project_location_dataset_fhir_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.patch/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.patch/updateMask": update_mask
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.setIamPolicy": set_fhir_store_iam_policy
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.setIamPolicy/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.testIamPermissions": test_fhir_store_iam_permissions
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.fhirStores.testIamPermissions/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.get": get_project_location_dataset
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.get/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.getIamPolicy": get_project_location_dataset_iam_policy
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.getIamPolicy/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.create": create_project_location_dataset_hl7_v2_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.create/hl7V2StoreId": hl7_v2_store_id
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.create/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.delete": delete_project_location_dataset_hl7_v2_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.delete/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.get": get_project_location_dataset_hl7_v2_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.get/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.getIamPolicy": get_project_location_dataset_hl7_v2_store_iam_policy
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.getIamPolicy/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.list": list_project_location_dataset_hl7_v2_stores
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.list/filter": filter
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.list/pageSize": page_size
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.list/pageToken": page_token
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.list/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.create": create_message
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.create/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.delete": delete_project_location_dataset_hl7_v2_store_message
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.delete/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.get": get_project_location_dataset_hl7_v2_store_message
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.get/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.get/view": view
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.ingest": ingest_message
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.ingest/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.list": list_project_location_dataset_hl7_v2_store_messages
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.list/filter": filter
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.list/orderBy": order_by
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.list/pageSize": page_size
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.list/pageToken": page_token
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.list/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.patch": patch_project_location_dataset_hl7_v2_store_message
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.patch/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.messages.patch/updateMask": update_mask
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.patch": patch_project_location_dataset_hl7_v2_store
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.patch/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.patch/updateMask": update_mask
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.setIamPolicy": set_hl7_v2_store_iam_policy
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.setIamPolicy/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.testIamPermissions": test_hl7_v2_store_iam_permissions
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.hl7V2Stores.testIamPermissions/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.list": list_project_location_datasets
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.list/pageSize": page_size
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.list/pageToken": page_token
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.list/parent": parent
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.operations.get": get_project_location_dataset_operation
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.operations.get/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.operations.list": list_project_location_dataset_operations
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.operations.list/filter": filter
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.operations.list/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.operations.list/pageSize": page_size
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.operations.list/pageToken": page_token
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.patch": patch_project_location_dataset
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.patch/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.patch/updateMask": update_mask
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.setIamPolicy": set_dataset_iam_policy
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.setIamPolicy/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.testIamPermissions": test_dataset_iam_permissions
+"/healthcare:v1beta1/healthcare.projects.locations.datasets.testIamPermissions/resource": resource
+"/healthcare:v1beta1/healthcare.projects.locations.get": get_project_location
+"/healthcare:v1beta1/healthcare.projects.locations.get/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.list": list_project_locations
+"/healthcare:v1beta1/healthcare.projects.locations.list/filter": filter
+"/healthcare:v1beta1/healthcare.projects.locations.list/name": name
+"/healthcare:v1beta1/healthcare.projects.locations.list/pageSize": page_size
+"/healthcare:v1beta1/healthcare.projects.locations.list/pageToken": page_token
+"/healthcare:v1beta1/key": key
+"/healthcare:v1beta1/quotaUser": quota_user
"/iam:v1/AuditConfig": audit_config
"/iam:v1/AuditConfig/auditLogConfigs": audit_log_configs
"/iam:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
@@ -84001,6 +85704,9 @@
"/ml:v1/GoogleCloudMlV1__Version/machineType": machine_type
"/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling
"/ml:v1/GoogleCloudMlV1__Version/name": name
+"/ml:v1/GoogleCloudMlV1__Version/packageUris": package_uris
+"/ml:v1/GoogleCloudMlV1__Version/packageUris/package_uri": package_uri
+"/ml:v1/GoogleCloudMlV1__Version/predictionClass": prediction_class
"/ml:v1/GoogleCloudMlV1__Version/pythonVersion": python_version
"/ml:v1/GoogleCloudMlV1__Version/runtimeVersion": runtime_version
"/ml:v1/GoogleCloudMlV1__Version/state": state
@@ -86522,6 +88228,7 @@
"/people:v1/ContactGroup/resourceName": resource_name
"/people:v1/ContactGroupMembership": contact_group_membership
"/people:v1/ContactGroupMembership/contactGroupId": contact_group_id
+"/people:v1/ContactGroupMembership/contactGroupResourceName": contact_group_resource_name
"/people:v1/ContactGroupMetadata": contact_group_metadata
"/people:v1/ContactGroupMetadata/deleted": deleted
"/people:v1/ContactGroupMetadata/updateTime": update_time
@@ -92372,6 +94079,473 @@
"/searchconsole:v1/key": key
"/searchconsole:v1/quotaUser": quota_user
"/searchconsole:v1/searchconsole.urlTestingTools.mobileFriendlyTest.run": run_mobile_friendly_test
+"/securitycenter:v1/Asset": asset
+"/securitycenter:v1/Asset/createTime": create_time
+"/securitycenter:v1/Asset/iamPolicy": iam_policy
+"/securitycenter:v1/Asset/name": name
+"/securitycenter:v1/Asset/resourceProperties": resource_properties
+"/securitycenter:v1/Asset/resourceProperties/resource_property": resource_property
+"/securitycenter:v1/Asset/securityCenterProperties": security_center_properties
+"/securitycenter:v1/Asset/securityMarks": security_marks
+"/securitycenter:v1/Asset/updateTime": update_time
+"/securitycenter:v1/AssetDiscoveryConfig": asset_discovery_config
+"/securitycenter:v1/AssetDiscoveryConfig/inclusionMode": inclusion_mode
+"/securitycenter:v1/AssetDiscoveryConfig/projectIds": project_ids
+"/securitycenter:v1/AssetDiscoveryConfig/projectIds/project_id": project_id
+"/securitycenter:v1/AuditConfig": audit_config
+"/securitycenter:v1/AuditConfig/auditLogConfigs": audit_log_configs
+"/securitycenter:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
+"/securitycenter:v1/AuditConfig/service": service
+"/securitycenter:v1/AuditLogConfig": audit_log_config
+"/securitycenter:v1/AuditLogConfig/exemptedMembers": exempted_members
+"/securitycenter:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
+"/securitycenter:v1/AuditLogConfig/logType": log_type
+"/securitycenter:v1/Binding": binding
+"/securitycenter:v1/Binding/condition": condition
+"/securitycenter:v1/Binding/members": members
+"/securitycenter:v1/Binding/members/member": member
+"/securitycenter:v1/Binding/role": role
+"/securitycenter:v1/Empty": empty
+"/securitycenter:v1/Expr": expr
+"/securitycenter:v1/Expr/description": description
+"/securitycenter:v1/Expr/expression": expression
+"/securitycenter:v1/Expr/location": location
+"/securitycenter:v1/Expr/title": title
+"/securitycenter:v1/Finding": finding
+"/securitycenter:v1/Finding/category": category
+"/securitycenter:v1/Finding/createTime": create_time
+"/securitycenter:v1/Finding/eventTime": event_time
+"/securitycenter:v1/Finding/externalUri": external_uri
+"/securitycenter:v1/Finding/name": name
+"/securitycenter:v1/Finding/parent": parent
+"/securitycenter:v1/Finding/resourceName": resource_name
+"/securitycenter:v1/Finding/securityMarks": security_marks
+"/securitycenter:v1/Finding/sourceProperties": source_properties
+"/securitycenter:v1/Finding/sourceProperties/source_property": source_property
+"/securitycenter:v1/Finding/state": state
+"/securitycenter:v1/GetIamPolicyRequest": get_iam_policy_request
+"/securitycenter:v1/GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": google_cloud_securitycenter_v1_run_asset_discovery_response
+"/securitycenter:v1/GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse/duration": duration
+"/securitycenter:v1/GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse/state": state
+"/securitycenter:v1/GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse": google_cloud_securitycenter_v1beta1_run_asset_discovery_response
+"/securitycenter:v1/GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse/duration": duration
+"/securitycenter:v1/GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse/state": state
+"/securitycenter:v1/GroupAssetsRequest": group_assets_request
+"/securitycenter:v1/GroupAssetsRequest/compareDuration": compare_duration
+"/securitycenter:v1/GroupAssetsRequest/filter": filter
+"/securitycenter:v1/GroupAssetsRequest/groupBy": group_by
+"/securitycenter:v1/GroupAssetsRequest/pageSize": page_size
+"/securitycenter:v1/GroupAssetsRequest/pageToken": page_token
+"/securitycenter:v1/GroupAssetsRequest/readTime": read_time
+"/securitycenter:v1/GroupAssetsResponse": group_assets_response
+"/securitycenter:v1/GroupAssetsResponse/groupByResults": group_by_results
+"/securitycenter:v1/GroupAssetsResponse/groupByResults/group_by_result": group_by_result
+"/securitycenter:v1/GroupAssetsResponse/nextPageToken": next_page_token
+"/securitycenter:v1/GroupAssetsResponse/readTime": read_time
+"/securitycenter:v1/GroupAssetsResponse/totalSize": total_size
+"/securitycenter:v1/GroupFindingsRequest": group_findings_request
+"/securitycenter:v1/GroupFindingsRequest/compareDuration": compare_duration
+"/securitycenter:v1/GroupFindingsRequest/filter": filter
+"/securitycenter:v1/GroupFindingsRequest/groupBy": group_by
+"/securitycenter:v1/GroupFindingsRequest/pageSize": page_size
+"/securitycenter:v1/GroupFindingsRequest/pageToken": page_token
+"/securitycenter:v1/GroupFindingsRequest/readTime": read_time
+"/securitycenter:v1/GroupFindingsResponse": group_findings_response
+"/securitycenter:v1/GroupFindingsResponse/groupByResults": group_by_results
+"/securitycenter:v1/GroupFindingsResponse/groupByResults/group_by_result": group_by_result
+"/securitycenter:v1/GroupFindingsResponse/nextPageToken": next_page_token
+"/securitycenter:v1/GroupFindingsResponse/readTime": read_time
+"/securitycenter:v1/GroupFindingsResponse/totalSize": total_size
+"/securitycenter:v1/GroupResult": group_result
+"/securitycenter:v1/GroupResult/count": count
+"/securitycenter:v1/GroupResult/properties": properties
+"/securitycenter:v1/GroupResult/properties/property": property
+"/securitycenter:v1/IamPolicy": iam_policy
+"/securitycenter:v1/IamPolicy/policyBlob": policy_blob
+"/securitycenter:v1/ListAssetsResponse": list_assets_response
+"/securitycenter:v1/ListAssetsResponse/listAssetsResults": list_assets_results
+"/securitycenter:v1/ListAssetsResponse/listAssetsResults/list_assets_result": list_assets_result
+"/securitycenter:v1/ListAssetsResponse/nextPageToken": next_page_token
+"/securitycenter:v1/ListAssetsResponse/readTime": read_time
+"/securitycenter:v1/ListAssetsResponse/totalSize": total_size
+"/securitycenter:v1/ListAssetsResult": list_assets_result
+"/securitycenter:v1/ListAssetsResult/asset": asset
+"/securitycenter:v1/ListAssetsResult/stateChange": state_change
+"/securitycenter:v1/ListFindingsResponse": list_findings_response
+"/securitycenter:v1/ListFindingsResponse/listFindingsResults": list_findings_results
+"/securitycenter:v1/ListFindingsResponse/listFindingsResults/list_findings_result": list_findings_result
+"/securitycenter:v1/ListFindingsResponse/nextPageToken": next_page_token
+"/securitycenter:v1/ListFindingsResponse/readTime": read_time
+"/securitycenter:v1/ListFindingsResponse/totalSize": total_size
+"/securitycenter:v1/ListFindingsResult": list_findings_result
+"/securitycenter:v1/ListFindingsResult/finding": finding
+"/securitycenter:v1/ListFindingsResult/stateChange": state_change
+"/securitycenter:v1/ListOperationsResponse": list_operations_response
+"/securitycenter:v1/ListOperationsResponse/nextPageToken": next_page_token
+"/securitycenter:v1/ListOperationsResponse/operations": operations
+"/securitycenter:v1/ListOperationsResponse/operations/operation": operation
+"/securitycenter:v1/ListSourcesResponse": list_sources_response
+"/securitycenter:v1/ListSourcesResponse/nextPageToken": next_page_token
+"/securitycenter:v1/ListSourcesResponse/sources": sources
+"/securitycenter:v1/ListSourcesResponse/sources/source": source
+"/securitycenter:v1/Operation": operation
+"/securitycenter:v1/Operation/done": done
+"/securitycenter:v1/Operation/error": error
+"/securitycenter:v1/Operation/metadata": metadata
+"/securitycenter:v1/Operation/metadata/metadatum": metadatum
+"/securitycenter:v1/Operation/name": name
+"/securitycenter:v1/Operation/response": response
+"/securitycenter:v1/Operation/response/response": response
+"/securitycenter:v1/OrganizationSettings": organization_settings
+"/securitycenter:v1/OrganizationSettings/assetDiscoveryConfig": asset_discovery_config
+"/securitycenter:v1/OrganizationSettings/enableAssetDiscovery": enable_asset_discovery
+"/securitycenter:v1/OrganizationSettings/name": name
+"/securitycenter:v1/Policy": policy
+"/securitycenter:v1/Policy/auditConfigs": audit_configs
+"/securitycenter:v1/Policy/auditConfigs/audit_config": audit_config
+"/securitycenter:v1/Policy/bindings": bindings
+"/securitycenter:v1/Policy/bindings/binding": binding
+"/securitycenter:v1/Policy/etag": etag
+"/securitycenter:v1/Policy/version": version
+"/securitycenter:v1/RunAssetDiscoveryRequest": run_asset_discovery_request
+"/securitycenter:v1/SecurityCenterProperties": security_center_properties
+"/securitycenter:v1/SecurityCenterProperties/resourceName": resource_name
+"/securitycenter:v1/SecurityCenterProperties/resourceOwners": resource_owners
+"/securitycenter:v1/SecurityCenterProperties/resourceOwners/resource_owner": resource_owner
+"/securitycenter:v1/SecurityCenterProperties/resourceParent": resource_parent
+"/securitycenter:v1/SecurityCenterProperties/resourceProject": resource_project
+"/securitycenter:v1/SecurityCenterProperties/resourceType": resource_type
+"/securitycenter:v1/SecurityMarks": security_marks
+"/securitycenter:v1/SecurityMarks/marks": marks
+"/securitycenter:v1/SecurityMarks/marks/mark": mark
+"/securitycenter:v1/SecurityMarks/name": name
+"/securitycenter:v1/SetFindingStateRequest": set_finding_state_request
+"/securitycenter:v1/SetFindingStateRequest/startTime": start_time
+"/securitycenter:v1/SetFindingStateRequest/state": state
+"/securitycenter:v1/SetIamPolicyRequest": set_iam_policy_request
+"/securitycenter:v1/SetIamPolicyRequest/policy": policy
+"/securitycenter:v1/SetIamPolicyRequest/updateMask": update_mask
+"/securitycenter:v1/Source": source
+"/securitycenter:v1/Source/description": description
+"/securitycenter:v1/Source/displayName": display_name
+"/securitycenter:v1/Source/name": name
+"/securitycenter:v1/Status": status
+"/securitycenter:v1/Status/code": code
+"/securitycenter:v1/Status/details": details
+"/securitycenter:v1/Status/details/detail": detail
+"/securitycenter:v1/Status/details/detail/detail": detail
+"/securitycenter:v1/Status/message": message
+"/securitycenter:v1/TestIamPermissionsRequest": test_iam_permissions_request
+"/securitycenter:v1/TestIamPermissionsRequest/permissions": permissions
+"/securitycenter:v1/TestIamPermissionsRequest/permissions/permission": permission
+"/securitycenter:v1/TestIamPermissionsResponse": test_iam_permissions_response
+"/securitycenter:v1/TestIamPermissionsResponse/permissions": permissions
+"/securitycenter:v1/TestIamPermissionsResponse/permissions/permission": permission
+"/securitycenter:v1/fields": fields
+"/securitycenter:v1/key": key
+"/securitycenter:v1/quotaUser": quota_user
+"/securitycenter:v1/securitycenter.organizations.assets.group": group_assets
+"/securitycenter:v1/securitycenter.organizations.assets.group/parent": parent
+"/securitycenter:v1/securitycenter.organizations.assets.list": list_organization_assets
+"/securitycenter:v1/securitycenter.organizations.assets.list/compareDuration": compare_duration
+"/securitycenter:v1/securitycenter.organizations.assets.list/fieldMask": field_mask
+"/securitycenter:v1/securitycenter.organizations.assets.list/filter": filter
+"/securitycenter:v1/securitycenter.organizations.assets.list/orderBy": order_by
+"/securitycenter:v1/securitycenter.organizations.assets.list/pageSize": page_size
+"/securitycenter:v1/securitycenter.organizations.assets.list/pageToken": page_token
+"/securitycenter:v1/securitycenter.organizations.assets.list/parent": parent
+"/securitycenter:v1/securitycenter.organizations.assets.list/readTime": read_time
+"/securitycenter:v1/securitycenter.organizations.assets.runDiscovery": run_organization_asset_discovery
+"/securitycenter:v1/securitycenter.organizations.assets.runDiscovery/parent": parent
+"/securitycenter:v1/securitycenter.organizations.assets.updateSecurityMarks": update_organization_asset_security_marks
+"/securitycenter:v1/securitycenter.organizations.assets.updateSecurityMarks/name": name
+"/securitycenter:v1/securitycenter.organizations.assets.updateSecurityMarks/startTime": start_time
+"/securitycenter:v1/securitycenter.organizations.assets.updateSecurityMarks/updateMask": update_mask
+"/securitycenter:v1/securitycenter.organizations.getOrganizationSettings": get_organization_organization_settings
+"/securitycenter:v1/securitycenter.organizations.getOrganizationSettings/name": name
+"/securitycenter:v1/securitycenter.organizations.operations.cancel": cancel_organization_operation
+"/securitycenter:v1/securitycenter.organizations.operations.cancel/name": name
+"/securitycenter:v1/securitycenter.organizations.operations.delete": delete_organization_operation
+"/securitycenter:v1/securitycenter.organizations.operations.delete/name": name
+"/securitycenter:v1/securitycenter.organizations.operations.get": get_organization_operation
+"/securitycenter:v1/securitycenter.organizations.operations.get/name": name
+"/securitycenter:v1/securitycenter.organizations.operations.list": list_organization_operations
+"/securitycenter:v1/securitycenter.organizations.operations.list/filter": filter
+"/securitycenter:v1/securitycenter.organizations.operations.list/name": name
+"/securitycenter:v1/securitycenter.organizations.operations.list/pageSize": page_size
+"/securitycenter:v1/securitycenter.organizations.operations.list/pageToken": page_token
+"/securitycenter:v1/securitycenter.organizations.sources.create": create_organization_source
+"/securitycenter:v1/securitycenter.organizations.sources.create/parent": parent
+"/securitycenter:v1/securitycenter.organizations.sources.findings.create": create_organization_source_finding
+"/securitycenter:v1/securitycenter.organizations.sources.findings.create/findingId": finding_id
+"/securitycenter:v1/securitycenter.organizations.sources.findings.create/parent": parent
+"/securitycenter:v1/securitycenter.organizations.sources.findings.group": group_findings
+"/securitycenter:v1/securitycenter.organizations.sources.findings.group/parent": parent
+"/securitycenter:v1/securitycenter.organizations.sources.findings.list": list_organization_source_findings
+"/securitycenter:v1/securitycenter.organizations.sources.findings.list/compareDuration": compare_duration
+"/securitycenter:v1/securitycenter.organizations.sources.findings.list/fieldMask": field_mask
+"/securitycenter:v1/securitycenter.organizations.sources.findings.list/filter": filter
+"/securitycenter:v1/securitycenter.organizations.sources.findings.list/orderBy": order_by
+"/securitycenter:v1/securitycenter.organizations.sources.findings.list/pageSize": page_size
+"/securitycenter:v1/securitycenter.organizations.sources.findings.list/pageToken": page_token
+"/securitycenter:v1/securitycenter.organizations.sources.findings.list/parent": parent
+"/securitycenter:v1/securitycenter.organizations.sources.findings.list/readTime": read_time
+"/securitycenter:v1/securitycenter.organizations.sources.findings.patch": patch_organization_source_finding
+"/securitycenter:v1/securitycenter.organizations.sources.findings.patch/name": name
+"/securitycenter:v1/securitycenter.organizations.sources.findings.patch/updateMask": update_mask
+"/securitycenter:v1/securitycenter.organizations.sources.findings.setState": set_organization_source_finding_state
+"/securitycenter:v1/securitycenter.organizations.sources.findings.setState/name": name
+"/securitycenter:v1/securitycenter.organizations.sources.findings.updateSecurityMarks": update_organization_source_finding_security_marks
+"/securitycenter:v1/securitycenter.organizations.sources.findings.updateSecurityMarks/name": name
+"/securitycenter:v1/securitycenter.organizations.sources.findings.updateSecurityMarks/startTime": start_time
+"/securitycenter:v1/securitycenter.organizations.sources.findings.updateSecurityMarks/updateMask": update_mask
+"/securitycenter:v1/securitycenter.organizations.sources.get": get_organization_source
+"/securitycenter:v1/securitycenter.organizations.sources.get/name": name
+"/securitycenter:v1/securitycenter.organizations.sources.getIamPolicy": get_source_iam_policy
+"/securitycenter:v1/securitycenter.organizations.sources.getIamPolicy/resource": resource
+"/securitycenter:v1/securitycenter.organizations.sources.list": list_organization_sources
+"/securitycenter:v1/securitycenter.organizations.sources.list/pageSize": page_size
+"/securitycenter:v1/securitycenter.organizations.sources.list/pageToken": page_token
+"/securitycenter:v1/securitycenter.organizations.sources.list/parent": parent
+"/securitycenter:v1/securitycenter.organizations.sources.patch": patch_organization_source
+"/securitycenter:v1/securitycenter.organizations.sources.patch/name": name
+"/securitycenter:v1/securitycenter.organizations.sources.patch/updateMask": update_mask
+"/securitycenter:v1/securitycenter.organizations.sources.setIamPolicy": set_source_iam_policy
+"/securitycenter:v1/securitycenter.organizations.sources.setIamPolicy/resource": resource
+"/securitycenter:v1/securitycenter.organizations.sources.testIamPermissions": test_source_iam_permissions
+"/securitycenter:v1/securitycenter.organizations.sources.testIamPermissions/resource": resource
+"/securitycenter:v1/securitycenter.organizations.updateOrganizationSettings": update_organization_organization_settings
+"/securitycenter:v1/securitycenter.organizations.updateOrganizationSettings/name": name
+"/securitycenter:v1/securitycenter.organizations.updateOrganizationSettings/updateMask": update_mask
+"/securitycenter:v1beta1/Asset": asset
+"/securitycenter:v1beta1/Asset/createTime": create_time
+"/securitycenter:v1beta1/Asset/name": name
+"/securitycenter:v1beta1/Asset/resourceProperties": resource_properties
+"/securitycenter:v1beta1/Asset/resourceProperties/resource_property": resource_property
+"/securitycenter:v1beta1/Asset/securityCenterProperties": security_center_properties
+"/securitycenter:v1beta1/Asset/securityMarks": security_marks
+"/securitycenter:v1beta1/Asset/updateTime": update_time
+"/securitycenter:v1beta1/AssetDiscoveryConfig": asset_discovery_config
+"/securitycenter:v1beta1/AssetDiscoveryConfig/inclusionMode": inclusion_mode
+"/securitycenter:v1beta1/AssetDiscoveryConfig/projectIds": project_ids
+"/securitycenter:v1beta1/AssetDiscoveryConfig/projectIds/project_id": project_id
+"/securitycenter:v1beta1/AuditConfig": audit_config
+"/securitycenter:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs
+"/securitycenter:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
+"/securitycenter:v1beta1/AuditConfig/service": service
+"/securitycenter:v1beta1/AuditLogConfig": audit_log_config
+"/securitycenter:v1beta1/AuditLogConfig/exemptedMembers": exempted_members
+"/securitycenter:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
+"/securitycenter:v1beta1/AuditLogConfig/logType": log_type
+"/securitycenter:v1beta1/Binding": binding
+"/securitycenter:v1beta1/Binding/condition": condition
+"/securitycenter:v1beta1/Binding/members": members
+"/securitycenter:v1beta1/Binding/members/member": member
+"/securitycenter:v1beta1/Binding/role": role
+"/securitycenter:v1beta1/CancelOperationRequest": cancel_operation_request
+"/securitycenter:v1beta1/Empty": empty
+"/securitycenter:v1beta1/Expr": expr
+"/securitycenter:v1beta1/Expr/description": description
+"/securitycenter:v1beta1/Expr/expression": expression
+"/securitycenter:v1beta1/Expr/location": location
+"/securitycenter:v1beta1/Expr/title": title
+"/securitycenter:v1beta1/Finding": finding
+"/securitycenter:v1beta1/Finding/category": category
+"/securitycenter:v1beta1/Finding/createTime": create_time
+"/securitycenter:v1beta1/Finding/eventTime": event_time
+"/securitycenter:v1beta1/Finding/externalUri": external_uri
+"/securitycenter:v1beta1/Finding/name": name
+"/securitycenter:v1beta1/Finding/parent": parent
+"/securitycenter:v1beta1/Finding/resourceName": resource_name
+"/securitycenter:v1beta1/Finding/securityMarks": security_marks
+"/securitycenter:v1beta1/Finding/sourceProperties": source_properties
+"/securitycenter:v1beta1/Finding/sourceProperties/source_property": source_property
+"/securitycenter:v1beta1/Finding/state": state
+"/securitycenter:v1beta1/GetIamPolicyRequest": get_iam_policy_request
+"/securitycenter:v1beta1/GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": google_cloud_securitycenter_v1_run_asset_discovery_response
+"/securitycenter:v1beta1/GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse/duration": duration
+"/securitycenter:v1beta1/GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse/state": state
+"/securitycenter:v1beta1/GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse": google_cloud_securitycenter_v1beta1_run_asset_discovery_response
+"/securitycenter:v1beta1/GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse/duration": duration
+"/securitycenter:v1beta1/GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse/state": state
+"/securitycenter:v1beta1/GroupAssetsRequest": group_assets_request
+"/securitycenter:v1beta1/GroupAssetsRequest/compareDuration": compare_duration
+"/securitycenter:v1beta1/GroupAssetsRequest/filter": filter
+"/securitycenter:v1beta1/GroupAssetsRequest/groupBy": group_by
+"/securitycenter:v1beta1/GroupAssetsRequest/pageSize": page_size
+"/securitycenter:v1beta1/GroupAssetsRequest/pageToken": page_token
+"/securitycenter:v1beta1/GroupAssetsRequest/readTime": read_time
+"/securitycenter:v1beta1/GroupAssetsResponse": group_assets_response
+"/securitycenter:v1beta1/GroupAssetsResponse/groupByResults": group_by_results
+"/securitycenter:v1beta1/GroupAssetsResponse/groupByResults/group_by_result": group_by_result
+"/securitycenter:v1beta1/GroupAssetsResponse/nextPageToken": next_page_token
+"/securitycenter:v1beta1/GroupAssetsResponse/readTime": read_time
+"/securitycenter:v1beta1/GroupFindingsRequest": group_findings_request
+"/securitycenter:v1beta1/GroupFindingsRequest/filter": filter
+"/securitycenter:v1beta1/GroupFindingsRequest/groupBy": group_by
+"/securitycenter:v1beta1/GroupFindingsRequest/pageSize": page_size
+"/securitycenter:v1beta1/GroupFindingsRequest/pageToken": page_token
+"/securitycenter:v1beta1/GroupFindingsRequest/readTime": read_time
+"/securitycenter:v1beta1/GroupFindingsResponse": group_findings_response
+"/securitycenter:v1beta1/GroupFindingsResponse/groupByResults": group_by_results
+"/securitycenter:v1beta1/GroupFindingsResponse/groupByResults/group_by_result": group_by_result
+"/securitycenter:v1beta1/GroupFindingsResponse/nextPageToken": next_page_token
+"/securitycenter:v1beta1/GroupFindingsResponse/readTime": read_time
+"/securitycenter:v1beta1/GroupResult": group_result
+"/securitycenter:v1beta1/GroupResult/count": count
+"/securitycenter:v1beta1/GroupResult/properties": properties
+"/securitycenter:v1beta1/GroupResult/properties/property": property
+"/securitycenter:v1beta1/ListAssetsResponse": list_assets_response
+"/securitycenter:v1beta1/ListAssetsResponse/listAssetsResults": list_assets_results
+"/securitycenter:v1beta1/ListAssetsResponse/listAssetsResults/list_assets_result": list_assets_result
+"/securitycenter:v1beta1/ListAssetsResponse/nextPageToken": next_page_token
+"/securitycenter:v1beta1/ListAssetsResponse/readTime": read_time
+"/securitycenter:v1beta1/ListAssetsResponse/totalSize": total_size
+"/securitycenter:v1beta1/ListAssetsResult": list_assets_result
+"/securitycenter:v1beta1/ListAssetsResult/asset": asset
+"/securitycenter:v1beta1/ListAssetsResult/state": state
+"/securitycenter:v1beta1/ListFindingsResponse": list_findings_response
+"/securitycenter:v1beta1/ListFindingsResponse/findings": findings
+"/securitycenter:v1beta1/ListFindingsResponse/findings/finding": finding
+"/securitycenter:v1beta1/ListFindingsResponse/nextPageToken": next_page_token
+"/securitycenter:v1beta1/ListFindingsResponse/readTime": read_time
+"/securitycenter:v1beta1/ListFindingsResponse/totalSize": total_size
+"/securitycenter:v1beta1/ListOperationsResponse": list_operations_response
+"/securitycenter:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
+"/securitycenter:v1beta1/ListOperationsResponse/operations": operations
+"/securitycenter:v1beta1/ListOperationsResponse/operations/operation": operation
+"/securitycenter:v1beta1/ListSourcesResponse": list_sources_response
+"/securitycenter:v1beta1/ListSourcesResponse/nextPageToken": next_page_token
+"/securitycenter:v1beta1/ListSourcesResponse/sources": sources
+"/securitycenter:v1beta1/ListSourcesResponse/sources/source": source
+"/securitycenter:v1beta1/Operation": operation
+"/securitycenter:v1beta1/Operation/done": done
+"/securitycenter:v1beta1/Operation/error": error
+"/securitycenter:v1beta1/Operation/metadata": metadata
+"/securitycenter:v1beta1/Operation/metadata/metadatum": metadatum
+"/securitycenter:v1beta1/Operation/name": name
+"/securitycenter:v1beta1/Operation/response": response
+"/securitycenter:v1beta1/Operation/response/response": response
+"/securitycenter:v1beta1/OrganizationSettings": organization_settings
+"/securitycenter:v1beta1/OrganizationSettings/assetDiscoveryConfig": asset_discovery_config
+"/securitycenter:v1beta1/OrganizationSettings/enableAssetDiscovery": enable_asset_discovery
+"/securitycenter:v1beta1/OrganizationSettings/name": name
+"/securitycenter:v1beta1/Policy": policy
+"/securitycenter:v1beta1/Policy/auditConfigs": audit_configs
+"/securitycenter:v1beta1/Policy/auditConfigs/audit_config": audit_config
+"/securitycenter:v1beta1/Policy/bindings": bindings
+"/securitycenter:v1beta1/Policy/bindings/binding": binding
+"/securitycenter:v1beta1/Policy/etag": etag
+"/securitycenter:v1beta1/Policy/version": version
+"/securitycenter:v1beta1/RunAssetDiscoveryRequest": run_asset_discovery_request
+"/securitycenter:v1beta1/SecurityCenterProperties": security_center_properties
+"/securitycenter:v1beta1/SecurityCenterProperties/resourceName": resource_name
+"/securitycenter:v1beta1/SecurityCenterProperties/resourceOwners": resource_owners
+"/securitycenter:v1beta1/SecurityCenterProperties/resourceOwners/resource_owner": resource_owner
+"/securitycenter:v1beta1/SecurityCenterProperties/resourceParent": resource_parent
+"/securitycenter:v1beta1/SecurityCenterProperties/resourceProject": resource_project
+"/securitycenter:v1beta1/SecurityCenterProperties/resourceType": resource_type
+"/securitycenter:v1beta1/SecurityMarks": security_marks
+"/securitycenter:v1beta1/SecurityMarks/marks": marks
+"/securitycenter:v1beta1/SecurityMarks/marks/mark": mark
+"/securitycenter:v1beta1/SecurityMarks/name": name
+"/securitycenter:v1beta1/SetFindingStateRequest": set_finding_state_request
+"/securitycenter:v1beta1/SetFindingStateRequest/startTime": start_time
+"/securitycenter:v1beta1/SetFindingStateRequest/state": state
+"/securitycenter:v1beta1/SetIamPolicyRequest": set_iam_policy_request
+"/securitycenter:v1beta1/SetIamPolicyRequest/policy": policy
+"/securitycenter:v1beta1/SetIamPolicyRequest/updateMask": update_mask
+"/securitycenter:v1beta1/Source": source
+"/securitycenter:v1beta1/Source/description": description
+"/securitycenter:v1beta1/Source/displayName": display_name
+"/securitycenter:v1beta1/Source/name": name
+"/securitycenter:v1beta1/Status": status
+"/securitycenter:v1beta1/Status/code": code
+"/securitycenter:v1beta1/Status/details": details
+"/securitycenter:v1beta1/Status/details/detail": detail
+"/securitycenter:v1beta1/Status/details/detail/detail": detail
+"/securitycenter:v1beta1/Status/message": message
+"/securitycenter:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request
+"/securitycenter:v1beta1/TestIamPermissionsRequest/permissions": permissions
+"/securitycenter:v1beta1/TestIamPermissionsRequest/permissions/permission": permission
+"/securitycenter:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response
+"/securitycenter:v1beta1/TestIamPermissionsResponse/permissions": permissions
+"/securitycenter:v1beta1/TestIamPermissionsResponse/permissions/permission": permission
+"/securitycenter:v1beta1/fields": fields
+"/securitycenter:v1beta1/key": key
+"/securitycenter:v1beta1/quotaUser": quota_user
+"/securitycenter:v1beta1/securitycenter.organizations.assets.group": group_assets
+"/securitycenter:v1beta1/securitycenter.organizations.assets.group/parent": parent
+"/securitycenter:v1beta1/securitycenter.organizations.assets.list": list_organization_assets
+"/securitycenter:v1beta1/securitycenter.organizations.assets.list/compareDuration": compare_duration
+"/securitycenter:v1beta1/securitycenter.organizations.assets.list/fieldMask": field_mask
+"/securitycenter:v1beta1/securitycenter.organizations.assets.list/filter": filter
+"/securitycenter:v1beta1/securitycenter.organizations.assets.list/orderBy": order_by
+"/securitycenter:v1beta1/securitycenter.organizations.assets.list/pageSize": page_size
+"/securitycenter:v1beta1/securitycenter.organizations.assets.list/pageToken": page_token
+"/securitycenter:v1beta1/securitycenter.organizations.assets.list/parent": parent
+"/securitycenter:v1beta1/securitycenter.organizations.assets.list/readTime": read_time
+"/securitycenter:v1beta1/securitycenter.organizations.assets.runDiscovery": run_organization_asset_discovery
+"/securitycenter:v1beta1/securitycenter.organizations.assets.runDiscovery/parent": parent
+"/securitycenter:v1beta1/securitycenter.organizations.assets.updateSecurityMarks": update_organization_asset_security_marks
+"/securitycenter:v1beta1/securitycenter.organizations.assets.updateSecurityMarks/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.assets.updateSecurityMarks/startTime": start_time
+"/securitycenter:v1beta1/securitycenter.organizations.assets.updateSecurityMarks/updateMask": update_mask
+"/securitycenter:v1beta1/securitycenter.organizations.getOrganizationSettings": get_organization_organization_settings
+"/securitycenter:v1beta1/securitycenter.organizations.getOrganizationSettings/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.operations.cancel": cancel_operation
+"/securitycenter:v1beta1/securitycenter.organizations.operations.cancel/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.operations.delete": delete_organization_operation
+"/securitycenter:v1beta1/securitycenter.organizations.operations.delete/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.operations.get": get_organization_operation
+"/securitycenter:v1beta1/securitycenter.organizations.operations.get/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.operations.list": list_organization_operations
+"/securitycenter:v1beta1/securitycenter.organizations.operations.list/filter": filter
+"/securitycenter:v1beta1/securitycenter.organizations.operations.list/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.operations.list/pageSize": page_size
+"/securitycenter:v1beta1/securitycenter.organizations.operations.list/pageToken": page_token
+"/securitycenter:v1beta1/securitycenter.organizations.sources.create": create_organization_source
+"/securitycenter:v1beta1/securitycenter.organizations.sources.create/parent": parent
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.create": create_organization_source_finding
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.create/findingId": finding_id
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.create/parent": parent
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.group": group_findings
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.group/parent": parent
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.list": list_organization_source_findings
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.list/fieldMask": field_mask
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.list/filter": filter
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.list/orderBy": order_by
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.list/pageSize": page_size
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.list/pageToken": page_token
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.list/parent": parent
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.list/readTime": read_time
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.patch": patch_organization_source_finding
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.patch/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.patch/updateMask": update_mask
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.setState": set_organization_source_finding_state
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.setState/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.updateSecurityMarks": update_organization_source_finding_security_marks
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.updateSecurityMarks/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.updateSecurityMarks/startTime": start_time
+"/securitycenter:v1beta1/securitycenter.organizations.sources.findings.updateSecurityMarks/updateMask": update_mask
+"/securitycenter:v1beta1/securitycenter.organizations.sources.get": get_organization_source
+"/securitycenter:v1beta1/securitycenter.organizations.sources.get/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.sources.getIamPolicy": get_source_iam_policy
+"/securitycenter:v1beta1/securitycenter.organizations.sources.getIamPolicy/resource": resource
+"/securitycenter:v1beta1/securitycenter.organizations.sources.list": list_organization_sources
+"/securitycenter:v1beta1/securitycenter.organizations.sources.list/pageSize": page_size
+"/securitycenter:v1beta1/securitycenter.organizations.sources.list/pageToken": page_token
+"/securitycenter:v1beta1/securitycenter.organizations.sources.list/parent": parent
+"/securitycenter:v1beta1/securitycenter.organizations.sources.patch": patch_organization_source
+"/securitycenter:v1beta1/securitycenter.organizations.sources.patch/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.sources.patch/updateMask": update_mask
+"/securitycenter:v1beta1/securitycenter.organizations.sources.setIamPolicy": set_source_iam_policy
+"/securitycenter:v1beta1/securitycenter.organizations.sources.setIamPolicy/resource": resource
+"/securitycenter:v1beta1/securitycenter.organizations.sources.testIamPermissions": test_source_iam_permissions
+"/securitycenter:v1beta1/securitycenter.organizations.sources.testIamPermissions/resource": resource
+"/securitycenter:v1beta1/securitycenter.organizations.updateOrganizationSettings": update_organization_organization_settings
+"/securitycenter:v1beta1/securitycenter.organizations.updateOrganizationSettings/name": name
+"/securitycenter:v1beta1/securitycenter.organizations.updateOrganizationSettings/updateMask": update_mask
"/servicebroker:v1/GoogleIamV1__Binding": google_iam_v1__binding
"/servicebroker:v1/GoogleIamV1__Binding/condition": condition
"/servicebroker:v1/GoogleIamV1__Binding/members": members
@@ -93226,6 +95400,39 @@
"/serviceconsumermanagement:v1/UsageRule/allowUnregisteredCalls": allow_unregistered_calls
"/serviceconsumermanagement:v1/UsageRule/selector": selector
"/serviceconsumermanagement:v1/UsageRule/skipServiceControl": skip_service_control
+"/serviceconsumermanagement:v1/V1AddVisibilityLabelsResponse": v1_add_visibility_labels_response
+"/serviceconsumermanagement:v1/V1AddVisibilityLabelsResponse/labels": labels
+"/serviceconsumermanagement:v1/V1AddVisibilityLabelsResponse/labels/label": label
+"/serviceconsumermanagement:v1/V1Beta1BatchCreateProducerOverridesResponse": v1_beta1_batch_create_producer_overrides_response
+"/serviceconsumermanagement:v1/V1Beta1BatchCreateProducerOverridesResponse/overrides": overrides
+"/serviceconsumermanagement:v1/V1Beta1BatchCreateProducerOverridesResponse/overrides/override": override
+"/serviceconsumermanagement:v1/V1Beta1DisableConsumerResponse": v1_beta1_disable_consumer_response
+"/serviceconsumermanagement:v1/V1Beta1EnableConsumerResponse": v1_beta1_enable_consumer_response
+"/serviceconsumermanagement:v1/V1Beta1ImportProducerOverridesResponse": v1_beta1_import_producer_overrides_response
+"/serviceconsumermanagement:v1/V1Beta1ImportProducerOverridesResponse/overrides": overrides
+"/serviceconsumermanagement:v1/V1Beta1ImportProducerOverridesResponse/overrides/override": override
+"/serviceconsumermanagement:v1/V1Beta1QuotaOverride": v1_beta1_quota_override
+"/serviceconsumermanagement:v1/V1Beta1QuotaOverride/dimensions": dimensions
+"/serviceconsumermanagement:v1/V1Beta1QuotaOverride/dimensions/dimension": dimension
+"/serviceconsumermanagement:v1/V1Beta1QuotaOverride/metric": metric
+"/serviceconsumermanagement:v1/V1Beta1QuotaOverride/name": name
+"/serviceconsumermanagement:v1/V1Beta1QuotaOverride/overrideValue": override_value
+"/serviceconsumermanagement:v1/V1Beta1QuotaOverride/unit": unit
+"/serviceconsumermanagement:v1/V1Beta1RefreshConsumerResponse": v1_beta1_refresh_consumer_response
+"/serviceconsumermanagement:v1/V1DisableConsumerResponse": v1_disable_consumer_response
+"/serviceconsumermanagement:v1/V1EnableConsumerResponse": v1_enable_consumer_response
+"/serviceconsumermanagement:v1/V1GenerateServiceAccountResponse": v1_generate_service_account_response
+"/serviceconsumermanagement:v1/V1GenerateServiceAccountResponse/account": account
+"/serviceconsumermanagement:v1/V1RefreshConsumerResponse": v1_refresh_consumer_response
+"/serviceconsumermanagement:v1/V1RemoveVisibilityLabelsResponse": v1_remove_visibility_labels_response
+"/serviceconsumermanagement:v1/V1RemoveVisibilityLabelsResponse/labels": labels
+"/serviceconsumermanagement:v1/V1RemoveVisibilityLabelsResponse/labels/label": label
+"/serviceconsumermanagement:v1/V1ServiceAccount": v1_service_account
+"/serviceconsumermanagement:v1/V1ServiceAccount/email": email
+"/serviceconsumermanagement:v1/V1ServiceAccount/iamAccountName": iam_account_name
+"/serviceconsumermanagement:v1/V1ServiceAccount/name": name
+"/serviceconsumermanagement:v1/V1ServiceAccount/tag": tag
+"/serviceconsumermanagement:v1/V1ServiceAccount/uniqueId": unique_id
"/serviceconsumermanagement:v1/Visibility": visibility
"/serviceconsumermanagement:v1/Visibility/rules": rules
"/serviceconsumermanagement:v1/Visibility/rules/rule": rule
@@ -95014,6 +97221,12 @@
"/serviceusage:v1/BackendRule/operationDeadline": operation_deadline
"/serviceusage:v1/BackendRule/pathTranslation": path_translation
"/serviceusage:v1/BackendRule/selector": selector
+"/serviceusage:v1/BatchCreateAdminOverridesResponse": batch_create_admin_overrides_response
+"/serviceusage:v1/BatchCreateAdminOverridesResponse/overrides": overrides
+"/serviceusage:v1/BatchCreateAdminOverridesResponse/overrides/override": override
+"/serviceusage:v1/BatchCreateConsumerOverridesResponse": batch_create_consumer_overrides_response
+"/serviceusage:v1/BatchCreateConsumerOverridesResponse/overrides": overrides
+"/serviceusage:v1/BatchCreateConsumerOverridesResponse/overrides/override": override
"/serviceusage:v1/BatchEnableServicesRequest": batch_enable_services_request
"/serviceusage:v1/BatchEnableServicesRequest/serviceIds": service_ids
"/serviceusage:v1/BatchEnableServicesRequest/serviceIds/service_id": service_id
@@ -95341,6 +97554,11 @@
"/serviceusage:v1/QuotaLimit/unit": unit
"/serviceusage:v1/QuotaLimit/values": values
"/serviceusage:v1/QuotaLimit/values/value": value
+"/serviceusage:v1/QuotaOverride": quota_override
+"/serviceusage:v1/QuotaOverride/dimensions": dimensions
+"/serviceusage:v1/QuotaOverride/dimensions/dimension": dimension
+"/serviceusage:v1/QuotaOverride/name": name
+"/serviceusage:v1/QuotaOverride/overrideValue": override_value
"/serviceusage:v1/SearchServicesResponse": search_services_response
"/serviceusage:v1/SearchServicesResponse/nextPageToken": next_page_token
"/serviceusage:v1/SearchServicesResponse/services": services
@@ -95483,6 +97701,12 @@
"/serviceusage:v1beta1/BackendRule/operationDeadline": operation_deadline
"/serviceusage:v1beta1/BackendRule/pathTranslation": path_translation
"/serviceusage:v1beta1/BackendRule/selector": selector
+"/serviceusage:v1beta1/BatchCreateAdminOverridesResponse": batch_create_admin_overrides_response
+"/serviceusage:v1beta1/BatchCreateAdminOverridesResponse/overrides": overrides
+"/serviceusage:v1beta1/BatchCreateAdminOverridesResponse/overrides/override": override
+"/serviceusage:v1beta1/BatchCreateConsumerOverridesResponse": batch_create_consumer_overrides_response
+"/serviceusage:v1beta1/BatchCreateConsumerOverridesResponse/overrides": overrides
+"/serviceusage:v1beta1/BatchCreateConsumerOverridesResponse/overrides/override": override
"/serviceusage:v1beta1/BatchEnableServicesRequest": batch_enable_services_request
"/serviceusage:v1beta1/BatchEnableServicesRequest/serviceIds": service_ids
"/serviceusage:v1beta1/BatchEnableServicesRequest/serviceIds/service_id": service_id
@@ -95799,6 +98023,11 @@
"/serviceusage:v1beta1/QuotaLimit/unit": unit
"/serviceusage:v1beta1/QuotaLimit/values": values
"/serviceusage:v1beta1/QuotaLimit/values/value": value
+"/serviceusage:v1beta1/QuotaOverride": quota_override
+"/serviceusage:v1beta1/QuotaOverride/dimensions": dimensions
+"/serviceusage:v1beta1/QuotaOverride/dimensions/dimension": dimension
+"/serviceusage:v1beta1/QuotaOverride/name": name
+"/serviceusage:v1beta1/QuotaOverride/overrideValue": override_value
"/serviceusage:v1beta1/Service": service
"/serviceusage:v1beta1/Service/config": config
"/serviceusage:v1beta1/Service/name": name
@@ -99438,6 +101667,7 @@
"/sqladmin:v1beta4/DatabaseInstance/replicaConfiguration": replica_configuration
"/sqladmin:v1beta4/DatabaseInstance/replicaNames": replica_names
"/sqladmin:v1beta4/DatabaseInstance/replicaNames/replica_name": replica_name
+"/sqladmin:v1beta4/DatabaseInstance/rootPassword": root_password
"/sqladmin:v1beta4/DatabaseInstance/selfLink": self_link
"/sqladmin:v1beta4/DatabaseInstance/serverCaCert": server_ca_cert
"/sqladmin:v1beta4/DatabaseInstance/serviceAccountEmailAddress": service_account_email_address
@@ -99958,6 +102188,26 @@
"/storage:v1/Expr/kind": kind
"/storage:v1/Expr/location": location
"/storage:v1/Expr/title": title
+"/storage:v1/HmacKey": hmac_key
+"/storage:v1/HmacKey/kind": kind
+"/storage:v1/HmacKey/metadata": metadata
+"/storage:v1/HmacKey/secret": secret
+"/storage:v1/HmacKeyMetadata": hmac_key_metadata
+"/storage:v1/HmacKeyMetadata/accessId": access_id
+"/storage:v1/HmacKeyMetadata/etag": etag
+"/storage:v1/HmacKeyMetadata/id": id
+"/storage:v1/HmacKeyMetadata/kind": kind
+"/storage:v1/HmacKeyMetadata/projectId": project_id
+"/storage:v1/HmacKeyMetadata/selfLink": self_link
+"/storage:v1/HmacKeyMetadata/serviceAccountEmail": service_account_email
+"/storage:v1/HmacKeyMetadata/state": state
+"/storage:v1/HmacKeyMetadata/timeCreated": time_created
+"/storage:v1/HmacKeyMetadata/updated": updated
+"/storage:v1/HmacKeysMetadata": hmac_keys_metadata
+"/storage:v1/HmacKeysMetadata/items": items
+"/storage:v1/HmacKeysMetadata/items/item": item
+"/storage:v1/HmacKeysMetadata/kind": kind
+"/storage:v1/HmacKeysMetadata/nextPageToken": next_page_token
"/storage:v1/Notification": notification
"/storage:v1/Notification/custom_attributes": custom_attributes
"/storage:v1/Notification/custom_attributes/custom_attribute": custom_attribute
@@ -100349,6 +102599,24 @@
"/storage:v1/storage.objects.watchAll/projection": projection
"/storage:v1/storage.objects.watchAll/userProject": user_project
"/storage:v1/storage.objects.watchAll/versions": versions
+"/storage:v1/storage.projects.hmacKeys.create": create_project_hmac_key
+"/storage:v1/storage.projects.hmacKeys.create/projectId": project_id
+"/storage:v1/storage.projects.hmacKeys.create/serviceAccountEmail": service_account_email
+"/storage:v1/storage.projects.hmacKeys.delete": delete_project_hmac_key
+"/storage:v1/storage.projects.hmacKeys.delete/accessId": access_id
+"/storage:v1/storage.projects.hmacKeys.delete/projectId": project_id
+"/storage:v1/storage.projects.hmacKeys.get": get_project_hmac_key
+"/storage:v1/storage.projects.hmacKeys.get/accessId": access_id
+"/storage:v1/storage.projects.hmacKeys.get/projectId": project_id
+"/storage:v1/storage.projects.hmacKeys.list": list_project_hmac_keys
+"/storage:v1/storage.projects.hmacKeys.list/maxResults": max_results
+"/storage:v1/storage.projects.hmacKeys.list/pageToken": page_token
+"/storage:v1/storage.projects.hmacKeys.list/projectId": project_id
+"/storage:v1/storage.projects.hmacKeys.list/serviceAccountEmail": service_account_email
+"/storage:v1/storage.projects.hmacKeys.list/showDeletedKeys": show_deleted_keys
+"/storage:v1/storage.projects.hmacKeys.update": update_project_hmac_key
+"/storage:v1/storage.projects.hmacKeys.update/accessId": access_id
+"/storage:v1/storage.projects.hmacKeys.update/projectId": project_id
"/storage:v1/storage.projects.serviceAccount.get": get_project_service_account
"/storage:v1/storage.projects.serviceAccount.get/projectId": project_id
"/storage:v1/storage.projects.serviceAccount.get/userProject": user_project
@@ -102990,7 +105258,9 @@
"/toolresults:v1beta3/InconclusiveDetail/abortedByUser": aborted_by_user
"/toolresults:v1beta3/InconclusiveDetail/infrastructureFailure": infrastructure_failure
"/toolresults:v1beta3/IndividualOutcome": individual_outcome
+"/toolresults:v1beta3/IndividualOutcome/multistepNumber": multistep_number
"/toolresults:v1beta3/IndividualOutcome/outcomeSummary": outcome_summary
+"/toolresults:v1beta3/IndividualOutcome/runDuration": run_duration
"/toolresults:v1beta3/IndividualOutcome/stepId": step_id
"/toolresults:v1beta3/ListExecutionsResponse": list_executions_response
"/toolresults:v1beta3/ListExecutionsResponse/executions": executions
@@ -103018,6 +105288,10 @@
"/toolresults:v1beta3/ListStepsResponse/nextPageToken": next_page_token
"/toolresults:v1beta3/ListStepsResponse/steps": steps
"/toolresults:v1beta3/ListStepsResponse/steps/step": step
+"/toolresults:v1beta3/ListTestCasesResponse": list_test_cases_response
+"/toolresults:v1beta3/ListTestCasesResponse/nextPageToken": next_page_token
+"/toolresults:v1beta3/ListTestCasesResponse/testCases": test_cases
+"/toolresults:v1beta3/ListTestCasesResponse/testCases/test_case": test_case
"/toolresults:v1beta3/MemoryInfo": memory_info
"/toolresults:v1beta3/MemoryInfo/memoryCapInKibibyte": memory_cap_in_kibibyte
"/toolresults:v1beta3/MemoryInfo/memoryTotalInKibibyte": memory_total_in_kibibyte
@@ -103116,6 +105390,17 @@
"/toolresults:v1beta3/StepLabelsEntry/value": value
"/toolresults:v1beta3/SuccessDetail": success_detail
"/toolresults:v1beta3/SuccessDetail/otherNativeCrash": other_native_crash
+"/toolresults:v1beta3/TestCase": test_case
+"/toolresults:v1beta3/TestCase/endTime": end_time
+"/toolresults:v1beta3/TestCase/skippedMessage": skipped_message
+"/toolresults:v1beta3/TestCase/stackTraces": stack_traces
+"/toolresults:v1beta3/TestCase/stackTraces/stack_trace": stack_trace
+"/toolresults:v1beta3/TestCase/startTime": start_time
+"/toolresults:v1beta3/TestCase/status": status
+"/toolresults:v1beta3/TestCase/testCaseId": test_case_id
+"/toolresults:v1beta3/TestCase/testCaseReference": test_case_reference
+"/toolresults:v1beta3/TestCase/toolOutputs": tool_outputs
+"/toolresults:v1beta3/TestCase/toolOutputs/tool_output": tool_output
"/toolresults:v1beta3/TestCaseReference": test_case_reference
"/toolresults:v1beta3/TestCaseReference/className": class_name
"/toolresults:v1beta3/TestCaseReference/name": name
@@ -103270,6 +105555,19 @@
"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/historyId": history_id
"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/projectId": project_id
"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/stepId": step_id
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.get": get_project_history_execution_step_test_case
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.get/executionId": execution_id
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.get/historyId": history_id
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.get/projectId": project_id
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.get/stepId": step_id
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.get/testCaseId": test_case_id
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.list": list_project_history_execution_step_test_cases
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.list/executionId": execution_id
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.list/historyId": history_id
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.list/pageSize": page_size
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.list/pageToken": page_token
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.list/projectId": project_id
+"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.testCases.list/stepId": step_id
"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list": list_project_history_execution_step_thumbnails
"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/executionId": execution_id
"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/historyId": history_id
@@ -104103,7 +106401,10 @@
"/vault:v1/HangoutsChatOptions/includeRooms": include_rooms
"/vault:v1/HeldAccount": held_account
"/vault:v1/HeldAccount/accountId": account_id
+"/vault:v1/HeldAccount/email": email
+"/vault:v1/HeldAccount/firstName": first_name
"/vault:v1/HeldAccount/holdTime": hold_time
+"/vault:v1/HeldAccount/lastName": last_name
"/vault:v1/HeldDriveQuery": held_drive_query
"/vault:v1/HeldDriveQuery/includeTeamDriveFiles": include_team_drive_files
"/vault:v1/HeldGroupsQuery": held_groups_query
@@ -109773,6 +112074,8 @@
"/vision:v1/vision.operations.list/name": name
"/vision:v1/vision.operations.list/pageSize": page_size
"/vision:v1/vision.operations.list/pageToken": page_token
+"/vision:v1/vision.projects.locations.operations.get": get_project_location_operation
+"/vision:v1/vision.projects.locations.operations.get/name": name
"/vision:v1/vision.projects.locations.productSets.addProduct": add_product_to_product_set
"/vision:v1/vision.projects.locations.productSets.addProduct/name": name
"/vision:v1/vision.projects.locations.productSets.create": create_project_location_product_set
@@ -109822,6 +112125,8 @@
"/vision:v1/vision.projects.locations.products.referenceImages.list/pageSize": page_size
"/vision:v1/vision.projects.locations.products.referenceImages.list/pageToken": page_token
"/vision:v1/vision.projects.locations.products.referenceImages.list/parent": parent
+"/vision:v1/vision.projects.operations.get": get_project_operation
+"/vision:v1/vision.projects.operations.get/name": name
"/vision:v1p1beta1/AnnotateFileResponse": annotate_file_response
"/vision:v1p1beta1/AnnotateFileResponse/inputConfig": input_config
"/vision:v1p1beta1/AnnotateFileResponse/responses": responses
@@ -114905,6 +117210,7 @@
"/youtubePartner:v1/LiveCuepoint/settings": settings
"/youtubePartner:v1/MatchSegment": match_segment
"/youtubePartner:v1/MatchSegment/channel": channel
+"/youtubePartner:v1/MatchSegment/manual_segment": manual_segment
"/youtubePartner:v1/MatchSegment/reference_segment": reference_segment
"/youtubePartner:v1/MatchSegment/video_segment": video_segment
"/youtubePartner:v1/Metadata": metadata
@@ -115142,6 +117448,7 @@
"/youtubePartner:v1/RightsOwnershipHistory/timeProvided": time_provided
"/youtubePartner:v1/Segment": segment
"/youtubePartner:v1/Segment/duration": duration
+"/youtubePartner:v1/Segment/finish": finish
"/youtubePartner:v1/Segment/kind": kind
"/youtubePartner:v1/Segment/start": start
"/youtubePartner:v1/ShowDetails": show_details
diff --git a/generated/google/apis/accessapproval_v1beta1.rb b/generated/google/apis/accessapproval_v1beta1.rb
new file mode 100644
index 000000000..76c6b7855
--- /dev/null
+++ b/generated/google/apis/accessapproval_v1beta1.rb
@@ -0,0 +1,34 @@
+# Copyright 2015 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'google/apis/accessapproval_v1beta1/service.rb'
+require 'google/apis/accessapproval_v1beta1/classes.rb'
+require 'google/apis/accessapproval_v1beta1/representations.rb'
+
+module Google
+ module Apis
+ # Access Approval API
+ #
+ # An API for controlling access to data by Google personnel.
+ #
+ # @see https://cloud.google.com/access-approval/docs
+ module AccessapprovalV1beta1
+ VERSION = 'V1beta1'
+ REVISION = '20190412'
+
+ # View and manage your data across Google Cloud Platform services
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+ end
+ end
+end
diff --git a/generated/google/apis/accessapproval_v1beta1/classes.rb b/generated/google/apis/accessapproval_v1beta1/classes.rb
new file mode 100644
index 000000000..d287347f2
--- /dev/null
+++ b/generated/google/apis/accessapproval_v1beta1/classes.rb
@@ -0,0 +1,306 @@
+# 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 AccessapprovalV1beta1
+
+ # Settings on a Project/Folder/Organization related to Access Approval.
+ class AccessApprovalSettings
+ include Google::Apis::Core::Hashable
+
+ # The resource name of the settings. Format is one of:
+ #
+ # - "projects/`project_id`/accessApprovalSettings"
+ # - "folders/`folder_id`/accessApprovalSettings"
+ # - "organizations/`organization_id`/accessApprovalSettings"
+ #
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # A list of email addresses to which notifications relating to approval
+ # requests should be sent. Notifications relating to a resource will be sent
+ # to all emails in the settings of ancestor resources of that resource.
+ # Corresponds to the JSON property `notificationEmails`
+ # @return [Array]
+ attr_accessor :notification_emails
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @name = args[:name] if args.key?(:name)
+ @notification_emails = args[:notification_emails] if args.key?(:notification_emails)
+ end
+ end
+
+ # Home office and physical location of the principal.
+ class AccessLocations
+ include Google::Apis::Core::Hashable
+
+ # The "home office" location of the principal. A two-letter country code
+ # (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some
+ # limited situations Google systems may refer refer to a region code instead
+ # of a country code.
+ # Possible Region Codes:
+ #
+ # - ASI: Asia
+ # - EUR: Europe
+ # - OCE: Oceania
+ # - AFR: Africa
+ # - NAM: North America
+ # - SAM: South America
+ # - ANT: Antarctica
+ # - ANY: Any location
+ #
+ # Corresponds to the JSON property `principalOfficeCountry`
+ # @return [String]
+ attr_accessor :principal_office_country
+
+ # Physical location of the principal at the time of the access. A
+ # two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or
+ # a region code. In some limited situations Google systems may refer refer to
+ # a region code instead of a country code.
+ # Possible Region Codes:
+ #
+ # - ASI: Asia
+ # - EUR: Europe
+ # - OCE: Oceania
+ # - AFR: Africa
+ # - NAM: North America
+ # - SAM: South America
+ # - ANT: Antarctica
+ # - ANY: Any location
+ #
+ # Corresponds to the JSON property `principalPhysicalLocationCountry`
+ # @return [String]
+ attr_accessor :principal_physical_location_country
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @principal_office_country = args[:principal_office_country] if args.key?(:principal_office_country)
+ @principal_physical_location_country = args[:principal_physical_location_country] if args.key?(:principal_physical_location_country)
+ end
+ end
+
+ #
+ class AccessReason
+ include Google::Apis::Core::Hashable
+
+ # More detail about certain reason types. See comments for each type above.
+ # Corresponds to the JSON property `detail`
+ # @return [String]
+ attr_accessor :detail
+
+ # Type of access justification.
+ # 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)
+ @detail = args[:detail] if args.key?(:detail)
+ @type = args[:type] if args.key?(:type)
+ end
+ end
+
+ # A request for the customer to approve access to a resource.
+ class ApprovalRequest
+ include Google::Apis::Core::Hashable
+
+ # A decision that has been made to approve access to a resource.
+ # Corresponds to the JSON property `approve`
+ # @return [Google::Apis::AccessapprovalV1beta1::ApproveDecision]
+ attr_accessor :approve
+
+ # A decision that has been made to dismiss an approval request.
+ # Corresponds to the JSON property `dismiss`
+ # @return [Google::Apis::AccessapprovalV1beta1::DismissDecision]
+ attr_accessor :dismiss
+
+ # The resource name of the request. Format is
+ # "`projects|folders|organizations`/`id`/approvalRequests/`approval_request_id`".
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # The time at which approval was requested.
+ # Corresponds to the JSON property `requestTime`
+ # @return [String]
+ attr_accessor :request_time
+
+ # The requested expiration for the approval. If the request is approved,
+ # access will be granted from the time of approval until the expiration time.
+ # Corresponds to the JSON property `requestedExpiration`
+ # @return [String]
+ attr_accessor :requested_expiration
+
+ # Home office and physical location of the principal.
+ # Corresponds to the JSON property `requestedLocations`
+ # @return [Google::Apis::AccessapprovalV1beta1::AccessLocations]
+ attr_accessor :requested_locations
+
+ # The justification for which approval is being requested.
+ # Corresponds to the JSON property `requestedReason`
+ # @return [Google::Apis::AccessapprovalV1beta1::AccessReason]
+ attr_accessor :requested_reason
+
+ # The resource for which approval is being requested. The format of the
+ # resource name is defined at
+ # https://cloud.google.com/apis/design/resource_names. The resource name here
+ # may either be a "full" resource name (e.g.
+ # "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative"
+ # resource name (e.g. "shelves/shelf1/books/book2") as described in the
+ # resource name specification.
+ # Corresponds to the JSON property `requestedResourceName`
+ # @return [String]
+ attr_accessor :requested_resource_name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @approve = args[:approve] if args.key?(:approve)
+ @dismiss = args[:dismiss] if args.key?(:dismiss)
+ @name = args[:name] if args.key?(:name)
+ @request_time = args[:request_time] if args.key?(:request_time)
+ @requested_expiration = args[:requested_expiration] if args.key?(:requested_expiration)
+ @requested_locations = args[:requested_locations] if args.key?(:requested_locations)
+ @requested_reason = args[:requested_reason] if args.key?(:requested_reason)
+ @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name)
+ end
+ end
+
+ # Request to approve an ApprovalRequest.
+ class ApproveApprovalRequestMessage
+ include Google::Apis::Core::Hashable
+
+ # The expiration time of this approval.
+ # Corresponds to the JSON property `expireTime`
+ # @return [String]
+ attr_accessor :expire_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
+ end
+ end
+
+ # A decision that has been made to approve access to a resource.
+ class ApproveDecision
+ include Google::Apis::Core::Hashable
+
+ # The time at which approval was granted.
+ # Corresponds to the JSON property `approveTime`
+ # @return [String]
+ attr_accessor :approve_time
+
+ # The time at which the approval expires.
+ # Corresponds to the JSON property `expireTime`
+ # @return [String]
+ attr_accessor :expire_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @approve_time = args[:approve_time] if args.key?(:approve_time)
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
+ end
+ end
+
+ # Request to dismiss an approval request.
+ class DismissApprovalRequestMessage
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # A decision that has been made to dismiss an approval request.
+ class DismissDecision
+ include Google::Apis::Core::Hashable
+
+ # The time at which the approval request was dismissed.
+ # Corresponds to the JSON property `dismissTime`
+ # @return [String]
+ attr_accessor :dismiss_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @dismiss_time = args[:dismiss_time] if args.key?(:dismiss_time)
+ end
+ end
+
+ # Response to listing of ApprovalRequest objects.
+ class ListApprovalRequestsResponse
+ include Google::Apis::Core::Hashable
+
+ # Approval request details.
+ # Corresponds to the JSON property `approvalRequests`
+ # @return [Array]
+ attr_accessor :approval_requests
+
+ # Token to retrieve the next page of results, or empty if there are no more.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @approval_requests = args[:approval_requests] if args.key?(:approval_requests)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/accessapproval_v1beta1/representations.rb b/generated/google/apis/accessapproval_v1beta1/representations.rb
new file mode 100644
index 000000000..88ecd9b81
--- /dev/null
+++ b/generated/google/apis/accessapproval_v1beta1/representations.rb
@@ -0,0 +1,159 @@
+# 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 AccessapprovalV1beta1
+
+ class AccessApprovalSettings
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AccessLocations
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AccessReason
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ApprovalRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ApproveApprovalRequestMessage
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ApproveDecision
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DismissApprovalRequestMessage
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DismissDecision
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListApprovalRequestsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AccessApprovalSettings
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :name, as: 'name'
+ collection :notification_emails, as: 'notificationEmails'
+ end
+ end
+
+ class AccessLocations
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :principal_office_country, as: 'principalOfficeCountry'
+ property :principal_physical_location_country, as: 'principalPhysicalLocationCountry'
+ end
+ end
+
+ class AccessReason
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :detail, as: 'detail'
+ property :type, as: 'type'
+ end
+ end
+
+ class ApprovalRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :approve, as: 'approve', class: Google::Apis::AccessapprovalV1beta1::ApproveDecision, decorator: Google::Apis::AccessapprovalV1beta1::ApproveDecision::Representation
+
+ property :dismiss, as: 'dismiss', class: Google::Apis::AccessapprovalV1beta1::DismissDecision, decorator: Google::Apis::AccessapprovalV1beta1::DismissDecision::Representation
+
+ property :name, as: 'name'
+ property :request_time, as: 'requestTime'
+ property :requested_expiration, as: 'requestedExpiration'
+ property :requested_locations, as: 'requestedLocations', class: Google::Apis::AccessapprovalV1beta1::AccessLocations, decorator: Google::Apis::AccessapprovalV1beta1::AccessLocations::Representation
+
+ property :requested_reason, as: 'requestedReason', class: Google::Apis::AccessapprovalV1beta1::AccessReason, decorator: Google::Apis::AccessapprovalV1beta1::AccessReason::Representation
+
+ property :requested_resource_name, as: 'requestedResourceName'
+ end
+ end
+
+ class ApproveApprovalRequestMessage
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :expire_time, as: 'expireTime'
+ end
+ end
+
+ class ApproveDecision
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :approve_time, as: 'approveTime'
+ property :expire_time, as: 'expireTime'
+ end
+ end
+
+ class DismissApprovalRequestMessage
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class DismissDecision
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :dismiss_time, as: 'dismissTime'
+ end
+ end
+
+ class ListApprovalRequestsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :approval_requests, as: 'approvalRequests', class: Google::Apis::AccessapprovalV1beta1::ApprovalRequest, decorator: Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/accessapproval_v1beta1/service.rb b/generated/google/apis/accessapproval_v1beta1/service.rb
new file mode 100644
index 000000000..6480c0d63
--- /dev/null
+++ b/generated/google/apis/accessapproval_v1beta1/service.rb
@@ -0,0 +1,728 @@
+# Copyright 2015 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'google/apis/core/base_service'
+require 'google/apis/core/json_representation'
+require 'google/apis/core/hashable'
+require 'google/apis/errors'
+
+module Google
+ module Apis
+ module AccessapprovalV1beta1
+ # Access Approval API
+ #
+ # An API for controlling access to data by Google personnel.
+ #
+ # @example
+ # require 'google/apis/accessapproval_v1beta1'
+ #
+ # Accessapproval = Google::Apis::AccessapprovalV1beta1 # Alias the module
+ # service = Accessapproval::AccessApprovalService.new
+ #
+ # @see https://cloud.google.com/access-approval/docs
+ class AccessApprovalService < Google::Apis::Core::BaseService
+ # @return [String]
+ # API key. Your API key identifies your project and provides you with API access,
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
+ attr_accessor :key
+
+ # @return [String]
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ attr_accessor :quota_user
+
+ def initialize
+ super('https://accessapproval.googleapis.com/', '')
+ @batch_path = 'batch'
+ end
+
+ # Gets the settings associated with a project, folder, or organization.
+ # @param [String] name
+ # Name of the AccessApprovalSettings to retrieve.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates the settings associated with a project, folder, or organization.
+ # Completely replaces the existing settings.
+ # @param [String] name
+ # The resource name of the settings. Format is one of:
+ #
+ # - "projects/`project_id`/accessApprovalSettings"
+ # - "folders/`folder_id`/accessApprovalSettings"
+ # - "organizations/`organization_id`/accessApprovalSettings"
+ #
+ # @param [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] access_approval_settings_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def update_folder_access_approval_settings(name, access_approval_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
+ command.request_object = access_approval_settings_object
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
+ 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
+
+ # Approves a request and returns the updated ApprovalRequest.
+ # Returns NOT_FOUND if the request does not exist. Returns
+ # FAILED_PRECONDITION if the request exists but is not in a pending state.
+ # @param [String] name
+ # Name of the approval request to approve.
+ # @param [Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage] approve_approval_request_message_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def approve_folder_approval_request(name, approve_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
+ command.request_representation = Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage::Representation
+ command.request_object = approve_approval_request_message_object
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
+ 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
+
+ # Dismisses a request. Returns the updated ApprovalRequest.
+ # NOTE: This does not deny access to the resource if another request has been
+ # made and approved. It is equivalent in effect to ignoring the request
+ # altogether.
+ # Returns NOT_FOUND if the request does not exist.
+ # Returns FAILED_PRECONDITION if the request exists but is not in a pending
+ # state.
+ # @param [String] name
+ # Name of the ApprovalRequest to dismiss.
+ # @param [Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage] dismiss_approval_request_message_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def dismiss_folder_approval_request(name, dismiss_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
+ command.request_representation = Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage::Representation
+ command.request_object = dismiss_approval_request_message_object
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
+ 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 an approval request. Returns NOT_FOUND if the request does not exist.
+ # @param [String] name
+ # Name of the approval request to retrieve.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_approval_request(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
+ 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 approval requests associated with a project, folder, or organization.
+ # Approval requests can be filtered by state (pending, active, dismissed).
+ # The order is reverse chronological.
+ # @param [String] parent
+ # The parent resource. This may be "projects/`project_id`",
+ # "folders/`folder_id`", or "organizations/`organization_id`".
+ # @param [String] filter
+ # A filter on the type of approval requests to retrieve. Must be one of the
+ # following values:
+ #
+ # - [not set]: Requests that are pending or have active approvals.
+ # - ALL: All requests.
+ # - PENDING: Only pending requests.
+ # - ACTIVE: Only active (i.e. currently approved) requests.
+ # - DISMISSED: Only dismissed (including expired) requests.
+ #
+ # @param [Fixnum] page_size
+ # Requested page size.
+ # @param [String] page_token
+ # A token identifying the page of results to return.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_approval_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the settings associated with a project, folder, or organization.
+ # @param [String] name
+ # Name of the AccessApprovalSettings to retrieve.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates the settings associated with a project, folder, or organization.
+ # Completely replaces the existing settings.
+ # @param [String] name
+ # The resource name of the settings. Format is one of:
+ #
+ # - "projects/`project_id`/accessApprovalSettings"
+ # - "folders/`folder_id`/accessApprovalSettings"
+ # - "organizations/`organization_id`/accessApprovalSettings"
+ #
+ # @param [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] access_approval_settings_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def update_organization_access_approval_settings(name, access_approval_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
+ command.request_object = access_approval_settings_object
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
+ 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
+
+ # Approves a request and returns the updated ApprovalRequest.
+ # Returns NOT_FOUND if the request does not exist. Returns
+ # FAILED_PRECONDITION if the request exists but is not in a pending state.
+ # @param [String] name
+ # Name of the approval request to approve.
+ # @param [Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage] approve_approval_request_message_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def approve_organization_approval_request(name, approve_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
+ command.request_representation = Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage::Representation
+ command.request_object = approve_approval_request_message_object
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
+ 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
+
+ # Dismisses a request. Returns the updated ApprovalRequest.
+ # NOTE: This does not deny access to the resource if another request has been
+ # made and approved. It is equivalent in effect to ignoring the request
+ # altogether.
+ # Returns NOT_FOUND if the request does not exist.
+ # Returns FAILED_PRECONDITION if the request exists but is not in a pending
+ # state.
+ # @param [String] name
+ # Name of the ApprovalRequest to dismiss.
+ # @param [Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage] dismiss_approval_request_message_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def dismiss_organization_approval_request(name, dismiss_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
+ command.request_representation = Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage::Representation
+ command.request_object = dismiss_approval_request_message_object
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
+ 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 an approval request. Returns NOT_FOUND if the request does not exist.
+ # @param [String] name
+ # Name of the approval request to retrieve.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_approval_request(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
+ 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 approval requests associated with a project, folder, or organization.
+ # Approval requests can be filtered by state (pending, active, dismissed).
+ # The order is reverse chronological.
+ # @param [String] parent
+ # The parent resource. This may be "projects/`project_id`",
+ # "folders/`folder_id`", or "organizations/`organization_id`".
+ # @param [String] filter
+ # A filter on the type of approval requests to retrieve. Must be one of the
+ # following values:
+ #
+ # - [not set]: Requests that are pending or have active approvals.
+ # - ALL: All requests.
+ # - PENDING: Only pending requests.
+ # - ACTIVE: Only active (i.e. currently approved) requests.
+ # - DISMISSED: Only dismissed (including expired) requests.
+ #
+ # @param [Fixnum] page_size
+ # Requested page size.
+ # @param [String] page_token
+ # A token identifying the page of results to return.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_approval_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the settings associated with a project, folder, or organization.
+ # @param [String] name
+ # Name of the AccessApprovalSettings to retrieve.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates the settings associated with a project, folder, or organization.
+ # Completely replaces the existing settings.
+ # @param [String] name
+ # The resource name of the settings. Format is one of:
+ #
+ # - "projects/`project_id`/accessApprovalSettings"
+ # - "folders/`folder_id`/accessApprovalSettings"
+ # - "organizations/`organization_id`/accessApprovalSettings"
+ #
+ # @param [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] access_approval_settings_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def update_project_access_approval_settings(name, access_approval_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
+ command.request_object = access_approval_settings_object
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
+ 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
+
+ # Approves a request and returns the updated ApprovalRequest.
+ # Returns NOT_FOUND if the request does not exist. Returns
+ # FAILED_PRECONDITION if the request exists but is not in a pending state.
+ # @param [String] name
+ # Name of the approval request to approve.
+ # @param [Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage] approve_approval_request_message_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def approve_project_approval_request(name, approve_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
+ command.request_representation = Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage::Representation
+ command.request_object = approve_approval_request_message_object
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
+ 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
+
+ # Dismisses a request. Returns the updated ApprovalRequest.
+ # NOTE: This does not deny access to the resource if another request has been
+ # made and approved. It is equivalent in effect to ignoring the request
+ # altogether.
+ # Returns NOT_FOUND if the request does not exist.
+ # Returns FAILED_PRECONDITION if the request exists but is not in a pending
+ # state.
+ # @param [String] name
+ # Name of the ApprovalRequest to dismiss.
+ # @param [Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage] dismiss_approval_request_message_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def dismiss_project_approval_request(name, dismiss_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
+ command.request_representation = Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage::Representation
+ command.request_object = dismiss_approval_request_message_object
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
+ 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 an approval request. Returns NOT_FOUND if the request does not exist.
+ # @param [String] name
+ # Name of the approval request to retrieve.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_approval_request(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
+ 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 approval requests associated with a project, folder, or organization.
+ # Approval requests can be filtered by state (pending, active, dismissed).
+ # The order is reverse chronological.
+ # @param [String] parent
+ # The parent resource. This may be "projects/`project_id`",
+ # "folders/`folder_id`", or "organizations/`organization_id`".
+ # @param [String] filter
+ # A filter on the type of approval requests to retrieve. Must be one of the
+ # following values:
+ #
+ # - [not set]: Requests that are pending or have active approvals.
+ # - ALL: All requests.
+ # - PENDING: Only pending requests.
+ # - ACTIVE: Only active (i.e. currently approved) requests.
+ # - DISMISSED: Only dismissed (including expired) requests.
+ #
+ # @param [Fixnum] page_size
+ # Requested page size.
+ # @param [String] page_token
+ # A token identifying the page of results to return.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_approval_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
+ command.response_representation = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse::Representation
+ command.response_class = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ protected
+
+ def apply_command_defaults(command)
+ command.query['key'] = key unless key.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb
index e655407f3..b423859ba 100644
--- a/generated/google/apis/adexchangebuyer2_v2beta1.rb
+++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb
@@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
- REVISION = '20190328'
+ REVISION = '20190410'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb
index 706d03c00..7c004abb4 100644
--- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb
+++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb
@@ -319,7 +319,8 @@ module Google
include Google::Apis::Core::Hashable
# The ID of the callout status.
- # See [callout-status-codes](https://developers.google.com/authorized-buyers/rtb/
+ # See
+ # [callout-status-codes](https://developers.google.com/authorized-buyers/rtb/
# downloads/callout-status-codes).
# Corresponds to the JSON property `calloutStatusId`
# @return [Fixnum]
@@ -987,8 +988,9 @@ module Google
attr_accessor :bid_count
# The ID of the creative status.
- # See [creative-status-codes](https://developers.google.com/authorized-buyers/
- # rtb/downloads/creative-status-codes).
+ # See
+ # [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/
+ # downloads/creative-status-codes).
# Corresponds to the JSON property `creativeStatusId`
# @return [Fixnum]
attr_accessor :creative_status_id
@@ -1141,9 +1143,8 @@ module Google
end
# A deal represents a segment of inventory for displaying ads on.
- # A proposal can contain multiple deals. A deal contains the terms and targeting
- # information that
- # is used for serving.
+ # A proposal can contain multiple deals. A deal contains the terms and
+ # targeting information that is used for serving.
class Deal
include Google::Apis::Core::Hashable
@@ -1156,9 +1157,9 @@ module Google
# Optional proposed flight start time of the deal.
# This will generally be stored in the granularity of one second since deal
- # serving
- # starts at seconds boundary. Any time specified with more granularity
- # (e.g., in milliseconds) will be truncated towards the start of time in seconds.
+ # serving starts at seconds boundary. Any time specified with more
+ # granularity (e.g., in milliseconds) will be truncated towards the start of
+ # time in seconds.
# Corresponds to the JSON property `availableStartTime`
# @return [String]
attr_accessor :available_start_time
@@ -3199,18 +3200,15 @@ module Google
class Product
include Google::Apis::Core::Hashable
- # The proposed end time for the deal. The field will be truncated to the order
- # of
- # seconds during serving.
+ # The proposed end time for the deal. The field will be truncated to the
+ # order of seconds during serving.
# Corresponds to the JSON property `availableEndTime`
# @return [String]
attr_accessor :available_end_time
# Inventory availability dates. The start time will be truncated to seconds
- # during serving.
- # Thus, a field specified as 3:23:34.456 (HH:mm:ss.SSS) will be truncated to 3:
- # 23:34
- # when serving.
+ # during serving. Thus, a field specified as 3:23:34.456 (HH:mm:ss.SSS) will
+ # be truncated to 3:23:34 when serving.
# Corresponds to the JSON property `availableStartTime`
# @return [String]
attr_accessor :available_start_time
@@ -3348,9 +3346,8 @@ module Google
# @return [Google::Apis::Adexchangebuyer2V2beta1::PrivateData]
attr_accessor :buyer_private_data
- # The deals associated with this proposal. For Private Auction proposals (whose
- # deals have
- # NonGuaranteedAuctionTerms), there will only be one deal.
+ # The deals associated with this proposal. For Private Auction proposals
+ # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
# Corresponds to the JSON property `deals`
# @return [Array]
attr_accessor :deals
@@ -3472,8 +3469,7 @@ module Google
# account manager for access to Marketplace resources.
# Represents a publisher profile in Marketplace.
# All fields are read only. All string fields are free-form text entered by the
- # publisher
- # unless noted otherwise.
+ # publisher unless noted otherwise.
class PublisherProfile
include Google::Apis::Core::Hashable
@@ -3482,16 +3478,15 @@ module Google
# @return [String]
attr_accessor :audience_description
- # Statement explaining what's unique about publisher's business, and why buyers
- # should
- # partner with the publisher.
+ # Statement explaining what's unique about publisher's business, and why
+ # buyers should partner with the publisher.
# Corresponds to the JSON property `buyerPitchStatement`
# @return [String]
attr_accessor :buyer_pitch_statement
- # Contact information for direct reservation deals. This is free text entered by
- # the publisher
- # and may include information like names, phone numbers and email addresses.
+ # Contact information for direct reservation deals. This is free text entered
+ # by the publisher and may include information like names, phone numbers and
+ # email addresses.
# Corresponds to the JSON property `directDealsContact`
# @return [String]
attr_accessor :direct_deals_contact
@@ -3501,11 +3496,10 @@ module Google
# @return [String]
attr_accessor :display_name
- # The list of domains represented in this publisher profile. Empty if this is a
- # parent profile.
- # These are top private domains, meaning that these will not contain a string
- # like
- # "photos.google.co.uk/123", but will instead contain "google.co.uk".
+ # The list of domains represented in this publisher profile. Empty if this is
+ # a parent profile. These are top private domains, meaning that these will
+ # not contain a string like "photos.google.co.uk/123", but will instead
+ # contain "google.co.uk".
# Corresponds to the JSON property `domains`
# @return [Array]
attr_accessor :domains
@@ -3515,9 +3509,8 @@ module Google
# @return [String]
attr_accessor :google_plus_url
- # A Google public URL to the logo for this publisher profile. The logo is stored
- # as
- # a PNG, JPG, or GIF image.
+ # A Google public URL to the logo for this publisher profile. The logo is
+ # stored as a PNG, JPG, or GIF image.
# Corresponds to the JSON property `logoUrl`
# @return [String]
attr_accessor :logo_url
@@ -3532,9 +3525,9 @@ module Google
# @return [String]
attr_accessor :overview
- # Contact information for programmatic deals. This is free text entered by the
- # publisher
- # and may include information like names, phone numbers and email addresses.
+ # Contact information for programmatic deals. This is free text entered by
+ # the publisher and may include information like names, phone numbers and
+ # email addresses.
# Corresponds to the JSON property `programmaticDealsContact`
# @return [String]
attr_accessor :programmatic_deals_contact
diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb
index 66b919ff1..1bdd6b301 100644
--- a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb
+++ b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb
@@ -382,7 +382,8 @@ module Google
# Typically, this is the value of
# ListClientUsersResponse.nextPageToken
# returned from the previous call to the
- # accounts.clients.users.list method.
+ # accounts.clients.users.list
+ # method.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1445,47 +1446,6 @@ module Google
execute_or_queue_command(command, &block)
end
- # Deletes a single creative.
- # A creative is deactivated upon deletion and does not count against active
- # snippet quota. A deleted creative should not be used in bidding (all bids
- # with that creative will be rejected).
- # @param [String] owner_name
- # Name of the owner (bidder or account) of the creative to be deleted.
- # For example:
- # - For an account-level creative for the buyer account representing bidder
- # 123: `bidders/123/accounts/123`
- # - For an account-level creative for the child seat buyer account 456
- # whose bidder is 123: `bidders/123/accounts/456`
- # @param [String] creative_id
- # The ID of the creative to delete.
- # @param [String] fields
- # Selector specifying which fields to include in a partial response.
- # @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # @param [Google::Apis::RequestOptions] options
- # Request-specific options
- #
- # @yield [result, err] Result & error if block supplied
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
- # @yieldparam err [StandardError] error object if request failed
- #
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
- #
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
- # @raise [Google::Apis::AuthorizationError] Authorization is required
- def delete_bidder_account_creative(owner_name, creative_id, fields: nil, quota_user: nil, options: nil, &block)
- command = make_simple_command(:delete, 'v2beta1/{+ownerName}/creatives/{creativeId}', options)
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
- command.params['ownerName'] = owner_name unless owner_name.nil?
- command.params['creativeId'] = creative_id unless creative_id.nil?
- command.query['fields'] = fields unless fields.nil?
- command.query['quotaUser'] = quota_user unless quota_user.nil?
- execute_or_queue_command(command, &block)
- end
-
# Creates the specified filter set for the account with the given account ID.
# @param [String] owner_name
# Name of the owner (bidder or account) of the filter set to be created.
diff --git a/generated/google/apis/admin_reports_v1.rb b/generated/google/apis/admin_reports_v1.rb
index 5749d65d7..abfa26d6a 100644
--- a/generated/google/apis/admin_reports_v1.rb
+++ b/generated/google/apis/admin_reports_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/admin-sdk/reports/
module AdminReportsV1
VERSION = 'ReportsV1'
- REVISION = '20190117'
+ REVISION = '20190210'
# View audit reports for your G Suite domain
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
diff --git a/generated/google/apis/alertcenter_v1beta1.rb b/generated/google/apis/alertcenter_v1beta1.rb
index 7f996d92a..6461ca053 100644
--- a/generated/google/apis/alertcenter_v1beta1.rb
+++ b/generated/google/apis/alertcenter_v1beta1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/admin-sdk/alertcenter/
module AlertcenterV1beta1
VERSION = 'V1beta1'
- REVISION = '20190221'
+ REVISION = '20190418'
# See and delete your domain's G Suite alerts, and send alert feedback
AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
diff --git a/generated/google/apis/alertcenter_v1beta1/classes.rb b/generated/google/apis/alertcenter_v1beta1/classes.rb
index 1a734ecc2..785f7c6f3 100644
--- a/generated/google/apis/alertcenter_v1beta1/classes.rb
+++ b/generated/google/apis/alertcenter_v1beta1/classes.rb
@@ -47,6 +47,98 @@ module Google
end
end
+ # Alerts from G Suite Security Center rules service configured by admin.
+ class ActivityRule
+ include Google::Apis::Core::Hashable
+
+ # List of action names associated with the rule threshold.
+ # Corresponds to the JSON property `actionNames`
+ # @return [Array]
+ attr_accessor :action_names
+
+ # Rule create timestamp.
+ # Corresponds to the JSON property `createTime`
+ # @return [String]
+ attr_accessor :create_time
+
+ # Description of the rule.
+ # Corresponds to the JSON property `description`
+ # @return [String]
+ attr_accessor :description
+
+ # Alert display name.
+ # Corresponds to the JSON property `displayName`
+ # @return [String]
+ attr_accessor :display_name
+
+ # Rule name.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Query that is used to get the data from the associated source.
+ # Corresponds to the JSON property `query`
+ # @return [String]
+ attr_accessor :query
+
+ # List of alert ids superseded by this alert. It is used to indicate that
+ # this alert is essentially extension of superseded alerts and we found the
+ # relationship after creating these alerts.
+ # Corresponds to the JSON property `supersededAlerts`
+ # @return [Array]
+ attr_accessor :superseded_alerts
+
+ # Alert id superseding this alert. It is used to indicate that superseding
+ # alert is essentially extension of this alert and we found the relationship
+ # after creating both alerts.
+ # Corresponds to the JSON property `supersedingAlert`
+ # @return [String]
+ attr_accessor :superseding_alert
+
+ # Alert threshold is for example “COUNT > 5”.
+ # Corresponds to the JSON property `threshold`
+ # @return [String]
+ attr_accessor :threshold
+
+ # The trigger sources for this rule.
+ # * GMAIL_EVENTS
+ # * DEVICE_EVENTS
+ # * USER_EVENTS
+ # Corresponds to the JSON property `triggerSource`
+ # @return [String]
+ attr_accessor :trigger_source
+
+ # The timestamp of the last update to the rule.
+ # Corresponds to the JSON property `updateTime`
+ # @return [String]
+ attr_accessor :update_time
+
+ # Rule window size. Possible values are 1 hour or 24 hours.
+ # Corresponds to the JSON property `windowSize`
+ # @return [String]
+ attr_accessor :window_size
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @action_names = args[:action_names] if args.key?(:action_names)
+ @create_time = args[:create_time] if args.key?(:create_time)
+ @description = args[:description] if args.key?(:description)
+ @display_name = args[:display_name] if args.key?(:display_name)
+ @name = args[:name] if args.key?(:name)
+ @query = args[:query] if args.key?(:query)
+ @superseded_alerts = args[:superseded_alerts] if args.key?(:superseded_alerts)
+ @superseding_alert = args[:superseding_alert] if args.key?(:superseding_alert)
+ @threshold = args[:threshold] if args.key?(:threshold)
+ @trigger_source = args[:trigger_source] if args.key?(:trigger_source)
+ @update_time = args[:update_time] if args.key?(:update_time)
+ @window_size = args[:window_size] if args.key?(:window_size)
+ end
+ end
+
# An alert affecting a customer.
class Alert
include Google::Apis::Core::Hashable
@@ -119,6 +211,11 @@ module Google
# @return [String]
attr_accessor :type
+ # Output only. The time this alert was last updated.
+ # Corresponds to the JSON property `updateTime`
+ # @return [String]
+ attr_accessor :update_time
+
def initialize(**args)
update!(**args)
end
@@ -135,6 +232,7 @@ module Google
@source = args[:source] if args.key?(:source)
@start_time = args[:start_time] if args.key?(:start_time)
@type = args[:type] if args.key?(:type)
+ @update_time = args[:update_time] if args.key?(:update_time)
end
end
diff --git a/generated/google/apis/alertcenter_v1beta1/representations.rb b/generated/google/apis/alertcenter_v1beta1/representations.rb
index 3e7ad5fda..d500e421f 100644
--- a/generated/google/apis/alertcenter_v1beta1/representations.rb
+++ b/generated/google/apis/alertcenter_v1beta1/representations.rb
@@ -28,6 +28,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class ActivityRule
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Alert
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -193,6 +199,24 @@ module Google
end
end
+ class ActivityRule
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :action_names, as: 'actionNames'
+ property :create_time, as: 'createTime'
+ property :description, as: 'description'
+ property :display_name, as: 'displayName'
+ property :name, as: 'name'
+ property :query, as: 'query'
+ collection :superseded_alerts, as: 'supersededAlerts'
+ property :superseding_alert, as: 'supersedingAlert'
+ property :threshold, as: 'threshold'
+ property :trigger_source, as: 'triggerSource'
+ property :update_time, as: 'updateTime'
+ property :window_size, as: 'windowSize'
+ end
+ end
+
class Alert
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -206,6 +230,7 @@ module Google
property :source, as: 'source'
property :start_time, as: 'startTime'
property :type, as: 'type'
+ property :update_time, as: 'updateTime'
end
end
diff --git a/generated/google/apis/alertcenter_v1beta1/service.rb b/generated/google/apis/alertcenter_v1beta1/service.rb
index 7bcc561d6..f7401d83d 100644
--- a/generated/google/apis/alertcenter_v1beta1/service.rb
+++ b/generated/google/apis/alertcenter_v1beta1/service.rb
@@ -138,7 +138,8 @@ module Google
# If not specified results may be returned in arbitrary order.
# You can sort the results in descending order based on the creation
# timestamp using `order_by="create_time desc"`.
- # Currently, only sorting by `create_time desc` is supported.
+ # Currently, supported sorting are `create_time asc`, `create_time desc`,
+ # `update_time desc`
# @param [Fixnum] page_size
# Optional. The requested page size. Server may return fewer items than
# requested. If unspecified, server picks an appropriate default.
diff --git a/generated/google/apis/androiddeviceprovisioning_v1.rb b/generated/google/apis/androiddeviceprovisioning_v1.rb
index 672fbb6a6..9f138944b 100644
--- a/generated/google/apis/androiddeviceprovisioning_v1.rb
+++ b/generated/google/apis/androiddeviceprovisioning_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/zero-touch/
module AndroiddeviceprovisioningV1
VERSION = 'V1'
- REVISION = '20190309'
+ REVISION = '20190406'
end
end
end
diff --git a/generated/google/apis/androiddeviceprovisioning_v1/classes.rb b/generated/google/apis/androiddeviceprovisioning_v1/classes.rb
index 40749796f..c6eb531a5 100644
--- a/generated/google/apis/androiddeviceprovisioning_v1/classes.rb
+++ b/generated/google/apis/androiddeviceprovisioning_v1/classes.rb
@@ -546,6 +546,18 @@ module Google
# @return [String]
attr_accessor :section_type
+ # The timestamp when the device will exit ‘vacation mode’. This value is
+ # present iff the device is in 'vacation mode'.
+ # Corresponds to the JSON property `vacationModeExpireTime`
+ # @return [String]
+ attr_accessor :vacation_mode_expire_time
+
+ # The timestamp when the device was put into ‘vacation mode’. This value is
+ # present iff the device is in 'vacation mode'.
+ # Corresponds to the JSON property `vacationModeStartTime`
+ # @return [String]
+ attr_accessor :vacation_mode_start_time
+
def initialize(**args)
update!(**args)
end
@@ -555,6 +567,8 @@ module Google
@owner_company_id = args[:owner_company_id] if args.key?(:owner_company_id)
@reseller_id = args[:reseller_id] if args.key?(:reseller_id)
@section_type = args[:section_type] if args.key?(:section_type)
+ @vacation_mode_expire_time = args[:vacation_mode_expire_time] if args.key?(:vacation_mode_expire_time)
+ @vacation_mode_start_time = args[:vacation_mode_start_time] if args.key?(:vacation_mode_start_time)
end
end
@@ -1211,6 +1225,17 @@ module Google
# @return [String]
attr_accessor :section_type
+ # The duration of the vacation unlock starting from when the request is
+ # processed. (1 day is treated as 24 hours)
+ # Corresponds to the JSON property `vacationModeDays`
+ # @return [Fixnum]
+ attr_accessor :vacation_mode_days
+
+ # The expiration time of the vacation unlock.
+ # Corresponds to the JSON property `vacationModeExpireTime`
+ # @return [String]
+ attr_accessor :vacation_mode_expire_time
+
def initialize(**args)
update!(**args)
end
@@ -1220,6 +1245,8 @@ module Google
@device_id = args[:device_id] if args.key?(:device_id)
@device_identifier = args[:device_identifier] if args.key?(:device_identifier)
@section_type = args[:section_type] if args.key?(:section_type)
+ @vacation_mode_days = args[:vacation_mode_days] if args.key?(:vacation_mode_days)
+ @vacation_mode_expire_time = args[:vacation_mode_expire_time] if args.key?(:vacation_mode_expire_time)
end
end
@@ -1353,6 +1380,17 @@ module Google
# @return [String]
attr_accessor :section_type
+ # The duration of the vacation unlock starting from when the request is
+ # processed. (1 day is treated as 24 hours)
+ # Corresponds to the JSON property `vacationModeDays`
+ # @return [Fixnum]
+ attr_accessor :vacation_mode_days
+
+ # The expiration time of the vacation unlock.
+ # Corresponds to the JSON property `vacationModeExpireTime`
+ # @return [String]
+ attr_accessor :vacation_mode_expire_time
+
def initialize(**args)
update!(**args)
end
@@ -1362,6 +1400,8 @@ module Google
@device_id = args[:device_id] if args.key?(:device_id)
@device_identifier = args[:device_identifier] if args.key?(:device_identifier)
@section_type = args[:section_type] if args.key?(:section_type)
+ @vacation_mode_days = args[:vacation_mode_days] if args.key?(:vacation_mode_days)
+ @vacation_mode_expire_time = args[:vacation_mode_expire_time] if args.key?(:vacation_mode_expire_time)
end
end
diff --git a/generated/google/apis/androiddeviceprovisioning_v1/representations.rb b/generated/google/apis/androiddeviceprovisioning_v1/representations.rb
index 10d43d97d..8f5f5ec44 100644
--- a/generated/google/apis/androiddeviceprovisioning_v1/representations.rb
+++ b/generated/google/apis/androiddeviceprovisioning_v1/representations.rb
@@ -406,6 +406,8 @@ module Google
property :owner_company_id, :numeric_string => true, as: 'ownerCompanyId'
property :reseller_id, :numeric_string => true, as: 'resellerId'
property :section_type, as: 'sectionType'
+ property :vacation_mode_expire_time, as: 'vacationModeExpireTime'
+ property :vacation_mode_start_time, as: 'vacationModeStartTime'
end
end
@@ -584,6 +586,8 @@ module Google
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
property :section_type, as: 'sectionType'
+ property :vacation_mode_days, as: 'vacationModeDays'
+ property :vacation_mode_expire_time, as: 'vacationModeExpireTime'
end
end
@@ -613,6 +617,8 @@ module Google
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
property :section_type, as: 'sectionType'
+ property :vacation_mode_days, as: 'vacationModeDays'
+ property :vacation_mode_expire_time, as: 'vacationModeExpireTime'
end
end
diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb
index 4ae1ba445..5a740fb2b 100644
--- a/generated/google/apis/androidenterprise_v1.rb
+++ b/generated/google/apis/androidenterprise_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
- REVISION = '20190320'
+ REVISION = '20190401'
# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb
index c03f31d50..c2ab13c81 100644
--- a/generated/google/apis/androidenterprise_v1/classes.rb
+++ b/generated/google/apis/androidenterprise_v1/classes.rb
@@ -240,32 +240,6 @@ module Google
end
end
- # Deprecated and unused.
- class AndroidDevicePolicyConfig
- include Google::Apis::Core::Hashable
-
- # Identifies what kind of resource this is. Value: the fixed string "
- # androidenterprise#androidDevicePolicyConfig".
- # Corresponds to the JSON property `kind`
- # @return [String]
- attr_accessor :kind
-
- # Deprecated and unused.
- # Corresponds to the JSON property `state`
- # @return [String]
- attr_accessor :state
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @kind = args[:kind] if args.key?(:kind)
- @state = args[:state] if args.key?(:state)
- end
- end
-
# Represents the list of app restrictions available to be pre-configured for the
# product.
class AppRestrictionsSchema
diff --git a/generated/google/apis/androidenterprise_v1/representations.rb b/generated/google/apis/androidenterprise_v1/representations.rb
index 558483222..6f160b74e 100644
--- a/generated/google/apis/androidenterprise_v1/representations.rb
+++ b/generated/google/apis/androidenterprise_v1/representations.rb
@@ -70,12 +70,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
- class AndroidDevicePolicyConfig
- class Representation < Google::Apis::Core::JsonRepresentation; end
-
- include Google::Apis::Core::JsonObjectSupport
- end
-
class AppRestrictionsSchema
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -578,14 +572,6 @@ module Google
end
end
- class AndroidDevicePolicyConfig
- # @private
- class Representation < Google::Apis::Core::JsonRepresentation
- property :kind, as: 'kind'
- property :state, as: 'state'
- end
- end
-
class AppRestrictionsSchema
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/androidenterprise_v1/service.rb b/generated/google/apis/androidenterprise_v1/service.rb
index cab43672d..7a39d1a57 100644
--- a/generated/google/apis/androidenterprise_v1/service.rb
+++ b/generated/google/apis/androidenterprise_v1/service.rb
@@ -771,42 +771,6 @@ module Google
execute_or_queue_command(command, &block)
end
- # Deprecated and unused.
- # @param [String] enterprise_id
- # The ID of the enterprise.
- # @param [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig] android_device_policy_config_object
- # @param [String] fields
- # Selector specifying which fields to include in a partial response.
- # @param [String] quota_user
- # An opaque string that represents a user for quota purposes. Must not exceed 40
- # characters.
- # @param [String] user_ip
- # Deprecated. Please use quotaUser instead.
- # @param [Google::Apis::RequestOptions] options
- # Request-specific options
- #
- # @yield [result, err] Result & error if block supplied
- # @yieldparam result [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig] parsed result object
- # @yieldparam err [StandardError] error object if request failed
- #
- # @return [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig]
- #
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
- # @raise [Google::Apis::AuthorizationError] Authorization is required
- def set_enterprise_android_device_policy_config(enterprise_id, android_device_policy_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
- command = make_simple_command(:put, 'enterprises/{enterpriseId}/androidDevicePolicyConfig', options)
- command.request_representation = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig::Representation
- command.request_object = android_device_policy_config_object
- command.response_representation = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig::Representation
- command.response_class = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig
- command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
- command.query['fields'] = fields unless fields.nil?
- command.query['quotaUser'] = quota_user unless quota_user.nil?
- command.query['userIp'] = user_ip unless user_ip.nil?
- execute_or_queue_command(command, &block)
- end
-
# Sets the store layout for the enterprise. By default, storeLayoutType is set
# to "basic" and the basic store layout is enabled. The basic layout only
# contains apps approved by the admin, and that have been added to the available
diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb
index e322d50d0..088ea4aeb 100644
--- a/generated/google/apis/androidmanagement_v1.rb
+++ b/generated/google/apis/androidmanagement_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
- REVISION = '20190205'
+ REVISION = '20190416'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
diff --git a/generated/google/apis/androidmanagement_v1/classes.rb b/generated/google/apis/androidmanagement_v1/classes.rb
index 3137dd279..ffee62916 100644
--- a/generated/google/apis/androidmanagement_v1/classes.rb
+++ b/generated/google/apis/androidmanagement_v1/classes.rb
@@ -284,6 +284,11 @@ module Google
# @return [String]
attr_accessor :installer_package_name
+ # List of keyed app states reported by the app.
+ # Corresponds to the JSON property `keyedAppStates`
+ # @return [Array]
+ attr_accessor :keyed_app_states
+
# Package name of the app.
# Corresponds to the JSON property `packageName`
# @return [String]
@@ -330,6 +335,7 @@ module Google
@display_name = args[:display_name] if args.key?(:display_name)
@events = args[:events] if args.key?(:events)
@installer_package_name = args[:installer_package_name] if args.key?(:installer_package_name)
+ @keyed_app_states = args[:keyed_app_states] if args.key?(:keyed_app_states)
@package_name = args[:package_name] if args.key?(:package_name)
@package_sha256_hash = args[:package_sha256_hash] if args.key?(:package_sha256_hash)
@signing_key_cert_fingerprints = args[:signing_key_cert_fingerprints] if args.key?(:signing_key_cert_fingerprints)
@@ -339,6 +345,26 @@ module Google
end
end
+ # Settings controlling the behavior of application reports.
+ class ApplicationReportingSettings
+ include Google::Apis::Core::Hashable
+
+ # Whether removed apps are included in application reports.
+ # Corresponds to the JSON property `includeRemovedApps`
+ # @return [Boolean]
+ attr_accessor :include_removed_apps
+ alias_method :include_removed_apps?, :include_removed_apps
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @include_removed_apps = args[:include_removed_apps] if args.key?(:include_removed_apps)
+ end
+ end
+
# A rule for automatically choosing a private key and certificate to
# authenticate the device to a server.
class ChoosePrivateKeyRule
@@ -1202,6 +1228,61 @@ module Google
end
end
+ # Keyed app state reported by the app.
+ class KeyedAppState
+ include Google::Apis::Core::Hashable
+
+ # The creation time of the app state on the device.
+ # Corresponds to the JSON property `createTime`
+ # @return [String]
+ attr_accessor :create_time
+
+ # Optionally, a machine-readable value to be read by the EMM. For example,
+ # setting values that the admin can choose to query against in the EMM console (
+ # e.g. “notify me if the battery_warning data < 10”).
+ # Corresponds to the JSON property `data`
+ # @return [String]
+ attr_accessor :data
+
+ # The key for the app state. Acts as a point of reference for what the app is
+ # providing state for. For example, when providing managed configuration
+ # feedback, this key could be the managed configuration key.
+ # Corresponds to the JSON property `key`
+ # @return [String]
+ attr_accessor :key
+
+ # The time the app state was most recently updated.
+ # Corresponds to the JSON property `lastUpdateTime`
+ # @return [String]
+ attr_accessor :last_update_time
+
+ # Optionally, a free-form message string to explain the app state. If the state
+ # was triggered by a particular value (e.g. a managed configuration value), it
+ # should be included in the message.
+ # Corresponds to the JSON property `message`
+ # @return [String]
+ attr_accessor :message
+
+ # The severity of the app state.
+ # Corresponds to the JSON property `severity`
+ # @return [String]
+ attr_accessor :severity
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @create_time = args[:create_time] if args.key?(:create_time)
+ @data = args[:data] if args.key?(:data)
+ @key = args[:key] if args.key?(:key)
+ @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
+ @message = args[:message] if args.key?(:message)
+ @severity = args[:severity] if args.key?(:severity)
+ end
+ end
+
# An action to launch an app.
class LaunchAppAction
include Google::Apis::Core::Hashable
@@ -1296,6 +1377,31 @@ module Google
end
end
+ # Response to a request to list web apps for a given enterprise.
+ class ListWebAppsResponse
+ include Google::Apis::Core::Hashable
+
+ # If there are more results, a token to retrieve next page of results.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ # The list of web apps.
+ # Corresponds to the JSON property `webApps`
+ # @return [Array]
+ attr_accessor :web_apps
+
+ 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)
+ @web_apps = args[:web_apps] if args.key?(:web_apps)
+ end
+ end
+
# The managed configurations template for the app, saved from the managed
# configurations iframe.
class ManagedConfigurationTemplate
@@ -2745,6 +2851,11 @@ module Google
class StatusReportingSettings
include Google::Apis::Core::Hashable
+ # Settings controlling the behavior of application reports.
+ # Corresponds to the JSON property `applicationReportingSettings`
+ # @return [Google::Apis::AndroidmanagementV1::ApplicationReportingSettings]
+ attr_accessor :application_reporting_settings
+
# Whether app reports are enabled.
# Corresponds to the JSON property `applicationReportsEnabled`
# @return [Boolean]
@@ -2799,6 +2910,7 @@ module Google
# Update properties of this object
def update!(**args)
+ @application_reporting_settings = args[:application_reporting_settings] if args.key?(:application_reporting_settings)
@application_reports_enabled = args[:application_reports_enabled] if args.key?(:application_reports_enabled)
@device_settings_enabled = args[:device_settings_enabled] if args.key?(:device_settings_enabled)
@display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled)
@@ -2928,6 +3040,82 @@ module Google
end
end
+ # A web app.
+ class WebApp
+ include Google::Apis::Core::Hashable
+
+ # The display mode of the web app.
+ # Corresponds to the JSON property `displayMode`
+ # @return [String]
+ attr_accessor :display_mode
+
+ # A list of icons for the web app. Must have at least one element.
+ # Corresponds to the JSON property `icons`
+ # @return [Array]
+ attr_accessor :icons
+
+ # The name of the web app, which is generated by the server during creation in
+ # the form enterprises/`enterpriseId`/webApps/`packageName`.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # The start URL, i.e. the URL that should load when the user opens the
+ # application.
+ # Corresponds to the JSON property `startUrl`
+ # @return [String]
+ attr_accessor :start_url
+
+ # The title of the web app as displayed to the user (e.g., amongst a list of
+ # other applications, or as a label for an icon).
+ # Corresponds to the JSON property `title`
+ # @return [String]
+ attr_accessor :title
+
+ # The current version of the app.Note that the version can automatically
+ # increase during the lifetime of the web app, while Google does internal
+ # housekeeping to keep the web app up-to-date.
+ # Corresponds to the JSON property `versionCode`
+ # @return [Fixnum]
+ attr_accessor :version_code
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @display_mode = args[:display_mode] if args.key?(:display_mode)
+ @icons = args[:icons] if args.key?(:icons)
+ @name = args[:name] if args.key?(:name)
+ @start_url = args[:start_url] if args.key?(:start_url)
+ @title = args[:title] if args.key?(:title)
+ @version_code = args[:version_code] if args.key?(:version_code)
+ end
+ end
+
+ # An icon for a web app. Supported formats are: png, jpg and webp.
+ class WebAppIcon
+ include Google::Apis::Core::Hashable
+
+ # The actual bytes of the image in a base64url encoded string (c.f. RFC4648,
+ # section 5 "Base 64 Encoding with URL and Filename Safe Alphabet").
-
+ # The image type can be png or jpg.
- The image should ideally be square.
-
+ # The image should ideally have a size of 512x512.
+ # Corresponds to the JSON property `imageData`
+ # @return [String]
+ attr_accessor :image_data
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @image_data = args[:image_data] if args.key?(:image_data)
+ end
+ end
+
# A web token used to access the managed Google Play iframe.
class WebToken
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/androidmanagement_v1/representations.rb b/generated/google/apis/androidmanagement_v1/representations.rb
index 1aaefc802..aa47b75ab 100644
--- a/generated/google/apis/androidmanagement_v1/representations.rb
+++ b/generated/google/apis/androidmanagement_v1/representations.rb
@@ -64,6 +64,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class ApplicationReportingSettings
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ChoosePrivateKeyRule
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -136,6 +142,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class KeyedAppState
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class LaunchAppAction
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -160,6 +172,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class ListWebAppsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ManagedConfigurationTemplate
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -316,6 +334,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class WebApp
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class WebAppIcon
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class WebToken
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -392,6 +422,8 @@ module Google
collection :events, as: 'events', class: Google::Apis::AndroidmanagementV1::ApplicationEvent, decorator: Google::Apis::AndroidmanagementV1::ApplicationEvent::Representation
property :installer_package_name, as: 'installerPackageName'
+ collection :keyed_app_states, as: 'keyedAppStates', class: Google::Apis::AndroidmanagementV1::KeyedAppState, decorator: Google::Apis::AndroidmanagementV1::KeyedAppState::Representation
+
property :package_name, as: 'packageName'
property :package_sha256_hash, as: 'packageSha256Hash'
collection :signing_key_cert_fingerprints, as: 'signingKeyCertFingerprints'
@@ -401,6 +433,13 @@ module Google
end
end
+ class ApplicationReportingSettings
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :include_removed_apps, as: 'includeRemovedApps'
+ end
+ end
+
class ChoosePrivateKeyRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -591,6 +630,18 @@ module Google
end
end
+ class KeyedAppState
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :create_time, as: 'createTime'
+ property :data, as: 'data'
+ property :key, as: 'key'
+ property :last_update_time, as: 'lastUpdateTime'
+ property :message, as: 'message'
+ property :severity, as: 'severity'
+ end
+ end
+
class LaunchAppAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -625,6 +676,15 @@ module Google
end
end
+ class ListWebAppsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :next_page_token, as: 'nextPageToken'
+ collection :web_apps, as: 'webApps', class: Google::Apis::AndroidmanagementV1::WebApp, decorator: Google::Apis::AndroidmanagementV1::WebApp::Representation
+
+ end
+ end
+
class ManagedConfigurationTemplate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -931,6 +991,8 @@ module Google
class StatusReportingSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :application_reporting_settings, as: 'applicationReportingSettings', class: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings, decorator: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings::Representation
+
property :application_reports_enabled, as: 'applicationReportsEnabled'
property :device_settings_enabled, as: 'deviceSettingsEnabled'
property :display_info_enabled, as: 'displayInfoEnabled'
@@ -976,6 +1038,26 @@ module Google
end
end
+ class WebApp
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :display_mode, as: 'displayMode'
+ collection :icons, as: 'icons', class: Google::Apis::AndroidmanagementV1::WebAppIcon, decorator: Google::Apis::AndroidmanagementV1::WebAppIcon::Representation
+
+ property :name, as: 'name'
+ property :start_url, as: 'startUrl'
+ property :title, as: 'title'
+ property :version_code, :numeric_string => true, as: 'versionCode'
+ end
+ end
+
+ class WebAppIcon
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :image_data, as: 'imageData'
+ end
+ end
+
class WebToken
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/androidmanagement_v1/service.rb b/generated/google/apis/androidmanagement_v1/service.rb
index b8a34b576..db92d4f22 100644
--- a/generated/google/apis/androidmanagement_v1/service.rb
+++ b/generated/google/apis/androidmanagement_v1/service.rb
@@ -716,6 +716,176 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Creates a web app.
+ # @param [String] parent
+ # The name of the enterprise in the form enterprises/`enterpriseId`.
+ # @param [Google::Apis::AndroidmanagementV1::WebApp] web_app_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::WebApp] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AndroidmanagementV1::WebApp]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def create_enterprise_web_app(parent, web_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/{+parent}/webApps', options)
+ command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
+ command.request_object = web_app_object
+ command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
+ command.response_class = Google::Apis::AndroidmanagementV1::WebApp
+ command.params['parent'] = parent unless parent.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes a web app.
+ # @param [String] name
+ # The name of the web app in the form enterprises/`enterpriseId`/webApps/`
+ # packageName`.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AndroidmanagementV1::Empty]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1/{+name}', options)
+ command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
+ command.response_class = Google::Apis::AndroidmanagementV1::Empty
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets a web app.
+ # @param [String] name
+ # The name of the web app in the form enterprises/`enterpriseId`/webApp/`
+ # packageName`.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::WebApp] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AndroidmanagementV1::WebApp]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/{+name}', options)
+ command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
+ command.response_class = Google::Apis::AndroidmanagementV1::WebApp
+ 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 web apps for a given enterprise.
+ # @param [String] parent
+ # The name of the enterprise in the form enterprises/`enterpriseId`.
+ # @param [Fixnum] page_size
+ # The requested page size. The actual page size may be fixed to a min or max
+ # value.
+ # @param [String] page_token
+ # A token identifying a page of results returned by the server.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::ListWebAppsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AndroidmanagementV1::ListWebAppsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_enterprise_web_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/{+parent}/webApps', options)
+ command.response_representation = Google::Apis::AndroidmanagementV1::ListWebAppsResponse::Representation
+ command.response_class = Google::Apis::AndroidmanagementV1::ListWebAppsResponse
+ 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 web app.
+ # @param [String] name
+ # The name of the web app in the form enterprises/`enterpriseId`/webApps/`
+ # packageName`.
+ # @param [Google::Apis::AndroidmanagementV1::WebApp] web_app_object
+ # @param [String] update_mask
+ # The field mask indicating the fields to update. If not set, all modifiable
+ # fields will be modified.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::WebApp] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::AndroidmanagementV1::WebApp]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patch_enterprise_web_app(name, web_app_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1/{+name}', options)
+ command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
+ command.request_object = web_app_object
+ command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
+ command.response_class = Google::Apis::AndroidmanagementV1::WebApp
+ command.params['name'] = name unless name.nil?
+ command.query['updateMask'] = update_mask unless update_mask.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Creates a web token to access an embeddable managed Google Play web UI for a
# given enterprise.
# @param [String] parent
diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb
index 1e7c0339b..27ba73c40 100644
--- a/generated/google/apis/androidpublisher_v2.rb
+++ b/generated/google/apis/androidpublisher_v2.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV2
VERSION = 'V2'
- REVISION = '20190120'
+ REVISION = '20190414'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
diff --git a/generated/google/apis/androidpublisher_v2/service.rb b/generated/google/apis/androidpublisher_v2/service.rb
index f8d3acb77..05c03094a 100644
--- a/generated/google/apis/androidpublisher_v2/service.rb
+++ b/generated/google/apis/androidpublisher_v2/service.rb
@@ -1522,8 +1522,7 @@ module Google
# @param [String] edit_id
# Unique identifier for this edit.
# @param [String] track
- # The track to read or modify. Acceptable values are: "alpha", "beta", "
- # production", "rollout" or "internal".
+ # The track to read or modify.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1563,8 +1562,7 @@ module Google
# @param [String] edit_id
# Unique identifier for this edit.
# @param [String] track
- # The track to read or modify. Acceptable values are: "alpha", "beta", "
- # production", "rollout" or "internal".
+ # The track to read or modify.
# @param [Google::Apis::AndroidpublisherV2::Testers] testers_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1607,8 +1605,7 @@ module Google
# @param [String] edit_id
# Unique identifier for this edit.
# @param [String] track
- # The track to read or modify. Acceptable values are: "alpha", "beta", "
- # production", "rollout" or "internal".
+ # The track to read or modify.
# @param [Google::Apis::AndroidpublisherV2::Testers] testers_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1722,9 +1719,8 @@ module Google
execute_or_queue_command(command, &block)
end
- # Updates the track configuration for the specified track type. When halted, the
- # rollout track cannot be updated without adding new APKs, and adding new APKs
- # will cause it to resume. This method supports patch semantics.
+ # Updates the track configuration for the specified track type. This method
+ # supports patch semantics.
# @param [String] package_name
# Unique identifier for the Android app that is being updated; for example, "com.
# spiffygame".
@@ -1767,9 +1763,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Updates the track configuration for the specified track type. When halted, the
- # rollout track cannot be updated without adding new APKs, and adding new APKs
- # will cause it to resume.
+ # Updates the track configuration for the specified track type.
# @param [String] package_name
# Unique identifier for the Android app that is being updated; for example, "com.
# spiffygame".
diff --git a/generated/google/apis/androidpublisher_v3.rb b/generated/google/apis/androidpublisher_v3.rb
index f7bf93f44..129ab4f24 100644
--- a/generated/google/apis/androidpublisher_v3.rb
+++ b/generated/google/apis/androidpublisher_v3.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV3
VERSION = 'V3'
- REVISION = '20190331'
+ REVISION = '20190414'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
diff --git a/generated/google/apis/androidpublisher_v3/service.rb b/generated/google/apis/androidpublisher_v3/service.rb
index 11da6eacb..9d16cb922 100644
--- a/generated/google/apis/androidpublisher_v3/service.rb
+++ b/generated/google/apis/androidpublisher_v3/service.rb
@@ -1256,8 +1256,7 @@ module Google
# @param [String] edit_id
# Unique identifier for this edit.
# @param [String] track
- # The track to read or modify. Acceptable values are: "alpha", "beta", "
- # production", "rollout" or "internal".
+ # The track to read or modify.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1297,8 +1296,7 @@ module Google
# @param [String] edit_id
# Unique identifier for this edit.
# @param [String] track
- # The track to read or modify. Acceptable values are: "alpha", "beta", "
- # production", "rollout" or "internal".
+ # The track to read or modify.
# @param [Google::Apis::AndroidpublisherV3::Testers] testers_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1341,8 +1339,7 @@ module Google
# @param [String] edit_id
# Unique identifier for this edit.
# @param [String] track
- # The track to read or modify. Acceptable values are: "alpha", "beta", "
- # production", "rollout" or "internal".
+ # The track to read or modify.
# @param [Google::Apis::AndroidpublisherV3::Testers] testers_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1456,9 +1453,8 @@ module Google
execute_or_queue_command(command, &block)
end
- # Updates the track configuration for the specified track type. When halted, the
- # rollout track cannot be updated without adding new APKs, and adding new APKs
- # will cause it to resume. This method supports patch semantics.
+ # Updates the track configuration for the specified track type. This method
+ # supports patch semantics.
# @param [String] package_name
# Unique identifier for the Android app that is being updated; for example, "com.
# spiffygame".
@@ -1501,9 +1497,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Updates the track configuration for the specified track type. When halted, the
- # rollout track cannot be updated without adding new APKs, and adding new APKs
- # will cause it to resume.
+ # Updates the track configuration for the specified track type.
# @param [String] package_name
# Unique identifier for the Android app that is being updated; for example, "com.
# spiffygame".
diff --git a/generated/google/apis/appengine_v1.rb b/generated/google/apis/appengine_v1.rb
index f4f4f7352..e6083d1f6 100644
--- a/generated/google/apis/appengine_v1.rb
+++ b/generated/google/apis/appengine_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1
VERSION = 'V1'
- REVISION = '20190315'
+ REVISION = '20190411'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
diff --git a/generated/google/apis/appengine_v1/service.rb b/generated/google/apis/appengine_v1/service.rb
index 514dffea1..bee57413c 100644
--- a/generated/google/apis/appengine_v1/service.rb
+++ b/generated/google/apis/appengine_v1/service.rb
@@ -157,7 +157,13 @@ module Google
# Recreates the required App Engine features for the specified App Engine
# application, for example a Cloud Storage bucket or App Engine service account.
# Use this method if you receive an error message about a missing feature, for
- # example, Error retrieving the App Engine service account.
+ # example, Error retrieving the App Engine service account. If you have deleted
+ # your App Engine service account, this will not be able to recreate it. Instead,
+ # you should attempt to use the IAM undelete API if possible at https://cloud.
+ # google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=
+ # %7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%
+ # 7D . If the deletion was recent, the numeric ID can be found in the Cloud
+ # Console Activity Log.
# @param [String] apps_id
# Part of `name`. Name of the application to repair. Example: apps/myapp
# @param [Google::Apis::AppengineV1::RepairApplicationRequest] repair_application_request_object
diff --git a/generated/google/apis/appengine_v1beta.rb b/generated/google/apis/appengine_v1beta.rb
index 2a8e52b87..57c1f7964 100644
--- a/generated/google/apis/appengine_v1beta.rb
+++ b/generated/google/apis/appengine_v1beta.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta
VERSION = 'V1beta'
- REVISION = '20190214'
+ REVISION = '20190411'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
diff --git a/generated/google/apis/appengine_v1beta/service.rb b/generated/google/apis/appengine_v1beta/service.rb
index ec4d2e9f0..1b8d1be44 100644
--- a/generated/google/apis/appengine_v1beta/service.rb
+++ b/generated/google/apis/appengine_v1beta/service.rb
@@ -157,7 +157,13 @@ module Google
# Recreates the required App Engine features for the specified App Engine
# application, for example a Cloud Storage bucket or App Engine service account.
# Use this method if you receive an error message about a missing feature, for
- # example, Error retrieving the App Engine service account.
+ # example, Error retrieving the App Engine service account. If you have deleted
+ # your App Engine service account, this will not be able to recreate it. Instead,
+ # you should attempt to use the IAM undelete API if possible at https://cloud.
+ # google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=
+ # %7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%
+ # 7D . If the deletion was recent, the numeric ID can be found in the Cloud
+ # Console Activity Log.
# @param [String] apps_id
# Part of `name`. Name of the application to repair. Example: apps/myapp
# @param [Google::Apis::AppengineV1beta::RepairApplicationRequest] repair_application_request_object
diff --git a/generated/google/apis/appsactivity_v1.rb b/generated/google/apis/appsactivity_v1.rb
index 20957784a..8ddb35291 100644
--- a/generated/google/apis/appsactivity_v1.rb
+++ b/generated/google/apis/appsactivity_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/activity/
module AppsactivityV1
VERSION = 'V1'
- REVISION = '20180819'
+ REVISION = '20190331'
# View the activity history of your Google apps
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
diff --git a/generated/google/apis/appsactivity_v1/service.rb b/generated/google/apis/appsactivity_v1/service.rb
index eaaa12fd7..ac8ec430f 100644
--- a/generated/google/apis/appsactivity_v1/service.rb
+++ b/generated/google/apis/appsactivity_v1/service.rb
@@ -52,7 +52,7 @@ module Google
end
# Returns a list of activities visible to the current logged in user. Visible
- # activities are determined by the visiblity settings of the object that was
+ # activities are determined by the visibility settings of the object that was
# acted on, e.g. Drive files a user can see. An activity is a record of past
# events. Multiple events may be merged if they are similar. A request is scoped
# to activities from a given Google service using the source parameter.
@@ -74,8 +74,9 @@ module Google
# are:
# - drive.google.com
# @param [String] user_id
- # Indicates the user to return activity for. Use the special value me to
- # indicate the currently authenticated user.
+ # The ID used for ACL checks (does not filter the resulting event list by the
+ # assigned value). Use the special value me to indicate the currently
+ # authenticated user.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
diff --git a/generated/google/apis/bigtableadmin_v1.rb b/generated/google/apis/bigtableadmin_v1.rb
index c8de05721..395eb70cf 100644
--- a/generated/google/apis/bigtableadmin_v1.rb
+++ b/generated/google/apis/bigtableadmin_v1.rb
@@ -20,12 +20,12 @@ module Google
module Apis
# Cloud Bigtable Admin API
#
- #
+ # Administer your Cloud Bigtable tables and instances.
#
# @see https://cloud.google.com/bigtable/
module BigtableadminV1
VERSION = 'V1'
- REVISION = '20190115'
+ REVISION = '20190328'
end
end
end
diff --git a/generated/google/apis/bigtableadmin_v1/service.rb b/generated/google/apis/bigtableadmin_v1/service.rb
index eb60c225c..ac9716ed5 100644
--- a/generated/google/apis/bigtableadmin_v1/service.rb
+++ b/generated/google/apis/bigtableadmin_v1/service.rb
@@ -22,7 +22,7 @@ module Google
module BigtableadminV1
# Cloud Bigtable Admin API
#
- #
+ # Administer your Cloud Bigtable tables and instances.
#
# @example
# require 'google/apis/bigtableadmin_v1'
diff --git a/generated/google/apis/bigtableadmin_v2.rb b/generated/google/apis/bigtableadmin_v2.rb
index 453a853f9..a5547efc2 100644
--- a/generated/google/apis/bigtableadmin_v2.rb
+++ b/generated/google/apis/bigtableadmin_v2.rb
@@ -20,12 +20,12 @@ module Google
module Apis
# Cloud Bigtable Admin API
#
- #
+ # Administer your Cloud Bigtable tables and instances.
#
# @see https://cloud.google.com/bigtable/
module BigtableadminV2
VERSION = 'V2'
- REVISION = '20190222'
+ REVISION = '20190328'
# Administer your Cloud Bigtable tables and clusters
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
diff --git a/generated/google/apis/bigtableadmin_v2/classes.rb b/generated/google/apis/bigtableadmin_v2/classes.rb
index edb450c34..fc535b806 100644
--- a/generated/google/apis/bigtableadmin_v2/classes.rb
+++ b/generated/google/apis/bigtableadmin_v2/classes.rb
@@ -1096,14 +1096,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@@ -1407,14 +1407,14 @@ 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). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
diff --git a/generated/google/apis/bigtableadmin_v2/service.rb b/generated/google/apis/bigtableadmin_v2/service.rb
index 951b0eb05..2bc3569c9 100644
--- a/generated/google/apis/bigtableadmin_v2/service.rb
+++ b/generated/google/apis/bigtableadmin_v2/service.rb
@@ -22,7 +22,7 @@ module Google
module BigtableadminV2
# Cloud Bigtable Admin API
#
- #
+ # Administer your Cloud Bigtable tables and instances.
#
# @example
# require 'google/apis/bigtableadmin_v2'
@@ -1089,6 +1089,41 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Gets the access control policy for an instance resource. Returns an empty
+ # policy if an table exists but does not have a policy set.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::BigtableadminV2::GetIamPolicyRequest] get_iam_policy_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::BigtableadminV2::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_table_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
+ command.request_representation = Google::Apis::BigtableadminV2::GetIamPolicyRequest::Representation
+ command.request_object = get_iam_policy_request_object
+ command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
+ command.response_class = Google::Apis::BigtableadminV2::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Lists all tables served from a specified instance.
# @param [String] parent
# The unique name of the instance for which tables should be listed.
@@ -1168,6 +1203,75 @@ module Google
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
+
+ # Sets the access control policy on a table resource. Replaces any existing
+ # policy.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being specified.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::BigtableadminV2::SetIamPolicyRequest] set_iam_policy_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::BigtableadminV2::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
+ command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
+ command.request_object = set_iam_policy_request_object
+ command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
+ command.response_class = Google::Apis::BigtableadminV2::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns permissions that the caller has on the specified table resource.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy detail is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::BigtableadminV2::TestIamPermissionsRequest] test_iam_permissions_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::BigtableadminV2::TestIamPermissionsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::BigtableadminV2::TestIamPermissionsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
+ command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
+ command.request_object = test_iam_permissions_request_object
+ command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation
+ command.response_class = Google::Apis::BigtableadminV2::TestIamPermissionsResponse
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
protected
diff --git a/generated/google/apis/binaryauthorization_v1beta1.rb b/generated/google/apis/binaryauthorization_v1beta1.rb
index 520fa3b67..0f64b6710 100644
--- a/generated/google/apis/binaryauthorization_v1beta1.rb
+++ b/generated/google/apis/binaryauthorization_v1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1beta1
VERSION = 'V1beta1'
- REVISION = '20190320'
+ REVISION = '20190412'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/calendar_v3.rb b/generated/google/apis/calendar_v3.rb
index ad72e367e..2e2982e2d 100644
--- a/generated/google/apis/calendar_v3.rb
+++ b/generated/google/apis/calendar_v3.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3
VERSION = 'V3'
- REVISION = '20181125'
+ REVISION = '20190331'
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
diff --git a/generated/google/apis/calendar_v3/service.rb b/generated/google/apis/calendar_v3/service.rb
index 137d74d52..4a89812ec 100644
--- a/generated/google/apis/calendar_v3/service.rb
+++ b/generated/google/apis/calendar_v3/service.rb
@@ -1346,16 +1346,16 @@ module Google
# Learn more about incremental synchronization.
# Optional. The default is to return all entries.
# @param [DateTime] time_max
- # Upper bound (exclusive) for an event's start time to filter by. Optional. The
- # default is not to filter by start time. Must be an RFC3339 timestamp with
- # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
- # 00Z. Milliseconds may be provided but will be ignored. If timeMin is set,
+ # Upper bound (exclusive) for an event's end time to filter by. Optional. The
+ # default is not to filter by end time. Must be an RFC3339 timestamp with
+ # mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
+ # 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
# timeMax must be greater than timeMin.
# @param [DateTime] time_min
- # Lower bound (inclusive) for an event's end time to filter by. Optional. The
- # default is not to filter by end time. Must be an RFC3339 timestamp with
- # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
- # 00Z. Milliseconds may be provided but will be ignored. If timeMax is set,
+ # Lower bound (inclusive) for an event's start time to filter by. Optional. The
+ # default is not to filter by start time. Must be an RFC3339 timestamp with
+ # mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
+ # 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
# timeMin must be smaller than timeMax.
# @param [String] time_zone
# Time zone used in the response. Optional. The default is the time zone of the
@@ -1733,16 +1733,16 @@ module Google
# Learn more about incremental synchronization.
# Optional. The default is to return all entries.
# @param [DateTime] time_max
- # Upper bound (exclusive) for an event's start time to filter by. Optional. The
- # default is not to filter by start time. Must be an RFC3339 timestamp with
- # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
- # 00Z. Milliseconds may be provided but will be ignored. If timeMin is set,
+ # Upper bound (exclusive) for an event's end time to filter by. Optional. The
+ # default is not to filter by end time. Must be an RFC3339 timestamp with
+ # mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
+ # 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
# timeMax must be greater than timeMin.
# @param [DateTime] time_min
- # Lower bound (inclusive) for an event's end time to filter by. Optional. The
- # default is not to filter by end time. Must be an RFC3339 timestamp with
- # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
- # 00Z. Milliseconds may be provided but will be ignored. If timeMax is set,
+ # Lower bound (inclusive) for an event's start time to filter by. Optional. The
+ # default is not to filter by start time. Must be an RFC3339 timestamp with
+ # mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
+ # 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
# timeMin must be smaller than timeMax.
# @param [String] time_zone
# Time zone used in the response. Optional. The default is the time zone of the
diff --git a/generated/google/apis/classroom_v1.rb b/generated/google/apis/classroom_v1.rb
index 9cb4f7359..abcf99ab2 100644
--- a/generated/google/apis/classroom_v1.rb
+++ b/generated/google/apis/classroom_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/classroom/
module ClassroomV1
VERSION = 'V1'
- REVISION = '20181113'
+ REVISION = '20190409'
# View and manage announcements in Google Classroom
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
@@ -80,6 +80,12 @@ module Google
# View course work and grades for students in the Google Classroom classes you teach or administer
AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly'
+
+ # See, create, and edit topics in Google Classroom
+ AUTH_CLASSROOM_TOPICS = 'https://www.googleapis.com/auth/classroom.topics'
+
+ # View topics in Google Classroom
+ AUTH_CLASSROOM_TOPICS_READONLY = 'https://www.googleapis.com/auth/classroom.topics.readonly'
end
end
end
diff --git a/generated/google/apis/classroom_v1/classes.rb b/generated/google/apis/classroom_v1/classes.rb
index ec5094432..94b86f2d0 100644
--- a/generated/google/apis/classroom_v1/classes.rb
+++ b/generated/google/apis/classroom_v1/classes.rb
@@ -646,6 +646,12 @@ module Google
# @return [String]
attr_accessor :title
+ # Identifier for the topic that this coursework is associated with.
+ # Must match an existing topic in the course.
+ # Corresponds to the JSON property `topicId`
+ # @return [String]
+ attr_accessor :topic_id
+
# Timestamp of the most recent change to this course work.
# Read-only.
# Corresponds to the JSON property `updateTime`
@@ -683,6 +689,7 @@ module Google
@state = args[:state] if args.key?(:state)
@submission_modification_mode = args[:submission_modification_mode] if args.key?(:submission_modification_mode)
@title = args[:title] if args.key?(:title)
+ @topic_id = args[:topic_id] if args.key?(:topic_id)
@update_time = args[:update_time] if args.key?(:update_time)
@work_type = args[:work_type] if args.key?(:work_type)
end
@@ -1424,6 +1431,32 @@ module Google
end
end
+ # Response when listing topics.
+ class ListTopicResponse
+ include Google::Apis::Core::Hashable
+
+ # Token identifying the next page of results to return. If empty, no further
+ # results are available.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ # Topic items that match the request.
+ # Corresponds to the JSON property `topic`
+ # @return [Array]
+ attr_accessor :topic
+
+ 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)
+ @topic = args[:topic] if args.key?(:topic)
+ end
+ end
+
# Material attached to course work.
# When creating attachments, setting the `form` field is not supported.
class Material
@@ -2074,6 +2107,50 @@ module Google
end
end
+ # Topic created by a teacher for the course
+ class Topic
+ include Google::Apis::Core::Hashable
+
+ # Identifier of the course.
+ # Read-only.
+ # Corresponds to the JSON property `courseId`
+ # @return [String]
+ attr_accessor :course_id
+
+ # The name of the topic, generated by the user.
+ # Leading and trailing whitespaces, if any, will be trimmed. Also, multiple
+ # consecutive whitespaces will be collapsed into one inside the name. The
+ # result must be a non-empty string. Topic names are case sensitive, and must
+ # be no longer than 100 characters.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Unique identifier for the topic.
+ # Read-only.
+ # Corresponds to the JSON property `topicId`
+ # @return [String]
+ attr_accessor :topic_id
+
+ # The time the topic was last updated by the system.
+ # Read-only.
+ # Corresponds to the JSON property `updateTime`
+ # @return [String]
+ attr_accessor :update_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @course_id = args[:course_id] if args.key?(:course_id)
+ @name = args[:name] if args.key?(:name)
+ @topic_id = args[:topic_id] if args.key?(:topic_id)
+ @update_time = args[:update_time] if args.key?(:update_time)
+ end
+ end
+
# Request to turn in a student submission.
class TurnInStudentSubmissionRequest
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/classroom_v1/representations.rb b/generated/google/apis/classroom_v1/representations.rb
index 2177b6791..1341fb066 100644
--- a/generated/google/apis/classroom_v1/representations.rb
+++ b/generated/google/apis/classroom_v1/representations.rb
@@ -232,6 +232,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class ListTopicResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Material
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -346,6 +352,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class Topic
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class TurnInStudentSubmissionRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -512,6 +524,7 @@ module Google
property :state, as: 'state'
property :submission_modification_mode, as: 'submissionModificationMode'
property :title, as: 'title'
+ property :topic_id, as: 'topicId'
property :update_time, as: 'updateTime'
property :work_type, as: 'workType'
end
@@ -735,6 +748,15 @@ module Google
end
end
+ class ListTopicResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :next_page_token, as: 'nextPageToken'
+ collection :topic, as: 'topic', class: Google::Apis::ClassroomV1::Topic, decorator: Google::Apis::ClassroomV1::Topic::Representation
+
+ end
+ end
+
class Material
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -924,6 +946,16 @@ module Google
end
end
+ class Topic
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :course_id, as: 'courseId'
+ property :name, as: 'name'
+ property :topic_id, as: 'topicId'
+ property :update_time, as: 'updateTime'
+ end
+ end
+
class TurnInStudentSubmissionRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/classroom_v1/service.rb b/generated/google/apis/classroom_v1/service.rb
index e7b2ccd55..0a7c862a1 100644
--- a/generated/google/apis/classroom_v1/service.rb
+++ b/generated/google/apis/classroom_v1/service.rb
@@ -1848,6 +1848,230 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Creates a topic.
+ # This method returns the following error codes:
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ # requested course, create a topic in the requested course,
+ # or for access errors.
+ # * `INVALID_ARGUMENT` if the request is malformed.
+ # * `NOT_FOUND` if the requested course does not exist.
+ # @param [String] course_id
+ # Identifier of the course.
+ # This identifier can be either the Classroom-assigned identifier or an
+ # alias.
+ # @param [Google::Apis::ClassroomV1::Topic] topic_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ClassroomV1::Topic]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def create_course_topic(course_id, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/courses/{courseId}/topics', options)
+ command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
+ command.request_object = topic_object
+ command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
+ command.response_class = Google::Apis::ClassroomV1::Topic
+ command.params['courseId'] = course_id unless course_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes a topic.
+ # This method returns the following error codes:
+ # * `PERMISSION_DENIED` if the requesting user is not allowed to delete the
+ # requested topic or for access errors.
+ # * `FAILED_PRECONDITION` if the requested topic has already been
+ # deleted.
+ # * `NOT_FOUND` if no course or topic exists with the requested ID.
+ # @param [String] course_id
+ # Identifier of the course.
+ # This identifier can be either the Classroom-assigned identifier or an
+ # alias.
+ # @param [String] id
+ # Identifier of the topic to delete.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ClassroomV1::Empty]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1/courses/{courseId}/topics/{id}', options)
+ command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
+ command.response_class = Google::Apis::ClassroomV1::Empty
+ command.params['courseId'] = course_id unless course_id.nil?
+ command.params['id'] = id unless id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns a topic.
+ # This method returns the following error codes:
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
+ # requested course or topic, or for access errors.
+ # * `INVALID_ARGUMENT` if the request is malformed.
+ # * `NOT_FOUND` if the requested course or topic does not exist.
+ # @param [String] course_id
+ # Identifier of the course.
+ # @param [String] id
+ # Identifier of the topic.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ClassroomV1::Topic]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/courses/{courseId}/topics/{id}', options)
+ command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
+ command.response_class = Google::Apis::ClassroomV1::Topic
+ command.params['courseId'] = course_id unless course_id.nil?
+ command.params['id'] = id unless id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns the list of topics that the requester is permitted to view.
+ # This method returns the following error codes:
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access
+ # the requested course or for access errors.
+ # * `INVALID_ARGUMENT` if the request is malformed.
+ # * `NOT_FOUND` if the requested course does not exist.
+ # @param [String] course_id
+ # Identifier of the course.
+ # This identifier can be either the Classroom-assigned identifier or an
+ # alias.
+ # @param [Fixnum] page_size
+ # Maximum number of items to return. Zero or unspecified indicates that the
+ # server may assign a maximum.
+ # The server may return fewer than the specified number of results.
+ # @param [String] page_token
+ # nextPageToken
+ # value returned from a previous
+ # list call,
+ # indicating that the subsequent page of results should be returned.
+ # The list request
+ # must be otherwise identical to the one that resulted in this token.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ClassroomV1::ListTopicResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ClassroomV1::ListTopicResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_course_topics(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/courses/{courseId}/topics', options)
+ command.response_representation = Google::Apis::ClassroomV1::ListTopicResponse::Representation
+ command.response_class = Google::Apis::ClassroomV1::ListTopicResponse
+ command.params['courseId'] = course_id unless course_id.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates one or more fields of a topic.
+ # This method returns the following error codes:
+ # * `PERMISSION_DENIED` if the requesting developer project did not create
+ # the corresponding topic or for access errors.
+ # * `INVALID_ARGUMENT` if the request is malformed.
+ # * `NOT_FOUND` if the requested course or topic does not exist
+ # @param [String] course_id
+ # Identifier of the course.
+ # This identifier can be either the Classroom-assigned identifier or an
+ # alias.
+ # @param [String] id
+ # Identifier of the topic.
+ # @param [Google::Apis::ClassroomV1::Topic] topic_object
+ # @param [String] update_mask
+ # Mask that identifies which fields on the topic to update.
+ # This field is required to do an update. The update fails if invalid
+ # fields are specified. If a field supports empty values, it can be cleared
+ # by specifying it in the update mask and not in the Topic object. If a
+ # field that does not support empty values is included in the update mask and
+ # not set in the Topic object, an `INVALID_ARGUMENT` error will be
+ # returned.
+ # The following fields may be specified:
+ # * `name`
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ClassroomV1::Topic]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patch_course_topic(course_id, id, topic_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1/courses/{courseId}/topics/{id}', options)
+ command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
+ command.request_object = topic_object
+ command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
+ command.response_class = Google::Apis::ClassroomV1::Topic
+ command.params['courseId'] = course_id unless course_id.nil?
+ command.params['id'] = id unless id.nil?
+ command.query['updateMask'] = update_mask unless update_mask.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Accepts an invitation, removing it and adding the invited user to the
# teachers or students (as appropriate) of the specified course. Only the
# invited user may accept an invitation.
diff --git a/generated/google/apis/cloudasset_v1.rb b/generated/google/apis/cloudasset_v1.rb
index 56f362fb2..61c2d456a 100644
--- a/generated/google/apis/cloudasset_v1.rb
+++ b/generated/google/apis/cloudasset_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
module CloudassetV1
VERSION = 'V1'
- REVISION = '20190327'
+ REVISION = '20190412'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudasset_v1/classes.rb b/generated/google/apis/cloudasset_v1/classes.rb
index b5435aed1..dd66f58e4 100644
--- a/generated/google/apis/cloudasset_v1/classes.rb
+++ b/generated/google/apis/cloudasset_v1/classes.rb
@@ -290,8 +290,7 @@ module Google
# A list of asset types of which to take a snapshot for. For example:
# "compute.googleapis.com/Disk". If specified, only matching assets will be
- # returned.
- # See [Introduction to Cloud Asset
+ # returned. See [Introduction to Cloud Asset
# Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-
# inventory/overview)
# for all supported asset types.
@@ -392,6 +391,19 @@ module Google
# @return [String]
attr_accessor :uri
+ # The uri prefix of all generated Cloud Storage objects. For example:
+ # "gs://bucket_name/object_name_prefix". Each object uri is in format:
+ # "gs://bucket_name/object_name_prefix// and only
+ # contains assets for that type. starts from 0. For example:
+ # "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
+ # the first shard of output objects containing all
+ # compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
+ # returned if file with the same name "gs://bucket_name/object_name_prefix"
+ # already exists.
+ # Corresponds to the JSON property `uriPrefix`
+ # @return [String]
+ attr_accessor :uri_prefix
+
def initialize(**args)
update!(**args)
end
@@ -399,6 +411,7 @@ module Google
# Update properties of this object
def update!(**args)
@uri = args[:uri] if args.key?(:uri)
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
end
end
diff --git a/generated/google/apis/cloudasset_v1/representations.rb b/generated/google/apis/cloudasset_v1/representations.rb
index 4dcf56c0c..3eca8f503 100644
--- a/generated/google/apis/cloudasset_v1/representations.rb
+++ b/generated/google/apis/cloudasset_v1/representations.rb
@@ -184,6 +184,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
+ property :uri_prefix, as: 'uriPrefix'
end
end
diff --git a/generated/google/apis/cloudasset_v1/service.rb b/generated/google/apis/cloudasset_v1/service.rb
index 62a8830da..187bae1bd 100644
--- a/generated/google/apis/cloudasset_v1/service.rb
+++ b/generated/google/apis/cloudasset_v1/service.rb
@@ -96,8 +96,9 @@ module Google
# instance1`.
# See [Resource
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
- # and [Resource Name Format](https://cloud.google.com/resource-manager/docs/
- # cloud-asset-inventory/resource-name-format)
+ # and [Resource Name
+ # Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/
+ # resource-name-format)
# for more info.
# The request becomes a no-op if the asset name list is empty, and the max
# size of the asset name list is 100 in one request.
diff --git a/generated/google/apis/cloudasset_v1beta1.rb b/generated/google/apis/cloudasset_v1beta1.rb
index c1b7d09a0..578d44ab3 100644
--- a/generated/google/apis/cloudasset_v1beta1.rb
+++ b/generated/google/apis/cloudasset_v1beta1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
module CloudassetV1beta1
VERSION = 'V1beta1'
- REVISION = '20190327'
+ REVISION = '20190412'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudasset_v1beta1/classes.rb b/generated/google/apis/cloudasset_v1beta1/classes.rb
index e944b01a1..083efd8f6 100644
--- a/generated/google/apis/cloudasset_v1beta1/classes.rb
+++ b/generated/google/apis/cloudasset_v1beta1/classes.rb
@@ -391,6 +391,18 @@ module Google
# @return [String]
attr_accessor :uri
+ # The uri prefix of all generated Cloud Storage objects. For example:
+ # "gs://bucket_name/object_name_prefix". Each object uri is in format:
+ # "gs://bucket_name/object_name_prefix// and only
+ # contains assets for that type. starts from 0. For example:
+ # "gs://bucket_name/object_name_prefix/google.compute.disk/0" is the first
+ # shard of output objects containing all google.compute.disk assets.
+ # An INVALID_ARGUMENT error will be returned if file with the same name
+ # "gs://bucket_name/object_name_prefix" already exists.
+ # Corresponds to the JSON property `uriPrefix`
+ # @return [String]
+ attr_accessor :uri_prefix
+
def initialize(**args)
update!(**args)
end
@@ -398,6 +410,7 @@ module Google
# Update properties of this object
def update!(**args)
@uri = args[:uri] if args.key?(:uri)
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
end
end
diff --git a/generated/google/apis/cloudasset_v1beta1/representations.rb b/generated/google/apis/cloudasset_v1beta1/representations.rb
index 6d6e795b7..4703cecc1 100644
--- a/generated/google/apis/cloudasset_v1beta1/representations.rb
+++ b/generated/google/apis/cloudasset_v1beta1/representations.rb
@@ -184,6 +184,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
+ property :uri_prefix, as: 'uriPrefix'
end
end
diff --git a/generated/google/apis/cloudbilling_v1.rb b/generated/google/apis/cloudbilling_v1.rb
index 2ae056932..b02597a3d 100644
--- a/generated/google/apis/cloudbilling_v1.rb
+++ b/generated/google/apis/cloudbilling_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/billing/
module CloudbillingV1
VERSION = 'V1'
- REVISION = '20190310'
+ REVISION = '20190413'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudbilling_v1/service.rb b/generated/google/apis/cloudbilling_v1/service.rb
index a7fe778b7..805b036d8 100644
--- a/generated/google/apis/cloudbilling_v1/service.rb
+++ b/generated/google/apis/cloudbilling_v1/service.rb
@@ -155,8 +155,8 @@ module Google
end
# Lists the billing accounts that the current authenticated user has
- # permission to [view](https://cloud.google.com/billing/docs/how-to/billing-
- # access).
+ # permission to
+ # [view](https://cloud.google.com/billing/docs/how-to/billing-access).
# @param [String] filter
# Options for how to filter the returned billing accounts.
# Currently this only supports filtering for
diff --git a/generated/google/apis/cloudbuild_v1alpha1.rb b/generated/google/apis/cloudbuild_v1alpha1.rb
index 38f91d723..9e446e747 100644
--- a/generated/google/apis/cloudbuild_v1alpha1.rb
+++ b/generated/google/apis/cloudbuild_v1alpha1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/cloud-build/docs/
module CloudbuildV1alpha1
VERSION = 'V1alpha1'
- REVISION = '20190312'
+ REVISION = '20190422'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudbuild_v1alpha1/classes.rb b/generated/google/apis/cloudbuild_v1alpha1/classes.rb
index 06d019c3d..9abaa5980 100644
--- a/generated/google/apis/cloudbuild_v1alpha1/classes.rb
+++ b/generated/google/apis/cloudbuild_v1alpha1/classes.rb
@@ -1098,7 +1098,7 @@ module Google
# @return [String]
attr_accessor :name
- # The project ID of the GCP project in which the `WorkerPool` is created.
+ # The project ID of the GCP project for which the `WorkerPool` is created.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
diff --git a/generated/google/apis/clouderrorreporting_v1beta1.rb b/generated/google/apis/clouderrorreporting_v1beta1.rb
index c3ffecaed..9830744a0 100644
--- a/generated/google/apis/clouderrorreporting_v1beta1.rb
+++ b/generated/google/apis/clouderrorreporting_v1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/error-reporting/
module ClouderrorreportingV1beta1
VERSION = 'V1beta1'
- REVISION = '20180706'
+ REVISION = '20190411'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/clouderrorreporting_v1beta1/classes.rb b/generated/google/apis/clouderrorreporting_v1beta1/classes.rb
index 58638b487..b7189afe4 100644
--- a/generated/google/apis/clouderrorreporting_v1beta1/classes.rb
+++ b/generated/google/apis/clouderrorreporting_v1beta1/classes.rb
@@ -420,23 +420,26 @@ module Google
# languages and formats.
# Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
# Supported stack trace formats are:
- # * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https:/
- # /docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%
- # 29).
- # * **Python**: Must be the return value of [`traceback.format_exc()`](https://
- # docs.python.org/2/library/traceback.html#traceback.format_exc).
- # * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/
- # v8/wiki/Stack-Trace-API)
- # as returned by V8.
- # * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://
- # ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
- # * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.
- # microsoft.com/en-us/library/system.exception.tostring.aspx).
+ # * **Java**: Must be the return value of
+ # [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/
+ # lang/Throwable.html#printStackTrace%28%29).
+ # * **Python**: Must be the return value of
+ # [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#
+ # traceback.format_exc).
+ # * **JavaScript**: Must be the value of
+ # [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ # by V8.
+ # * **Ruby**: Must contain frames returned by
+ # [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-
+ # i-backtrace).
+ # * **C#**: Must be the return value of
+ # [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.
+ # exception.tostring.aspx).
# * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
- # and contain the result of [`(string)$exception`](http://php.net/manual/en/
- # exception.tostring.php).
- # * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/
- # pkg/runtime/debug/#Stack).
+ # and contain the result of
+ # [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ # * **Go**: Must be the return value of
+ # [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
diff --git a/generated/google/apis/clouderrorreporting_v1beta1/service.rb b/generated/google/apis/clouderrorreporting_v1beta1/service.rb
index 2047a9d97..abbe2bf0a 100644
--- a/generated/google/apis/clouderrorreporting_v1beta1/service.rb
+++ b/generated/google/apis/clouderrorreporting_v1beta1/service.rb
@@ -148,14 +148,15 @@ module Google
# **or** an [API key](https://support.google.com/cloud/answer/6158862)
# for authentication. To use an API key, append it to the URL as the value of
# a `key` parameter. For example:
- # `POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-
- # project/events:report?key=123ABC456`
+ # `POST
+ # https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/
+ # events:report?key=123ABC456`
# @param [String] project_name
# [Required] The resource name of the Google Cloud Platform project. Written
# as `projects/` plus the
- # [Google Cloud Platform project ID](https://support.google.com/cloud/answer/
- # 6158840).
- # Example: `projects/my-project-123`.
+ # [Google Cloud Platform project
+ # ID](https://support.google.com/cloud/answer/6158840). Example:
+ # `projects/my-project-123`.
# @param [Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent] reported_error_event_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
diff --git a/generated/google/apis/cloudfunctions_v1.rb b/generated/google/apis/cloudfunctions_v1.rb
index 3322b475b..b998b08c5 100644
--- a/generated/google/apis/cloudfunctions_v1.rb
+++ b/generated/google/apis/cloudfunctions_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/functions
module CloudfunctionsV1
VERSION = 'V1'
- REVISION = '20190318'
+ REVISION = '20190406'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudfunctions_v1/classes.rb b/generated/google/apis/cloudfunctions_v1/classes.rb
index d10154c10..f6c660e2b 100644
--- a/generated/google/apis/cloudfunctions_v1/classes.rb
+++ b/generated/google/apis/cloudfunctions_v1/classes.rb
@@ -287,8 +287,7 @@ module Google
attr_accessor :labels
# The limit on the maximum number of function instances that may coexist at a
- # given time. This feature is currently in alpha, available only for
- # whitelisted users.
+ # given time.
# Corresponds to the JSON property `maxInstances`
# @return [Fixnum]
attr_accessor :max_instances
@@ -316,14 +315,12 @@ module Google
# @return [String]
attr_accessor :network
- # The runtime in which the function is going to run. Example values include:
- # `go111`: for Go 1.11
- # `nodejs6`: for Node.js 6
- # `nodejs8`: for Node.js 8
- # `nodejs10`: for Node.js 10
- # `python37`: for Python 3.7
- # `ruby25`: for Ruby 2.5
- # If empty, defaults to `nodejs6`.
+ # Required. The runtime in which the function is going to run. Choices:
+ # * `nodejs6`: Node.js 6
+ # * `nodejs8`: Node.js 8
+ # * `nodejs10`: Node.js 10
+ # * `python37`: Python 3.7
+ # * `go111`: Go 1.11
# Corresponds to the JSON property `runtime`
# @return [String]
attr_accessor :runtime
diff --git a/generated/google/apis/cloudfunctions_v1beta2.rb b/generated/google/apis/cloudfunctions_v1beta2.rb
index 093b02d91..9a7c8ca48 100644
--- a/generated/google/apis/cloudfunctions_v1beta2.rb
+++ b/generated/google/apis/cloudfunctions_v1beta2.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/functions
module CloudfunctionsV1beta2
VERSION = 'V1beta2'
- REVISION = '20190318'
+ REVISION = '20190406'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudfunctions_v1beta2/classes.rb b/generated/google/apis/cloudfunctions_v1beta2/classes.rb
index 53e8c6ef2..9cbb0bc86 100644
--- a/generated/google/apis/cloudfunctions_v1beta2/classes.rb
+++ b/generated/google/apis/cloudfunctions_v1beta2/classes.rb
@@ -124,8 +124,7 @@ module Google
attr_accessor :latest_operation
# The limit on the maximum number of function instances that may coexist at a
- # given time. This feature is currently in alpha, available only for
- # whitelisted users.
+ # given time.
# Corresponds to the JSON property `maxInstances`
# @return [Fixnum]
attr_accessor :max_instances
@@ -153,8 +152,12 @@ module Google
# @return [String]
attr_accessor :network
- # The runtime in which the function is going to run. If empty, defaults to
- # Node.js 6.
+ # Required. The runtime in which the function is going to run. Choices:
+ # * `nodejs6`: Node.js 6
+ # * `nodejs8`: Node.js 8
+ # * `nodejs10`: Node.js 10
+ # * `python37`: Python 3.7
+ # * `go111`: Go 1.11
# Corresponds to the JSON property `runtime`
# @return [String]
attr_accessor :runtime
diff --git a/generated/google/apis/cloudiot_v1.rb b/generated/google/apis/cloudiot_v1.rb
index 6801fa3e2..fd7e0abbd 100644
--- a/generated/google/apis/cloudiot_v1.rb
+++ b/generated/google/apis/cloudiot_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/iot
module CloudiotV1
VERSION = 'V1'
- REVISION = '20190321'
+ REVISION = '20190409'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb b/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb
index 26b0e6d5c..ea24256c9 100644
--- a/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb
+++ b/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://sites.google.com/corp/google.com/cloudprivatecatalog
module CloudprivatecatalogproducerV1beta1
VERSION = 'V1beta1'
- REVISION = '20190316'
+ REVISION = '20190413'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudresourcemanager_v1.rb b/generated/google/apis/cloudresourcemanager_v1.rb
index 5f8f36603..6248fb4ba 100644
--- a/generated/google/apis/cloudresourcemanager_v1.rb
+++ b/generated/google/apis/cloudresourcemanager_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1
VERSION = 'V1'
- REVISION = '20190318'
+ REVISION = '20190417'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudresourcemanager_v1beta1.rb b/generated/google/apis/cloudresourcemanager_v1beta1.rb
index 733a5d436..872ab08ec 100644
--- a/generated/google/apis/cloudresourcemanager_v1beta1.rb
+++ b/generated/google/apis/cloudresourcemanager_v1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1beta1
VERSION = 'V1beta1'
- REVISION = '20190318'
+ REVISION = '20190417'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb
index 9ad694160..28a8ad647 100644
--- a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb
+++ b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb
@@ -130,8 +130,8 @@ module Google
# `domain`, where the domain is a G Suite domain, for example:
# |Filter|Description|
# |------|-----------|
- # |owner.directorycustomerid:123456789|Organizations with `owner.
- # directory_customer_id` equal to `123456789`.|
+ # |owner.directorycustomerid:123456789|Organizations with
+ # `owner.directory_customer_id` equal to `123456789`.|
# |domain:google.com|Organizations corresponding to the domain `google.com`.|
# This field is optional.
# @param [Fixnum] page_size
@@ -335,8 +335,9 @@ module Google
# and the Project remains visible to ListProjects.
# However, you cannot update the project.
# After the deletion completes, the Project is not retrievable by
- # the GetProject and
- # ListProjects methods.
+ # the GetProject
+ # and ListProjects
+ # methods.
# The caller must have modify permissions for this Project.
# @param [String] project_id
# The Project ID (for example, `foo-bar-123`).
diff --git a/generated/google/apis/cloudresourcemanager_v2.rb b/generated/google/apis/cloudresourcemanager_v2.rb
index b50523826..8dafcdb34 100644
--- a/generated/google/apis/cloudresourcemanager_v2.rb
+++ b/generated/google/apis/cloudresourcemanager_v2.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2
VERSION = 'V2'
- REVISION = '20190318'
+ REVISION = '20190403'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudresourcemanager_v2beta1.rb b/generated/google/apis/cloudresourcemanager_v2beta1.rb
index ee97498e6..d51bb1eb8 100644
--- a/generated/google/apis/cloudresourcemanager_v2beta1.rb
+++ b/generated/google/apis/cloudresourcemanager_v2beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2beta1
VERSION = 'V2beta1'
- REVISION = '20190318'
+ REVISION = '20190403'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudscheduler_v1.rb b/generated/google/apis/cloudscheduler_v1.rb
new file mode 100644
index 000000000..bbabf4bee
--- /dev/null
+++ b/generated/google/apis/cloudscheduler_v1.rb
@@ -0,0 +1,34 @@
+# Copyright 2015 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'google/apis/cloudscheduler_v1/service.rb'
+require 'google/apis/cloudscheduler_v1/classes.rb'
+require 'google/apis/cloudscheduler_v1/representations.rb'
+
+module Google
+ module Apis
+ # Cloud Scheduler API
+ #
+ # Creates and manages jobs run on a regular recurring schedule.
+ #
+ # @see https://cloud.google.com/scheduler/
+ module CloudschedulerV1
+ VERSION = 'V1'
+ REVISION = '20190326'
+
+ # View and manage your data across Google Cloud Platform services
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+ end
+ end
+end
diff --git a/generated/google/apis/cloudscheduler_v1/classes.rb b/generated/google/apis/cloudscheduler_v1/classes.rb
new file mode 100644
index 000000000..dbea76e33
--- /dev/null
+++ b/generated/google/apis/cloudscheduler_v1/classes.rb
@@ -0,0 +1,895 @@
+# 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 CloudschedulerV1
+
+ # App Engine target. The job will be pushed to a job handler by means
+ # of an HTTP request via an http_method such
+ # as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an
+ # HTTP response code in the range [200 - 299]. Error 503 is
+ # considered an App Engine system error instead of an application
+ # error. Requests returning error 503 will be retried regardless of
+ # retry configuration and not counted against retry counts. Any other
+ # response code, or a failure to receive a response before the
+ # deadline, constitutes a failed attempt.
+ class AppEngineHttpTarget
+ include Google::Apis::Core::Hashable
+
+ # App Engine Routing.
+ # For more information about services, versions, and instances see
+ # [An Overview of App
+ # Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
+ # engine),
+ # [Microservices Architecture on Google App
+ # Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
+ # engine),
+ # [App Engine Standard request
+ # routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
+ # are-routed),
+ # and [App Engine Flex request
+ # routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
+ # are-routed).
+ # Corresponds to the JSON property `appEngineRouting`
+ # @return [Google::Apis::CloudschedulerV1::AppEngineRouting]
+ attr_accessor :app_engine_routing
+
+ # Body.
+ # HTTP request body. A request body is allowed only if the HTTP method is
+ # POST or PUT. It will result in invalid argument error to set a body on a
+ # job with an incompatible HttpMethod.
+ # Corresponds to the JSON property `body`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :body
+
+ # HTTP request headers.
+ # This map contains the header field names and values. Headers can be set
+ # when the job is created.
+ # Cloud Scheduler sets some headers to default values:
+ # * `User-Agent`: By default, this header is
+ # `"AppEngine-Google; (+http://code.google.com/appengine)"`.
+ # This header can be modified, but Cloud Scheduler will append
+ # `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
+ # modified `User-Agent`.
+ # * `X-CloudScheduler`: This header will be set to true.
+ # If the job has an body, Cloud Scheduler sets
+ # the following headers:
+ # * `Content-Type`: By default, the `Content-Type` header is set to
+ # `"application/octet-stream"`. The default can be overridden by explictly
+ # setting `Content-Type` to a particular media type when the job is
+ # created.
+ # For example, `Content-Type` can be set to `"application/json"`.
+ # * `Content-Length`: This is computed by Cloud Scheduler. This value is
+ # output only. It cannot be changed.
+ # The headers below are output only. They cannot be set or overridden:
+ # * `X-Google-*`: For Google internal use only.
+ # * `X-AppEngine-*`: For Google internal use only.
+ # In addition, some App Engine headers, which contain
+ # job-specific information, are also be sent to the job handler.
+ # Corresponds to the JSON property `headers`
+ # @return [Hash]
+ attr_accessor :headers
+
+ # The HTTP method to use for the request. PATCH and OPTIONS are not
+ # permitted.
+ # Corresponds to the JSON property `httpMethod`
+ # @return [String]
+ attr_accessor :http_method
+
+ # The relative URI.
+ # The relative URL must begin with "/" and must be a valid HTTP relative URL.
+ # It can contain a path, query string arguments, and `#` fragments.
+ # If the relative URL is empty, then the root path "/" will be used.
+ # No spaces are allowed, and the maximum length allowed is 2083 characters.
+ # Corresponds to the JSON property `relativeUri`
+ # @return [String]
+ attr_accessor :relative_uri
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @app_engine_routing = args[:app_engine_routing] if args.key?(:app_engine_routing)
+ @body = args[:body] if args.key?(:body)
+ @headers = args[:headers] if args.key?(:headers)
+ @http_method = args[:http_method] if args.key?(:http_method)
+ @relative_uri = args[:relative_uri] if args.key?(:relative_uri)
+ end
+ end
+
+ # App Engine Routing.
+ # For more information about services, versions, and instances see
+ # [An Overview of App
+ # Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
+ # engine),
+ # [Microservices Architecture on Google App
+ # Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
+ # engine),
+ # [App Engine Standard request
+ # routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
+ # are-routed),
+ # and [App Engine Flex request
+ # routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
+ # are-routed).
+ class AppEngineRouting
+ include Google::Apis::Core::Hashable
+
+ # Output only. The host that the job is sent to.
+ # For more information about how App Engine requests are routed, see
+ # [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-
+ # are-routed).
+ # The host is constructed as:
+ # * `host = [application_domain_name]`
+ # `| [service] + '.' + [application_domain_name]`
+ # `| [version] + '.' + [application_domain_name]`
+ # `| [version_dot_service]+ '.' + [application_domain_name]`
+ # `| [instance] + '.' + [application_domain_name]`
+ # `| [instance_dot_service] + '.' + [application_domain_name]`
+ # `| [instance_dot_version] + '.' + [application_domain_name]`
+ # `| [instance_dot_version_dot_service] + '.' + [application_domain_name]`
+ # * `application_domain_name` = The domain name of the app, for
+ # example .appspot.com, which is associated with the
+ # job's project ID.
+ # * `service =` service
+ # * `version =` version
+ # * `version_dot_service =`
+ # version `+ '.' +`
+ # service
+ # * `instance =` instance
+ # * `instance_dot_service =`
+ # instance `+ '.' +`
+ # service
+ # * `instance_dot_version =`
+ # instance `+ '.' +`
+ # version
+ # * `instance_dot_version_dot_service =`
+ # instance `+ '.' +`
+ # version `+ '.' +`
+ # service
+ # If service is empty, then the job will be sent
+ # to the service which is the default service when the job is attempted.
+ # If version is empty, then the job will be sent
+ # to the version which is the default version when the job is attempted.
+ # If instance is empty, then the job will be
+ # sent to an instance which is available when the job is attempted.
+ # If service,
+ # version, or
+ # instance is invalid, then the job will be sent
+ # to the default version of the default service when the job is attempted.
+ # Corresponds to the JSON property `host`
+ # @return [String]
+ attr_accessor :host
+
+ # App instance.
+ # By default, the job is sent to an instance which is available when
+ # the job is attempted.
+ # Requests can only be sent to a specific instance if
+ # [manual scaling is used in App Engine
+ # Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
+ # engine?hl=en_US#scaling_types_and_instance_classes).
+ # App Engine Flex does not support instances. For more information, see
+ # [App Engine Standard request
+ # routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
+ # are-routed)
+ # and [App Engine Flex request
+ # routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
+ # are-routed).
+ # Corresponds to the JSON property `instance`
+ # @return [String]
+ attr_accessor :instance
+
+ # App service.
+ # By default, the job is sent to the service which is the default
+ # service when the job is attempted.
+ # Corresponds to the JSON property `service`
+ # @return [String]
+ attr_accessor :service
+
+ # App version.
+ # By default, the job is sent to the version which is the default
+ # version when the job is attempted.
+ # Corresponds to the JSON property `version`
+ # @return [String]
+ attr_accessor :version
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @host = args[:host] if args.key?(:host)
+ @instance = args[:instance] if args.key?(:instance)
+ @service = args[:service] if args.key?(:service)
+ @version = args[:version] if args.key?(:version)
+ end
+ end
+
+ # A generic empty message that you can re-use to avoid defining duplicated
+ # empty messages in your APIs. A typical example is to use it as the request
+ # or the response type of an API method. For instance:
+ # service Foo `
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+ # `
+ # The JSON representation for `Empty` is empty JSON object ````.
+ class Empty
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # Http target. The job will be pushed to the job handler by means of
+ # an HTTP request via an http_method such as HTTP
+ # POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
+ # response code in the range [200 - 299]. A failure to receive a response
+ # constitutes a failed execution. For a redirected request, the response
+ # returned by the redirected request is considered.
+ class HttpTarget
+ include Google::Apis::Core::Hashable
+
+ # HTTP request body. A request body is allowed only if the HTTP
+ # method is POST, PUT, or PATCH. It is an error to set body on a job with an
+ # incompatible HttpMethod.
+ # Corresponds to the JSON property `body`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :body
+
+ # The user can specify HTTP request headers to send with the job's
+ # HTTP request. This map contains the header field names and
+ # values. Repeated headers are not supported, but a header value can
+ # contain commas. These headers represent a subset of the headers
+ # that will accompany the job's HTTP request. Some HTTP request
+ # headers will be ignored or replaced. A partial list of headers that
+ # will be ignored or replaced is below:
+ # - Host: This will be computed by Cloud Scheduler and derived from
+ # uri.
+ # * `Content-Length`: This will be computed by Cloud Scheduler.
+ # * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`.
+ # * `X-Google-*`: Google internal use only.
+ # * `X-AppEngine-*`: Google internal use only.
+ # The total size of headers must be less than 80KB.
+ # Corresponds to the JSON property `headers`
+ # @return [Hash]
+ attr_accessor :headers
+
+ # Which HTTP method to use for the request.
+ # Corresponds to the JSON property `httpMethod`
+ # @return [String]
+ attr_accessor :http_method
+
+ # Required.
+ # The full URI path that the request will be sent to. This string
+ # must begin with either "http://" or "https://". Some examples of
+ # valid values for uri are:
+ # `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will
+ # encode some characters for safety and compatibility. The maximum allowed
+ # URL length is 2083 characters after encoding.
+ # Corresponds to the JSON property `uri`
+ # @return [String]
+ attr_accessor :uri
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @body = args[:body] if args.key?(:body)
+ @headers = args[:headers] if args.key?(:headers)
+ @http_method = args[:http_method] if args.key?(:http_method)
+ @uri = args[:uri] if args.key?(:uri)
+ end
+ end
+
+ # Configuration for a job.
+ # The maximum allowed size for a job is 100KB.
+ class Job
+ include Google::Apis::Core::Hashable
+
+ # App Engine target. The job will be pushed to a job handler by means
+ # of an HTTP request via an http_method such
+ # as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an
+ # HTTP response code in the range [200 - 299]. Error 503 is
+ # considered an App Engine system error instead of an application
+ # error. Requests returning error 503 will be retried regardless of
+ # retry configuration and not counted against retry counts. Any other
+ # response code, or a failure to receive a response before the
+ # deadline, constitutes a failed attempt.
+ # Corresponds to the JSON property `appEngineHttpTarget`
+ # @return [Google::Apis::CloudschedulerV1::AppEngineHttpTarget]
+ attr_accessor :app_engine_http_target
+
+ # Optionally caller-specified in CreateJob or
+ # UpdateJob.
+ # A human-readable description for the job. This string must not contain
+ # more than 500 characters.
+ # Corresponds to the JSON property `description`
+ # @return [String]
+ attr_accessor :description
+
+ # Http target. The job will be pushed to the job handler by means of
+ # an HTTP request via an http_method such as HTTP
+ # POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
+ # response code in the range [200 - 299]. A failure to receive a response
+ # constitutes a failed execution. For a redirected request, the response
+ # returned by the redirected request is considered.
+ # Corresponds to the JSON property `httpTarget`
+ # @return [Google::Apis::CloudschedulerV1::HttpTarget]
+ attr_accessor :http_target
+
+ # Output only. The time the last job attempt started.
+ # Corresponds to the JSON property `lastAttemptTime`
+ # @return [String]
+ attr_accessor :last_attempt_time
+
+ # Optionally caller-specified in CreateJob, after
+ # which it becomes output only.
+ # The job name. For example:
+ # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+ # * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
+ # hyphens (-), colons (:), or periods (.).
+ # For more information, see
+ # [Identifying
+ # projects](https://cloud.google.com/resource-manager/docs/creating-managing-
+ # projects#identifying_projects)
+ # * `LOCATION_ID` is the canonical ID for the job's location.
+ # The list of available locations can be obtained by calling
+ # ListLocations.
+ # For more information, see https://cloud.google.com/about/locations/.
+ # * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
+ # hyphens (-), or underscores (_). The maximum length is 500 characters.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Pub/Sub target. The job will be delivered by publishing a message to
+ # the given Pub/Sub topic.
+ # Corresponds to the JSON property `pubsubTarget`
+ # @return [Google::Apis::CloudschedulerV1::PubsubTarget]
+ attr_accessor :pubsub_target
+
+ # Settings that determine the retry behavior.
+ # By default, if a job does not complete successfully (meaning that
+ # an acknowledgement is not received from the handler, then it will be retried
+ # with exponential backoff according to the settings in RetryConfig.
+ # Corresponds to the JSON property `retryConfig`
+ # @return [Google::Apis::CloudschedulerV1::RetryConfig]
+ attr_accessor :retry_config
+
+ # Required, except when used with UpdateJob.
+ # Describes the schedule on which the job will be executed.
+ # The schedule can be either of the following types:
+ # * [Crontab](http://en.wikipedia.org/wiki/Cron#Overview)
+ # * English-like
+ # [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-
+ # schedules)
+ # As a general rule, execution `n + 1` of a job will not begin
+ # until execution `n` has finished. Cloud Scheduler will never
+ # allow two simultaneously outstanding executions. For example,
+ # this implies that if the `n+1`th execution is scheduled to run at
+ # 16:00 but the `n`th execution takes until 16:15, the `n+1`th
+ # execution will not start until `16:15`.
+ # A scheduled start time will be delayed if the previous
+ # execution has not ended when its scheduled time occurs.
+ # If retry_count > 0 and a job attempt fails,
+ # the job will be tried a total of retry_count
+ # times, with exponential backoff, until the next scheduled start
+ # time.
+ # Corresponds to the JSON property `schedule`
+ # @return [String]
+ attr_accessor :schedule
+
+ # Output only. The next time the job is scheduled. Note that this may be a
+ # retry of a previously failed attempt or the next execution time
+ # according to the schedule.
+ # Corresponds to the JSON property `scheduleTime`
+ # @return [String]
+ attr_accessor :schedule_time
+
+ # Output only. State of the job.
+ # Corresponds to the JSON property `state`
+ # @return [String]
+ attr_accessor :state
+
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
+ # - Simple to use and understand for most users
+ # - Flexible enough to meet unexpected needs
+ # # Overview
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
+ # google.rpc.Code, but it may accept additional error codes if needed. The
+ # error message should be a developer-facing English message that helps
+ # developers *understand* and *resolve* the error. If a localized user-facing
+ # error message is needed, put the localized message in the error details or
+ # localize it in the client. The optional error details may contain arbitrary
+ # information about the error. There is a predefined set of error detail types
+ # in the package `google.rpc` that can be used for common error conditions.
+ # # Language mapping
+ # The `Status` message is the logical representation of the error model, but it
+ # is not necessarily the actual wire format. When the `Status` message is
+ # exposed in different client libraries and different wire protocols, it can be
+ # mapped differently. For example, it will likely be mapped to some exceptions
+ # in Java, but more likely mapped to some error codes in C.
+ # # Other uses
+ # The error model and the `Status` message can be used in a variety of
+ # environments, either with or without APIs, to provide a
+ # consistent developer experience across different environments.
+ # Example uses of this error model include:
+ # - Partial errors. If a service needs to return partial errors to the client,
+ # it may embed the `Status` in the normal response to indicate the partial
+ # errors.
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
+ # have a `Status` message for error reporting.
+ # - Batch operations. If a client uses batch request and batch response, the
+ # `Status` message should be used directly inside batch response, one for
+ # each error sub-response.
+ # - Asynchronous operations. If an API call embeds asynchronous operation
+ # results in its response, the status of those operations should be
+ # represented directly using the `Status` message.
+ # - Logging. If some API errors are stored in logs, the message `Status` could
+ # be used directly after any stripping needed for security/privacy reasons.
+ # Corresponds to the JSON property `status`
+ # @return [Google::Apis::CloudschedulerV1::Status]
+ attr_accessor :status
+
+ # Specifies the time zone to be used in interpreting
+ # schedule. The value of this field must be a time
+ # zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database).
+ # Note that some time zones include a provision for
+ # daylight savings time. The rules for daylight saving time are
+ # determined by the chosen tz. For UTC use the string "utc". If a
+ # time zone is not specified, the default will be in UTC (also known
+ # as GMT).
+ # Corresponds to the JSON property `timeZone`
+ # @return [String]
+ attr_accessor :time_zone
+
+ # Output only. The creation time of the job.
+ # Corresponds to the JSON property `userUpdateTime`
+ # @return [String]
+ attr_accessor :user_update_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @app_engine_http_target = args[:app_engine_http_target] if args.key?(:app_engine_http_target)
+ @description = args[:description] if args.key?(:description)
+ @http_target = args[:http_target] if args.key?(:http_target)
+ @last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time)
+ @name = args[:name] if args.key?(:name)
+ @pubsub_target = args[:pubsub_target] if args.key?(:pubsub_target)
+ @retry_config = args[:retry_config] if args.key?(:retry_config)
+ @schedule = args[:schedule] if args.key?(:schedule)
+ @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
+ @state = args[:state] if args.key?(:state)
+ @status = args[:status] if args.key?(:status)
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
+ @user_update_time = args[:user_update_time] if args.key?(:user_update_time)
+ end
+ end
+
+ # Response message for listing jobs using ListJobs.
+ class ListJobsResponse
+ include Google::Apis::Core::Hashable
+
+ # The list of jobs.
+ # Corresponds to the JSON property `jobs`
+ # @return [Array]
+ attr_accessor :jobs
+
+ # A token to retrieve next page of results. Pass this value in the
+ # page_token field in the subsequent call to
+ # ListJobs to retrieve the next page of results.
+ # If this is empty it indicates that there are no more results
+ # through which to paginate.
+ # The page token is valid for only 2 hours.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @jobs = args[:jobs] if args.key?(:jobs)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
+ # The response message for Locations.ListLocations.
+ class ListLocationsResponse
+ include Google::Apis::Core::Hashable
+
+ # A list of locations that matches the specified filter in the request.
+ # Corresponds to the JSON property `locations`
+ # @return [Array]
+ attr_accessor :locations
+
+ # The standard List next-page token.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @locations = args[:locations] if args.key?(:locations)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
+ # A resource that represents Google Cloud Platform location.
+ class Location
+ include Google::Apis::Core::Hashable
+
+ # The friendly name for this location, typically a nearby city name.
+ # For example, "Tokyo".
+ # Corresponds to the JSON property `displayName`
+ # @return [String]
+ attr_accessor :display_name
+
+ # Cross-service attributes for the location. For example
+ # `"cloud.googleapis.com/region": "us-east1"`
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # The canonical id for this location. For example: `"us-east1"`.
+ # Corresponds to the JSON property `locationId`
+ # @return [String]
+ attr_accessor :location_id
+
+ # Service-specific metadata. For example the available capacity at the given
+ # location.
+ # Corresponds to the JSON property `metadata`
+ # @return [Hash]
+ attr_accessor :metadata
+
+ # Resource name for the location, which may vary between implementations.
+ # For example: `"projects/example-project/locations/us-east1"`
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @display_name = args[:display_name] if args.key?(:display_name)
+ @labels = args[:labels] if args.key?(:labels)
+ @location_id = args[:location_id] if args.key?(:location_id)
+ @metadata = args[:metadata] if args.key?(:metadata)
+ @name = args[:name] if args.key?(:name)
+ end
+ end
+
+ # Request message for PauseJob.
+ class PauseJobRequest
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # A message that is published by publishers and consumed by subscribers. The
+ # message must contain either a non-empty data field or at least one attribute.
+ # Note that client libraries represent this object differently
+ # depending on the language. See the corresponding
+ # client
+ # library documentation for more information. See
+ # Quotas and limits
+ # for more information about message limits.
+ class PubsubMessage
+ include Google::Apis::Core::Hashable
+
+ # Optional attributes for this message.
+ # Corresponds to the JSON property `attributes`
+ # @return [Hash]
+ attr_accessor :attributes
+
+ # The message data field. If this field is empty, the message must contain
+ # at least one attribute.
+ # Corresponds to the JSON property `data`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :data
+
+ # ID of this message, assigned by the server when the message is published.
+ # Guaranteed to be unique within the topic. This value may be read by a
+ # subscriber that receives a `PubsubMessage` via a `Pull` call or a push
+ # delivery. It must not be populated by the publisher in a `Publish` call.
+ # Corresponds to the JSON property `messageId`
+ # @return [String]
+ attr_accessor :message_id
+
+ # The time at which the message was published, populated by the server when
+ # it receives the `Publish` call. It must not be populated by the
+ # publisher in a `Publish` call.
+ # Corresponds to the JSON property `publishTime`
+ # @return [String]
+ attr_accessor :publish_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @attributes = args[:attributes] if args.key?(:attributes)
+ @data = args[:data] if args.key?(:data)
+ @message_id = args[:message_id] if args.key?(:message_id)
+ @publish_time = args[:publish_time] if args.key?(:publish_time)
+ end
+ end
+
+ # Pub/Sub target. The job will be delivered by publishing a message to
+ # the given Pub/Sub topic.
+ class PubsubTarget
+ include Google::Apis::Core::Hashable
+
+ # Attributes for PubsubMessage.
+ # Pubsub message must contain either non-empty data, or at least one
+ # attribute.
+ # Corresponds to the JSON property `attributes`
+ # @return [Hash]
+ attr_accessor :attributes
+
+ # The message payload for PubsubMessage.
+ # Pubsub message must contain either non-empty data, or at least one
+ # attribute.
+ # Corresponds to the JSON property `data`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :data
+
+ # Required.
+ # The name of the Cloud Pub/Sub topic to which messages will
+ # be published when a job is delivered. The topic name must be in the
+ # same format as required by PubSub's
+ # [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/
+ # google.pubsub.v1#publishrequest),
+ # for example `projects/PROJECT_ID/topics/TOPIC_ID`.
+ # The topic must be in the same project as the Cloud Scheduler job.
+ # Corresponds to the JSON property `topicName`
+ # @return [String]
+ attr_accessor :topic_name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @attributes = args[:attributes] if args.key?(:attributes)
+ @data = args[:data] if args.key?(:data)
+ @topic_name = args[:topic_name] if args.key?(:topic_name)
+ end
+ end
+
+ # Request message for ResumeJob.
+ class ResumeJobRequest
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # Settings that determine the retry behavior.
+ # By default, if a job does not complete successfully (meaning that
+ # an acknowledgement is not received from the handler, then it will be retried
+ # with exponential backoff according to the settings in RetryConfig.
+ class RetryConfig
+ include Google::Apis::Core::Hashable
+
+ # The maximum amount of time to wait before retrying a job after
+ # it fails.
+ # The default value of this field is 1 hour.
+ # Corresponds to the JSON property `maxBackoffDuration`
+ # @return [String]
+ attr_accessor :max_backoff_duration
+
+ # The time between retries will double `max_doublings` times.
+ # A job's retry interval starts at
+ # min_backoff_duration, then doubles
+ # `max_doublings` times, then increases linearly, and finally
+ # retries retries at intervals of
+ # max_backoff_duration up to
+ # retry_count times.
+ # For example, if min_backoff_duration is
+ # 10s, max_backoff_duration is 300s, and
+ # `max_doublings` is 3, then the a job will first be retried in 10s. The
+ # retry interval will double three times, and then increase linearly by
+ # 2^3 * 10s. Finally, the job will retry at intervals of
+ # max_backoff_duration until the job has
+ # been attempted retry_count times. Thus, the
+ # requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....
+ # The default value of this field is 5.
+ # Corresponds to the JSON property `maxDoublings`
+ # @return [Fixnum]
+ attr_accessor :max_doublings
+
+ # The time limit for retrying a failed job, measured from time when an
+ # execution was first attempted. If specified with
+ # retry_count, the job will be retried until both
+ # limits are reached.
+ # The default value for max_retry_duration is zero, which means retry
+ # duration is unlimited.
+ # Corresponds to the JSON property `maxRetryDuration`
+ # @return [String]
+ attr_accessor :max_retry_duration
+
+ # The minimum amount of time to wait before retrying a job after
+ # it fails.
+ # The default value of this field is 5 seconds.
+ # Corresponds to the JSON property `minBackoffDuration`
+ # @return [String]
+ attr_accessor :min_backoff_duration
+
+ # The number of attempts that the system will make to run a job using the
+ # exponential backoff procedure described by
+ # max_doublings.
+ # The default value of retry_count is zero.
+ # If retry_count is zero, a job attempt will *not* be retried if
+ # it fails. Instead the Cloud Scheduler system will wait for the
+ # next scheduled execution time.
+ # If retry_count is set to a non-zero number then Cloud Scheduler
+ # will retry failed attempts, using exponential backoff,
+ # retry_count times, or until the next scheduled execution time,
+ # whichever comes first.
+ # Values greater than 5 and negative values are not allowed.
+ # Corresponds to the JSON property `retryCount`
+ # @return [Fixnum]
+ attr_accessor :retry_count
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @max_backoff_duration = args[:max_backoff_duration] if args.key?(:max_backoff_duration)
+ @max_doublings = args[:max_doublings] if args.key?(:max_doublings)
+ @max_retry_duration = args[:max_retry_duration] if args.key?(:max_retry_duration)
+ @min_backoff_duration = args[:min_backoff_duration] if args.key?(:min_backoff_duration)
+ @retry_count = args[:retry_count] if args.key?(:retry_count)
+ end
+ end
+
+ # Request message for forcing a job to run now using
+ # RunJob.
+ class RunJobRequest
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
+ # - Simple to use and understand for most users
+ # - Flexible enough to meet unexpected needs
+ # # Overview
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
+ # google.rpc.Code, but it may accept additional error codes if needed. The
+ # error message should be a developer-facing English message that helps
+ # developers *understand* and *resolve* the error. If a localized user-facing
+ # error message is needed, put the localized message in the error details or
+ # localize it in the client. The optional error details may contain arbitrary
+ # information about the error. There is a predefined set of error detail types
+ # in the package `google.rpc` that can be used for common error conditions.
+ # # Language mapping
+ # The `Status` message is the logical representation of the error model, but it
+ # is not necessarily the actual wire format. When the `Status` message is
+ # exposed in different client libraries and different wire protocols, it can be
+ # mapped differently. For example, it will likely be mapped to some exceptions
+ # in Java, but more likely mapped to some error codes in C.
+ # # Other uses
+ # The error model and the `Status` message can be used in a variety of
+ # environments, either with or without APIs, to provide a
+ # consistent developer experience across different environments.
+ # Example uses of this error model include:
+ # - Partial errors. If a service needs to return partial errors to the client,
+ # it may embed the `Status` in the normal response to indicate the partial
+ # errors.
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
+ # have a `Status` message for error reporting.
+ # - Batch operations. If a client uses batch request and batch response, the
+ # `Status` message should be used directly inside batch response, one for
+ # each error sub-response.
+ # - Asynchronous operations. If an API call embeds asynchronous operation
+ # results in its response, the status of those operations should be
+ # represented directly using the `Status` message.
+ # - Logging. If some API errors are stored in logs, the message `Status` could
+ # be used directly after any stripping needed for security/privacy reasons.
+ class Status
+ include Google::Apis::Core::Hashable
+
+ # The status code, which should be an enum value of google.rpc.Code.
+ # Corresponds to the JSON property `code`
+ # @return [Fixnum]
+ attr_accessor :code
+
+ # A list of messages that carry the error details. There is a common set of
+ # message types for APIs to use.
+ # Corresponds to the JSON property `details`
+ # @return [Array>]
+ attr_accessor :details
+
+ # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
+ # Corresponds to the JSON property `message`
+ # @return [String]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @code = args[:code] if args.key?(:code)
+ @details = args[:details] if args.key?(:details)
+ @message = args[:message] if args.key?(:message)
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/cloudscheduler_v1/representations.rb b/generated/google/apis/cloudscheduler_v1/representations.rb
new file mode 100644
index 000000000..44231d964
--- /dev/null
+++ b/generated/google/apis/cloudscheduler_v1/representations.rb
@@ -0,0 +1,264 @@
+# 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 CloudschedulerV1
+
+ class AppEngineHttpTarget
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AppEngineRouting
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Empty
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class HttpTarget
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Job
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListJobsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListLocationsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Location
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class PauseJobRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class PubsubMessage
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class PubsubTarget
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ResumeJobRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class RetryConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class RunJobRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Status
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AppEngineHttpTarget
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :app_engine_routing, as: 'appEngineRouting', class: Google::Apis::CloudschedulerV1::AppEngineRouting, decorator: Google::Apis::CloudschedulerV1::AppEngineRouting::Representation
+
+ property :body, :base64 => true, as: 'body'
+ hash :headers, as: 'headers'
+ property :http_method, as: 'httpMethod'
+ property :relative_uri, as: 'relativeUri'
+ end
+ end
+
+ class AppEngineRouting
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :host, as: 'host'
+ property :instance, as: 'instance'
+ property :service, as: 'service'
+ property :version, as: 'version'
+ end
+ end
+
+ class Empty
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class HttpTarget
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :body, :base64 => true, as: 'body'
+ hash :headers, as: 'headers'
+ property :http_method, as: 'httpMethod'
+ property :uri, as: 'uri'
+ end
+ end
+
+ class Job
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :app_engine_http_target, as: 'appEngineHttpTarget', class: Google::Apis::CloudschedulerV1::AppEngineHttpTarget, decorator: Google::Apis::CloudschedulerV1::AppEngineHttpTarget::Representation
+
+ property :description, as: 'description'
+ property :http_target, as: 'httpTarget', class: Google::Apis::CloudschedulerV1::HttpTarget, decorator: Google::Apis::CloudschedulerV1::HttpTarget::Representation
+
+ property :last_attempt_time, as: 'lastAttemptTime'
+ property :name, as: 'name'
+ property :pubsub_target, as: 'pubsubTarget', class: Google::Apis::CloudschedulerV1::PubsubTarget, decorator: Google::Apis::CloudschedulerV1::PubsubTarget::Representation
+
+ property :retry_config, as: 'retryConfig', class: Google::Apis::CloudschedulerV1::RetryConfig, decorator: Google::Apis::CloudschedulerV1::RetryConfig::Representation
+
+ property :schedule, as: 'schedule'
+ property :schedule_time, as: 'scheduleTime'
+ property :state, as: 'state'
+ property :status, as: 'status', class: Google::Apis::CloudschedulerV1::Status, decorator: Google::Apis::CloudschedulerV1::Status::Representation
+
+ property :time_zone, as: 'timeZone'
+ property :user_update_time, as: 'userUpdateTime'
+ end
+ end
+
+ class ListJobsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :jobs, as: 'jobs', class: Google::Apis::CloudschedulerV1::Job, decorator: Google::Apis::CloudschedulerV1::Job::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class ListLocationsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :locations, as: 'locations', class: Google::Apis::CloudschedulerV1::Location, decorator: Google::Apis::CloudschedulerV1::Location::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class Location
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :display_name, as: 'displayName'
+ hash :labels, as: 'labels'
+ property :location_id, as: 'locationId'
+ hash :metadata, as: 'metadata'
+ property :name, as: 'name'
+ end
+ end
+
+ class PauseJobRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class PubsubMessage
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ hash :attributes, as: 'attributes'
+ property :data, :base64 => true, as: 'data'
+ property :message_id, as: 'messageId'
+ property :publish_time, as: 'publishTime'
+ end
+ end
+
+ class PubsubTarget
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ hash :attributes, as: 'attributes'
+ property :data, :base64 => true, as: 'data'
+ property :topic_name, as: 'topicName'
+ end
+ end
+
+ class ResumeJobRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class RetryConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :max_backoff_duration, as: 'maxBackoffDuration'
+ property :max_doublings, as: 'maxDoublings'
+ property :max_retry_duration, as: 'maxRetryDuration'
+ property :min_backoff_duration, as: 'minBackoffDuration'
+ property :retry_count, as: 'retryCount'
+ end
+ end
+
+ class RunJobRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class Status
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :code, as: 'code'
+ collection :details, as: 'details'
+ property :message, as: 'message'
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/cloudscheduler_v1/service.rb b/generated/google/apis/cloudscheduler_v1/service.rb
new file mode 100644
index 000000000..05227ecf7
--- /dev/null
+++ b/generated/google/apis/cloudscheduler_v1/service.rb
@@ -0,0 +1,448 @@
+# Copyright 2015 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'google/apis/core/base_service'
+require 'google/apis/core/json_representation'
+require 'google/apis/core/hashable'
+require 'google/apis/errors'
+
+module Google
+ module Apis
+ module CloudschedulerV1
+ # Cloud Scheduler API
+ #
+ # Creates and manages jobs run on a regular recurring schedule.
+ #
+ # @example
+ # require 'google/apis/cloudscheduler_v1'
+ #
+ # Cloudscheduler = Google::Apis::CloudschedulerV1 # Alias the module
+ # service = Cloudscheduler::CloudSchedulerService.new
+ #
+ # @see https://cloud.google.com/scheduler/
+ class CloudSchedulerService < Google::Apis::Core::BaseService
+ # @return [String]
+ # API key. Your API key identifies your project and provides you with API access,
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
+ attr_accessor :key
+
+ # @return [String]
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ attr_accessor :quota_user
+
+ def initialize
+ super('https://cloudscheduler.googleapis.com/', '')
+ @batch_path = 'batch'
+ end
+
+ # Gets information about a location.
+ # @param [String] name
+ # Resource name for the location.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::Location] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::Location]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/{+name}', options)
+ command.response_representation = Google::Apis::CloudschedulerV1::Location::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::Location
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists information about the supported locations for this service.
+ # @param [String] name
+ # The resource that owns the locations collection, if applicable.
+ # @param [String] filter
+ # The standard list filter.
+ # @param [Fixnum] page_size
+ # The standard list page size.
+ # @param [String] page_token
+ # The standard list page token.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::ListLocationsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::ListLocationsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/{+name}/locations', options)
+ command.response_representation = Google::Apis::CloudschedulerV1::ListLocationsResponse::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::ListLocationsResponse
+ command.params['name'] = name unless name.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a job.
+ # @param [String] parent
+ # Required.
+ # The location name. For example:
+ # `projects/PROJECT_ID/locations/LOCATION_ID`.
+ # @param [Google::Apis::CloudschedulerV1::Job] job_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::Job] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::Job]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def create_project_location_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/{+parent}/jobs', options)
+ command.request_representation = Google::Apis::CloudschedulerV1::Job::Representation
+ command.request_object = job_object
+ command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::Job
+ command.params['parent'] = parent unless parent.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes a job.
+ # @param [String] name
+ # Required.
+ # The job name. For example:
+ # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::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_job(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1/{+name}', options)
+ command.response_representation = Google::Apis::CloudschedulerV1::Empty::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::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 job.
+ # @param [String] name
+ # Required.
+ # The job name. For example:
+ # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::Job] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::Job]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location_job(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/{+name}', options)
+ command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::Job
+ 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 jobs.
+ # @param [String] parent
+ # Required.
+ # The location name. For example:
+ # `projects/PROJECT_ID/locations/LOCATION_ID`.
+ # @param [Fixnum] page_size
+ # Requested page size.
+ # The maximum page size is 500. If unspecified, the page size will
+ # be the maximum. Fewer jobs than requested might be returned,
+ # even if more jobs exist; use next_page_token to determine if more
+ # jobs exist.
+ # @param [String] page_token
+ # A token identifying a page of results the server will return. To
+ # request the first page results, page_token must be empty. To
+ # request the next page of results, page_token must be the value of
+ # next_page_token returned from
+ # the previous call to ListJobs. It is an error to
+ # switch the value of filter or
+ # order_by while iterating through pages.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::ListJobsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::ListJobsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_project_location_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
+ command.response_representation = Google::Apis::CloudschedulerV1::ListJobsResponse::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::ListJobsResponse
+ 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 job.
+ # If successful, the updated Job is returned. If the job does
+ # not exist, `NOT_FOUND` is returned.
+ # If UpdateJob does not successfully return, it is possible for the
+ # job to be in an Job.State.UPDATE_FAILED state. A job in this state may
+ # not be executed. If this happens, retry the UpdateJob request
+ # until a successful response is received.
+ # @param [String] name
+ # Optionally caller-specified in CreateJob, after
+ # which it becomes output only.
+ # The job name. For example:
+ # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+ # * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
+ # hyphens (-), colons (:), or periods (.).
+ # For more information, see
+ # [Identifying
+ # projects](https://cloud.google.com/resource-manager/docs/creating-managing-
+ # projects#identifying_projects)
+ # * `LOCATION_ID` is the canonical ID for the job's location.
+ # The list of available locations can be obtained by calling
+ # ListLocations.
+ # For more information, see https://cloud.google.com/about/locations/.
+ # * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
+ # hyphens (-), or underscores (_). The maximum length is 500 characters.
+ # @param [Google::Apis::CloudschedulerV1::Job] job_object
+ # @param [String] update_mask
+ # A mask used to specify which fields of the job are being updated.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::Job] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::Job]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patch_project_location_job(name, job_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::CloudschedulerV1::Job::Representation
+ command.request_object = job_object
+ command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::Job
+ 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
+
+ # Pauses a job.
+ # If a job is paused then the system will stop executing the job
+ # until it is re-enabled via ResumeJob. The
+ # state of the job is stored in state; if paused it
+ # will be set to Job.State.PAUSED. A job must be in Job.State.ENABLED
+ # to be paused.
+ # @param [String] name
+ # Required.
+ # The job name. For example:
+ # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+ # @param [Google::Apis::CloudschedulerV1::PauseJobRequest] pause_job_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::Job] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::Job]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def pause_job(name, pause_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/{+name}:pause', options)
+ command.request_representation = Google::Apis::CloudschedulerV1::PauseJobRequest::Representation
+ command.request_object = pause_job_request_object
+ command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::Job
+ 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
+
+ # Resume a job.
+ # This method reenables a job after it has been Job.State.PAUSED. The
+ # state of a job is stored in Job.state; after calling this method it
+ # will be set to Job.State.ENABLED. A job must be in
+ # Job.State.PAUSED to be resumed.
+ # @param [String] name
+ # Required.
+ # The job name. For example:
+ # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+ # @param [Google::Apis::CloudschedulerV1::ResumeJobRequest] resume_job_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::Job] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::Job]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def resume_job(name, resume_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/{+name}:resume', options)
+ command.request_representation = Google::Apis::CloudschedulerV1::ResumeJobRequest::Representation
+ command.request_object = resume_job_request_object
+ command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::Job
+ 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
+
+ # Forces a job to run now.
+ # When this method is called, Cloud Scheduler will dispatch the job, even
+ # if the job is already running.
+ # @param [String] name
+ # Required.
+ # The job name. For example:
+ # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+ # @param [Google::Apis::CloudschedulerV1::RunJobRequest] run_job_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::CloudschedulerV1::Job] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CloudschedulerV1::Job]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def run_job(name, run_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1/{+name}:run', options)
+ command.request_representation = Google::Apis::CloudschedulerV1::RunJobRequest::Representation
+ command.request_object = run_job_request_object
+ command.response_representation = Google::Apis::CloudschedulerV1::Job::Representation
+ command.response_class = Google::Apis::CloudschedulerV1::Job
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ protected
+
+ def apply_command_defaults(command)
+ command.query['key'] = key unless key.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/cloudsearch_v1.rb b/generated/google/apis/cloudsearch_v1.rb
index d56309c91..6c45b754a 100644
--- a/generated/google/apis/cloudsearch_v1.rb
+++ b/generated/google/apis/cloudsearch_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://gsuite.google.com/products/cloud-search/
module CloudsearchV1
VERSION = 'V1'
- REVISION = '20190321'
+ REVISION = '20190406'
# Index and serve your organization's data with Cloud Search
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
diff --git a/generated/google/apis/cloudsearch_v1/classes.rb b/generated/google/apis/cloudsearch_v1/classes.rb
index 150e28419..8ef978504 100644
--- a/generated/google/apis/cloudsearch_v1/classes.rb
+++ b/generated/google/apis/cloudsearch_v1/classes.rb
@@ -269,6 +269,9 @@ module Google
# Filters with the same object type are joined conjunctively, then
# the resulting expressions are joined disjunctively.
# The maximum number of elements is 20.
+ # NOTE: Suggest API supports only few filters at the moment:
+ # "objecttype", "type" and "mimetype".
+ # For now, schema specific filters cannot be used to filter suggestions.
# Corresponds to the JSON property `filterOptions`
# @return [Array]
attr_accessor :filter_options
@@ -425,8 +428,8 @@ module Google
class DebugOptions
include Google::Apis::Core::Hashable
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# Corresponds to the JSON property `enableDebugging`
# @return [Boolean]
attr_accessor :enable_debugging
@@ -2611,7 +2614,7 @@ module Google
end
end
- # A people suggestion.
+ # This field contains information about the person being suggested.
class PeopleSuggestion
include Google::Apis::Core::Hashable
@@ -3304,7 +3307,8 @@ module Google
end
end
- # A completed query suggestion.
+ # This field does not contain anything as of now and is just used as an
+ # indicator that the suggest result was a phrase completion.
class QuerySuggestion
include Google::Apis::Core::Hashable
@@ -3362,6 +3366,10 @@ module Google
# For more information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# For translations.
+ # When specified, the documents in search results are biased towards the
+ # specified language.
+ # Suggest API does not use this parameter. It autocompletes only based on
+ # characters in the query.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
@@ -4441,11 +4449,15 @@ module Google
# The sources to use for suggestions. If not specified, all data sources
# from the current search application are used.
+ # Suggestions are based on Gmail titles. Suggestions from third party sources
+ # are not available.
# Corresponds to the JSON property `dataSourceRestrictions`
# @return [Array]
attr_accessor :data_source_restrictions
- # Partial query for the completion suggestion.
+ # Partial query for which autocomplete suggestions will be shown.
+ # For example, if the query is "sea", then the server might return
+ # "season", "search", "seagull" and so on.
# Corresponds to the JSON property `query`
# @return [String]
attr_accessor :query
@@ -4471,7 +4483,7 @@ module Google
class SuggestResponse
include Google::Apis::Core::Hashable
- # List of suggestion results.
+ # List of suggestions.
# Corresponds to the JSON property `suggestResults`
# @return [Array]
attr_accessor :suggest_results
@@ -4490,12 +4502,13 @@ module Google
class SuggestResult
include Google::Apis::Core::Hashable
- # A people suggestion.
+ # This field contains information about the person being suggested.
# Corresponds to the JSON property `peopleSuggestion`
# @return [Google::Apis::CloudsearchV1::PeopleSuggestion]
attr_accessor :people_suggestion
- # A completed query suggestion.
+ # This field does not contain anything as of now and is just used as an
+ # indicator that the suggest result was a phrase completion.
# Corresponds to the JSON property `querySuggestion`
# @return [Google::Apis::CloudsearchV1::QuerySuggestion]
attr_accessor :query_suggestion
diff --git a/generated/google/apis/cloudsearch_v1/service.rb b/generated/google/apis/cloudsearch_v1/service.rb
index a7dd6bc68..ccfaadbe2 100644
--- a/generated/google/apis/cloudsearch_v1/service.rb
+++ b/generated/google/apis/cloudsearch_v1/service.rb
@@ -54,8 +54,8 @@ module Google
# datasources/`source_id`/items/`item_id`
# @param [Google::Apis::CloudsearchV1::Principal] principal_object
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -126,8 +126,8 @@ module Google
# The name of the item, in the following format:
# datasources/`source_id`/items/`ID`
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [Fixnum] page_size
# Maximum number of items to fetch in a request.
# Defaults to 100.
@@ -168,8 +168,8 @@ module Google
# The name of the identity source, in the following format:
# identitysources/`source_id``
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] group_resource_name
# @param [Fixnum] page_size
# Maximum number of items to fetch in a request.
@@ -214,8 +214,8 @@ module Google
# The name of the identity source, in the following format:
# identitysources/`source_id`
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [Fixnum] page_size
# Maximum number of items to fetch in a request.
# Defaults to 100.
@@ -259,8 +259,8 @@ module Google
# Name of the data source to delete Schema. Format:
# datasources/`source_id`
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -294,8 +294,8 @@ module Google
# Name of the data source to get Schema. Format:
# datasources/`source_id`
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -367,8 +367,8 @@ module Google
# Name of connector making this call.
#
Format: datasources/`source_id`/connectors/`ID`
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] mode
# Required. The RequestMode for this request.
# @param [String] version
@@ -455,8 +455,8 @@ module Google
# Name of connector making this call.
#
Format: datasources/`source_id`/connectors/`ID`
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -542,8 +542,8 @@ module Google
# Name of connector making this call.
#
Format: datasources/`source_id`/connectors/`ID`
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [Fixnum] page_size
# Maximum number of items to fetch in a request.
# The max value is 1000 when brief is true. The max value is 10 if brief
@@ -903,13 +903,17 @@ module Google
# @param [String] page_token
# Number of sources to return in the response.
# @param [Boolean] request_options_debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] request_options_language_code
# The BCP-47 language code, such as "en-US" or "sr-Latn".
# For more information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# For translations.
+ # When specified, the documents in search results are biased towards the
+ # specified language.
+ # Suggest API does not use this parameter. It autocompletes only based on
+ # characters in the query.
# @param [String] request_options_search_application_id
# Id of the application created using SearchApplicationsService.
# @param [String] request_options_time_zone
@@ -984,8 +988,8 @@ module Google
# Name of the datasource.
# Format: datasources/`source_id`.
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1019,8 +1023,8 @@ module Google
# Name of the datasource resource.
# Format: datasources/`source_id`.
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1051,8 +1055,8 @@ module Google
# Lists datasources.
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [Fixnum] page_size
# Maximum number of datasources to fetch in a request.
# The max value is 100.
@@ -1158,8 +1162,8 @@ module Google
# The name of the search application to be deleted.
#
Format: applications/`application_id`.
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1193,8 +1197,8 @@ module Google
# Name of the search application.
#
Format: applications/`application_id`.
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1225,8 +1229,8 @@ module Google
# Lists all search applications.
# @param [Boolean] debug_options_enable_debugging
- # If set, the request will enable debugging features of Cloud Search.
- # Only turn on this field, if asked by Google to help with debugging.
+ # If you are asked by Google to help with debugging, set this field.
+ # Otherwise, ignore this field.
# @param [Fixnum] page_size
# The maximum number of items to return.
# @param [String] page_token
diff --git a/generated/google/apis/cloudtasks_v2.rb b/generated/google/apis/cloudtasks_v2.rb
index 60d2d0219..f53d7307d 100644
--- a/generated/google/apis/cloudtasks_v2.rb
+++ b/generated/google/apis/cloudtasks_v2.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/
module CloudtasksV2
VERSION = 'V2'
- REVISION = '20190326'
+ REVISION = '20190412'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudtasks_v2/service.rb b/generated/google/apis/cloudtasks_v2/service.rb
index 553a81e7c..367d8fc96 100644
--- a/generated/google/apis/cloudtasks_v2/service.rb
+++ b/generated/google/apis/cloudtasks_v2/service.rb
@@ -124,9 +124,9 @@ module Google
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/
- # docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
# @param [String] parent
# Required.
# The location name in which the queue will be created.
@@ -171,9 +171,9 @@ module Google
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/
- # docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
# @param [String] name
# Required.
# The queue name. For example:
@@ -288,8 +288,8 @@ module Google
# field can be used as a filter and several operators as supported.
# For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
# described in
- # [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/
- # view/advanced_filters).
+ # [Stackdriver's Advanced Logs
+ # Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
# Sample filter "state: PAUSED".
# Note that using filters might cause fewer queues than the
# requested page_size to be returned.
@@ -348,9 +348,9 @@ module Google
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/
- # docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
# @param [String] name
# Caller-specified and required in CreateQueue,
# after which it becomes output only.
@@ -490,8 +490,8 @@ module Google
# WARNING: Resuming many high-QPS queues at the same time can
# lead to target overloading. If you are resuming high-QPS
# queues, follow the 500/50/5 pattern described in
- # [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/
- # manage-cloud-task-scaling).
+ # [Managing Cloud Tasks Scaling
+ # Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
# @param [String] name
# Required.
# The queue name. For example:
diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb
index 5ba7dc00d..178097b2d 100644
--- a/generated/google/apis/cloudtasks_v2beta2.rb
+++ b/generated/google/apis/cloudtasks_v2beta2.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/
module CloudtasksV2beta2
VERSION = 'V2beta2'
- REVISION = '20190326'
+ REVISION = '20190412'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudtasks_v2beta2/service.rb b/generated/google/apis/cloudtasks_v2beta2/service.rb
index e965e9fda..9241e9dfd 100644
--- a/generated/google/apis/cloudtasks_v2beta2/service.rb
+++ b/generated/google/apis/cloudtasks_v2beta2/service.rb
@@ -124,9 +124,9 @@ module Google
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/
- # docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
# @param [String] parent
# Required.
# The location name in which the queue will be created.
@@ -171,9 +171,9 @@ module Google
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/
- # docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
# @param [String] name
# Required.
# The queue name. For example:
@@ -288,8 +288,8 @@ module Google
# field can be used as a filter and several operators as supported.
# For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
# described in
- # [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/
- # view/advanced_filters).
+ # [Stackdriver's Advanced Logs
+ # Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
# Sample filter "app_engine_http_target: *".
# Note that using filters might cause fewer queues than the
# requested_page size to be returned.
@@ -348,9 +348,9 @@ module Google
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/
- # docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
# @param [String] name
# Caller-specified and required in CreateQueue,
# after which it becomes output only.
@@ -490,8 +490,8 @@ module Google
# WARNING: Resuming many high-QPS queues at the same time can
# lead to target overloading. If you are resuming high-QPS
# queues, follow the 500/50/5 pattern described in
- # [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/
- # manage-cloud-task-scaling).
+ # [Managing Cloud Tasks Scaling
+ # Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
# @param [String] name
# Required.
# The queue name. For example:
diff --git a/generated/google/apis/cloudtasks_v2beta3.rb b/generated/google/apis/cloudtasks_v2beta3.rb
index b0b3a86e1..4b3d3fbe5 100644
--- a/generated/google/apis/cloudtasks_v2beta3.rb
+++ b/generated/google/apis/cloudtasks_v2beta3.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/
module CloudtasksV2beta3
VERSION = 'V2beta3'
- REVISION = '20190326'
+ REVISION = '20190412'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/cloudtasks_v2beta3/service.rb b/generated/google/apis/cloudtasks_v2beta3/service.rb
index 6316b192a..7ca7aef4b 100644
--- a/generated/google/apis/cloudtasks_v2beta3/service.rb
+++ b/generated/google/apis/cloudtasks_v2beta3/service.rb
@@ -124,9 +124,9 @@ module Google
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/
- # docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
# @param [String] parent
# Required.
# The location name in which the queue will be created.
@@ -171,9 +171,9 @@ module Google
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/
- # docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
# @param [String] name
# Required.
# The queue name. For example:
@@ -288,8 +288,8 @@ module Google
# field can be used as a filter and several operators as supported.
# For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
# described in
- # [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/
- # view/advanced_filters).
+ # [Stackdriver's Advanced Logs
+ # Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
# Sample filter "state: PAUSED".
# Note that using filters might cause fewer queues than the
# requested page_size to be returned.
@@ -348,9 +348,9 @@ module Google
# WARNING: Using this method may have unintended side effects if you are
# using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
# Read
- # [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/
- # docs/queue-yaml)
- # before using this method.
+ # [Overview of Queue Management and
+ # queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ # this method.
# @param [String] name
# Caller-specified and required in CreateQueue,
# after which it becomes output only.
@@ -490,8 +490,8 @@ module Google
# WARNING: Resuming many high-QPS queues at the same time can
# lead to target overloading. If you are resuming high-QPS
# queues, follow the 500/50/5 pattern described in
- # [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/
- # manage-cloud-task-scaling).
+ # [Managing Cloud Tasks Scaling
+ # Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
# @param [String] name
# Required.
# The queue name. For example:
diff --git a/generated/google/apis/commentanalyzer_v1alpha1.rb b/generated/google/apis/commentanalyzer_v1alpha1.rb
new file mode 100644
index 000000000..4e400f1d5
--- /dev/null
+++ b/generated/google/apis/commentanalyzer_v1alpha1.rb
@@ -0,0 +1,39 @@
+# 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/commentanalyzer_v1alpha1/service.rb'
+require 'google/apis/commentanalyzer_v1alpha1/classes.rb'
+require 'google/apis/commentanalyzer_v1alpha1/representations.rb'
+
+module Google
+ module Apis
+ # Perspective Comment Analyzer API
+ #
+ # The Perspective Comment Analyzer API provides information about the potential
+ # impact of a comment on a conversation (e.g. it can provide a score for the "
+ # toxicity" of a comment). Users can leverage the "SuggestCommentScore" method
+ # to submit corrections to improve Perspective over time. Users can set the "
+ # doNotStore" flag to ensure that all submitted comments are automatically
+ # deleted after scores are returned.
+ #
+ # @see https://conversationai.github.io/
+ module CommentanalyzerV1alpha1
+ VERSION = 'V1alpha1'
+ REVISION = '20190414'
+
+ # View your email address
+ AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
+ end
+ end
+end
diff --git a/generated/google/apis/commentanalyzer_v1alpha1/classes.rb b/generated/google/apis/commentanalyzer_v1alpha1/classes.rb
new file mode 100644
index 000000000..92d14f7de
--- /dev/null
+++ b/generated/google/apis/commentanalyzer_v1alpha1/classes.rb
@@ -0,0 +1,484 @@
+# 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 CommentanalyzerV1alpha1
+
+ # The comment analysis request message.
+ class AnalyzeCommentRequest
+ include Google::Apis::Core::Hashable
+
+ # Opaque token that is echoed from the request to the response.
+ # Corresponds to the JSON property `clientToken`
+ # @return [String]
+ attr_accessor :client_token
+
+ # Represents a body of text.
+ # Corresponds to the JSON property `comment`
+ # @return [Google::Apis::CommentanalyzerV1alpha1::TextEntry]
+ attr_accessor :comment
+
+ # Optional identifier associating this AnalyzeCommentRequest with a
+ # particular client's community. Different communities may have different
+ # norms and rules. Specifying this value enables us to explore building
+ # community-specific models for clients.
+ # Corresponds to the JSON property `communityId`
+ # @return [String]
+ attr_accessor :community_id
+
+ # Context is typically something that a Comment is referencing or replying to
+ # (such as an article, or previous comment).
+ # Note: Populate only ONE OF the following fields. The oneof syntax cannot be
+ # used because that would require nesting entries inside another message and
+ # breaking backwards compatibility. The server will return an error if more
+ # than one of the following fields is present.
+ # Corresponds to the JSON property `context`
+ # @return [Google::Apis::CommentanalyzerV1alpha1::Context]
+ attr_accessor :context
+
+ # Do not store the comment or context sent in this request. By default, the
+ # service may store comments/context for debugging purposes.
+ # Corresponds to the JSON property `doNotStore`
+ # @return [Boolean]
+ attr_accessor :do_not_store
+ alias_method :do_not_store?, :do_not_store
+
+ # The language(s) of the comment and context (if none are specified, the
+ # language is automatically detected). If multiple languages are specified,
+ # the text is checked in all of them that are supported. Both ISO and BCP-47
+ # language codes are accepted.
+ # Current Language Restrictions:
+ # * Only English text ("en") is supported.
+ # If none of the languages specified by the caller are supported, an
+ # `UNIMPLEMENTED` error is returned.
+ # Corresponds to the JSON property `languages`
+ # @return [Array]
+ attr_accessor :languages
+
+ # Specification of requested attributes. The AttributeParameters serve as
+ # configuration for each associated attribute. The map keys are attribute
+ # names. The following attributes are available:
+ # "ATTACK_ON_AUTHOR" - Attack on author of original article or post.
+ # "ATTACK_ON_COMMENTER" - Attack on fellow commenter.
+ # "ATTACK_ON_PUBLISHER" - Attack on publisher of article/post.
+ # "INCOHERENT" - Difficult to understand, nonsensical.
+ # "INFLAMMATORY" - Intending to provoke or inflame.
+ # "OBSCENE" - Obscene, such as cursing.
+ # "OFF_TOPIC" - Not related to the original topic.
+ # "SPAM" - Commercial/advertising spam content.
+ # "UNSUBSTANTIAL" - Trivial.
+ # Corresponds to the JSON property `requestedAttributes`
+ # @return [Hash]
+ attr_accessor :requested_attributes
+
+ # Session ID. Used to join related RPCs into a single session. For example,
+ # an interactive tool that calls both the AnalyzeComment and
+ # SuggestCommentScore RPCs should set all invocations of both RPCs to the
+ # same Session ID, typically a random 64-bit integer.
+ # Corresponds to the JSON property `sessionId`
+ # @return [String]
+ attr_accessor :session_id
+
+ # An advisory parameter that will return span annotations if the model
+ # is capable of providing scores with sub-comment resolution. This will
+ # likely increase the size of the returned message.
+ # Corresponds to the JSON property `spanAnnotations`
+ # @return [Boolean]
+ attr_accessor :span_annotations
+ alias_method :span_annotations?, :span_annotations
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @client_token = args[:client_token] if args.key?(:client_token)
+ @comment = args[:comment] if args.key?(:comment)
+ @community_id = args[:community_id] if args.key?(:community_id)
+ @context = args[:context] if args.key?(:context)
+ @do_not_store = args[:do_not_store] if args.key?(:do_not_store)
+ @languages = args[:languages] if args.key?(:languages)
+ @requested_attributes = args[:requested_attributes] if args.key?(:requested_attributes)
+ @session_id = args[:session_id] if args.key?(:session_id)
+ @span_annotations = args[:span_annotations] if args.key?(:span_annotations)
+ end
+ end
+
+ # The comment analysis response message.
+ class AnalyzeCommentResponse
+ include Google::Apis::Core::Hashable
+
+ # Scores for the requested attributes. The map keys are attribute names (same
+ # as the requested_attribute field in AnalyzeCommentRequest, for example
+ # "ATTACK_ON_AUTHOR", "INFLAMMATORY", etc).
+ # Corresponds to the JSON property `attributeScores`
+ # @return [Hash]
+ attr_accessor :attribute_scores
+
+ # Same token from the original AnalyzeCommentRequest.
+ # Corresponds to the JSON property `clientToken`
+ # @return [String]
+ attr_accessor :client_token
+
+ # Contains the language as detected from the text content. If no language
+ # was specified in the request, the first (the most likely) language is used
+ # to select an appropriate model. Sorted in order of likelihood.
+ # Corresponds to the JSON property `detectedLanguages`
+ # @return [Array]
+ attr_accessor :detected_languages
+
+ # The language(s) requested by the client, as specified in the request. If
+ # the request did not specify any language, this will be empty and the
+ # detected_languages field will be populated.
+ # Corresponds to the JSON property `languages`
+ # @return [Array]
+ attr_accessor :languages
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @attribute_scores = args[:attribute_scores] if args.key?(:attribute_scores)
+ @client_token = args[:client_token] if args.key?(:client_token)
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
+ @languages = args[:languages] if args.key?(:languages)
+ end
+ end
+
+ # A type of context specific to a comment left on a single-threaded comment
+ # message board, where comments are either a top level comment or the child of
+ # a top level comment.
+ class ArticleAndParentComment
+ include Google::Apis::Core::Hashable
+
+ # Represents a body of text.
+ # Corresponds to the JSON property `article`
+ # @return [Google::Apis::CommentanalyzerV1alpha1::TextEntry]
+ attr_accessor :article
+
+ # Represents a body of text.
+ # Corresponds to the JSON property `parentComment`
+ # @return [Google::Apis::CommentanalyzerV1alpha1::TextEntry]
+ attr_accessor :parent_comment
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @article = args[:article] if args.key?(:article)
+ @parent_comment = args[:parent_comment] if args.key?(:parent_comment)
+ end
+ end
+
+ # Configurable parameters for attribute scoring.
+ class AttributeParameters
+ include Google::Apis::Core::Hashable
+
+ # Don't return scores for this attribute that are below this threshold. If
+ # unset, a default threshold will be applied. A FloatValue wrapper is used to
+ # distinguish between 0 vs. default/unset.
+ # Corresponds to the JSON property `scoreThreshold`
+ # @return [Float]
+ attr_accessor :score_threshold
+
+ # What type of scores to return. If unset, defaults to probability scores.
+ # Corresponds to the JSON property `scoreType`
+ # @return [String]
+ attr_accessor :score_type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @score_threshold = args[:score_threshold] if args.key?(:score_threshold)
+ @score_type = args[:score_type] if args.key?(:score_type)
+ end
+ end
+
+ # This holds score values for a single attribute. It contains both per-span
+ # scores as well as an overall summary score..
+ class AttributeScores
+ include Google::Apis::Core::Hashable
+
+ # Per-span scores.
+ # Corresponds to the JSON property `spanScores`
+ # @return [Array]
+ attr_accessor :span_scores
+
+ # Analysis scores are described by a value and a ScoreType.
+ # Corresponds to the JSON property `summaryScore`
+ # @return [Google::Apis::CommentanalyzerV1alpha1::Score]
+ attr_accessor :summary_score
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @span_scores = args[:span_scores] if args.key?(:span_scores)
+ @summary_score = args[:summary_score] if args.key?(:summary_score)
+ end
+ end
+
+ # Context is typically something that a Comment is referencing or replying to
+ # (such as an article, or previous comment).
+ # Note: Populate only ONE OF the following fields. The oneof syntax cannot be
+ # used because that would require nesting entries inside another message and
+ # breaking backwards compatibility. The server will return an error if more
+ # than one of the following fields is present.
+ class Context
+ include Google::Apis::Core::Hashable
+
+ # A type of context specific to a comment left on a single-threaded comment
+ # message board, where comments are either a top level comment or the child of
+ # a top level comment.
+ # Corresponds to the JSON property `articleAndParentComment`
+ # @return [Google::Apis::CommentanalyzerV1alpha1::ArticleAndParentComment]
+ attr_accessor :article_and_parent_comment
+
+ # A list of messages. For example, a linear comments section or forum thread.
+ # Corresponds to the JSON property `entries`
+ # @return [Array]
+ attr_accessor :entries
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @article_and_parent_comment = args[:article_and_parent_comment] if args.key?(:article_and_parent_comment)
+ @entries = args[:entries] if args.key?(:entries)
+ end
+ end
+
+ # Analysis scores are described by a value and a ScoreType.
+ class Score
+ include Google::Apis::Core::Hashable
+
+ # The type of the above value.
+ # Corresponds to the JSON property `type`
+ # @return [String]
+ attr_accessor :type
+
+ # Score value. Semantics described by type below.
+ # Corresponds to the JSON property `value`
+ # @return [Float]
+ attr_accessor :value
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @type = args[:type] if args.key?(:type)
+ @value = args[:value] if args.key?(:value)
+ end
+ end
+
+ # This is a single score for a given span of text.
+ class SpanScore
+ include Google::Apis::Core::Hashable
+
+ # "begin" and "end" describe the span of the original text that the attribute
+ # score applies to. The values are the UTF-16 codepoint range. "end" is
+ # exclusive. For example, with the text "Hi there", the begin/end pair (0,2)
+ # describes the text "Hi".
+ # If "begin" and "end" are unset, the score applies to the full text.
+ # Corresponds to the JSON property `begin`
+ # @return [Fixnum]
+ attr_accessor :begin
+
+ #
+ # Corresponds to the JSON property `end`
+ # @return [Fixnum]
+ attr_accessor :end
+
+ # Analysis scores are described by a value and a ScoreType.
+ # Corresponds to the JSON property `score`
+ # @return [Google::Apis::CommentanalyzerV1alpha1::Score]
+ attr_accessor :score
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @begin = args[:begin] if args.key?(:begin)
+ @end = args[:end] if args.key?(:end)
+ @score = args[:score] if args.key?(:score)
+ end
+ end
+
+ # The comment score suggestion request message.
+ class SuggestCommentScoreRequest
+ include Google::Apis::Core::Hashable
+
+ # Attribute scores for the comment. The map keys are attribute names, same as
+ # the requested_attribute field in AnalyzeCommentRequest (for example
+ # "ATTACK_ON_AUTHOR", "INFLAMMATORY", etc.). This field has the same type as
+ # the `attribute_scores` field in AnalyzeCommentResponse.
+ # To specify an overall attribute score for the entire comment as a whole,
+ # use the `summary_score` field of the mapped AttributeScores object. To
+ # specify scores on specific subparts of the comment, use the `span_scores`
+ # field. All SpanScore objects must have begin and end fields set.
+ # All Score objects must be explicitly set (for binary classification, use
+ # the score values 0 and 1). If Score objects don't include a ScoreType,
+ # `PROBABILITY` is assumed.
+ # `attribute_scores` must not be empty. The mapped AttributeScores objects
+ # also must not be empty. An `INVALID_ARGUMENT` error is returned for all
+ # malformed requests.
+ # Corresponds to the JSON property `attributeScores`
+ # @return [Hash]
+ attr_accessor :attribute_scores
+
+ # Opaque token that is echoed from the request to the response.
+ # Corresponds to the JSON property `clientToken`
+ # @return [String]
+ attr_accessor :client_token
+
+ # Represents a body of text.
+ # Corresponds to the JSON property `comment`
+ # @return [Google::Apis::CommentanalyzerV1alpha1::TextEntry]
+ attr_accessor :comment
+
+ # Optional identifier associating this comment score suggestion with a
+ # particular sub-community. Different communities may have different norms
+ # and rules. Specifying this value enables training community-specific
+ # models.
+ # Corresponds to the JSON property `communityId`
+ # @return [String]
+ attr_accessor :community_id
+
+ # Context is typically something that a Comment is referencing or replying to
+ # (such as an article, or previous comment).
+ # Note: Populate only ONE OF the following fields. The oneof syntax cannot be
+ # used because that would require nesting entries inside another message and
+ # breaking backwards compatibility. The server will return an error if more
+ # than one of the following fields is present.
+ # Corresponds to the JSON property `context`
+ # @return [Google::Apis::CommentanalyzerV1alpha1::Context]
+ attr_accessor :context
+
+ # The language(s) of the comment and context (if none are specified, the
+ # language is automatically detected). If multiple languages are specified,
+ # the text is checked in all of them that are supported. Both ISO and BCP-47
+ # language codes are accepted.
+ # Current Language Restrictions:
+ # * Only English text ("en") is supported.
+ # If none of the languages specified by the caller are supported, an
+ # `UNIMPLEMENTED` error is returned.
+ # Corresponds to the JSON property `languages`
+ # @return [Array]
+ attr_accessor :languages
+
+ # Session ID. Used to join related RPCs into a single session. For example,
+ # an interactive tool that calls both the AnalyzeComment and
+ # SuggestCommentScore RPCs should set all invocations of both RPCs to the
+ # same Session ID, typically a random 64-bit integer.
+ # Corresponds to the JSON property `sessionId`
+ # @return [String]
+ attr_accessor :session_id
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @attribute_scores = args[:attribute_scores] if args.key?(:attribute_scores)
+ @client_token = args[:client_token] if args.key?(:client_token)
+ @comment = args[:comment] if args.key?(:comment)
+ @community_id = args[:community_id] if args.key?(:community_id)
+ @context = args[:context] if args.key?(:context)
+ @languages = args[:languages] if args.key?(:languages)
+ @session_id = args[:session_id] if args.key?(:session_id)
+ end
+ end
+
+ # The comment score suggestion response message.
+ class SuggestCommentScoreResponse
+ include Google::Apis::Core::Hashable
+
+ # Same token from the original SuggestCommentScoreRequest.
+ # Corresponds to the JSON property `clientToken`
+ # @return [String]
+ attr_accessor :client_token
+
+ # The list of languages detected from the comment text.
+ # Corresponds to the JSON property `detectedLanguages`
+ # @return [Array]
+ attr_accessor :detected_languages
+
+ # The list of languages provided in the request.
+ # Corresponds to the JSON property `requestedLanguages`
+ # @return [Array]
+ attr_accessor :requested_languages
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @client_token = args[:client_token] if args.key?(:client_token)
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
+ @requested_languages = args[:requested_languages] if args.key?(:requested_languages)
+ end
+ end
+
+ # Represents a body of text.
+ class TextEntry
+ include Google::Apis::Core::Hashable
+
+ # UTF-8 encoded text.
+ # Corresponds to the JSON property `text`
+ # @return [String]
+ attr_accessor :text
+
+ # Type of the text field.
+ # 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)
+ @text = args[:text] if args.key?(:text)
+ @type = args[:type] if args.key?(:type)
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/commentanalyzer_v1alpha1/representations.rb b/generated/google/apis/commentanalyzer_v1alpha1/representations.rb
new file mode 100644
index 000000000..d91d93d2f
--- /dev/null
+++ b/generated/google/apis/commentanalyzer_v1alpha1/representations.rb
@@ -0,0 +1,210 @@
+# 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 CommentanalyzerV1alpha1
+
+ class AnalyzeCommentRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AnalyzeCommentResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ArticleAndParentComment
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AttributeParameters
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AttributeScores
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Context
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Score
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SpanScore
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SuggestCommentScoreRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SuggestCommentScoreResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class TextEntry
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AnalyzeCommentRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :client_token, as: 'clientToken'
+ property :comment, as: 'comment', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
+
+ property :community_id, as: 'communityId'
+ property :context, as: 'context', class: Google::Apis::CommentanalyzerV1alpha1::Context, decorator: Google::Apis::CommentanalyzerV1alpha1::Context::Representation
+
+ property :do_not_store, as: 'doNotStore'
+ collection :languages, as: 'languages'
+ hash :requested_attributes, as: 'requestedAttributes', class: Google::Apis::CommentanalyzerV1alpha1::AttributeParameters, decorator: Google::Apis::CommentanalyzerV1alpha1::AttributeParameters::Representation
+
+ property :session_id, as: 'sessionId'
+ property :span_annotations, as: 'spanAnnotations'
+ end
+ end
+
+ class AnalyzeCommentResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ hash :attribute_scores, as: 'attributeScores', class: Google::Apis::CommentanalyzerV1alpha1::AttributeScores, decorator: Google::Apis::CommentanalyzerV1alpha1::AttributeScores::Representation
+
+ property :client_token, as: 'clientToken'
+ collection :detected_languages, as: 'detectedLanguages'
+ collection :languages, as: 'languages'
+ end
+ end
+
+ class ArticleAndParentComment
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :article, as: 'article', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
+
+ property :parent_comment, as: 'parentComment', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
+
+ end
+ end
+
+ class AttributeParameters
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :score_threshold, as: 'scoreThreshold'
+ property :score_type, as: 'scoreType'
+ end
+ end
+
+ class AttributeScores
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :span_scores, as: 'spanScores', class: Google::Apis::CommentanalyzerV1alpha1::SpanScore, decorator: Google::Apis::CommentanalyzerV1alpha1::SpanScore::Representation
+
+ property :summary_score, as: 'summaryScore', class: Google::Apis::CommentanalyzerV1alpha1::Score, decorator: Google::Apis::CommentanalyzerV1alpha1::Score::Representation
+
+ end
+ end
+
+ class Context
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :article_and_parent_comment, as: 'articleAndParentComment', class: Google::Apis::CommentanalyzerV1alpha1::ArticleAndParentComment, decorator: Google::Apis::CommentanalyzerV1alpha1::ArticleAndParentComment::Representation
+
+ collection :entries, as: 'entries', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
+
+ end
+ end
+
+ class Score
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :type, as: 'type'
+ property :value, as: 'value'
+ end
+ end
+
+ class SpanScore
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :begin, as: 'begin'
+ property :end, as: 'end'
+ property :score, as: 'score', class: Google::Apis::CommentanalyzerV1alpha1::Score, decorator: Google::Apis::CommentanalyzerV1alpha1::Score::Representation
+
+ end
+ end
+
+ class SuggestCommentScoreRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ hash :attribute_scores, as: 'attributeScores', class: Google::Apis::CommentanalyzerV1alpha1::AttributeScores, decorator: Google::Apis::CommentanalyzerV1alpha1::AttributeScores::Representation
+
+ property :client_token, as: 'clientToken'
+ property :comment, as: 'comment', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
+
+ property :community_id, as: 'communityId'
+ property :context, as: 'context', class: Google::Apis::CommentanalyzerV1alpha1::Context, decorator: Google::Apis::CommentanalyzerV1alpha1::Context::Representation
+
+ collection :languages, as: 'languages'
+ property :session_id, as: 'sessionId'
+ end
+ end
+
+ class SuggestCommentScoreResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :client_token, as: 'clientToken'
+ collection :detected_languages, as: 'detectedLanguages'
+ collection :requested_languages, as: 'requestedLanguages'
+ end
+ end
+
+ class TextEntry
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :text, as: 'text'
+ property :type, as: 'type'
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/commentanalyzer_v1alpha1/service.rb b/generated/google/apis/commentanalyzer_v1alpha1/service.rb
new file mode 100644
index 000000000..10ee38749
--- /dev/null
+++ b/generated/google/apis/commentanalyzer_v1alpha1/service.rb
@@ -0,0 +1,124 @@
+# Copyright 2015 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'google/apis/core/base_service'
+require 'google/apis/core/json_representation'
+require 'google/apis/core/hashable'
+require 'google/apis/errors'
+
+module Google
+ module Apis
+ module CommentanalyzerV1alpha1
+ # Perspective Comment Analyzer API
+ #
+ # The Perspective Comment Analyzer API provides information about the potential
+ # impact of a comment on a conversation (e.g. it can provide a score for the "
+ # toxicity" of a comment). Users can leverage the "SuggestCommentScore" method
+ # to submit corrections to improve Perspective over time. Users can set the "
+ # doNotStore" flag to ensure that all submitted comments are automatically
+ # deleted after scores are returned.
+ #
+ # @example
+ # require 'google/apis/commentanalyzer_v1alpha1'
+ #
+ # Commentanalyzer = Google::Apis::CommentanalyzerV1alpha1 # Alias the module
+ # service = Commentanalyzer::CommentAnalyzerService.new
+ #
+ # @see https://conversationai.github.io/
+ class CommentAnalyzerService < Google::Apis::Core::BaseService
+ # @return [String]
+ # API key. Your API key identifies your project and provides you with API access,
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
+ attr_accessor :key
+
+ # @return [String]
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ attr_accessor :quota_user
+
+ def initialize
+ super('https://commentanalyzer.googleapis.com/', '')
+ @batch_path = 'batch'
+ end
+
+ # Analyzes the provided text and returns scores for requested attributes.
+ # @param [Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentRequest] analyze_comment_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::CommentanalyzerV1alpha1::AnalyzeCommentResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def analyze_comment(analyze_comment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1alpha1/comments:analyze', options)
+ command.request_representation = Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentRequest::Representation
+ command.request_object = analyze_comment_request_object
+ command.response_representation = Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentResponse::Representation
+ command.response_class = Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentResponse
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Suggest comment scores as training data.
+ # @param [Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreRequest] suggest_comment_score_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::CommentanalyzerV1alpha1::SuggestCommentScoreResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def suggestscore_comment(suggest_comment_score_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1alpha1/comments:suggestscore', options)
+ command.request_representation = Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreRequest::Representation
+ command.request_object = suggest_comment_score_request_object
+ command.response_representation = Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreResponse::Representation
+ command.response_class = Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreResponse
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ protected
+
+ def apply_command_defaults(command)
+ command.query['key'] = key unless key.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/compute_alpha.rb b/generated/google/apis/compute_alpha.rb
index 0eb8bc1b8..b6e2bdf6d 100644
--- a/generated/google/apis/compute_alpha.rb
+++ b/generated/google/apis/compute_alpha.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
- REVISION = '20190308'
+ REVISION = '20190403'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/compute_alpha/classes.rb b/generated/google/apis/compute_alpha/classes.rb
index ed07b28f3..085482d29 100644
--- a/generated/google/apis/compute_alpha/classes.rb
+++ b/generated/google/apis/compute_alpha/classes.rb
@@ -1374,6 +1374,13 @@ module Google
# @return [Array]
attr_accessor :replica_zones
+ # Resource policies applied to this disk for automatic snapshot creations.
+ # Specified using the full or partial URL. For instance template, specify only
+ # the resource policy name.
+ # Corresponds to the JSON property `resourcePolicies`
+ # @return [Array]
+ attr_accessor :resource_policies
+
# The source image to create this disk. When creating a new instance, one of
# initializeParams.sourceImage or disks.source is required except for local SSD.
# To create a disk with one of the public operating system images, specify the
@@ -1428,6 +1435,7 @@ module Google
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
@labels = args[:labels] if args.key?(:labels)
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@source_image = args[:source_image] if args.key?(:source_image)
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
@@ -4706,7 +4714,7 @@ module Google
# @return [String]
attr_accessor :replacement
- # The deprecation state of this resource. This can be ACTIVE DEPRECATED,
+ # The deprecation state of this resource. This can be ACTIVE, DEPRECATED,
# OBSOLETE, or DELETED. Operations which communicate the end of life date for an
# image, can use ACTIVE. Operations which create a new resource using a
# DEPRECATED resource will return successfully, but with a warning indicating
@@ -4869,6 +4877,24 @@ module Google
# @return [Fixnum]
attr_accessor :size_gb
+ # The source disk used to create this disk. You can provide this as a partial or
+ # full URL to the resource. For example, the following are valid values:
+ # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
+ # - projects/project/zones/zone/disks/disk
+ # - zones/zone/disks/disk
+ # Corresponds to the JSON property `sourceDisk`
+ # @return [String]
+ attr_accessor :source_disk
+
+ # [Output Only] The unique ID of the disk used to create this disk. This value
+ # identifies the exact disk that was used to create this persistent disk. For
+ # example, if you created the persistent disk from a disk that was later deleted
+ # and recreated under the same name, the source disk ID would identify the exact
+ # version of the disk that was used.
+ # Corresponds to the JSON property `sourceDiskId`
+ # @return [String]
+ attr_accessor :source_disk_id
+
# The source image used to create this disk. If the source image is deleted,
# this field will not be set.
# To create a disk with one of the public operating system images, specify the
@@ -4984,6 +5010,8 @@ module Google
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@self_link = args[:self_link] if args.key?(:self_link)
@size_gb = args[:size_gb] if args.key?(:size_gb)
+ @source_disk = args[:source_disk] if args.key?(:source_disk)
+ @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
@source_image = args[:source_image] if args.key?(:source_image)
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
@@ -6877,7 +6905,8 @@ module Google
# [Output Only] Absolute value of VM instances calculated based on the specific
# mode.
#
- # - If the value is fixed, then the caculated value is equal to the fixed value.
+ # - If the value is fixed, then the calculated value is equal to the fixed value.
+ #
# - If the value is a percent, then the calculated value is percent/100 *
# targetSize. For example, the calculated value of a 80% of a managed instance
# group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
@@ -7567,6 +7596,44 @@ module Google
end
end
+ #
+ class GlobalNetworkEndpointGroupsAttachEndpointsRequest
+ include Google::Apis::Core::Hashable
+
+ # The list of network endpoints to be attached.
+ # Corresponds to the JSON property `networkEndpoints`
+ # @return [Array]
+ attr_accessor :network_endpoints
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
+ end
+ end
+
+ #
+ class GlobalNetworkEndpointGroupsDetachEndpointsRequest
+ include Google::Apis::Core::Hashable
+
+ # The list of network endpoints to be detached.
+ # Corresponds to the JSON property `networkEndpoints`
+ # @return [Array]
+ attr_accessor :network_endpoints
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
+ end
+ end
+
#
class GlobalSetLabelsRequest
include Google::Apis::Core::Hashable
@@ -8134,9 +8201,9 @@ module Google
# @return [Fixnum]
attr_accessor :timeout_sec
- # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not
- # specified, the default is TCP. Exactly one of the protocol-specific health
- # check field must be specified, which must match type field.
+ # Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
+ # If not specified, the default is TCP. Exactly one of the protocol-specific
+ # health check field must be specified, which must match type field.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -11265,8 +11332,11 @@ module Google
# @return [Array]
attr_accessor :named_ports
- # [Output Only] The list of instance actions and the number of instances in this
- # managed instance group that are pending for each of those actions.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The list
+ # of instance actions and the number of instances in this managed instance group
+ # that are pending for each of those actions.
# Corresponds to the JSON property `pendingActions`
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerPendingActionsSummary]
attr_accessor :pending_actions
@@ -11327,8 +11397,8 @@ module Google
# Specifies the instance templates used by this managed instance group to create
# instances.
- # Each version is defined by an instanceTemplate. Every template can appear at
- # most once per instance group. This field overrides the top-level
+ # Each version is defined by an instanceTemplate and a name. Every version can
+ # appear at most once per instance group. This field overrides the top-level
# instanceTemplate field. Read more about the relationships between these fields.
# Exactly one version must leave the targetSize field unset. That version will
# be applied to all remaining instances. For more information, read about canary
@@ -11742,26 +11812,34 @@ module Google
class InstanceGroupManagerPendingActionsSummary
include Google::Apis::Core::Hashable
- # [Output Only] The number of instances in the managed instance group that are
- # pending to be created.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The number
+ # of instances in the managed instance group that are pending to be created.
# Corresponds to the JSON property `creating`
# @return [Fixnum]
attr_accessor :creating
- # [Output Only] The number of instances in the managed instance group that are
- # pending to be deleted.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The number
+ # of instances in the managed instance group that are pending to be deleted.
# Corresponds to the JSON property `deleting`
# @return [Fixnum]
attr_accessor :deleting
- # [Output Only] The number of instances in the managed instance group that are
- # pending to be recreated.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The number
+ # of instances in the managed instance group that are pending to be recreated.
# Corresponds to the JSON property `recreating`
# @return [Fixnum]
attr_accessor :recreating
- # [Output Only] The number of instances in the managed instance group that are
- # pending to be restarted.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The number
+ # of instances in the managed instance group that are pending to be restarted.
# Corresponds to the JSON property `restarting`
# @return [Fixnum]
attr_accessor :restarting
@@ -11899,7 +11977,9 @@ module Google
class InstanceGroupManagerVersion
include Google::Apis::Core::Hashable
- #
+ # The URL of the instance template that is specified for this managed instance
+ # group. The group uses this template to create new instances in the managed
+ # instance group until the `targetSize` for this version is reached.
# Corresponds to the JSON property `instanceTemplate`
# @return [String]
attr_accessor :instance_template
@@ -13429,6 +13509,57 @@ module Google
end
end
+ #
+ class InstancesGetEffectiveFirewallsResponse
+ include Google::Apis::Core::Hashable
+
+ # Effective firewalls on the instance.
+ # Corresponds to the JSON property `firewalls`
+ # @return [Array]
+ attr_accessor :firewalls
+
+ # Effective firewalls from organization policies.
+ # Corresponds to the JSON property `organizationFirewalls`
+ # @return [Array]
+ attr_accessor :organization_firewalls
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @firewalls = args[:firewalls] if args.key?(:firewalls)
+ @organization_firewalls = args[:organization_firewalls] if args.key?(:organization_firewalls)
+ end
+ end
+
+ # A pruned SecurityPolicy containing ID and any applicable firewall rules.
+ class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
+ include Google::Apis::Core::Hashable
+
+ # The unique identifier for the security policy. This identifier is defined by
+ # the server.
+ # Corresponds to the JSON property `id`
+ # @return [Fixnum]
+ attr_accessor :id
+
+ # The rules that apply to the network.
+ # Corresponds to the JSON property `rules`
+ # @return [Array]
+ attr_accessor :rules
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @id = args[:id] if args.key?(:id)
+ @rules = args[:rules] if args.key?(:rules)
+ end
+ end
+
#
class InstancesRemoveResourcePoliciesRequest
include Google::Apis::Core::Hashable
@@ -15962,6 +16093,39 @@ module Google
end
end
+ #
+ class LocalDisk
+ include Google::Apis::Core::Hashable
+
+ # Specifies the number of such disks.
+ # Corresponds to the JSON property `diskCount`
+ # @return [String]
+ attr_accessor :disk_count
+
+ # Specifies the size of the disk in base-2 GB.
+ # Corresponds to the JSON property `diskSizeGb`
+ # @return [String]
+ attr_accessor :disk_size_gb
+
+ # Specifies the desired disk type on the node. This disk type must be a local
+ # storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be
+ # the name of the disk type and not its URL.
+ # Corresponds to the JSON property `diskType`
+ # @return [String]
+ attr_accessor :disk_type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @disk_count = args[:disk_count] if args.key?(:disk_count)
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
+ end
+ end
+
# Specifies what kind of log the caller must write
class LogConfig
include Google::Apis::Core::Hashable
@@ -17368,6 +17532,13 @@ module Google
# @return [String]
attr_accessor :load_balancer_vm_encryption
+ # The multicast mode for this network. If set to ZONAL, multicast is allowed
+ # within a zone. If set to DISABLED, multicast is disabled for this network. The
+ # default is DISABLED.
+ # Corresponds to the JSON property `multicastMode`
+ # @return [String]
+ attr_accessor :multicast_mode
+
# Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -17421,6 +17592,7 @@ module Google
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@load_balancer_vm_encryption = args[:load_balancer_vm_encryption] if args.key?(:load_balancer_vm_encryption)
+ @multicast_mode = args[:multicast_mode] if args.key?(:multicast_mode)
@name = args[:name] if args.key?(:name)
@peerings = args[:peerings] if args.key?(:peerings)
@routing_config = args[:routing_config] if args.key?(:routing_config)
@@ -17924,6 +18096,13 @@ module Google
class NetworkEndpointGroupsListEndpointsRequest
include Google::Apis::Core::Hashable
+ # Optional list of endpoints to query. This is a more efficient but also limited
+ # version of filter parameter. Endpoints in the filter must have ip_address and
+ # port fields populated, other fields are not supported.
+ # Corresponds to the JSON property `endpointFilters`
+ # @return [Array]
+ attr_accessor :endpoint_filters
+
# Optional query parameter for showing the health status of each network
# endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter,
# the health status of network endpoints will not be provided.
@@ -17937,10 +18116,30 @@ module Google
# Update properties of this object
def update!(**args)
+ @endpoint_filters = args[:endpoint_filters] if args.key?(:endpoint_filters)
@health_status = args[:health_status] if args.key?(:health_status)
end
end
+ #
+ class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter
+ include Google::Apis::Core::Hashable
+
+ # The network endpoint.
+ # Corresponds to the JSON property `networkEndpoint`
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpoint]
+ attr_accessor :network_endpoint
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint)
+ end
+ end
+
#
class NetworkEndpointGroupsListNetworkEndpoints
include Google::Apis::Core::Hashable
@@ -18197,6 +18396,11 @@ module Google
# @return [String]
attr_accessor :fingerprint
+ # [Output Only] An IPv6 internal network address for this network interface.
+ # Corresponds to the JSON property `ipv6Address`
+ # @return [String]
+ attr_accessor :ipv6_address
+
# [Output Only] Type of the resource. Always compute#networkInterface for
# network interfaces.
# Corresponds to the JSON property `kind`
@@ -18254,6 +18458,7 @@ module Google
@access_configs = args[:access_configs] if args.key?(:access_configs)
@alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@@ -18576,6 +18781,57 @@ module Google
end
end
+ #
+ class NetworksGetEffectiveFirewallsResponse
+ include Google::Apis::Core::Hashable
+
+ # Effective firewalls on the network.
+ # Corresponds to the JSON property `firewalls`
+ # @return [Array]
+ attr_accessor :firewalls
+
+ # Effective firewalls from organization policies.
+ # Corresponds to the JSON property `organizationFirewalls`
+ # @return [Array]
+ attr_accessor :organization_firewalls
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @firewalls = args[:firewalls] if args.key?(:firewalls)
+ @organization_firewalls = args[:organization_firewalls] if args.key?(:organization_firewalls)
+ end
+ end
+
+ # A pruned SecurityPolicy containing ID and any applicable firewall rules.
+ class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] The unique identifier for the security policy. This identifier
+ # is defined by the server.
+ # Corresponds to the JSON property `id`
+ # @return [Fixnum]
+ attr_accessor :id
+
+ # The rules that apply to the network.
+ # Corresponds to the JSON property `rules`
+ # @return [Array]
+ attr_accessor :rules
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @id = args[:id] if args.key?(:id)
+ @rules = args[:rules] if args.key?(:rules)
+ end
+ end
+
#
class NetworksRemovePeeringRequest
include Google::Apis::Core::Hashable
@@ -18616,7 +18872,10 @@ module Google
end
end
- # A NodeGroup resource.
+ # A NodeGroup resource. To create a node group, you must first create a node
+ # templates. To learn more about node groups and sole-tenant nodes, read the
+ # Sole-tenant nodes documentation. (== resource_for beta.nodeGroups ==) (==
+ # resource_for v1.nodeGroups ==)
class NodeGroup
include Google::Apis::Core::Hashable
@@ -18648,6 +18907,11 @@ module Google
# @return [String]
attr_accessor :kind
+ #
+ # Corresponds to the JSON property `managedHoldback`
+ # @return [String]
+ attr_accessor :managed_holdback
+
# The name of the resource, provided by the client when initially creating the
# resource. The resource name must be 1-63 characters long, and comply with
# RFC1035. Specifically, the name must be 1-63 characters long and match the
@@ -18701,6 +18965,7 @@ module Google
@description = args[:description] if args.key?(:description)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
+ @managed_holdback = args[:managed_holdback] if args.key?(:managed_holdback)
@name = args[:name] if args.key?(:name)
@node_template = args[:node_template] if args.key?(:node_template)
@self_link = args[:self_link] if args.key?(:self_link)
@@ -18976,6 +19241,11 @@ module Google
class NodeGroupNode
include Google::Apis::Core::Hashable
+ # Local disk configurations.
+ # Corresponds to the JSON property `disks`
+ # @return [Array]
+ attr_accessor :disks
+
# Instances scheduled on this node.
# Corresponds to the JSON property `instances`
# @return [Array]
@@ -19007,6 +19277,7 @@ module Google
# Update properties of this object
def update!(**args)
+ @disks = args[:disks] if args.key?(:disks)
@instances = args[:instances] if args.key?(:instances)
@name = args[:name] if args.key?(:name)
@node_type = args[:node_type] if args.key?(:node_type)
@@ -19301,7 +19572,9 @@ module Google
end
end
- # A Node Template resource.
+ # A Node Template resource. To learn more about node templates and sole-tenant
+ # nodes, read the Sole-tenant nodes documentation. (== resource_for beta.
+ # nodeTemplates ==) (== resource_for v1.nodeTemplates ==)
class NodeTemplate
include Google::Apis::Core::Hashable
@@ -19316,6 +19589,11 @@ module Google
# @return [String]
attr_accessor :description
+ #
+ # Corresponds to the JSON property `disks`
+ # @return [Array]
+ attr_accessor :disks
+
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
@@ -19397,6 +19675,7 @@ module Google
def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
+ @disks = args[:disks] if args.key?(:disks)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@@ -24248,6 +24527,11 @@ module Google
# @return [Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicy]
attr_accessor :snapshot_schedule_policy
+ # [Output Only] The status of resource policy creation.
+ # Corresponds to the JSON property `status`
+ # @return [String]
+ attr_accessor :status
+
# Resource policy applicable to VMs for infrastructure maintenance.
# Corresponds to the JSON property `vmMaintenancePolicy`
# @return [Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy]
@@ -24269,6 +24553,7 @@ module Google
@self_link = args[:self_link] if args.key?(:self_link)
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
+ @status = args[:status] if args.key?(:status)
@vm_maintenance_policy = args[:vm_maintenance_policy] if args.key?(:vm_maintenance_policy)
end
end
@@ -24927,6 +25212,13 @@ module Google
# @return [String]
attr_accessor :next_hop_instance
+ # [Output Only] The URL to an InterconnectAttachment which is the next hop for
+ # the route. This field will only be populated for the dynamic routes generated
+ # by Cloud Router with a linked interconnectAttachment.
+ # Corresponds to the JSON property `nextHopInterconnectAttachment`
+ # @return [String]
+ attr_accessor :next_hop_interconnect_attachment
+
# The network IP address of an instance that should handle matching packets.
# Only IPv4 is supported.
# Corresponds to the JSON property `nextHopIp`
@@ -24994,6 +25286,7 @@ module Google
@next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
+ @next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
@next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
@@ -25623,11 +25916,11 @@ module Google
# @return [Fixnum]
attr_accessor :min_transmit_interval
- # The BFD session initiation mode for this BGP peer. If set to ACTIVE, the Cloud
- # Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the
- # Cloud Router will wait for the peer router to initiate the BFD session for
- # this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The
- # default is PASSIVE.
+ # The BFD session initialization mode for this BGP peer. If set to ACTIVE, the
+ # Cloud Router will initiate the BFD session for this BGP peer. If set to
+ # PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
+ # session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
+ # peer. The default is PASSIVE.
# Corresponds to the JSON property `mode`
# @return [String]
attr_accessor :mode
@@ -26635,6 +26928,14 @@ module Google
attr_accessor :automatic_restart
alias_method :automatic_restart?, :automatic_restart
+ # Defines whether the instance is tolerant of higher cpu latency. This can only
+ # be set during instance creation, or when the instance is not currently running.
+ # It must not be set if the preemptible option is also set.
+ # Corresponds to the JSON property `latencyTolerant`
+ # @return [Boolean]
+ attr_accessor :latency_tolerant
+ alias_method :latency_tolerant?, :latency_tolerant
+
# The minimum number of virtual CPUs this instance will consume when running on
# a sole-tenant node.
# Corresponds to the JSON property `minNodeCpus`
@@ -26669,6 +26970,7 @@ module Google
# Update properties of this object
def update!(**args)
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
+ @latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
@@ -35483,6 +35785,7 @@ module Google
end
# A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)
+ # Next ID: 17
class Zone
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb
index 4d51627a2..abac7bcbf 100644
--- a/generated/google/apis/compute_alpha/representations.rb
+++ b/generated/google/apis/compute_alpha/representations.rb
@@ -976,6 +976,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class GlobalNetworkEndpointGroupsAttachEndpointsRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GlobalNetworkEndpointGroupsDetachEndpointsRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GlobalSetLabelsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1714,6 +1726,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class InstancesGetEffectiveFirewallsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class InstancesRemoveResourcePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -2062,6 +2086,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class LocalDisk
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class LogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -2344,6 +2374,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class NetworkEndpointGroupsListNetworkEndpoints
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -2428,6 +2464,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class NetworksGetEffectiveFirewallsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class NetworksRemovePeeringRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -5279,6 +5327,7 @@ module Google
hash :labels, as: 'labels'
collection :replica_zones, as: 'replicaZones'
+ collection :resource_policies, as: 'resourcePolicies'
property :source_image, as: 'sourceImage'
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
@@ -6116,6 +6165,8 @@ module Google
collection :resource_policies, as: 'resourcePolicies'
property :self_link, as: 'selfLink'
property :size_gb, :numeric_string => true, as: 'sizeGb'
+ property :source_disk, as: 'sourceDisk'
+ property :source_disk_id, as: 'sourceDiskId'
property :source_image, as: 'sourceImage'
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
@@ -6751,6 +6802,22 @@ module Google
end
end
+ class GlobalNetworkEndpointGroupsAttachEndpointsRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeAlpha::NetworkEndpoint, decorator: Google::Apis::ComputeAlpha::NetworkEndpoint::Representation
+
+ end
+ end
+
+ class GlobalNetworkEndpointGroupsDetachEndpointsRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeAlpha::NetworkEndpoint, decorator: Google::Apis::ComputeAlpha::NetworkEndpoint::Representation
+
+ end
+ end
+
class GlobalSetLabelsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -8207,6 +8274,25 @@ module Google
end
end
+ class InstancesGetEffectiveFirewallsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :firewalls, as: 'firewalls', class: Google::Apis::ComputeAlpha::Firewall, decorator: Google::Apis::ComputeAlpha::Firewall::Representation
+
+ collection :organization_firewalls, as: 'organizationFirewalls', class: Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy, decorator: Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy::Representation
+
+ end
+ end
+
+ class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :id, :numeric_string => true, as: 'id'
+ collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::SecurityPolicyRule, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
+
+ end
+ end
+
class InstancesRemoveResourcePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -8848,6 +8934,15 @@ module Google
end
end
+ class LocalDisk
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :disk_count, as: 'diskCount'
+ property :disk_size_gb, as: 'diskSizeGb'
+ property :disk_type, as: 'diskType'
+ end
+ end
+
class LogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -9214,6 +9309,7 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :load_balancer_vm_encryption, as: 'loadBalancerVmEncryption'
+ property :multicast_mode, as: 'multicastMode'
property :name, as: 'name'
collection :peerings, as: 'peerings', class: Google::Apis::ComputeAlpha::NetworkPeering, decorator: Google::Apis::ComputeAlpha::NetworkPeering::Representation
@@ -9352,10 +9448,20 @@ module Google
class NetworkEndpointGroupsListEndpointsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ collection :endpoint_filters, as: 'endpointFilters', class: Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter, decorator: Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter::Representation
+
property :health_status, as: 'healthStatus'
end
end
+ class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :network_endpoint, as: 'networkEndpoint', class: Google::Apis::ComputeAlpha::NetworkEndpoint, decorator: Google::Apis::ComputeAlpha::NetworkEndpoint::Representation
+
+ end
+ end
+
class NetworkEndpointGroupsListNetworkEndpoints
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -9433,6 +9539,7 @@ module Google
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeAlpha::AliasIpRange, decorator: Google::Apis::ComputeAlpha::AliasIpRange::Representation
property :fingerprint, :base64 => true, as: 'fingerprint'
+ property :ipv6_address, as: 'ipv6Address'
property :kind, as: 'kind'
property :name, as: 'name'
property :network, as: 'network'
@@ -9510,6 +9617,25 @@ module Google
end
end
+ class NetworksGetEffectiveFirewallsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :firewalls, as: 'firewalls', class: Google::Apis::ComputeAlpha::Firewall, decorator: Google::Apis::ComputeAlpha::Firewall::Representation
+
+ collection :organization_firewalls, as: 'organizationFirewalls', class: Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy, decorator: Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy::Representation
+
+ end
+ end
+
+ class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :id, :numeric_string => true, as: 'id'
+ collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::SecurityPolicyRule, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
+
+ end
+ end
+
class NetworksRemovePeeringRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -9534,6 +9660,7 @@ module Google
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
+ property :managed_holdback, as: 'managedHoldback'
property :name, as: 'name'
property :node_template, as: 'nodeTemplate'
property :self_link, as: 'selfLink'
@@ -9619,6 +9746,8 @@ module Google
class NodeGroupNode
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
+
collection :instances, as: 'instances'
property :name, as: 'name'
property :node_type, as: 'nodeType'
@@ -9722,6 +9851,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
+ collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
+
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
@@ -11044,6 +11175,7 @@ module Google
property :self_link_with_id, as: 'selfLinkWithId'
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicy::Representation
+ property :status, as: 'status'
property :vm_maintenance_policy, as: 'vmMaintenancePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy::Representation
end
@@ -11230,6 +11362,7 @@ module Google
property :next_hop_gateway, as: 'nextHopGateway'
property :next_hop_ilb, as: 'nextHopIlb'
property :next_hop_instance, as: 'nextHopInstance'
+ property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment'
property :next_hop_ip, as: 'nextHopIp'
property :next_hop_network, as: 'nextHopNetwork'
property :next_hop_peering, as: 'nextHopPeering'
@@ -11628,6 +11761,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :automatic_restart, as: 'automaticRestart'
+ property :latency_tolerant, as: 'latencyTolerant'
property :min_node_cpus, as: 'minNodeCpus'
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeAlpha::SchedulingNodeAffinity, decorator: Google::Apis::ComputeAlpha::SchedulingNodeAffinity::Representation
diff --git a/generated/google/apis/compute_alpha/service.rb b/generated/google/apis/compute_alpha/service.rb
index 919bb5c9f..dffa8d7c8 100644
--- a/generated/google/apis/compute_alpha/service.rb
+++ b/generated/google/apis/compute_alpha/service.rb
@@ -4897,6 +4897,393 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Attach a network endpoint to the specified network endpoint group.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group where you are attaching network
+ # endpoints to. It should comply with RFC1035.
+ # @param [Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsAttachEndpointsRequest] global_network_endpoint_groups_attach_endpoints_request_object
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeAlpha::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def attach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
+ command.request_representation = Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsAttachEndpointsRequest::Representation
+ command.request_object = global_network_endpoint_groups_attach_endpoints_request_object
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
+ command.response_class = Google::Apis::ComputeAlpha::Operation
+ command.params['project'] = project unless project.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes the specified network endpoint group.Note that the NEG cannot be
+ # deleted if there are backend services referencing it.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group to delete. It should comply with
+ # RFC1035.
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeAlpha::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_global_network_endpoint_group(project, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:delete, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options)
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
+ command.response_class = Google::Apis::ComputeAlpha::Operation
+ command.params['project'] = project unless project.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Detach the network endpoint from the specified network endpoint group.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group where you are removing network
+ # endpoints. It should comply with RFC1035.
+ # @param [Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsDetachEndpointsRequest] global_network_endpoint_groups_detach_endpoints_request_object
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeAlpha::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def detach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
+ command.request_representation = Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsDetachEndpointsRequest::Representation
+ command.request_object = global_network_endpoint_groups_detach_endpoints_request_object
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
+ command.response_class = Google::Apis::ComputeAlpha::Operation
+ command.params['project'] = project unless project.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns the specified network endpoint group. Gets a list of available network
+ # endpoint groups by making a list() request.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group. It should comply with RFC1035.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroup] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroup]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_global_network_endpoint_group(project, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options)
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
+ command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup
+ command.params['project'] = project unless project.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a network endpoint group in the specified project using the parameters
+ # that are included in the request.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [Google::Apis::ComputeAlpha::NetworkEndpointGroup] network_endpoint_group_object
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeAlpha::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def insert_global_network_endpoint_group(project, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, '{project}/global/networkEndpointGroups', options)
+ command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
+ command.request_object = network_endpoint_group_object
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
+ command.response_class = Google::Apis::ComputeAlpha::Operation
+ command.params['project'] = project unless project.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Retrieves the list of network endpoint groups that are located in the
+ # specified project.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] filter
+ # A filter expression that filters resources listed in the response. The
+ # expression must specify the field name, a comparison operator, and the value
+ # that you want to use for filtering. The value must be a string, a number, or a
+ # boolean. The comparison operator must be either =, !=, >, or <.
+ # For example, if you are filtering Compute Engine instances, you can exclude
+ # instances named example-instance by specifying name != example-instance.
+ # You can also filter nested fields. For example, you could specify scheduling.
+ # automaticRestart = false to include instances only if they are not scheduled
+ # for automatic restarts. You can use filtering on nested fields to filter based
+ # on resource labels.
+ # To filter on multiple expressions, provide each separate expression within
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
+ # Intel Skylake"). By default, each expression is an AND expression. However,
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
+ # automaticRestart = true).
+ # @param [Fixnum] max_results
+ # The maximum number of results per page that should be returned. If the number
+ # of available results is larger than maxResults, Compute Engine returns a
+ # nextPageToken that can be used to get the next page of results in subsequent
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
+ # @param [String] order_by
+ # Sorts list results by a certain order. By default, results are returned in
+ # alphanumerical order based on the resource name.
+ # You can also sort results in descending order based on the creation timestamp
+ # using orderBy="creationTimestamp desc". This sorts results based on the
+ # creationTimestamp field in reverse chronological order (newest result first).
+ # Use this to sort resources like operations so that the newest operation is
+ # returned first.
+ # Currently, only sorting by name or creationTimestamp desc is supported.
+ # @param [String] page_token
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
+ # a previous list request to get the next page of results.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupList] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupList]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_global_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, '{project}/global/networkEndpointGroups', options)
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation
+ command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList
+ command.params['project'] = project unless project.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['maxResults'] = max_results unless max_results.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists the network endpoints in the specified network endpoint group.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group from which you want to generate a list
+ # of included network endpoints. It should comply with RFC1035.
+ # @param [String] filter
+ # A filter expression that filters resources listed in the response. The
+ # expression must specify the field name, a comparison operator, and the value
+ # that you want to use for filtering. The value must be a string, a number, or a
+ # boolean. The comparison operator must be either =, !=, >, or <.
+ # For example, if you are filtering Compute Engine instances, you can exclude
+ # instances named example-instance by specifying name != example-instance.
+ # You can also filter nested fields. For example, you could specify scheduling.
+ # automaticRestart = false to include instances only if they are not scheduled
+ # for automatic restarts. You can use filtering on nested fields to filter based
+ # on resource labels.
+ # To filter on multiple expressions, provide each separate expression within
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
+ # Intel Skylake"). By default, each expression is an AND expression. However,
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
+ # automaticRestart = true).
+ # @param [Fixnum] max_results
+ # The maximum number of results per page that should be returned. If the number
+ # of available results is larger than maxResults, Compute Engine returns a
+ # nextPageToken that can be used to get the next page of results in subsequent
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
+ # @param [String] order_by
+ # Sorts list results by a certain order. By default, results are returned in
+ # alphanumerical order based on the resource name.
+ # You can also sort results in descending order based on the creation timestamp
+ # using orderBy="creationTimestamp desc". This sorts results based on the
+ # creationTimestamp field in reverse chronological order (newest result first).
+ # Use this to sort resources like operations so that the newest operation is
+ # returned first.
+ # Currently, only sorting by name or creationTimestamp desc is supported.
+ # @param [String] page_token
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
+ # a previous list request to get the next page of results.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation
+ command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
+ command.params['project'] = project unless project.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['maxResults'] = max_results unless max_results.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Retrieves an aggregated list of all operations.
# @param [String] project
# Project ID for this request.
@@ -9648,6 +10035,48 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Returns effective firewalls applied to an interface of the instance.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone for this request.
+ # @param [String] instance
+ # Name of the instance scoping this request.
+ # @param [String] network_interface
+ # The name of the network interface to get the effective firewalls.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_instance_effective_firewalls(project, zone, instance, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', options)
+ command.response_representation = Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse::Representation
+ command.response_class = Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.params['instance'] = instance unless instance.nil?
+ command.query['networkInterface'] = network_interface unless network_interface.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Returns the specified guest attributes entry.
# @param [String] project
# Project ID for this request.
@@ -14319,6 +14748,42 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Returns the effective firewalls on a given network.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] network
+ # Name of the network for this request.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, '{project}/global/networks/{network}/getEffectiveFirewalls', options)
+ command.response_representation = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse::Representation
+ command.response_class = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse
+ command.params['project'] = project unless project.nil?
+ command.params['network'] = network unless network.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Creates a network in the specified project using the data included in the
# request.
# @param [String] project
diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb
index 30e34bc5b..403cb044d 100644
--- a/generated/google/apis/compute_beta.rb
+++ b/generated/google/apis/compute_beta.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
- REVISION = '20190308'
+ REVISION = '20190403'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb
index b1b8a2873..9c8ce60ae 100644
--- a/generated/google/apis/compute_beta/classes.rb
+++ b/generated/google/apis/compute_beta/classes.rb
@@ -1319,6 +1319,13 @@ module Google
# @return [Hash]
attr_accessor :labels
+ # Resource policies applied to this disk for automatic snapshot creations.
+ # Specified using the full or partial URL. For instance template, specify only
+ # the resource policy name.
+ # Corresponds to the JSON property `resourcePolicies`
+ # @return [Array]
+ attr_accessor :resource_policies
+
# The source image to create this disk. When creating a new instance, one of
# initializeParams.sourceImage or disks.source is required except for local SSD.
# To create a disk with one of the public operating system images, specify the
@@ -1344,6 +1351,22 @@ module Google
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
attr_accessor :source_image_encryption_key
+ # The source snapshot to create this disk. When creating a new instance, one of
+ # initializeParams.sourceSnapshot or disks.source is required except for local
+ # SSD.
+ # To create a disk with a snapshot that you created, specify the snapshot name
+ # in the following format:
+ # global/snapshots/my-backup
+ # If the source snapshot is deleted later, this field will not be set.
+ # Corresponds to the JSON property `sourceSnapshot`
+ # @return [String]
+ attr_accessor :source_snapshot
+
+ # Represents a customer-supplied encryption key
+ # Corresponds to the JSON property `sourceSnapshotEncryptionKey`
+ # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
+ attr_accessor :source_snapshot_encryption_key
+
def initialize(**args)
update!(**args)
end
@@ -1356,8 +1379,11 @@ module Google
@disk_type = args[:disk_type] if args.key?(:disk_type)
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
@labels = args[:labels] if args.key?(:labels)
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@source_image = args[:source_image] if args.key?(:source_image)
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
+ @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
+ @source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
end
end
@@ -3945,7 +3971,7 @@ module Google
# @return [String]
attr_accessor :replacement
- # The deprecation state of this resource. This can be ACTIVE DEPRECATED,
+ # The deprecation state of this resource. This can be ACTIVE, DEPRECATED,
# OBSOLETE, or DELETED. Operations which communicate the end of life date for an
# image, can use ACTIVE. Operations which create a new resource using a
# DEPRECATED resource will return successfully, but with a warning indicating
@@ -6030,7 +6056,8 @@ module Google
# [Output Only] Absolute value of VM instances calculated based on the specific
# mode.
#
- # - If the value is fixed, then the caculated value is equal to the fixed value.
+ # - If the value is fixed, then the calculated value is equal to the fixed value.
+ #
# - If the value is a percent, then the calculated value is percent/100 *
# targetSize. For example, the calculated value of a 80% of a managed instance
# group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
@@ -7221,9 +7248,9 @@ module Google
# @return [Fixnum]
attr_accessor :timeout_sec
- # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not
- # specified, the default is TCP. Exactly one of the protocol-specific health
- # check field must be specified, which must match type field.
+ # Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
+ # If not specified, the default is TCP. Exactly one of the protocol-specific
+ # health check field must be specified, which must match type field.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -9152,8 +9179,11 @@ module Google
# @return [Array]
attr_accessor :named_ports
- # [Output Only] The list of instance actions and the number of instances in this
- # managed instance group that are pending for each of those actions.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The list
+ # of instance actions and the number of instances in this managed instance group
+ # that are pending for each of those actions.
# Corresponds to the JSON property `pendingActions`
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerPendingActionsSummary]
attr_accessor :pending_actions
@@ -9204,8 +9234,8 @@ module Google
# Specifies the instance templates used by this managed instance group to create
# instances.
- # Each version is defined by an instanceTemplate. Every template can appear at
- # most once per instance group. This field overrides the top-level
+ # Each version is defined by an instanceTemplate and a name. Every version can
+ # appear at most once per instance group. This field overrides the top-level
# instanceTemplate field. Read more about the relationships between these fields.
# Exactly one version must leave the targetSize field unset. That version will
# be applied to all remaining instances. For more information, read about canary
@@ -9611,26 +9641,34 @@ module Google
class InstanceGroupManagerPendingActionsSummary
include Google::Apis::Core::Hashable
- # [Output Only] The number of instances in the managed instance group that are
- # pending to be created.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The number
+ # of instances in the managed instance group that are pending to be created.
# Corresponds to the JSON property `creating`
# @return [Fixnum]
attr_accessor :creating
- # [Output Only] The number of instances in the managed instance group that are
- # pending to be deleted.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The number
+ # of instances in the managed instance group that are pending to be deleted.
# Corresponds to the JSON property `deleting`
# @return [Fixnum]
attr_accessor :deleting
- # [Output Only] The number of instances in the managed instance group that are
- # pending to be recreated.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The number
+ # of instances in the managed instance group that are pending to be recreated.
# Corresponds to the JSON property `recreating`
# @return [Fixnum]
attr_accessor :recreating
- # [Output Only] The number of instances in the managed instance group that are
- # pending to be restarted.
+ # [Deprecated] This field is deprecated and will be removed. Prefer using the
+ # status field instead. Please contact cloud-updater-feedback@google.com to
+ # leave feedback if your workload relies on this field. [Output Only] The number
+ # of instances in the managed instance group that are pending to be restarted.
# Corresponds to the JSON property `restarting`
# @return [Fixnum]
attr_accessor :restarting
@@ -9707,6 +9745,11 @@ module Google
class InstanceGroupManagerUpdatePolicy
include Google::Apis::Core::Hashable
+ #
+ # Corresponds to the JSON property `instanceRedistributionType`
+ # @return [String]
+ attr_accessor :instance_redistribution_type
+
# Encapsulates numeric value that can be either absolute or relative.
# Corresponds to the JSON property `maxSurge`
# @return [Google::Apis::ComputeBeta::FixedOrPercent]
@@ -9744,6 +9787,7 @@ module Google
# Update properties of this object
def update!(**args)
+ @instance_redistribution_type = args[:instance_redistribution_type] if args.key?(:instance_redistribution_type)
@max_surge = args[:max_surge] if args.key?(:max_surge)
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
@min_ready_sec = args[:min_ready_sec] if args.key?(:min_ready_sec)
@@ -9756,7 +9800,9 @@ module Google
class InstanceGroupManagerVersion
include Google::Apis::Core::Hashable
- #
+ # The URL of the instance template that is specified for this managed instance
+ # group. The group uses this template to create new instances in the managed
+ # instance group until the `targetSize` for this version is reached.
# Corresponds to the JSON property `instanceTemplate`
# @return [String]
attr_accessor :instance_template
@@ -15164,7 +15210,10 @@ module Google
end
end
- # A NodeGroup resource.
+ # A NodeGroup resource. To create a node group, you must first create a node
+ # templates. To learn more about node groups and sole-tenant nodes, read the
+ # Sole-tenant nodes documentation. (== resource_for beta.nodeGroups ==) (==
+ # resource_for v1.nodeGroups ==)
class NodeGroup
include Google::Apis::Core::Hashable
@@ -15793,7 +15842,9 @@ module Google
end
end
- # A Node Template resource.
+ # A Node Template resource. To learn more about node templates and sole-tenant
+ # nodes, read the Sole-tenant nodes documentation. (== resource_for beta.
+ # nodeTemplates ==) (== resource_for v1.nodeTemplates ==)
class NodeTemplate
include Google::Apis::Core::Hashable
@@ -19644,6 +19695,11 @@ module Google
# @return [Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicy]
attr_accessor :snapshot_schedule_policy
+ # [Output Only] The status of resource policy creation.
+ # Corresponds to the JSON property `status`
+ # @return [String]
+ attr_accessor :status
+
def initialize(**args)
update!(**args)
end
@@ -19658,6 +19714,7 @@ module Google
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
+ @status = args[:status] if args.key?(:status)
end
end
@@ -20236,6 +20293,13 @@ module Google
# @return [String]
attr_accessor :next_hop_instance
+ # [Output Only] The URL to an InterconnectAttachment which is the next hop for
+ # the route. This field will only be populated for the dynamic routes generated
+ # by Cloud Router with a linked interconnectAttachment.
+ # Corresponds to the JSON property `nextHopInterconnectAttachment`
+ # @return [String]
+ attr_accessor :next_hop_interconnect_attachment
+
# The network IP address of an instance that should handle matching packets.
# Only IPv4 is supported.
# Corresponds to the JSON property `nextHopIp`
@@ -20298,6 +20362,7 @@ module Google
@next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
+ @next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
@next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
@@ -28594,6 +28659,7 @@ module Google
end
# A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)
+ # Next ID: 17
class Zone
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb
index 525b0f027..d43004bf5 100644
--- a/generated/google/apis/compute_beta/representations.rb
+++ b/generated/google/apis/compute_beta/representations.rb
@@ -4364,9 +4364,13 @@ module Google
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
hash :labels, as: 'labels'
+ collection :resource_policies, as: 'resourcePolicies'
property :source_image, as: 'sourceImage'
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
+ property :source_snapshot, as: 'sourceSnapshot'
+ property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
+
end
end
@@ -6337,6 +6341,7 @@ module Google
class InstanceGroupManagerUpdatePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :instance_redistribution_type, as: 'instanceRedistributionType'
property :max_surge, as: 'maxSurge', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation
property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation
@@ -8971,6 +8976,7 @@ module Google
property :self_link, as: 'selfLink'
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy', class: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicy::Representation
+ property :status, as: 'status'
end
end
@@ -9129,6 +9135,7 @@ module Google
property :next_hop_gateway, as: 'nextHopGateway'
property :next_hop_ilb, as: 'nextHopIlb'
property :next_hop_instance, as: 'nextHopInstance'
+ property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment'
property :next_hop_ip, as: 'nextHopIp'
property :next_hop_network, as: 'nextHopNetwork'
property :next_hop_peering, as: 'nextHopPeering'
diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb
index a96f56380..80492932f 100644
--- a/generated/google/apis/compute_v1.rb
+++ b/generated/google/apis/compute_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
- REVISION = '20190308'
+ REVISION = '20190403'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb
index 866e387b2..e8fe5111c 100644
--- a/generated/google/apis/compute_v1/classes.rb
+++ b/generated/google/apis/compute_v1/classes.rb
@@ -1985,6 +1985,15 @@ module Google
# @return [Fixnum]
attr_accessor :max_connections
+ # The max number of simultaneous connections that a single backend network
+ # endpoint can handle. This is used to calculate the capacity of the group. Can
+ # be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION
+ # mode, either maxConnections or maxConnectionsPerEndpoint must be set.
+ # This cannot be used for internal load balancing.
+ # Corresponds to the JSON property `maxConnectionsPerEndpoint`
+ # @return [Fixnum]
+ attr_accessor :max_connections_per_endpoint
+
# The max number of simultaneous connections that a single backend instance can
# handle. This is used to calculate the capacity of the group. Can be used in
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
@@ -2002,6 +2011,15 @@ module Google
# @return [Fixnum]
attr_accessor :max_rate
+ # The max requests per second (RPS) that a single backend network endpoint can
+ # handle. This is used to calculate the capacity of the group. Can be used in
+ # either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint
+ # must be set.
+ # This cannot be used for internal load balancing.
+ # Corresponds to the JSON property `maxRatePerEndpoint`
+ # @return [Float]
+ attr_accessor :max_rate_per_endpoint
+
# The max requests per second (RPS) that a single backend instance can handle.
# This is used to calculate the capacity of the group. Can be used in either
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
@@ -2029,8 +2047,10 @@ module Google
@description = args[:description] if args.key?(:description)
@group = args[:group] if args.key?(:group)
@max_connections = args[:max_connections] if args.key?(:max_connections)
+ @max_connections_per_endpoint = args[:max_connections_per_endpoint] if args.key?(:max_connections_per_endpoint)
@max_connections_per_instance = args[:max_connections_per_instance] if args.key?(:max_connections_per_instance)
@max_rate = args[:max_rate] if args.key?(:max_rate)
+ @max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint)
@max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance)
@max_utilization = args[:max_utilization] if args.key?(:max_utilization)
end
@@ -2795,6 +2815,25 @@ module Google
end
end
+ #
+ class BackendServiceReference
+ include Google::Apis::Core::Hashable
+
+ #
+ # Corresponds to the JSON property `backendService`
+ # @return [String]
+ attr_accessor :backend_service
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @backend_service = args[:backend_service] if args.key?(:backend_service)
+ end
+ end
+
#
class BackendServicesScopedList
include Google::Apis::Core::Hashable
@@ -3609,7 +3648,7 @@ module Google
# @return [String]
attr_accessor :replacement
- # The deprecation state of this resource. This can be ACTIVE DEPRECATED,
+ # The deprecation state of this resource. This can be ACTIVE, DEPRECATED,
# OBSOLETE, or DELETED. Operations which communicate the end of life date for an
# image, can use ACTIVE. Operations which create a new resource using a
# DEPRECATED resource will return successfully, but with a warning indicating
@@ -5202,7 +5241,8 @@ module Google
# [Output Only] Absolute value of VM instances calculated based on the specific
# mode.
#
- # - If the value is fixed, then the caculated value is equal to the fixed value.
+ # - If the value is fixed, then the calculated value is equal to the fixed value.
+ #
# - If the value is a percent, then the calculated value is percent/100 *
# targetSize. For example, the calculated value of a 80% of a managed instance
# group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
@@ -5713,6 +5753,25 @@ module Google
end
end
+ #
+ class ForwardingRuleReference
+ include Google::Apis::Core::Hashable
+
+ #
+ # Corresponds to the JSON property `forwardingRule`
+ # @return [String]
+ attr_accessor :forwarding_rule
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
+ end
+ end
+
#
class ForwardingRulesScopedList
include Google::Apis::Core::Hashable
@@ -5934,6 +5993,26 @@ module Google
# @return [String]
attr_accessor :port_name
+ # Specifies how port is selected for health checking, can be one of following
+ # values:
+ # USE_FIXED_PORT: The port number in
+ # port
+ # is used for health checking.
+ # USE_NAMED_PORT: The
+ # portName
+ # is used for health checking.
+ # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
+ # network endpoint is used for health checking. For other backends, the port or
+ # named port specified in the Backend Service is used for health checking.
+ # If not specified, HTTP2 health check follows behavior specified in
+ # port
+ # and
+ # portName
+ # fields.
+ # Corresponds to the JSON property `portSpecification`
+ # @return [String]
+ attr_accessor :port_specification
+
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
@@ -5961,6 +6040,7 @@ module Google
@host = args[:host] if args.key?(:host)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
@response = args[:response] if args.key?(:response)
@@ -5990,6 +6070,26 @@ module Google
# @return [String]
attr_accessor :port_name
+ # Specifies how port is selected for health checking, can be one of following
+ # values:
+ # USE_FIXED_PORT: The port number in
+ # port
+ # is used for health checking.
+ # USE_NAMED_PORT: The
+ # portName
+ # is used for health checking.
+ # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
+ # network endpoint is used for health checking. For other backends, the port or
+ # named port specified in the Backend Service is used for health checking.
+ # If not specified, HTTP health check follows behavior specified in
+ # port
+ # and
+ # portName
+ # fields.
+ # Corresponds to the JSON property `portSpecification`
+ # @return [String]
+ attr_accessor :port_specification
+
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
@@ -6017,6 +6117,7 @@ module Google
@host = args[:host] if args.key?(:host)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
@response = args[:response] if args.key?(:response)
@@ -6046,6 +6147,26 @@ module Google
# @return [String]
attr_accessor :port_name
+ # Specifies how port is selected for health checking, can be one of following
+ # values:
+ # USE_FIXED_PORT: The port number in
+ # port
+ # is used for health checking.
+ # USE_NAMED_PORT: The
+ # portName
+ # is used for health checking.
+ # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
+ # network endpoint is used for health checking. For other backends, the port or
+ # named port specified in the Backend Service is used for health checking.
+ # If not specified, HTTPS health check follows behavior specified in
+ # port
+ # and
+ # portName
+ # fields.
+ # Corresponds to the JSON property `portSpecification`
+ # @return [String]
+ attr_accessor :port_specification
+
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
@@ -6073,6 +6194,7 @@ module Google
@host = args[:host] if args.key?(:host)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request_path = args[:request_path] if args.key?(:request_path)
@response = args[:response] if args.key?(:response)
@@ -6165,9 +6287,9 @@ module Google
# @return [Fixnum]
attr_accessor :timeout_sec
- # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not
- # specified, the default is TCP. Exactly one of the protocol-specific health
- # check field must be specified, which must match type field.
+ # Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
+ # If not specified, the default is TCP. Exactly one of the protocol-specific
+ # health check field must be specified, which must match type field.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -6381,6 +6503,51 @@ module Google
end
end
+ #
+ class HealthStatusForNetworkEndpoint
+ include Google::Apis::Core::Hashable
+
+ # URL of the backend service associated with the health state of the network
+ # endpoint.
+ # Corresponds to the JSON property `backendService`
+ # @return [Google::Apis::ComputeV1::BackendServiceReference]
+ attr_accessor :backend_service
+
+ # URL of the forwarding rule associated with the health state of the network
+ # endpoint.
+ # Corresponds to the JSON property `forwardingRule`
+ # @return [Google::Apis::ComputeV1::ForwardingRuleReference]
+ attr_accessor :forwarding_rule
+
+ # A full or valid partial URL to a health check. For example, the following are
+ # valid URLs:
+ # - https://www.googleapis.com/compute/beta/projects/project-id/global/
+ # httpHealthChecks/health-check
+ # - projects/project-id/global/httpHealthChecks/health-check
+ # - global/httpHealthChecks/health-check
+ # Corresponds to the JSON property `healthCheck`
+ # @return [Google::Apis::ComputeV1::HealthCheckReference]
+ attr_accessor :health_check
+
+ # Health state of the network endpoint determined based on the health checks
+ # configured.
+ # Corresponds to the JSON property `healthState`
+ # @return [String]
+ attr_accessor :health_state
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @backend_service = args[:backend_service] if args.key?(:backend_service)
+ @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
+ @health_check = args[:health_check] if args.key?(:health_check)
+ @health_state = args[:health_state] if args.key?(:health_state)
+ end
+ end
+
# UrlMaps A host-matching rule for a URL. If matched, will use the named
# PathMatcher to select the BackendService.
class HostRule
@@ -8057,8 +8224,8 @@ module Google
# Specifies the instance templates used by this managed instance group to create
# instances.
- # Each version is defined by an instanceTemplate. Every template can appear at
- # most once per instance group. This field overrides the top-level
+ # Each version is defined by an instanceTemplate and a name. Every version can
+ # appear at most once per instance group. This field overrides the top-level
# instanceTemplate field. Read more about the relationships between these fields.
# Exactly one version must leave the targetSize field unset. That version will
# be applied to all remaining instances. For more information, read about canary
@@ -8528,7 +8695,9 @@ module Google
class InstanceGroupManagerVersion
include Google::Apis::Core::Hashable
- #
+ # The URL of the instance template that is specified for this managed instance
+ # group. The group uses this template to create new instances in the managed
+ # instance group until the `targetSize` for this version is reached.
# Corresponds to the JSON property `instanceTemplate`
# @return [String]
attr_accessor :instance_template
@@ -9426,6 +9595,11 @@ module Google
# @return [Array]
attr_accessor :service_accounts
+ # A set of Shielded Instance options.
+ # Corresponds to the JSON property `shieldedInstanceConfig`
+ # @return [Google::Apis::ComputeV1::ShieldedInstanceConfig]
+ attr_accessor :shielded_instance_config
+
# A set of instance tags.
# Corresponds to the JSON property `tags`
# @return [Google::Apis::ComputeV1::Tags]
@@ -9448,6 +9622,7 @@ module Google
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
@scheduling = args[:scheduling] if args.key?(:scheduling)
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
+ @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@tags = args[:tags] if args.key?(:tags)
end
end
@@ -12653,6 +12828,668 @@ module Google
end
end
+ # The network endpoint.
+ class NetworkEndpoint
+ include Google::Apis::Core::Hashable
+
+ # The name for a specific VM instance that the IP address belongs to. This is
+ # required for network endpoints of type GCE_VM_IP_PORT. The instance must be in
+ # the same zone of network endpoint group.
+ # The name must be 1-63 characters long, and comply with RFC1035.
+ # Corresponds to the JSON property `instance`
+ # @return [String]
+ attr_accessor :instance
+
+ # Optional IPv4 address of network endpoint. The IP address must belong to a VM
+ # in GCE (either the primary IP or as part of an aliased IP range). If the IP
+ # address is not specified, then the primary IP address for the VM instance in
+ # the network that the network endpoint group belongs to will be used.
+ # Corresponds to the JSON property `ipAddress`
+ # @return [String]
+ attr_accessor :ip_address
+
+ # Optional port number of network endpoint. If not specified and the
+ # NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for
+ # the network endpoint group will be used.
+ # Corresponds to the JSON property `port`
+ # @return [Fixnum]
+ attr_accessor :port
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @instance = args[:instance] if args.key?(:instance)
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
+ @port = args[:port] if args.key?(:port)
+ end
+ end
+
+ # Represents a collection of network endpoints.
+ class NetworkEndpointGroup
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] Creation timestamp in RFC3339 text format.
+ # Corresponds to the JSON property `creationTimestamp`
+ # @return [String]
+ attr_accessor :creation_timestamp
+
+ # The default port used if the port number is not specified in the network
+ # endpoint.
+ # Corresponds to the JSON property `defaultPort`
+ # @return [Fixnum]
+ attr_accessor :default_port
+
+ # An optional description of this resource. Provide this property when you
+ # create the resource.
+ # Corresponds to the JSON property `description`
+ # @return [String]
+ attr_accessor :description
+
+ # [Output Only] The unique identifier for the resource. This identifier is
+ # defined by the server.
+ # Corresponds to the JSON property `id`
+ # @return [Fixnum]
+ attr_accessor :id
+
+ # [Output Only] Type of the resource. Always compute#networkEndpointGroup for
+ # network endpoint group.
+ # Corresponds to the JSON property `kind`
+ # @return [String]
+ attr_accessor :kind
+
+ # Name of the resource; provided by the client when the resource is created. The
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
+ # and all following characters must be a dash, lowercase letter, or digit,
+ # except the last character, which cannot be a dash.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # The URL of the network to which all network endpoints in the NEG belong. Uses "
+ # default" project network if unspecified.
+ # Corresponds to the JSON property `network`
+ # @return [String]
+ attr_accessor :network
+
+ # Type of network endpoints in this network endpoint group. Currently the only
+ # supported value is GCE_VM_IP_PORT.
+ # Corresponds to the JSON property `networkEndpointType`
+ # @return [String]
+ attr_accessor :network_endpoint_type
+
+ # [Output Only] Server-defined URL for the resource.
+ # Corresponds to the JSON property `selfLink`
+ # @return [String]
+ attr_accessor :self_link
+
+ # [Output only] Number of network endpoints in the network endpoint group.
+ # Corresponds to the JSON property `size`
+ # @return [Fixnum]
+ attr_accessor :size
+
+ # Optional URL of the subnetwork to which all network endpoints in the NEG
+ # belong.
+ # Corresponds to the JSON property `subnetwork`
+ # @return [String]
+ attr_accessor :subnetwork
+
+ # [Output Only] The URL of the zone where the network endpoint group is located.
+ # Corresponds to the JSON property `zone`
+ # @return [String]
+ attr_accessor :zone
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
+ @default_port = args[:default_port] if args.key?(:default_port)
+ @description = args[:description] if args.key?(:description)
+ @id = args[:id] if args.key?(:id)
+ @kind = args[:kind] if args.key?(:kind)
+ @name = args[:name] if args.key?(:name)
+ @network = args[:network] if args.key?(:network)
+ @network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
+ @self_link = args[:self_link] if args.key?(:self_link)
+ @size = args[:size] if args.key?(:size)
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
+ @zone = args[:zone] if args.key?(:zone)
+ end
+ end
+
+ #
+ class NetworkEndpointGroupAggregatedList
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] Unique identifier for the resource; defined by the server.
+ # Corresponds to the JSON property `id`
+ # @return [String]
+ attr_accessor :id
+
+ # A list of NetworkEndpointGroupsScopedList resources.
+ # Corresponds to the JSON property `items`
+ # @return [Hash]
+ attr_accessor :items
+
+ # [Output Only] The resource type, which is always compute#
+ # networkEndpointGroupAggregatedList for aggregated lists of network endpoint
+ # groups.
+ # Corresponds to the JSON property `kind`
+ # @return [String]
+ attr_accessor :kind
+
+ # [Output Only] This token allows you to get the next page of results for list
+ # requests. If the number of results is larger than maxResults, use the
+ # nextPageToken as a value for the query parameter pageToken in the next list
+ # request. Subsequent list requests will have their own nextPageToken to
+ # continue paging through the results.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ # [Output Only] Server-defined URL for this resource.
+ # Corresponds to the JSON property `selfLink`
+ # @return [String]
+ attr_accessor :self_link
+
+ # [Output Only] Informational warning message.
+ # Corresponds to the JSON property `warning`
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning]
+ attr_accessor :warning
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @id = args[:id] if args.key?(:id)
+ @items = args[:items] if args.key?(:items)
+ @kind = args[:kind] if args.key?(:kind)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ @self_link = args[:self_link] if args.key?(:self_link)
+ @warning = args[:warning] if args.key?(:warning)
+ end
+
+ # [Output Only] Informational warning message.
+ class Warning
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
+ # Corresponds to the JSON property `code`
+ # @return [String]
+ attr_accessor :code
+
+ # [Output Only] Metadata about this warning in key: value format. For example:
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
+ # Corresponds to the JSON property `data`
+ # @return [Array]
+ attr_accessor :data
+
+ # [Output Only] A human-readable description of the warning code.
+ # Corresponds to the JSON property `message`
+ # @return [String]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @code = args[:code] if args.key?(:code)
+ @data = args[:data] if args.key?(:data)
+ @message = args[:message] if args.key?(:message)
+ end
+
+ #
+ class Datum
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] A key that provides more detail on the warning being returned.
+ # For example, for warnings where there are no results in a list request for a
+ # particular zone, this key might be scope and the key value might be the zone
+ # name. Other examples might be a key indicating a deprecated resource and a
+ # suggested replacement, or a warning about invalid network settings (for
+ # example, if an instance attempts to perform IP forwarding but is not enabled
+ # for IP forwarding).
+ # Corresponds to the JSON property `key`
+ # @return [String]
+ attr_accessor :key
+
+ # [Output Only] A warning data value corresponding to the key.
+ # Corresponds to the JSON property `value`
+ # @return [String]
+ attr_accessor :value
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @key = args[:key] if args.key?(:key)
+ @value = args[:value] if args.key?(:value)
+ end
+ end
+ end
+ end
+
+ #
+ class NetworkEndpointGroupList
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] Unique identifier for the resource; defined by the server.
+ # Corresponds to the JSON property `id`
+ # @return [String]
+ attr_accessor :id
+
+ # A list of NetworkEndpointGroup resources.
+ # Corresponds to the JSON property `items`
+ # @return [Array]
+ attr_accessor :items
+
+ # [Output Only] The resource type, which is always compute#
+ # networkEndpointGroupList for network endpoint group lists.
+ # Corresponds to the JSON property `kind`
+ # @return [String]
+ attr_accessor :kind
+
+ # [Output Only] This token allows you to get the next page of results for list
+ # requests. If the number of results is larger than maxResults, use the
+ # nextPageToken as a value for the query parameter pageToken in the next list
+ # request. Subsequent list requests will have their own nextPageToken to
+ # continue paging through the results.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ # [Output Only] Server-defined URL for this resource.
+ # Corresponds to the JSON property `selfLink`
+ # @return [String]
+ attr_accessor :self_link
+
+ # [Output Only] Informational warning message.
+ # Corresponds to the JSON property `warning`
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning]
+ attr_accessor :warning
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @id = args[:id] if args.key?(:id)
+ @items = args[:items] if args.key?(:items)
+ @kind = args[:kind] if args.key?(:kind)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ @self_link = args[:self_link] if args.key?(:self_link)
+ @warning = args[:warning] if args.key?(:warning)
+ end
+
+ # [Output Only] Informational warning message.
+ class Warning
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
+ # Corresponds to the JSON property `code`
+ # @return [String]
+ attr_accessor :code
+
+ # [Output Only] Metadata about this warning in key: value format. For example:
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
+ # Corresponds to the JSON property `data`
+ # @return [Array]
+ attr_accessor :data
+
+ # [Output Only] A human-readable description of the warning code.
+ # Corresponds to the JSON property `message`
+ # @return [String]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @code = args[:code] if args.key?(:code)
+ @data = args[:data] if args.key?(:data)
+ @message = args[:message] if args.key?(:message)
+ end
+
+ #
+ class Datum
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] A key that provides more detail on the warning being returned.
+ # For example, for warnings where there are no results in a list request for a
+ # particular zone, this key might be scope and the key value might be the zone
+ # name. Other examples might be a key indicating a deprecated resource and a
+ # suggested replacement, or a warning about invalid network settings (for
+ # example, if an instance attempts to perform IP forwarding but is not enabled
+ # for IP forwarding).
+ # Corresponds to the JSON property `key`
+ # @return [String]
+ attr_accessor :key
+
+ # [Output Only] A warning data value corresponding to the key.
+ # Corresponds to the JSON property `value`
+ # @return [String]
+ attr_accessor :value
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @key = args[:key] if args.key?(:key)
+ @value = args[:value] if args.key?(:value)
+ end
+ end
+ end
+ end
+
+ #
+ class NetworkEndpointGroupsAttachEndpointsRequest
+ include Google::Apis::Core::Hashable
+
+ # The list of network endpoints to be attached.
+ # Corresponds to the JSON property `networkEndpoints`
+ # @return [Array]
+ attr_accessor :network_endpoints
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
+ end
+ end
+
+ #
+ class NetworkEndpointGroupsDetachEndpointsRequest
+ include Google::Apis::Core::Hashable
+
+ # The list of network endpoints to be detached.
+ # Corresponds to the JSON property `networkEndpoints`
+ # @return [Array]
+ attr_accessor :network_endpoints
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
+ end
+ end
+
+ #
+ class NetworkEndpointGroupsListEndpointsRequest
+ include Google::Apis::Core::Hashable
+
+ # Optional query parameter for showing the health status of each network
+ # endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter,
+ # the health status of network endpoints will not be provided.
+ # Corresponds to the JSON property `healthStatus`
+ # @return [String]
+ attr_accessor :health_status
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @health_status = args[:health_status] if args.key?(:health_status)
+ end
+ end
+
+ #
+ class NetworkEndpointGroupsListNetworkEndpoints
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] Unique identifier for the resource; defined by the server.
+ # Corresponds to the JSON property `id`
+ # @return [String]
+ attr_accessor :id
+
+ # A list of NetworkEndpointWithHealthStatus resources.
+ # Corresponds to the JSON property `items`
+ # @return [Array]
+ attr_accessor :items
+
+ # [Output Only] The resource type, which is always compute#
+ # networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in
+ # the specified network endpoint group.
+ # Corresponds to the JSON property `kind`
+ # @return [String]
+ attr_accessor :kind
+
+ # [Output Only] This token allows you to get the next page of results for list
+ # requests. If the number of results is larger than maxResults, use the
+ # nextPageToken as a value for the query parameter pageToken in the next list
+ # request. Subsequent list requests will have their own nextPageToken to
+ # continue paging through the results.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ # [Output Only] Informational warning message.
+ # Corresponds to the JSON property `warning`
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning]
+ attr_accessor :warning
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @id = args[:id] if args.key?(:id)
+ @items = args[:items] if args.key?(:items)
+ @kind = args[:kind] if args.key?(:kind)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ @warning = args[:warning] if args.key?(:warning)
+ end
+
+ # [Output Only] Informational warning message.
+ class Warning
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
+ # Corresponds to the JSON property `code`
+ # @return [String]
+ attr_accessor :code
+
+ # [Output Only] Metadata about this warning in key: value format. For example:
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
+ # Corresponds to the JSON property `data`
+ # @return [Array]
+ attr_accessor :data
+
+ # [Output Only] A human-readable description of the warning code.
+ # Corresponds to the JSON property `message`
+ # @return [String]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @code = args[:code] if args.key?(:code)
+ @data = args[:data] if args.key?(:data)
+ @message = args[:message] if args.key?(:message)
+ end
+
+ #
+ class Datum
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] A key that provides more detail on the warning being returned.
+ # For example, for warnings where there are no results in a list request for a
+ # particular zone, this key might be scope and the key value might be the zone
+ # name. Other examples might be a key indicating a deprecated resource and a
+ # suggested replacement, or a warning about invalid network settings (for
+ # example, if an instance attempts to perform IP forwarding but is not enabled
+ # for IP forwarding).
+ # Corresponds to the JSON property `key`
+ # @return [String]
+ attr_accessor :key
+
+ # [Output Only] A warning data value corresponding to the key.
+ # Corresponds to the JSON property `value`
+ # @return [String]
+ attr_accessor :value
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @key = args[:key] if args.key?(:key)
+ @value = args[:value] if args.key?(:value)
+ end
+ end
+ end
+ end
+
+ #
+ class NetworkEndpointGroupsScopedList
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] The list of network endpoint groups that are contained in this
+ # scope.
+ # Corresponds to the JSON property `networkEndpointGroups`
+ # @return [Array]
+ attr_accessor :network_endpoint_groups
+
+ # [Output Only] An informational warning that replaces the list of network
+ # endpoint groups when the list is empty.
+ # Corresponds to the JSON property `warning`
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning]
+ attr_accessor :warning
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups)
+ @warning = args[:warning] if args.key?(:warning)
+ end
+
+ # [Output Only] An informational warning that replaces the list of network
+ # endpoint groups when the list is empty.
+ class Warning
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
+ # Corresponds to the JSON property `code`
+ # @return [String]
+ attr_accessor :code
+
+ # [Output Only] Metadata about this warning in key: value format. For example:
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
+ # Corresponds to the JSON property `data`
+ # @return [Array]
+ attr_accessor :data
+
+ # [Output Only] A human-readable description of the warning code.
+ # Corresponds to the JSON property `message`
+ # @return [String]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @code = args[:code] if args.key?(:code)
+ @data = args[:data] if args.key?(:data)
+ @message = args[:message] if args.key?(:message)
+ end
+
+ #
+ class Datum
+ include Google::Apis::Core::Hashable
+
+ # [Output Only] A key that provides more detail on the warning being returned.
+ # For example, for warnings where there are no results in a list request for a
+ # particular zone, this key might be scope and the key value might be the zone
+ # name. Other examples might be a key indicating a deprecated resource and a
+ # suggested replacement, or a warning about invalid network settings (for
+ # example, if an instance attempts to perform IP forwarding but is not enabled
+ # for IP forwarding).
+ # Corresponds to the JSON property `key`
+ # @return [String]
+ attr_accessor :key
+
+ # [Output Only] A warning data value corresponding to the key.
+ # Corresponds to the JSON property `value`
+ # @return [String]
+ attr_accessor :value
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @key = args[:key] if args.key?(:key)
+ @value = args[:value] if args.key?(:value)
+ end
+ end
+ end
+ end
+
+ #
+ class NetworkEndpointWithHealthStatus
+ include Google::Apis::Core::Hashable
+
+ # [Output only] The health status of network endpoint;
+ # Corresponds to the JSON property `healths`
+ # @return [Array]
+ attr_accessor :healths
+
+ # The network endpoint.
+ # Corresponds to the JSON property `networkEndpoint`
+ # @return [Google::Apis::ComputeV1::NetworkEndpoint]
+ attr_accessor :network_endpoint
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @healths = args[:healths] if args.key?(:healths)
+ @network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint)
+ end
+ end
+
# A network interface resource attached to an instance.
class NetworkInterface
include Google::Apis::Core::Hashable
@@ -13019,7 +13856,10 @@ module Google
end
end
- # A NodeGroup resource.
+ # A NodeGroup resource. To create a node group, you must first create a node
+ # templates. To learn more about node groups and sole-tenant nodes, read the
+ # Sole-tenant nodes documentation. (== resource_for beta.nodeGroups ==) (==
+ # resource_for v1.nodeGroups ==)
class NodeGroup
include Google::Apis::Core::Hashable
@@ -13642,7 +14482,9 @@ module Google
end
end
- # A Node Template resource.
+ # A Node Template resource. To learn more about node templates and sole-tenant
+ # nodes, read the Sole-tenant nodes documentation. (== resource_for beta.
+ # nodeTemplates ==) (== resource_for v1.nodeTemplates ==)
class NodeTemplate
include Google::Apis::Core::Hashable
@@ -18112,6 +18954,26 @@ module Google
# @return [String]
attr_accessor :port_name
+ # Specifies how port is selected for health checking, can be one of following
+ # values:
+ # USE_FIXED_PORT: The port number in
+ # port
+ # is used for health checking.
+ # USE_NAMED_PORT: The
+ # portName
+ # is used for health checking.
+ # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
+ # network endpoint is used for health checking. For other backends, the port or
+ # named port specified in the Backend Service is used for health checking.
+ # If not specified, SSL health check follows behavior specified in
+ # port
+ # and
+ # portName
+ # fields.
+ # Corresponds to the JSON property `portSpecification`
+ # @return [String]
+ attr_accessor :port_specification
+
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
@@ -18141,6 +19003,7 @@ module Google
def update!(**args)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request = args[:request] if args.key?(:request)
@response = args[:response] if args.key?(:response)
@@ -18887,6 +19750,11 @@ module Google
# @return [String]
attr_accessor :storage_bytes_status
+ # GCS bucket storage location of the snapshot (regional or multi-regional).
+ # Corresponds to the JSON property `storageLocations`
+ # @return [Array]
+ attr_accessor :storage_locations
+
def initialize(**args)
update!(**args)
end
@@ -18911,6 +19779,7 @@ module Google
@status = args[:status] if args.key?(:status)
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
@storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
+ @storage_locations = args[:storage_locations] if args.key?(:storage_locations)
end
end
@@ -20118,6 +20987,26 @@ module Google
# @return [String]
attr_accessor :port_name
+ # Specifies how port is selected for health checking, can be one of following
+ # values:
+ # USE_FIXED_PORT: The port number in
+ # port
+ # is used for health checking.
+ # USE_NAMED_PORT: The
+ # portName
+ # is used for health checking.
+ # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
+ # network endpoint is used for health checking. For other backends, the port or
+ # named port specified in the Backend Service is used for health checking.
+ # If not specified, TCP health check follows behavior specified in
+ # port
+ # and
+ # portName
+ # fields.
+ # Corresponds to the JSON property `portSpecification`
+ # @return [String]
+ attr_accessor :port_specification
+
# Specifies the type of proxy header to append before sending data to the
# backend, either NONE or PROXY_V1. The default is NONE.
# Corresponds to the JSON property `proxyHeader`
@@ -20147,6 +21036,7 @@ module Google
def update!(**args)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
@request = args[:request] if args.key?(:request)
@response = args[:response] if args.key?(:response)
@@ -23979,6 +24869,7 @@ module Google
end
# A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)
+ # Next ID: 17
class Zone
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb
index ae507173e..7797efc67 100644
--- a/generated/google/apis/compute_v1/representations.rb
+++ b/generated/google/apis/compute_v1/representations.rb
@@ -376,6 +376,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class BackendServiceReference
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class BackendServicesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -748,6 +754,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class ForwardingRuleReference
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ForwardingRulesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -838,6 +850,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class HealthStatusForNetworkEndpoint
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class HostRule
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1672,6 +1690,114 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class NetworkEndpoint
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkEndpointGroup
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkEndpointGroupAggregatedList
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class Warning
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class Datum
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkEndpointGroupList
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class Warning
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class Datum
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkEndpointGroupsAttachEndpointsRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkEndpointGroupsDetachEndpointsRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkEndpointGroupsListEndpointsRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkEndpointGroupsListNetworkEndpoints
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class Warning
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class Datum
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkEndpointGroupsScopedList
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class Warning
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class Datum
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkEndpointWithHealthStatus
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class NetworkInterface
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -3849,8 +3975,10 @@ module Google
property :description, as: 'description'
property :group, as: 'group'
property :max_connections, as: 'maxConnections'
+ property :max_connections_per_endpoint, as: 'maxConnectionsPerEndpoint'
property :max_connections_per_instance, as: 'maxConnectionsPerInstance'
property :max_rate, as: 'maxRate'
+ property :max_rate_per_endpoint, as: 'maxRatePerEndpoint'
property :max_rate_per_instance, as: 'maxRatePerInstance'
property :max_utilization, as: 'maxUtilization'
end
@@ -4038,6 +4166,13 @@ module Google
end
end
+ class BackendServiceReference
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :backend_service, as: 'backendService'
+ end
+ end
+
class BackendServicesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4728,6 +4863,13 @@ module Google
end
end
+ class ForwardingRuleReference
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :forwarding_rule, as: 'forwardingRule'
+ end
+ end
+
class ForwardingRulesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4788,6 +4930,7 @@ module Google
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
+ property :port_specification, as: 'portSpecification'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
@@ -4800,6 +4943,7 @@ module Google
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
+ property :port_specification, as: 'portSpecification'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
@@ -4812,6 +4956,7 @@ module Google
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
+ property :port_specification, as: 'portSpecification'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
@@ -4894,6 +5039,19 @@ module Google
end
end
+ class HealthStatusForNetworkEndpoint
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :backend_service, as: 'backendService', class: Google::Apis::ComputeV1::BackendServiceReference, decorator: Google::Apis::ComputeV1::BackendServiceReference::Representation
+
+ property :forwarding_rule, as: 'forwardingRule', class: Google::Apis::ComputeV1::ForwardingRuleReference, decorator: Google::Apis::ComputeV1::ForwardingRuleReference::Representation
+
+ property :health_check, as: 'healthCheck', class: Google::Apis::ComputeV1::HealthCheckReference, decorator: Google::Apis::ComputeV1::HealthCheckReference::Representation
+
+ property :health_state, as: 'healthState'
+ end
+ end
+
class HostRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -5651,6 +5809,8 @@ module Google
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeV1::ServiceAccount, decorator: Google::Apis::ComputeV1::ServiceAccount::Representation
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ComputeV1::ShieldedInstanceConfig, decorator: Google::Apis::ComputeV1::ShieldedInstanceConfig::Representation
+
property :tags, as: 'tags', class: Google::Apis::ComputeV1::Tags, decorator: Google::Apis::ComputeV1::Tags::Representation
end
@@ -6475,6 +6635,189 @@ module Google
end
end
+ class NetworkEndpoint
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :instance, as: 'instance'
+ property :ip_address, as: 'ipAddress'
+ property :port, as: 'port'
+ end
+ end
+
+ class NetworkEndpointGroup
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :creation_timestamp, as: 'creationTimestamp'
+ property :default_port, as: 'defaultPort'
+ property :description, as: 'description'
+ property :id, :numeric_string => true, as: 'id'
+ property :kind, as: 'kind'
+ property :name, as: 'name'
+ property :network, as: 'network'
+ property :network_endpoint_type, as: 'networkEndpointType'
+ property :self_link, as: 'selfLink'
+ property :size, as: 'size'
+ property :subnetwork, as: 'subnetwork'
+ property :zone, as: 'zone'
+ end
+ end
+
+ class NetworkEndpointGroupAggregatedList
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :id, as: 'id'
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Representation
+
+ property :kind, as: 'kind'
+ property :next_page_token, as: 'nextPageToken'
+ property :self_link, as: 'selfLink'
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning::Representation
+
+ end
+
+ class Warning
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :code, as: 'code'
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning::Datum::Representation
+
+ property :message, as: 'message'
+ end
+
+ class Datum
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :key, as: 'key'
+ property :value, as: 'value'
+ end
+ end
+ end
+ end
+
+ class NetworkEndpointGroupList
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :id, as: 'id'
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::NetworkEndpointGroup, decorator: Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
+
+ property :kind, as: 'kind'
+ property :next_page_token, as: 'nextPageToken'
+ property :self_link, as: 'selfLink'
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning::Representation
+
+ end
+
+ class Warning
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :code, as: 'code'
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning::Datum::Representation
+
+ property :message, as: 'message'
+ end
+
+ class Datum
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :key, as: 'key'
+ property :value, as: 'value'
+ end
+ end
+ end
+ end
+
+ class NetworkEndpointGroupsAttachEndpointsRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeV1::NetworkEndpoint, decorator: Google::Apis::ComputeV1::NetworkEndpoint::Representation
+
+ end
+ end
+
+ class NetworkEndpointGroupsDetachEndpointsRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeV1::NetworkEndpoint, decorator: Google::Apis::ComputeV1::NetworkEndpoint::Representation
+
+ end
+ end
+
+ class NetworkEndpointGroupsListEndpointsRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :health_status, as: 'healthStatus'
+ end
+ end
+
+ class NetworkEndpointGroupsListNetworkEndpoints
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :id, as: 'id'
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::NetworkEndpointWithHealthStatus, decorator: Google::Apis::ComputeV1::NetworkEndpointWithHealthStatus::Representation
+
+ property :kind, as: 'kind'
+ property :next_page_token, as: 'nextPageToken'
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning::Representation
+
+ end
+
+ class Warning
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :code, as: 'code'
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning::Datum::Representation
+
+ property :message, as: 'message'
+ end
+
+ class Datum
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :key, as: 'key'
+ property :value, as: 'value'
+ end
+ end
+ end
+ end
+
+ class NetworkEndpointGroupsScopedList
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :network_endpoint_groups, as: 'networkEndpointGroups', class: Google::Apis::ComputeV1::NetworkEndpointGroup, decorator: Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
+
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning::Representation
+
+ end
+
+ class Warning
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :code, as: 'code'
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning::Datum::Representation
+
+ property :message, as: 'message'
+ end
+
+ class Datum
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :key, as: 'key'
+ property :value, as: 'value'
+ end
+ end
+ end
+ end
+
+ class NetworkEndpointWithHealthStatus
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :healths, as: 'healths', class: Google::Apis::ComputeV1::HealthStatusForNetworkEndpoint, decorator: Google::Apis::ComputeV1::HealthStatusForNetworkEndpoint::Representation
+
+ property :network_endpoint, as: 'networkEndpoint', class: Google::Apis::ComputeV1::NetworkEndpoint, decorator: Google::Apis::ComputeV1::NetworkEndpoint::Representation
+
+ end
+ end
+
class NetworkInterface
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -7890,6 +8233,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :port, as: 'port'
property :port_name, as: 'portName'
+ property :port_specification, as: 'portSpecification'
property :proxy_header, as: 'proxyHeader'
property :request, as: 'request'
property :response, as: 'response'
@@ -8083,6 +8427,7 @@ module Google
property :status, as: 'status'
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
property :storage_bytes_status, as: 'storageBytesStatus'
+ collection :storage_locations, as: 'storageLocations'
end
end
@@ -8395,6 +8740,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :port, as: 'port'
property :port_name, as: 'portName'
+ property :port_specification, as: 'portSpecification'
property :proxy_header, as: 'proxyHeader'
property :request, as: 'request'
property :response, as: 'response'
diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb
index 431f1a883..f7796f6ef 100644
--- a/generated/google/apis/compute_v1/service.rb
+++ b/generated/google/apis/compute_v1/service.rb
@@ -10273,6 +10273,539 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Retrieves the list of network endpoint groups and sorts them by zone.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] filter
+ # A filter expression that filters resources listed in the response. The
+ # expression must specify the field name, a comparison operator, and the value
+ # that you want to use for filtering. The value must be a string, a number, or a
+ # boolean. The comparison operator must be either =, !=, >, or <.
+ # For example, if you are filtering Compute Engine instances, you can exclude
+ # instances named example-instance by specifying name != example-instance.
+ # You can also filter nested fields. For example, you could specify scheduling.
+ # automaticRestart = false to include instances only if they are not scheduled
+ # for automatic restarts. You can use filtering on nested fields to filter based
+ # on resource labels.
+ # To filter on multiple expressions, provide each separate expression within
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
+ # Intel Skylake"). By default, each expression is an AND expression. However,
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
+ # automaticRestart = true).
+ # @param [Fixnum] max_results
+ # The maximum number of results per page that should be returned. If the number
+ # of available results is larger than maxResults, Compute Engine returns a
+ # nextPageToken that can be used to get the next page of results in subsequent
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
+ # @param [String] order_by
+ # Sorts list results by a certain order. By default, results are returned in
+ # alphanumerical order based on the resource name.
+ # You can also sort results in descending order based on the creation timestamp
+ # using orderBy="creationTimestamp desc". This sorts results based on the
+ # creationTimestamp field in reverse chronological order (newest result first).
+ # Use this to sort resources like operations so that the newest operation is
+ # returned first.
+ # Currently, only sorting by name or creationTimestamp desc is supported.
+ # @param [String] page_token
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
+ # a previous list request to get the next page of results.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def aggregated_network_endpoint_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options)
+ command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Representation
+ command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList
+ command.params['project'] = project unless project.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['maxResults'] = max_results unless max_results.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Attach a list of network endpoints to the specified network endpoint group.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone where the network endpoint group is located. It should
+ # comply with RFC1035.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group where you are attaching network
+ # endpoints to. It should comply with RFC1035.
+ # @param [Google::Apis::ComputeV1::NetworkEndpointGroupsAttachEndpointsRequest] network_endpoint_groups_attach_endpoints_request_object
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeV1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
+ command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsAttachEndpointsRequest::Representation
+ command.request_object = network_endpoint_groups_attach_endpoints_request_object
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
+ command.response_class = Google::Apis::ComputeV1::Operation
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes the specified network endpoint group. The network endpoints in the NEG
+ # and the VM instances they belong to are not terminated when the NEG is deleted.
+ # Note that the NEG cannot be deleted if there are backend services referencing
+ # it.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone where the network endpoint group is located. It should
+ # comply with RFC1035.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group to delete. It should comply with
+ # RFC1035.
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeV1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
+ command.response_class = Google::Apis::ComputeV1::Operation
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Detach a list of network endpoints from the specified network endpoint group.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone where the network endpoint group is located. It should
+ # comply with RFC1035.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group where you are removing network
+ # endpoints. It should comply with RFC1035.
+ # @param [Google::Apis::ComputeV1::NetworkEndpointGroupsDetachEndpointsRequest] network_endpoint_groups_detach_endpoints_request_object
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeV1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
+ command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsDetachEndpointsRequest::Representation
+ command.request_object = network_endpoint_groups_detach_endpoints_request_object
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
+ command.response_class = Google::Apis::ComputeV1::Operation
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns the specified network endpoint group. Gets a list of available network
+ # endpoint groups by making a list() request.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone where the network endpoint group is located. It should
+ # comply with RFC1035.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group. It should comply with RFC1035.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroup] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroup]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
+ command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
+ command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroup
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a network endpoint group in the specified project using the parameters
+ # that are included in the request.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone where you want to create the network endpoint group. It
+ # should comply with RFC1035.
+ # @param [Google::Apis::ComputeV1::NetworkEndpointGroup] network_endpoint_group_object
+ # @param [String] request_id
+ # An optional request ID to identify requests. Specify a unique request ID so
+ # that if you must retry your request, the server will know to ignore the
+ # request if it has already been completed.
+ # For example, consider a situation where you make an initial request and the
+ # request times out. If you make the request again with the same request ID, the
+ # server can check if original operation with the same request ID was received,
+ # and if so, will ignore the second request. This prevents clients from
+ # accidentally creating duplicate commitments.
+ # The request ID must be a valid UUID with the exception that zero UUID is not
+ # supported (00000000-0000-0000-0000-000000000000).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeV1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', options)
+ command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
+ command.request_object = network_endpoint_group_object
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
+ command.response_class = Google::Apis::ComputeV1::Operation
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Retrieves the list of network endpoint groups that are located in the
+ # specified project and zone.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone where the network endpoint group is located. It should
+ # comply with RFC1035.
+ # @param [String] filter
+ # A filter expression that filters resources listed in the response. The
+ # expression must specify the field name, a comparison operator, and the value
+ # that you want to use for filtering. The value must be a string, a number, or a
+ # boolean. The comparison operator must be either =, !=, >, or <.
+ # For example, if you are filtering Compute Engine instances, you can exclude
+ # instances named example-instance by specifying name != example-instance.
+ # You can also filter nested fields. For example, you could specify scheduling.
+ # automaticRestart = false to include instances only if they are not scheduled
+ # for automatic restarts. You can use filtering on nested fields to filter based
+ # on resource labels.
+ # To filter on multiple expressions, provide each separate expression within
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
+ # Intel Skylake"). By default, each expression is an AND expression. However,
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
+ # automaticRestart = true).
+ # @param [Fixnum] max_results
+ # The maximum number of results per page that should be returned. If the number
+ # of available results is larger than maxResults, Compute Engine returns a
+ # nextPageToken that can be used to get the next page of results in subsequent
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
+ # @param [String] order_by
+ # Sorts list results by a certain order. By default, results are returned in
+ # alphanumerical order based on the resource name.
+ # You can also sort results in descending order based on the creation timestamp
+ # using orderBy="creationTimestamp desc". This sorts results based on the
+ # creationTimestamp field in reverse chronological order (newest result first).
+ # Use this to sort resources like operations so that the newest operation is
+ # returned first.
+ # Currently, only sorting by name or creationTimestamp desc is supported.
+ # @param [String] page_token
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
+ # a previous list request to get the next page of results.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupList] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupList]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', options)
+ command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupList::Representation
+ command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupList
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['maxResults'] = max_results unless max_results.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists the network endpoints in the specified network endpoint group.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone where the network endpoint group is located. It should
+ # comply with RFC1035.
+ # @param [String] network_endpoint_group
+ # The name of the network endpoint group from which you want to generate a list
+ # of included network endpoints. It should comply with RFC1035.
+ # @param [Google::Apis::ComputeV1::NetworkEndpointGroupsListEndpointsRequest] network_endpoint_groups_list_endpoints_request_object
+ # @param [String] filter
+ # A filter expression that filters resources listed in the response. The
+ # expression must specify the field name, a comparison operator, and the value
+ # that you want to use for filtering. The value must be a string, a number, or a
+ # boolean. The comparison operator must be either =, !=, >, or <.
+ # For example, if you are filtering Compute Engine instances, you can exclude
+ # instances named example-instance by specifying name != example-instance.
+ # You can also filter nested fields. For example, you could specify scheduling.
+ # automaticRestart = false to include instances only if they are not scheduled
+ # for automatic restarts. You can use filtering on nested fields to filter based
+ # on resource labels.
+ # To filter on multiple expressions, provide each separate expression within
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
+ # Intel Skylake"). By default, each expression is an AND expression. However,
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
+ # automaticRestart = true).
+ # @param [Fixnum] max_results
+ # The maximum number of results per page that should be returned. If the number
+ # of available results is larger than maxResults, Compute Engine returns a
+ # nextPageToken that can be used to get the next page of results in subsequent
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
+ # @param [String] order_by
+ # Sorts list results by a certain order. By default, results are returned in
+ # alphanumerical order based on the resource name.
+ # You can also sort results in descending order based on the creation timestamp
+ # using orderBy="creationTimestamp desc". This sorts results based on the
+ # creationTimestamp field in reverse chronological order (newest result first).
+ # Use this to sort resources like operations so that the newest operation is
+ # returned first.
+ # Currently, only sorting by name or creationTimestamp desc is supported.
+ # @param [String] page_token
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
+ # a previous list request to get the next page of results.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
+ command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsListEndpointsRequest::Representation
+ command.request_object = network_endpoint_groups_list_endpoints_request_object
+ command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Representation
+ command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['maxResults'] = max_results unless max_results.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns permissions that a caller has on the specified resource.
+ # @param [String] project
+ # Project ID for this request.
+ # @param [String] zone
+ # The name of the zone for this request.
+ # @param [String] resource
+ # Name or id of the resource for this request.
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options)
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
+ command.request_object = test_permissions_request_object
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
+ command.params['project'] = project unless project.nil?
+ command.params['zone'] = zone unless zone.nil?
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Adds a peering to the specified network.
# @param [String] project
# Project ID for this request.
diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb
index 9d99d9d23..75d98d825 100644
--- a/generated/google/apis/container_v1.rb
+++ b/generated/google/apis/container_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1
VERSION = 'V1'
- REVISION = '20190316'
+ REVISION = '20190411'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb
index e55c72e46..e70d6bb5e 100644
--- a/generated/google/apis/container_v1/classes.rb
+++ b/generated/google/apis/container_v1/classes.rb
@@ -249,8 +249,8 @@ module Google
attr_accessor :current_node_count
# [Output only] Deprecated, use
- # [NodePool.version](/kubernetes-engine/docs/reference/rest/v1/projects.zones.
- # clusters.nodePool)
+ # [NodePools.version](/kubernetes-engine/docs/reference/rest/v1/projects.zones.
+ # clusters.nodePools)
# instead. The current version of the node software components. If they are
# currently at multiple versions because they're in the process of being
# upgraded, this reflects the minimum version of all nodes.
@@ -258,6 +258,11 @@ module Google
# @return [String]
attr_accessor :current_node_version
+ # Constraints applied to pods.
+ # Corresponds to the JSON property `defaultMaxPodsConstraint`
+ # @return [Google::Apis::ContainerV1::MaxPodsConstraint]
+ attr_accessor :default_max_pods_constraint
+
# An optional description of this cluster.
# Corresponds to the JSON property `description`
# @return [String]
@@ -514,6 +519,7 @@ module Google
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
@current_node_version = args[:current_node_version] if args.key?(:current_node_version)
+ @default_max_pods_constraint = args[:default_max_pods_constraint] if args.key?(:default_max_pods_constraint)
@description = args[:description] if args.key?(:description)
@enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
@enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
@@ -869,37 +875,37 @@ module Google
class GetOpenIdConfigResponse
include Google::Apis::Core::Hashable
- # NOLINT
+ # Supported claims.
# Corresponds to the JSON property `claims_supported`
# @return [Array]
attr_accessor :claims_supported
- # NOLINT
+ # Supported grant types.
# Corresponds to the JSON property `grant_types`
# @return [Array]
attr_accessor :grant_types
- # NOLINT
+ # supported ID Token signing Algorithms.
# Corresponds to the JSON property `id_token_signing_alg_values_supported`
# @return [Array]
attr_accessor :id_token_signing_alg_values_supported
- # NOLINT
+ # OIDC Issuer.
# Corresponds to the JSON property `issuer`
# @return [String]
attr_accessor :issuer
- # NOLINT
+ # JSON Web Key uri.
# Corresponds to the JSON property `jwks_uri`
# @return [String]
attr_accessor :jwks_uri
- # NOLINT
+ # Supported response types.
# Corresponds to the JSON property `response_types_supported`
# @return [Array]
attr_accessor :response_types_supported
- # NOLINT
+ # Supported subject types.
# Corresponds to the JSON property `subject_types_supported`
# @return [Array]
attr_accessor :subject_types_supported
@@ -1110,49 +1116,47 @@ module Google
class Jwk
include Google::Apis::Core::Hashable
- # NOLINT
+ # Algorithm.
# Corresponds to the JSON property `alg`
# @return [String]
attr_accessor :alg
- # NOLINT
+ # Used for ECDSA keys.
# Corresponds to the JSON property `crv`
# @return [String]
attr_accessor :crv
- # NOLINT
+ # Used for RSA keys.
# Corresponds to the JSON property `e`
# @return [String]
attr_accessor :e
- # NOLINT
+ # Key ID.
# Corresponds to the JSON property `kid`
# @return [String]
attr_accessor :kid
- # NOLINT
+ # Key Type.
# Corresponds to the JSON property `kty`
# @return [String]
attr_accessor :kty
- # Fields for RSA keys.
- # NOLINT
+ # Used for RSA keys.
# Corresponds to the JSON property `n`
# @return [String]
attr_accessor :n
- # NOLINT
+ # Permitted uses for the public keys.
# Corresponds to the JSON property `use`
# @return [String]
attr_accessor :use
- # Fields for ECDSA keys.
- # NOLINT
+ # Used for ECDSA keys.
# Corresponds to the JSON property `x`
# @return [String]
attr_accessor :x
- # NOLINT
+ # Used for ECDSA keys.
# Corresponds to the JSON property `y`
# @return [String]
attr_accessor :y
@@ -1291,6 +1295,35 @@ module Google
end
end
+ # ListUsableSubnetworksResponse is the response of
+ # ListUsableSubnetworksRequest.
+ class ListUsableSubnetworksResponse
+ include Google::Apis::Core::Hashable
+
+ # This token allows you to get the next page of results for list requests.
+ # If the number of results is larger than `page_size`, use the
+ # `next_page_token` as a value for the query parameter `page_token` in the
+ # next request. The value will become empty when there are no more pages.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ # A list of usable subnetworks in the specified network project.
+ # Corresponds to the JSON property `subnetworks`
+ # @return [Array]
+ attr_accessor :subnetworks
+
+ 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)
+ @subnetworks = args[:subnetworks] if args.key?(:subnetworks)
+ end
+ end
+
# MaintenancePolicy defines the maintenance policy to be used for the cluster.
class MaintenancePolicy
include Google::Apis::Core::Hashable
@@ -1418,6 +1451,25 @@ module Google
end
end
+ # Constraints applied to pods.
+ class MaxPodsConstraint
+ include Google::Apis::Core::Hashable
+
+ # Constraint enforced on the max num of pods per node.
+ # Corresponds to the JSON property `maxPodsPerNode`
+ # @return [Fixnum]
+ attr_accessor :max_pods_per_node
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node)
+ end
+ end
+
# NetworkConfig reports the relative names of network & subnetwork.
class NetworkConfig
include Google::Apis::Core::Hashable
@@ -1747,6 +1799,11 @@ module Google
# @return [Google::Apis::ContainerV1::NodeManagement]
attr_accessor :management
+ # Constraints applied to pods.
+ # Corresponds to the JSON property `maxPodsConstraint`
+ # @return [Google::Apis::ContainerV1::MaxPodsConstraint]
+ attr_accessor :max_pods_constraint
+
# The name of the node pool.
# Corresponds to the JSON property `name`
# @return [String]
@@ -1785,6 +1842,7 @@ module Google
@initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
@management = args[:management] if args.key?(:management)
+ @max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint)
@name = args[:name] if args.key?(:name)
@self_link = args[:self_link] if args.key?(:self_link)
@status = args[:status] if args.key?(:status)
@@ -3029,6 +3087,87 @@ module Google
@zone = args[:zone] if args.key?(:zone)
end
end
+
+ # UsableSubnetwork resource returns the subnetwork name, its associated network
+ # and the primary CIDR range.
+ class UsableSubnetwork
+ include Google::Apis::Core::Hashable
+
+ # The range of internal addresses that are owned by this subnetwork.
+ # Corresponds to the JSON property `ipCidrRange`
+ # @return [String]
+ attr_accessor :ip_cidr_range
+
+ # Network Name.
+ # Example: projects/my-project/global/networks/my-network
+ # Corresponds to the JSON property `network`
+ # @return [String]
+ attr_accessor :network
+
+ # Secondary IP ranges.
+ # Corresponds to the JSON property `secondaryIpRanges`
+ # @return [Array]
+ attr_accessor :secondary_ip_ranges
+
+ # A human readable status message representing the reasons for cases where
+ # the caller cannot use the secondary ranges under the subnet. For example if
+ # the secondary_ip_ranges is empty due to a permission issue, an insufficient
+ # permission message will be given by status_message.
+ # Corresponds to the JSON property `statusMessage`
+ # @return [String]
+ attr_accessor :status_message
+
+ # Subnetwork Name.
+ # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
+ # Corresponds to the JSON property `subnetwork`
+ # @return [String]
+ attr_accessor :subnetwork
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
+ @network = args[:network] if args.key?(:network)
+ @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
+ @status_message = args[:status_message] if args.key?(:status_message)
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
+ end
+ end
+
+ # Secondary IP range of a usable subnetwork.
+ class UsableSubnetworkSecondaryRange
+ include Google::Apis::Core::Hashable
+
+ # The range of IP addresses belonging to this subnetwork secondary range.
+ # Corresponds to the JSON property `ipCidrRange`
+ # @return [String]
+ attr_accessor :ip_cidr_range
+
+ # The name associated with this subnetwork secondary range, used when adding
+ # an alias IP range to a VM instance.
+ # Corresponds to the JSON property `rangeName`
+ # @return [String]
+ attr_accessor :range_name
+
+ # This field is to determine the status of the secondary range programmably.
+ # Corresponds to the JSON property `status`
+ # @return [String]
+ attr_accessor :status
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
+ @range_name = args[:range_name] if args.key?(:range_name)
+ @status = args[:status] if args.key?(:status)
+ end
+ end
end
end
end
diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb
index 2adb1acb2..4a44881d0 100644
--- a/generated/google/apis/container_v1/representations.rb
+++ b/generated/google/apis/container_v1/representations.rb
@@ -166,6 +166,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class ListUsableSubnetworksResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class MaintenancePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -190,6 +196,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class MaxPodsConstraint
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class NetworkConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -364,6 +376,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class UsableSubnetwork
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class UsableSubnetworkSecondaryRange
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class AcceleratorConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -431,6 +455,8 @@ module Google
property :current_master_version, as: 'currentMasterVersion'
property :current_node_count, as: 'currentNodeCount'
property :current_node_version, as: 'currentNodeVersion'
+ property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
+
property :description, as: 'description'
property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
property :enable_tpu, as: 'enableTpu'
@@ -651,6 +677,15 @@ module Google
end
end
+ class ListUsableSubnetworksResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :next_page_token, as: 'nextPageToken'
+ collection :subnetworks, as: 'subnetworks', class: Google::Apis::ContainerV1::UsableSubnetwork, decorator: Google::Apis::ContainerV1::UsableSubnetwork::Representation
+
+ end
+ end
+
class MaintenancePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -689,6 +724,13 @@ module Google
end
end
+ class MaxPodsConstraint
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :max_pods_per_node, :numeric_string => true, as: 'maxPodsPerNode'
+ end
+ end
+
class NetworkConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -757,6 +799,8 @@ module Google
collection :instance_group_urls, as: 'instanceGroupUrls'
property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
+ property :max_pods_constraint, as: 'maxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
+
property :name, as: 'name'
property :self_link, as: 'selfLink'
property :status, as: 'status'
@@ -1034,6 +1078,27 @@ module Google
property :zone, as: 'zone'
end
end
+
+ class UsableSubnetwork
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :ip_cidr_range, as: 'ipCidrRange'
+ property :network, as: 'network'
+ collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ContainerV1::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ContainerV1::UsableSubnetworkSecondaryRange::Representation
+
+ property :status_message, as: 'statusMessage'
+ property :subnetwork, as: 'subnetwork'
+ end
+ end
+
+ class UsableSubnetworkSecondaryRange
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :ip_cidr_range, as: 'ipCidrRange'
+ property :range_name, as: 'rangeName'
+ property :status, as: 'status'
+ end
+ end
end
end
end
diff --git a/generated/google/apis/container_v1/service.rb b/generated/google/apis/container_v1/service.rb
index 4fc815a93..15567cc28 100644
--- a/generated/google/apis/container_v1/service.rb
+++ b/generated/google/apis/container_v1/service.rb
@@ -48,7 +48,54 @@ module Google
@batch_path = 'batch'
end
- # Returns configuration info about the Kubernetes Engine service.
+ # Lists subnetworks that are usable for creating clusters in a project.
+ # @param [String] parent
+ # The parent project where subnetworks are usable.
+ # Specified in the format 'projects/*'.
+ # @param [String] filter
+ # Filtering currently only supports equality on the networkProjectId and must
+ # be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
+ # is the project which owns the listed subnetworks. This defaults to the
+ # parent project ID.
+ # @param [Fixnum] page_size
+ # The max number of results per page that should be returned. If the number
+ # of available results is larger than `page_size`, a `next_page_token` is
+ # returned which can be used to get the next page of results in subsequent
+ # requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
+ # @param [String] page_token
+ # Specifies a page token to use. Set this to the nextPageToken returned by
+ # previous list requests to get the next page of results.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::ContainerV1::ListUsableSubnetworksResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::ContainerV1::ListUsableSubnetworksResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_aggregated_usable_subnetworks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1/{+parent}/aggregated/usableSubnetworks', options)
+ command.response_representation = Google::Apis::ContainerV1::ListUsableSubnetworksResponse::Representation
+ command.response_class = Google::Apis::ContainerV1::ListUsableSubnetworksResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns configuration info about the Google Kubernetes Engine service.
# @param [String] name
# The name (project and location) of the server config to get,
# specified in the format 'projects/*/locations/*'.
@@ -128,11 +175,11 @@ module Google
# By default, the cluster is created in the project's
# [default network](/compute/docs/networks-and-firewalls#networks).
# One firewall is added for the cluster. After cluster creation,
- # the cluster creates routes for each node to allow the containers
+ # the Kubelet creates routes for each node to allow the containers
# on that node to communicate with all other instances in the
# cluster.
# Finally, an entry is added to the project's global metadata indicating
- # which CIDR range is being used by the cluster.
+ # which CIDR range the cluster is using.
# @param [String] parent
# The parent (project and location) where the cluster will be created.
# Specified in the format 'projects/*/locations/*'.
@@ -170,9 +217,9 @@ module Google
# nodes.
# Firewalls and routes that were configured during cluster creation
# are also deleted.
- # Other Google Compute Engine resources that might be in use by the cluster
- # (e.g. load balancer resources) will not be deleted if they weren't present
- # at the initial create time.
+ # Other Google Compute Engine resources that might be in use by the cluster,
+ # such as load balancer resources, are not deleted if they weren't present
+ # when the cluster was initially created.
# @param [String] name
# The name (project, location, cluster) of the cluster to delete.
# Specified in the format 'projects/*/locations/*/clusters/*'.
@@ -264,7 +311,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # GetJSONWebKeys gets the public component of the cluster signing keys in
+ # Gets the public component of the cluster signing keys in
# JSON Web Key format.
# This API is not yet intended for general use, and is not available for all
# clusters.
@@ -513,9 +560,9 @@ module Google
execute_or_queue_command(command, &block)
end
- # Used to set master auth materials. Currently supports :-
- # Changing the admin password for a specific cluster.
- # This can be either via password generation or explicitly set the password.
+ # Sets master auth materials. Currently supports changing the admin password
+ # or a specific cluster, either via password generation or explicitly setting
+ # the password.
# @param [String] name
# The name (project, location, cluster) of the cluster to set auth.
# Specified in the format 'projects/*/locations/*/clusters/*'.
@@ -583,7 +630,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Enables/Disables Network Policy for a cluster.
+ # Enables or disables Network Policy for a cluster.
# @param [String] name
# The name (project, location, cluster id) of the cluster to set networking
# policy. Specified in the format 'projects/*/locations/*/clusters/*'.
@@ -651,7 +698,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Start master IP rotation.
+ # Starts master IP rotation.
# @param [String] name
# The name (project, location, cluster id) of the cluster to start IP
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
@@ -839,7 +886,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Retrieves the node pool requested.
+ # Retrieves the requested node pool.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to
# get. Specified in the format
@@ -936,8 +983,8 @@ module Google
execute_or_queue_command(command, &block)
end
- # Roll back the previously Aborted or Failed NodePool upgrade.
- # This will be an no-op if the last upgrade successfully completed.
+ # Rolls back a previously Aborted or Failed NodePool upgrade.
+ # This makes no changes if the last upgrade successfully completed.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node poll to
# rollback upgrade.
@@ -972,7 +1019,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Sets the autoscaling settings for a specific node pool.
+ # Sets the autoscaling settings for the specified node pool.
# @param [String] name
# The name (project, location, cluster, node pool) of the node pool to set
# autoscaler settings. Specified in the format
@@ -1077,7 +1124,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Updates the version and/or image type for a specific node pool.
+ # Updates the version and/or image type for the specified node pool.
# @param [String] name
# The name (project, location, cluster, node pool) of the node pool to
# update. Specified in the format
@@ -1112,9 +1159,11 @@ module Google
execute_or_queue_command(command, &block)
end
- # GetOpenIDConfig gets the OIDC discovery document for the cluster.
- # See the OpenID Connect Discovery 1.0 specification for details.
- # https://openid.net/specs/openid-connect-discovery-1_0.html
+ # Gets the OIDC discovery document for the cluster.
+ # See the
+ # [OpenID Connect Discovery 1.0
+ # specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+ # for details.
# This API is not yet intended for general use, and is not available for all
# clusters.
# @param [String] parent
@@ -1269,7 +1318,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Returns configuration info about the Kubernetes Engine service.
+ # Returns configuration info about the Google Kubernetes Engine service.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -1405,11 +1454,11 @@ module Google
# By default, the cluster is created in the project's
# [default network](/compute/docs/networks-and-firewalls#networks).
# One firewall is added for the cluster. After cluster creation,
- # the cluster creates routes for each node to allow the containers
+ # the Kubelet creates routes for each node to allow the containers
# on that node to communicate with all other instances in the
# cluster.
# Finally, an entry is added to the project's global metadata indicating
- # which CIDR range is being used by the cluster.
+ # which CIDR range the cluster is using.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -1454,9 +1503,9 @@ module Google
# nodes.
# Firewalls and routes that were configured during cluster creation
# are also deleted.
- # Other Google Compute Engine resources that might be in use by the cluster
- # (e.g. load balancer resources) will not be deleted if they weren't present
- # at the initial create time.
+ # Other Google Compute Engine resources that might be in use by the cluster,
+ # such as load balancer resources, are not deleted if they weren't present
+ # when the cluster was initially created.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -1904,9 +1953,9 @@ module Google
execute_or_queue_command(command, &block)
end
- # Used to set master auth materials. Currently supports :-
- # Changing the admin password for a specific cluster.
- # This can be either via password generation or explicitly set the password.
+ # Sets master auth materials. Currently supports changing the admin password
+ # or a specific cluster, either via password generation or explicitly setting
+ # the password.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -1951,7 +2000,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Enables/Disables Network Policy for a cluster.
+ # Enables or disables Network Policy for a cluster.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber).
@@ -1996,7 +2045,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Start master IP rotation.
+ # Starts master IP rotation.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber).
@@ -2086,7 +2135,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Sets the autoscaling settings for a specific node pool.
+ # Sets the autoscaling settings for the specified node pool.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -2231,7 +2280,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Retrieves the node pool requested.
+ # Retrieves the requested node pool.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber).
@@ -2328,8 +2377,8 @@ module Google
execute_or_queue_command(command, &block)
end
- # Roll back the previously Aborted or Failed NodePool upgrade.
- # This will be an no-op if the last upgrade successfully completed.
+ # Rolls back a previously Aborted or Failed NodePool upgrade.
+ # This makes no changes if the last upgrade successfully completed.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -2476,7 +2525,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Updates the version and/or image type for a specific node pool.
+ # Updates the version and/or image type for the specified node pool.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb
index 75c927fb6..303246f87 100644
--- a/generated/google/apis/container_v1beta1.rb
+++ b/generated/google/apis/container_v1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1beta1
VERSION = 'V1beta1'
- REVISION = '20190316'
+ REVISION = '20190411'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb
index 68c25157b..8974e6ed5 100644
--- a/generated/google/apis/container_v1beta1/classes.rb
+++ b/generated/google/apis/container_v1beta1/classes.rb
@@ -368,7 +368,7 @@ module Google
# [Output only] Deprecated, use
# [NodePool.version](/kubernetes-engine/docs/reference/rest/v1beta1/projects.
- # zones.clusters.nodePool)
+ # locations.clusters.nodePools)
# instead. The current version of the node software components.
# If they are currently at multiple versions because they're in the process
# of being upgraded, this reflects the minimum version of all nodes.
@@ -1160,37 +1160,37 @@ module Google
class GetOpenIdConfigResponse
include Google::Apis::Core::Hashable
- # NOLINT
+ # Supported claims.
# Corresponds to the JSON property `claims_supported`
# @return [Array]
attr_accessor :claims_supported
- # NOLINT
+ # Supported grant types.
# Corresponds to the JSON property `grant_types`
# @return [Array]
attr_accessor :grant_types
- # NOLINT
+ # supported ID Token signing Algorithms.
# Corresponds to the JSON property `id_token_signing_alg_values_supported`
# @return [Array]
attr_accessor :id_token_signing_alg_values_supported
- # NOLINT
+ # OIDC Issuer.
# Corresponds to the JSON property `issuer`
# @return [String]
attr_accessor :issuer
- # NOLINT
+ # JSON Web Key uri.
# Corresponds to the JSON property `jwks_uri`
# @return [String]
attr_accessor :jwks_uri
- # NOLINT
+ # Supported response types.
# Corresponds to the JSON property `response_types_supported`
# @return [Array]
attr_accessor :response_types_supported
- # NOLINT
+ # Supported subject types.
# Corresponds to the JSON property `subject_types_supported`
# @return [Array]
attr_accessor :subject_types_supported
@@ -1465,49 +1465,47 @@ module Google
class Jwk
include Google::Apis::Core::Hashable
- # NOLINT
+ # Algorithm.
# Corresponds to the JSON property `alg`
# @return [String]
attr_accessor :alg
- # NOLINT
+ # Used for ECDSA keys.
# Corresponds to the JSON property `crv`
# @return [String]
attr_accessor :crv
- # NOLINT
+ # Used for RSA keys.
# Corresponds to the JSON property `e`
# @return [String]
attr_accessor :e
- # NOLINT
+ # Key ID.
# Corresponds to the JSON property `kid`
# @return [String]
attr_accessor :kid
- # NOLINT
+ # Key Type.
# Corresponds to the JSON property `kty`
# @return [String]
attr_accessor :kty
- # Fields for RSA keys.
- # NOLINT
+ # Used for RSA keys.
# Corresponds to the JSON property `n`
# @return [String]
attr_accessor :n
- # NOLINT
+ # Permitted uses for the public keys.
# Corresponds to the JSON property `use`
# @return [String]
attr_accessor :use
- # Fields for ECDSA keys.
- # NOLINT
+ # Used for ECDSA keys.
# Corresponds to the JSON property `x`
# @return [String]
attr_accessor :x
- # NOLINT
+ # Used for ECDSA keys.
# Corresponds to the JSON property `y`
# @return [String]
attr_accessor :y
@@ -2130,6 +2128,11 @@ module Google
attr_accessor :preemptible
alias_method :preemptible?, :preemptible
+ # SandboxConfig contains configurations of the sandbox to use for the node.
+ # Corresponds to the JSON property `sandboxConfig`
+ # @return [Google::Apis::ContainerV1beta1::SandboxConfig]
+ attr_accessor :sandbox_config
+
# The Google Cloud Platform Service Account to be used by the node VMs. If
# no Service Account is specified, the "default" service account is used.
# Corresponds to the JSON property `serviceAccount`
@@ -2174,6 +2177,7 @@ module Google
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
@preemptible = args[:preemptible] if args.key?(:preemptible)
+ @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
@service_account = args[:service_account] if args.key?(:service_account)
@tags = args[:tags] if args.key?(:tags)
@taints = args[:taints] if args.key?(:taints)
@@ -2724,6 +2728,25 @@ module Google
end
end
+ # SandboxConfig contains configurations of the sandbox to use for the node.
+ class SandboxConfig
+ include Google::Apis::Core::Hashable
+
+ # Type of the sandbox to use for the node (e.g. 'gvisor')
+ # Corresponds to the JSON property `sandboxType`
+ # @return [String]
+ attr_accessor :sandbox_type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @sandbox_type = args[:sandbox_type] if args.key?(:sandbox_type)
+ end
+ end
+
# Kubernetes Engine service configuration.
class ServerConfig
include Google::Apis::Core::Hashable
@@ -3796,8 +3819,8 @@ module Google
class WorkloadMetadataConfig
include Google::Apis::Core::Hashable
- # NodeMetadata is the configuration for how to expose the node metadata to
- # the workload running on the node.
+ # NodeMetadata is the configuration for how to expose metadata to the
+ # workloads running on the node.
# Corresponds to the JSON property `nodeMetadata`
# @return [String]
attr_accessor :node_metadata
diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb
index 3f2ae2192..4ae976d59 100644
--- a/generated/google/apis/container_v1beta1/representations.rb
+++ b/generated/google/apis/container_v1beta1/representations.rb
@@ -358,6 +358,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class SandboxConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ServerConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -997,6 +1003,8 @@ module Google
property :min_cpu_platform, as: 'minCpuPlatform'
collection :oauth_scopes, as: 'oauthScopes'
property :preemptible, as: 'preemptible'
+ property :sandbox_config, as: 'sandboxConfig', class: Google::Apis::ContainerV1beta1::SandboxConfig, decorator: Google::Apis::ContainerV1beta1::SandboxConfig::Representation
+
property :service_account, as: 'serviceAccount'
collection :tags, as: 'tags'
collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation
@@ -1140,6 +1148,13 @@ module Google
end
end
+ class SandboxConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :sandbox_type, as: 'sandboxType'
+ end
+ end
+
class ServerConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/container_v1beta1/service.rb b/generated/google/apis/container_v1beta1/service.rb
index 7562f27b0..70fe3d32e 100644
--- a/generated/google/apis/container_v1beta1/service.rb
+++ b/generated/google/apis/container_v1beta1/service.rb
@@ -48,7 +48,7 @@ module Google
@batch_path = 'batch'
end
- # Lists subnetworks that are usable for creating clusters in a project.
+ # Lists subnetworks that can be used for creating clusters in a project.
# @param [String] parent
# The parent project where subnetworks are usable.
# Specified in the format 'projects/*'.
@@ -95,7 +95,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Returns configuration info about the Kubernetes Engine service.
+ # Returns configuration info about the Google Kubernetes Engine service.
# @param [String] name
# The name (project and location) of the server config to get,
# specified in the format 'projects/*/locations/*'.
@@ -136,7 +136,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Used to fetch locations that offer GKE.
+ # Fetches locations that offer Google Kubernetes Engine.
# @param [String] parent
# Contains the name of the resource requested.
# Specified in the format 'projects/*'.
@@ -206,11 +206,11 @@ module Google
# By default, the cluster is created in the project's
# [default network](/compute/docs/networks-and-firewalls#networks).
# One firewall is added for the cluster. After cluster creation,
- # the cluster creates routes for each node to allow the containers
+ # the Kubelet creates routes for each node to allow the containers
# on that node to communicate with all other instances in the
# cluster.
# Finally, an entry is added to the project's global metadata indicating
- # which CIDR range is being used by the cluster.
+ # which CIDR range the cluster is using.
# @param [String] parent
# The parent (project and location) where the cluster will be created.
# Specified in the format 'projects/*/locations/*'.
@@ -248,9 +248,9 @@ module Google
# nodes.
# Firewalls and routes that were configured during cluster creation
# are also deleted.
- # Other Google Compute Engine resources that might be in use by the cluster
- # (e.g. load balancer resources) will not be deleted if they weren't present
- # at the initial create time.
+ # Other Google Compute Engine resources that might be in use by the cluster,
+ # such as load balancer resources, are not deleted if they weren't present
+ # when the cluster was initially created.
# @param [String] name
# The name (project, location, cluster) of the cluster to delete.
# Specified in the format 'projects/*/locations/*/clusters/*'.
@@ -342,7 +342,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # GetJSONWebKeys gets the public component of the cluster signing keys in
+ # Gets the public component of the cluster signing keys in
# JSON Web Key format.
# This API is not yet intended for general use, and is not available for all
# clusters.
@@ -591,10 +591,9 @@ module Google
execute_or_queue_command(command, &block)
end
- # Used to set master auth materials. Currently supports :-
- # Changing the admin password for a specific cluster.
- # This can be either via password generation or explicitly set.
- # Modify basic_auth.csv and reset the K8S API server.
+ # Sets master auth materials. Currently supports changing the admin password
+ # or a specific cluster, either via password generation or explicitly setting
+ # the password.
# @param [String] name
# The name (project, location, cluster) of the cluster to set auth.
# Specified in the format 'projects/*/locations/*/clusters/*'.
@@ -662,7 +661,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Enables/Disables Network Policy for a cluster.
+ # Enables or disables Network Policy for a cluster.
# @param [String] name
# The name (project, location, cluster id) of the cluster to set networking
# policy. Specified in the format 'projects/*/locations/*/clusters/*'.
@@ -730,7 +729,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Start master IP rotation.
+ # Starts master IP rotation.
# @param [String] name
# The name (project, location, cluster id) of the cluster to start IP
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
@@ -918,7 +917,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Retrieves the node pool requested.
+ # Retrieves the requested node pool.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to
# get. Specified in the format
@@ -1015,8 +1014,8 @@ module Google
execute_or_queue_command(command, &block)
end
- # Roll back the previously Aborted or Failed NodePool upgrade.
- # This will be an no-op if the last upgrade successfully completed.
+ # Rolls back a previously Aborted or Failed NodePool upgrade.
+ # This makes no changes if the last upgrade successfully completed.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node poll to
# rollback upgrade.
@@ -1191,9 +1190,11 @@ module Google
execute_or_queue_command(command, &block)
end
- # GetOpenIDConfig gets the OIDC discovery document for the cluster.
- # See the OpenID Connect Discovery 1.0 specification for details.
- # https://openid.net/specs/openid-connect-discovery-1_0.html
+ # Gets the OIDC discovery document for the cluster.
+ # See the
+ # [OpenID Connect Discovery 1.0
+ # specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+ # for details.
# This API is not yet intended for general use, and is not available for all
# clusters.
# @param [String] parent
@@ -1306,7 +1307,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Lists all operations in a project in a specific zone or all zones.
+ # Lists all operations in a project in the specified zone or all zones.
# @param [String] parent
# The parent (project and location) where the operations will be listed.
# Specified in the format 'projects/*/locations/*'.
@@ -1348,7 +1349,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Returns configuration info about the Kubernetes Engine service.
+ # Returns configuration info about the Google Kubernetes Engine service.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -1484,11 +1485,11 @@ module Google
# By default, the cluster is created in the project's
# [default network](/compute/docs/networks-and-firewalls#networks).
# One firewall is added for the cluster. After cluster creation,
- # the cluster creates routes for each node to allow the containers
+ # the Kubelet creates routes for each node to allow the containers
# on that node to communicate with all other instances in the
# cluster.
# Finally, an entry is added to the project's global metadata indicating
- # which CIDR range is being used by the cluster.
+ # which CIDR range the cluster is using.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -1533,9 +1534,9 @@ module Google
# nodes.
# Firewalls and routes that were configured during cluster creation
# are also deleted.
- # Other Google Compute Engine resources that might be in use by the cluster
- # (e.g. load balancer resources) will not be deleted if they weren't present
- # at the initial create time.
+ # Other Google Compute Engine resources that might be in use by the cluster,
+ # such as load balancer resources, are not deleted if they weren't present
+ # when the cluster was initially created.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -1983,10 +1984,9 @@ module Google
execute_or_queue_command(command, &block)
end
- # Used to set master auth materials. Currently supports :-
- # Changing the admin password for a specific cluster.
- # This can be either via password generation or explicitly set.
- # Modify basic_auth.csv and reset the K8S API server.
+ # Sets master auth materials. Currently supports changing the admin password
+ # or a specific cluster, either via password generation or explicitly setting
+ # the password.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -2031,7 +2031,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Enables/Disables Network Policy for a cluster.
+ # Enables or disables Network Policy for a cluster.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber).
@@ -2076,7 +2076,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Start master IP rotation.
+ # Starts master IP rotation.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber).
@@ -2311,7 +2311,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Retrieves the node pool requested.
+ # Retrieves the requested node pool.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber).
@@ -2408,8 +2408,8 @@ module Google
execute_or_queue_command(command, &block)
end
- # Roll back the previously Aborted or Failed NodePool upgrade.
- # This will be an no-op if the last upgrade successfully completed.
+ # Rolls back a previously Aborted or Failed NodePool upgrade.
+ # This makes no changes if the last upgrade successfully completed.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
@@ -2695,7 +2695,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Lists all operations in a project in a specific zone or all zones.
+ # Lists all operations in a project in the specified zone or all zones.
# @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
diff --git a/generated/google/apis/containeranalysis_v1alpha1.rb b/generated/google/apis/containeranalysis_v1alpha1.rb
index d74a2114b..b0f1ba9e2 100644
--- a/generated/google/apis/containeranalysis_v1alpha1.rb
+++ b/generated/google/apis/containeranalysis_v1alpha1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-analysis/api/reference/rest/
module ContaineranalysisV1alpha1
VERSION = 'V1alpha1'
- REVISION = '20190315'
+ REVISION = '20190419'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/containeranalysis_v1beta1.rb b/generated/google/apis/containeranalysis_v1beta1.rb
index cfafbc0c6..d30ef7d05 100644
--- a/generated/google/apis/containeranalysis_v1beta1.rb
+++ b/generated/google/apis/containeranalysis_v1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-analysis/api/reference/rest/
module ContaineranalysisV1beta1
VERSION = 'V1beta1'
- REVISION = '20190315'
+ REVISION = '20190419'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/containeranalysis_v1beta1/classes.rb b/generated/google/apis/containeranalysis_v1beta1/classes.rb
index 83f2f7bac..70b1d5f44 100644
--- a/generated/google/apis/containeranalysis_v1beta1/classes.rb
+++ b/generated/google/apis/containeranalysis_v1beta1/classes.rb
@@ -96,9 +96,9 @@ module Google
include Google::Apis::Core::Hashable
# An attestation wrapper that uses the Grafeas `Signature` message.
- # This attestation must define the `plaintext` that the `signatures` verify
- # and any metadata necessary to interpret that plaintext. The signatures
- # should always be over the `plaintext` bytestring.
+ # This attestation must define the `serialized_payload` that the `signatures`
+ # verify and any metadata necessary to interpret that plaintext. The
+ # signatures should always be over the `serialized_payload` bytestring.
# Corresponds to the JSON property `genericSignedAttestation`
# @return [Google::Apis::ContaineranalysisV1beta1::GenericSignedAttestation]
attr_accessor :generic_signed_attestation
@@ -597,6 +597,88 @@ module Google
end
end
+ # Common Vulnerability Scoring System version 3.
+ # For details, see https://www.first.org/cvss/specification-document
+ class CvsSv3
+ include Google::Apis::Core::Hashable
+
+ #
+ # Corresponds to the JSON property `attackComplexity`
+ # @return [String]
+ attr_accessor :attack_complexity
+
+ # Base Metrics
+ # Represents the intrinsic characteristics of a vulnerability that are
+ # constant over time and across user environments.
+ # Corresponds to the JSON property `attackVector`
+ # @return [String]
+ attr_accessor :attack_vector
+
+ #
+ # Corresponds to the JSON property `availabilityImpact`
+ # @return [String]
+ attr_accessor :availability_impact
+
+ # The base score is a function of the base metric scores.
+ # Corresponds to the JSON property `baseScore`
+ # @return [Float]
+ attr_accessor :base_score
+
+ #
+ # Corresponds to the JSON property `confidentialityImpact`
+ # @return [String]
+ attr_accessor :confidentiality_impact
+
+ #
+ # Corresponds to the JSON property `exploitabilityScore`
+ # @return [Float]
+ attr_accessor :exploitability_score
+
+ #
+ # Corresponds to the JSON property `impactScore`
+ # @return [Float]
+ attr_accessor :impact_score
+
+ #
+ # Corresponds to the JSON property `integrityImpact`
+ # @return [String]
+ attr_accessor :integrity_impact
+
+ #
+ # Corresponds to the JSON property `privilegesRequired`
+ # @return [String]
+ attr_accessor :privileges_required
+
+ #
+ # Corresponds to the JSON property `scope`
+ # @return [String]
+ attr_accessor :scope
+
+ #
+ # Corresponds to the JSON property `userInteraction`
+ # @return [String]
+ attr_accessor :user_interaction
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @attack_complexity = args[:attack_complexity] if args.key?(:attack_complexity)
+ @attack_vector = args[:attack_vector] if args.key?(:attack_vector)
+ @availability_impact = args[:availability_impact] if args.key?(:availability_impact)
+ @base_score = args[:base_score] if args.key?(:base_score)
+ @confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact)
+ @exploitability_score = args[:exploitability_score] if args.key?(:exploitability_score)
+ @impact_score = args[:impact_score] if args.key?(:impact_score)
+ @integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
+ @privileges_required = args[:privileges_required] if args.key?(:privileges_required)
+ @scope = args[:scope] if args.key?(:scope)
+ @user_interaction = args[:user_interaction] if args.key?(:user_interaction)
+ end
+ end
+
# A CloudRepoSourceContext denotes a particular revision in a Google Cloud
# Source Repo.
class CloudRepoSourceContext
@@ -1209,9 +1291,9 @@ module Google
end
# An attestation wrapper that uses the Grafeas `Signature` message.
- # This attestation must define the `plaintext` that the `signatures` verify
- # and any metadata necessary to interpret that plaintext. The signatures
- # should always be over the `plaintext` bytestring.
+ # This attestation must define the `serialized_payload` that the `signatures`
+ # verify and any metadata necessary to interpret that plaintext. The
+ # signatures should always be over the `serialized_payload` bytestring.
class GenericSignedAttestation
include Google::Apis::Core::Hashable
@@ -2773,6 +2855,12 @@ module Google
# @return [Float]
attr_accessor :cvss_score
+ # Common Vulnerability Scoring System version 3.
+ # For details, see https://www.first.org/cvss/specification-document
+ # Corresponds to the JSON property `cvssV3`
+ # @return [Google::Apis::ContaineranalysisV1beta1::CvsSv3]
+ attr_accessor :cvss_v3
+
# All information about the package to specifically identify this
# vulnerability. One entry per (version range and cpe_uri) the package
# vulnerability has manifested in.
@@ -2800,6 +2888,7 @@ module Google
# Update properties of this object
def update!(**args)
@cvss_score = args[:cvss_score] if args.key?(:cvss_score)
+ @cvss_v3 = args[:cvss_v3] if args.key?(:cvss_v3)
@details = args[:details] if args.key?(:details)
@severity = args[:severity] if args.key?(:severity)
@windows_details = args[:windows_details] if args.key?(:windows_details)
diff --git a/generated/google/apis/containeranalysis_v1beta1/representations.rb b/generated/google/apis/containeranalysis_v1beta1/representations.rb
index 4183599bf..fc6cd6b56 100644
--- a/generated/google/apis/containeranalysis_v1beta1/representations.rb
+++ b/generated/google/apis/containeranalysis_v1beta1/representations.rb
@@ -112,6 +112,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class CvsSv3
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class CloudRepoSourceContext
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -610,6 +616,23 @@ module Google
end
end
+ class CvsSv3
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :attack_complexity, as: 'attackComplexity'
+ property :attack_vector, as: 'attackVector'
+ property :availability_impact, as: 'availabilityImpact'
+ property :base_score, as: 'baseScore'
+ property :confidentiality_impact, as: 'confidentialityImpact'
+ property :exploitability_score, as: 'exploitabilityScore'
+ property :impact_score, as: 'impactScore'
+ property :integrity_impact, as: 'integrityImpact'
+ property :privileges_required, as: 'privilegesRequired'
+ property :scope, as: 'scope'
+ property :user_interaction, as: 'userInteraction'
+ end
+ end
+
class CloudRepoSourceContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1177,6 +1200,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cvss_score, as: 'cvssScore'
+ property :cvss_v3, as: 'cvssV3', class: Google::Apis::ContaineranalysisV1beta1::CvsSv3, decorator: Google::Apis::ContaineranalysisV1beta1::CvsSv3::Representation
+
collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1beta1::Detail, decorator: Google::Apis::ContaineranalysisV1beta1::Detail::Representation
property :severity, as: 'severity'
diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb
index ef9e864b5..a2cf95f70 100644
--- a/generated/google/apis/content_v2.rb
+++ b/generated/google/apis/content_v2.rb
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
- REVISION = '20190315'
+ REVISION = '20190423'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb
index 2c402bb61..980db820a 100644
--- a/generated/google/apis/content_v2/classes.rb
+++ b/generated/google/apis/content_v2/classes.rb
@@ -8510,7 +8510,7 @@ module Google
# @return [Array]
attr_accessor :additional_image_links
- # Additional categories of the item (formatted as in products feed specification)
+ # Additional categories of the item (formatted as in products data specification)
# .
# Corresponds to the JSON property `additionalProductTypes`
# @return [Array]
@@ -8591,8 +8591,8 @@ module Google
# A list of custom (merchant-provided) attributes. It can also be used for
# submitting any attribute of the feed specification in its generic form (e.g., `
- # "name": "size type", "type": "text", "value": "regular" `). This is useful
- # for submitting attributes not explicitly exposed by the API.
+ # "name": "size type", "value": "regular" `). This is useful for submitting
+ # attributes not explicitly exposed by the API.
# Corresponds to the JSON property `customAttributes`
# @return [Array]
attr_accessor :custom_attributes
@@ -8810,7 +8810,7 @@ module Google
# @return [Google::Apis::ContentV2::Price]
attr_accessor :price
- # Your category of the item (formatted as in products feed specification).
+ # Your category of the item (formatted as in products data specification).
# Corresponds to the JSON property `productType`
# @return [String]
attr_accessor :product_type
@@ -8825,7 +8825,7 @@ module Google
# @return [Google::Apis::ContentV2::Price]
attr_accessor :sale_price
- # Date range during which the item is on sale (see products feed specification).
+ # Date range during which the item is on sale (see products data specification).
# Corresponds to the JSON property `salePriceEffectiveDate`
# @return [String]
attr_accessor :sale_price_effective_date
diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb
index 56446a550..e60a478b2 100644
--- a/generated/google/apis/content_v2/service.rb
+++ b/generated/google/apis/content_v2/service.rb
@@ -283,8 +283,8 @@ module Google
execute_or_queue_command(command, &block)
end
- # Performs an action on a link between a Merchant Center account and another
- # account.
+ # Performs an action on a link between two Merchant Center accounts, namely
+ # accountId and linkedAccountId.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
@@ -1769,7 +1769,7 @@ module Google
end
# Creates a charge invoice for a shipment group, and triggers a charge capture
- # for non-facilitated payment orders.
+ # for orderinvoice enabled orders.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
@@ -1810,9 +1810,9 @@ module Google
end
# Creates a refund invoice for one or more shipment groups, and triggers a
- # refund for non-facilitated payment orders. This can only be used for line
- # items that have previously been charged using createChargeInvoice. All amounts
- # (except for the summary) are incremental with respect to the previous invoice.
+ # refund for orderinvoice enabled orders. This can only be used for line items
+ # that have previously been charged using createChargeInvoice. All amounts (
+ # except for the summary) are incremental with respect to the previous invoice.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
diff --git a/generated/google/apis/content_v2_1.rb b/generated/google/apis/content_v2_1.rb
index 56a326f0c..dd04ec9f1 100644
--- a/generated/google/apis/content_v2_1.rb
+++ b/generated/google/apis/content_v2_1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2_1
VERSION = 'V2_1'
- REVISION = '20190315'
+ REVISION = '20190423'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
diff --git a/generated/google/apis/content_v2_1/classes.rb b/generated/google/apis/content_v2_1/classes.rb
index e7a854c31..392e44ec8 100644
--- a/generated/google/apis/content_v2_1/classes.rb
+++ b/generated/google/apis/content_v2_1/classes.rb
@@ -6741,8 +6741,8 @@ module Google
# A list of custom (merchant-provided) attributes. It can also be used for
# submitting any attribute of the feed specification in its generic form (e.g., `
- # "name": "size type", "type": "text", "value": "regular" `). This is useful
- # for submitting attributes not explicitly exposed by the API.
+ # "name": "size type", "value": "regular" `). This is useful for submitting
+ # attributes not explicitly exposed by the API.
# Corresponds to the JSON property `customAttributes`
# @return [Array]
attr_accessor :custom_attributes
@@ -6957,7 +6957,7 @@ module Google
# @return [Google::Apis::ContentV2_1::Price]
attr_accessor :price
- # Categories of the item (formatted as in products feed specification).
+ # Categories of the item (formatted as in products data specification).
# Corresponds to the JSON property `productTypes`
# @return [Array]
attr_accessor :product_types
@@ -6972,7 +6972,7 @@ module Google
# @return [Google::Apis::ContentV2_1::Price]
attr_accessor :sale_price
- # Date range during which the item is on sale (see products feed specification).
+ # Date range during which the item is on sale (see products data specification).
# Corresponds to the JSON property `salePriceEffectiveDate`
# @return [String]
attr_accessor :sale_price_effective_date
@@ -7039,6 +7039,12 @@ module Google
# @return [String]
attr_accessor :target_country
+ # The tax category of the product, used to configure detailed tax nexus in
+ # account-level tax settings.
+ # Corresponds to the JSON property `taxCategory`
+ # @return [String]
+ attr_accessor :tax_category
+
# Tax information.
# Corresponds to the JSON property `taxes`
# @return [Array]
@@ -7049,6 +7055,12 @@ module Google
# @return [String]
attr_accessor :title
+ # The transit time label of the product, used to group product in account-level
+ # transit time tables.
+ # Corresponds to the JSON property `transitTimeLabel`
+ # @return [String]
+ attr_accessor :transit_time_label
+
# The preference of the denominator of the unit price.
# Corresponds to the JSON property `unitPricingBaseMeasure`
# @return [Google::Apis::ContentV2_1::ProductUnitPricingBaseMeasure]
@@ -7134,8 +7146,10 @@ module Google
@sizes = args[:sizes] if args.key?(:sizes)
@source = args[:source] if args.key?(:source)
@target_country = args[:target_country] if args.key?(:target_country)
+ @tax_category = args[:tax_category] if args.key?(:tax_category)
@taxes = args[:taxes] if args.key?(:taxes)
@title = args[:title] if args.key?(:title)
+ @transit_time_label = args[:transit_time_label] if args.key?(:transit_time_label)
@unit_pricing_base_measure = args[:unit_pricing_base_measure] if args.key?(:unit_pricing_base_measure)
@unit_pricing_measure = args[:unit_pricing_measure] if args.key?(:unit_pricing_measure)
end
diff --git a/generated/google/apis/content_v2_1/representations.rb b/generated/google/apis/content_v2_1/representations.rb
index 2065629a0..e045e3a9f 100644
--- a/generated/google/apis/content_v2_1/representations.rb
+++ b/generated/google/apis/content_v2_1/representations.rb
@@ -3350,9 +3350,11 @@ module Google
collection :sizes, as: 'sizes'
property :source, as: 'source'
property :target_country, as: 'targetCountry'
+ property :tax_category, as: 'taxCategory'
collection :taxes, as: 'taxes', class: Google::Apis::ContentV2_1::ProductTax, decorator: Google::Apis::ContentV2_1::ProductTax::Representation
property :title, as: 'title'
+ property :transit_time_label, as: 'transitTimeLabel'
property :unit_pricing_base_measure, as: 'unitPricingBaseMeasure', class: Google::Apis::ContentV2_1::ProductUnitPricingBaseMeasure, decorator: Google::Apis::ContentV2_1::ProductUnitPricingBaseMeasure::Representation
property :unit_pricing_measure, as: 'unitPricingMeasure', class: Google::Apis::ContentV2_1::ProductUnitPricingMeasure, decorator: Google::Apis::ContentV2_1::ProductUnitPricingMeasure::Representation
diff --git a/generated/google/apis/content_v2_1/service.rb b/generated/google/apis/content_v2_1/service.rb
index 1c8eb50a3..8832f116b 100644
--- a/generated/google/apis/content_v2_1/service.rb
+++ b/generated/google/apis/content_v2_1/service.rb
@@ -271,8 +271,8 @@ module Google
execute_or_queue_command(command, &block)
end
- # Performs an action on a link between a Merchant Center account and another
- # account.
+ # Performs an action on a link between two Merchant Center accounts, namely
+ # accountId and linkedAccountId.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
@@ -1451,7 +1451,7 @@ module Google
end
# Creates a charge invoice for a shipment group, and triggers a charge capture
- # for non-facilitated payment orders.
+ # for orderinvoice enabled orders.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
@@ -1492,9 +1492,9 @@ module Google
end
# Creates a refund invoice for one or more shipment groups, and triggers a
- # refund for non-facilitated payment orders. This can only be used for line
- # items that have previously been charged using createChargeInvoice. All amounts
- # (except for the summary) are incremental with respect to the previous invoice.
+ # refund for orderinvoice enabled orders. This can only be used for line items
+ # that have previously been charged using createChargeInvoice. All amounts (
+ # except for the summary) are incremental with respect to the previous invoice.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
diff --git a/generated/google/apis/datafusion_v1beta1.rb b/generated/google/apis/datafusion_v1beta1.rb
new file mode 100644
index 000000000..f73b251aa
--- /dev/null
+++ b/generated/google/apis/datafusion_v1beta1.rb
@@ -0,0 +1,43 @@
+# Copyright 2015 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'google/apis/datafusion_v1beta1/service.rb'
+require 'google/apis/datafusion_v1beta1/classes.rb'
+require 'google/apis/datafusion_v1beta1/representations.rb'
+
+module Google
+ module Apis
+ # Cloud Data Fusion API
+ #
+ # Cloud Data Fusion is a fully-managed, cloud native, enterprise data
+ # integration service for
+ # quickly building and managing data pipelines. It provides a graphical
+ # interface to increase
+ # time efficiency and reduce complexity, and allows business users,
+ # developers, and data
+ # scientists to easily and reliably build scalable data integration
+ # solutions to cleanse,
+ # prepare, blend, transfer and transform data without having to wrestle with
+ # infrastructure.
+ #
+ # @see https://cloud.google.com/data-fusion/docs
+ module DatafusionV1beta1
+ VERSION = 'V1beta1'
+ REVISION = '20190424'
+
+ # View and manage your data across Google Cloud Platform services
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+ end
+ end
+end
diff --git a/generated/google/apis/datafusion_v1beta1/classes.rb b/generated/google/apis/datafusion_v1beta1/classes.rb
new file mode 100644
index 000000000..b22b7dc54
--- /dev/null
+++ b/generated/google/apis/datafusion_v1beta1/classes.rb
@@ -0,0 +1,1304 @@
+# 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 DatafusionV1beta1
+
+ # 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:foo@gmail.com"
+ # ]
+ # `,
+ # `
+ # "log_type": "DATA_WRITE",
+ # `,
+ # `
+ # "log_type": "ADMIN_READ",
+ # `
+ # ]
+ # `,
+ # `
+ # "service": "fooservice.googleapis.com"
+ # "audit_log_configs": [
+ # `
+ # "log_type": "DATA_READ",
+ # `,
+ # `
+ # "log_type": "DATA_WRITE",
+ # "exempted_members": [
+ # "user:bar@gmail.com"
+ # ]
+ # `
+ # ]
+ # `
+ # ]
+ # `
+ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
+ # logging. It also exempts foo@gmail.com from DATA_READ logging, and
+ # bar@gmail.com from DATA_WRITE logging.
+ class AuditConfig
+ include Google::Apis::Core::Hashable
+
+ # The configuration for logging of each type of permission.
+ # Corresponds to the JSON property `auditLogConfigs`
+ # @return [Array]
+ attr_accessor :audit_log_configs
+
+ #
+ # Corresponds to the JSON property `exemptedMembers`
+ # @return [Array]
+ attr_accessor :exempted_members
+
+ # 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
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
+ @service = args[:service] if args.key?(:service)
+ end
+ end
+
+ # Provides the configuration for logging a type of permissions.
+ # Example:
+ # `
+ # "audit_log_configs": [
+ # `
+ # "log_type": "DATA_READ",
+ # "exempted_members": [
+ # "user:foo@gmail.com"
+ # ]
+ # `,
+ # `
+ # "log_type": "DATA_WRITE",
+ # `
+ # ]
+ # `
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
+ # foo@gmail.com from DATA_READ logging.
+ class AuditLogConfig
+ include Google::Apis::Core::Hashable
+
+ # Specifies the identities that do not cause logging for this type of
+ # permission.
+ # Follows the same format of Binding.members.
+ # Corresponds to the JSON property `exemptedMembers`
+ # @return [Array]
+ attr_accessor :exempted_members
+
+ # The log type that this config enables.
+ # Corresponds to the JSON property `logType`
+ # @return [String]
+ attr_accessor :log_type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
+ @log_type = args[:log_type] if args.key?(:log_type)
+ end
+ end
+
+ # Authorization-related information used by Cloud Audit Logging.
+ class AuthorizationLoggingOptions
+ include Google::Apis::Core::Hashable
+
+ # The type of the permission that was checked.
+ # Corresponds to the JSON property `permissionType`
+ # @return [String]
+ attr_accessor :permission_type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @permission_type = args[:permission_type] if args.key?(:permission_type)
+ end
+ end
+
+ # Associates `members` with a `role`.
+ class Binding
+ include Google::Apis::Core::Hashable
+
+ # Represents an expression text. Example:
+ # title: "User account presence"
+ # description: "Determines whether the request has a user account"
+ # expression: "size(request.user) > 0"
+ # Corresponds to the JSON property `condition`
+ # @return [Google::Apis::DatafusionV1beta1::Expr]
+ attr_accessor :condition
+
+ # Specifies the identities requesting access for a Cloud Platform resource.
+ # `members` can have the following values:
+ # * `allUsers`: A special identifier that represents anyone who is
+ # on the internet; with or without a Google account.
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
+ # who is authenticated with a Google account or a service account.
+ # * `user:`emailid``: An email address that represents a specific Google
+ # account. For example, `alice@gmail.com` .
+ # * `serviceAccount:`emailid``: An email address that represents a service
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
+ # * `group:`emailid``: An email address that represents a Google group.
+ # For example, `admins@example.com`.
+ # * `domain:`domain``: 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]
+ attr_accessor :members
+
+ # Role that is assigned to `members`.
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+ # Corresponds to the JSON property `role`
+ # @return [String]
+ attr_accessor :role
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @condition = args[:condition] if args.key?(:condition)
+ @members = args[:members] if args.key?(:members)
+ @role = args[:role] if args.key?(:role)
+ end
+ end
+
+ # The request message for Operations.CancelOperation.
+ class CancelOperationRequest
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # Write a Cloud Audit log
+ class CloudAuditOptions
+ include Google::Apis::Core::Hashable
+
+ # Authorization-related information used by Cloud Audit Logging.
+ # Corresponds to the JSON property `authorizationLoggingOptions`
+ # @return [Google::Apis::DatafusionV1beta1::AuthorizationLoggingOptions]
+ attr_accessor :authorization_logging_options
+
+ # The log_name to populate in the Cloud Audit Record.
+ # Corresponds to the JSON property `logName`
+ # @return [String]
+ attr_accessor :log_name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
+ @log_name = args[:log_name] if args.key?(:log_name)
+ end
+ end
+
+ # A condition to be met.
+ class Condition
+ include Google::Apis::Core::Hashable
+
+ # Trusted attributes supplied by the IAM system.
+ # Corresponds to the JSON property `iam`
+ # @return [String]
+ attr_accessor :iam
+
+ # An operator to apply the subject with.
+ # Corresponds to the JSON property `op`
+ # @return [String]
+ attr_accessor :op
+
+ # Trusted attributes discharged by the service.
+ # Corresponds to the JSON property `svc`
+ # @return [String]
+ attr_accessor :svc
+
+ # Trusted attributes supplied by any service that owns resources and uses
+ # the IAM system for access control.
+ # Corresponds to the JSON property `sys`
+ # @return [String]
+ attr_accessor :sys
+
+ # The objects of the condition.
+ # Corresponds to the JSON property `values`
+ # @return [Array]
+ attr_accessor :values
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @iam = args[:iam] if args.key?(:iam)
+ @op = args[:op] if args.key?(:op)
+ @svc = args[:svc] if args.key?(:svc)
+ @sys = args[:sys] if args.key?(:sys)
+ @values = args[:values] if args.key?(:values)
+ end
+ end
+
+ # Increment a streamz counter with the specified metric and field names.
+ # Metric names should start with a '/', generally be lowercase-only,
+ # and end in "_count". Field names should not contain an initial slash.
+ # The actual exported metric names will have "/iam/policy" prepended.
+ # Field names correspond to IAM request parameters and field values are
+ # their respective values.
+ # Supported field names:
+ # - "authority", which is "[token]" if IAMContext.token is present,
+ # otherwise the value of IAMContext.authority_selector if present, and
+ # otherwise a representation of IAMContext.principal; or
+ # - "iam_principal", a representation of IAMContext.principal even if a
+ # token or authority selector is present; or
+ # - "" (empty string), resulting in a counter with no fields.
+ # Examples:
+ # counter ` metric: "/debug_access_count" field: "iam_principal" `
+ # ==> increment counter /iam/policy/backend_debug_access_count
+ # `iam_principal=[value of IAMContext.principal]`
+ # At this time we do not support multiple field names (though this may be
+ # supported in the future).
+ class CounterOptions
+ include Google::Apis::Core::Hashable
+
+ # The field value to attribute.
+ # Corresponds to the JSON property `field`
+ # @return [String]
+ attr_accessor :field
+
+ # The metric to update.
+ # Corresponds to the JSON property `metric`
+ # @return [String]
+ attr_accessor :metric
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @field = args[:field] if args.key?(:field)
+ @metric = args[:metric] if args.key?(:metric)
+ end
+ end
+
+ # Write a Data Access (Gin) log
+ class DataAccessOptions
+ include Google::Apis::Core::Hashable
+
+ # Whether Gin logging should happen in a fail-closed manner at the caller.
+ # This is relevant only in the LocalIAM implementation, for now.
+ # Corresponds to the JSON property `logMode`
+ # @return [String]
+ attr_accessor :log_mode
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @log_mode = args[:log_mode] if args.key?(:log_mode)
+ end
+ end
+
+ # A generic empty message that you can re-use to avoid defining duplicated
+ # empty messages in your APIs. A typical example is to use it as the request
+ # or the response type of an API method. For instance:
+ # service Foo `
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+ # `
+ # The JSON representation for `Empty` is empty JSON object ````.
+ class Empty
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # Represents an expression text. Example:
+ # title: "User account presence"
+ # description: "Determines whether the request has a user account"
+ # expression: "size(request.user) > 0"
+ class Expr
+ include Google::Apis::Core::Hashable
+
+ # An optional description of the expression. This is a longer text which
+ # describes the expression, e.g. when hovered over it in a UI.
+ # Corresponds to the JSON property `description`
+ # @return [String]
+ attr_accessor :description
+
+ # Textual representation of an expression in
+ # Common Expression Language syntax.
+ # The application context of the containing message determines which
+ # well-known feature set of CEL is supported.
+ # Corresponds to the JSON property `expression`
+ # @return [String]
+ attr_accessor :expression
+
+ # An optional string indicating the location of the expression for error
+ # reporting, e.g. a file name and a position in the file.
+ # Corresponds to the JSON property `location`
+ # @return [String]
+ attr_accessor :location
+
+ # An optional title for the expression, i.e. a short string describing
+ # its purpose. This can be used e.g. in UIs which allow to enter the
+ # expression.
+ # Corresponds to the JSON property `title`
+ # @return [String]
+ attr_accessor :title
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @description = args[:description] if args.key?(:description)
+ @expression = args[:expression] if args.key?(:expression)
+ @location = args[:location] if args.key?(:location)
+ @title = args[:title] if args.key?(:title)
+ end
+ end
+
+ # Represents a Data Fusion instance.
+ class Instance
+ include Google::Apis::Core::Hashable
+
+ # Output only. The time the instance was created.
+ # Corresponds to the JSON property `createTime`
+ # @return [String]
+ attr_accessor :create_time
+
+ # An optional description of this instance.
+ # Corresponds to the JSON property `description`
+ # @return [String]
+ attr_accessor :description
+
+ # Display name for an instance.
+ # Corresponds to the JSON property `displayName`
+ # @return [String]
+ attr_accessor :display_name
+
+ # Option to enable Stackdriver Logging.
+ # Corresponds to the JSON property `enableStackdriverLogging`
+ # @return [Boolean]
+ attr_accessor :enable_stackdriver_logging
+ alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
+
+ # Option to enable Stackdriver Monitoring.
+ # Corresponds to the JSON property `enableStackdriverMonitoring`
+ # @return [Boolean]
+ attr_accessor :enable_stackdriver_monitoring
+ alias_method :enable_stackdriver_monitoring?, :enable_stackdriver_monitoring
+
+ # The resource labels for instance to use to annotate any related underlying
+ # resources such as GCE VMs. The character '=' is not allowed to be used
+ # within the labels.
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # Output only. The name of this instance is in the form of
+ # projects/`project`/locations/`location`/instances/`instance`.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Network configuration for a Data Fusion instance. These configurations
+ # are used for peering with the customer network. Configurations are optional
+ # when a public Data Fusion instance is to be created. However, providing
+ # these configurations allows several benefits, such as reduced network latency
+ # while accessing the customer resources from managed Data Fusion instance
+ # nodes, as well as access to the customer on-prem resources.
+ # Corresponds to the JSON property `networkConfig`
+ # @return [Google::Apis::DatafusionV1beta1::NetworkConfig]
+ attr_accessor :network_config
+
+ # Map of additional options used to configure the behavior of
+ # Data Fusion instance.
+ # Corresponds to the JSON property `options`
+ # @return [Hash]
+ attr_accessor :options
+
+ # Specifies whether the Data Fusion instance should be private. If set to
+ # true, all Data Fusion nodes will have private IP addresses and will not be
+ # able to access the public internet.
+ # Corresponds to the JSON property `privateInstance`
+ # @return [Boolean]
+ attr_accessor :private_instance
+ alias_method :private_instance?, :private_instance
+
+ # Output only. Service account which will be used to access resources in
+ # the customer project."
+ # Corresponds to the JSON property `serviceAccount`
+ # @return [String]
+ attr_accessor :service_account
+
+ # Output only. Endpoint on which the Data Fusion UI and REST APIs are
+ # accessible.
+ # Corresponds to the JSON property `serviceEndpoint`
+ # @return [String]
+ attr_accessor :service_endpoint
+
+ # Output only. The current state of this Data Fusion instance.
+ # Corresponds to the JSON property `state`
+ # @return [String]
+ attr_accessor :state
+
+ # Output only. Additional information about the current state of this Data
+ # Fusion instance if available.
+ # Corresponds to the JSON property `stateMessage`
+ # @return [String]
+ attr_accessor :state_message
+
+ # Required. Instance type.
+ # Corresponds to the JSON property `type`
+ # @return [String]
+ attr_accessor :type
+
+ # Output only. The time the instance was last updated.
+ # Corresponds to the JSON property `updateTime`
+ # @return [String]
+ attr_accessor :update_time
+
+ # Output only. Current version of the Data Fusion.
+ # Corresponds to the JSON property `version`
+ # @return [String]
+ attr_accessor :version
+
+ # Name of the zone in which the Data Fusion instance will be created.
+ # Corresponds to the JSON property `zone`
+ # @return [String]
+ attr_accessor :zone
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @create_time = args[:create_time] if args.key?(:create_time)
+ @description = args[:description] if args.key?(:description)
+ @display_name = args[:display_name] if args.key?(:display_name)
+ @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
+ @enable_stackdriver_monitoring = args[:enable_stackdriver_monitoring] if args.key?(:enable_stackdriver_monitoring)
+ @labels = args[:labels] if args.key?(:labels)
+ @name = args[:name] if args.key?(:name)
+ @network_config = args[:network_config] if args.key?(:network_config)
+ @options = args[:options] if args.key?(:options)
+ @private_instance = args[:private_instance] if args.key?(:private_instance)
+ @service_account = args[:service_account] if args.key?(:service_account)
+ @service_endpoint = args[:service_endpoint] if args.key?(:service_endpoint)
+ @state = args[:state] if args.key?(:state)
+ @state_message = args[:state_message] if args.key?(:state_message)
+ @type = args[:type] if args.key?(:type)
+ @update_time = args[:update_time] if args.key?(:update_time)
+ @version = args[:version] if args.key?(:version)
+ @zone = args[:zone] if args.key?(:zone)
+ end
+ end
+
+ # Response message for the list instance request.
+ class ListInstancesResponse
+ include Google::Apis::Core::Hashable
+
+ # Represents a list of Data Fusion instances.
+ # Corresponds to the JSON property `instances`
+ # @return [Array]
+ attr_accessor :instances
+
+ # Token to retrieve the next page of results or empty if there are no more
+ # results in the list.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ # Locations that could not be reached.
+ # Corresponds to the JSON property `unreachable`
+ # @return [Array]
+ attr_accessor :unreachable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @instances = args[:instances] if args.key?(:instances)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
+ end
+ end
+
+ # The response message for Locations.ListLocations.
+ class ListLocationsResponse
+ include Google::Apis::Core::Hashable
+
+ # A list of locations that matches the specified filter in the request.
+ # Corresponds to the JSON property `locations`
+ # @return [Array]
+ attr_accessor :locations
+
+ # The standard List next-page token.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @locations = args[:locations] if args.key?(:locations)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
+ # The response message for Operations.ListOperations.
+ class ListOperationsResponse
+ include Google::Apis::Core::Hashable
+
+ # The standard List next-page token.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ # A list of operations that matches the specified filter in the request.
+ # Corresponds to the JSON property `operations`
+ # @return [Array]
+ attr_accessor :operations
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ @operations = args[:operations] if args.key?(:operations)
+ end
+ end
+
+ # A resource that represents Google Cloud Platform location.
+ class Location
+ include Google::Apis::Core::Hashable
+
+ # The friendly name for this location, typically a nearby city name.
+ # For example, "Tokyo".
+ # Corresponds to the JSON property `displayName`
+ # @return [String]
+ attr_accessor :display_name
+
+ # Cross-service attributes for the location. For example
+ # `"cloud.googleapis.com/region": "us-east1"`
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # The canonical id for this location. For example: `"us-east1"`.
+ # Corresponds to the JSON property `locationId`
+ # @return [String]
+ attr_accessor :location_id
+
+ # Service-specific metadata. For example the available capacity at the given
+ # location.
+ # Corresponds to the JSON property `metadata`
+ # @return [Hash]
+ attr_accessor :metadata
+
+ # Resource name for the location, which may vary between implementations.
+ # For example: `"projects/example-project/locations/us-east1"`
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @display_name = args[:display_name] if args.key?(:display_name)
+ @labels = args[:labels] if args.key?(:labels)
+ @location_id = args[:location_id] if args.key?(:location_id)
+ @metadata = args[:metadata] if args.key?(:metadata)
+ @name = args[:name] if args.key?(:name)
+ end
+ end
+
+ # Specifies what kind of log the caller must write
+ class LogConfig
+ include Google::Apis::Core::Hashable
+
+ # Write a Cloud Audit log
+ # Corresponds to the JSON property `cloudAudit`
+ # @return [Google::Apis::DatafusionV1beta1::CloudAuditOptions]
+ attr_accessor :cloud_audit
+
+ # Increment a streamz counter with the specified metric and field names.
+ # Metric names should start with a '/', generally be lowercase-only,
+ # and end in "_count". Field names should not contain an initial slash.
+ # The actual exported metric names will have "/iam/policy" prepended.
+ # Field names correspond to IAM request parameters and field values are
+ # their respective values.
+ # Supported field names:
+ # - "authority", which is "[token]" if IAMContext.token is present,
+ # otherwise the value of IAMContext.authority_selector if present, and
+ # otherwise a representation of IAMContext.principal; or
+ # - "iam_principal", a representation of IAMContext.principal even if a
+ # token or authority selector is present; or
+ # - "" (empty string), resulting in a counter with no fields.
+ # Examples:
+ # counter ` metric: "/debug_access_count" field: "iam_principal" `
+ # ==> increment counter /iam/policy/backend_debug_access_count
+ # `iam_principal=[value of IAMContext.principal]`
+ # At this time we do not support multiple field names (though this may be
+ # supported in the future).
+ # Corresponds to the JSON property `counter`
+ # @return [Google::Apis::DatafusionV1beta1::CounterOptions]
+ attr_accessor :counter
+
+ # Write a Data Access (Gin) log
+ # Corresponds to the JSON property `dataAccess`
+ # @return [Google::Apis::DatafusionV1beta1::DataAccessOptions]
+ attr_accessor :data_access
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
+ @counter = args[:counter] if args.key?(:counter)
+ @data_access = args[:data_access] if args.key?(:data_access)
+ end
+ end
+
+ # Network configuration for a Data Fusion instance. These configurations
+ # are used for peering with the customer network. Configurations are optional
+ # when a public Data Fusion instance is to be created. However, providing
+ # these configurations allows several benefits, such as reduced network latency
+ # while accessing the customer resources from managed Data Fusion instance
+ # nodes, as well as access to the customer on-prem resources.
+ class NetworkConfig
+ include Google::Apis::Core::Hashable
+
+ # The IP range in CIDR notation to use for the managed Data Fusion instance
+ # nodes. This range must not overlap with any other ranges used in the Data
+ # Fusion instance network.
+ # Corresponds to the JSON property `ipAllocation`
+ # @return [String]
+ attr_accessor :ip_allocation
+
+ # Name of the network in the customer project with which the Tenant Project
+ # will be peered for executing pipelines.
+ # Corresponds to the JSON property `network`
+ # @return [String]
+ attr_accessor :network
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @ip_allocation = args[:ip_allocation] if args.key?(:ip_allocation)
+ @network = args[:network] if args.key?(:network)
+ end
+ end
+
+ # This resource represents a long-running operation that is the result of a
+ # network API call.
+ class Operation
+ include Google::Apis::Core::Hashable
+
+ # If the value is `false`, it means the operation is still in progress.
+ # If `true`, the operation is completed, and either `error` or `response` is
+ # available.
+ # Corresponds to the JSON property `done`
+ # @return [Boolean]
+ attr_accessor :done
+ alias_method :done?, :done
+
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
+ # - Simple to use and understand for most users
+ # - Flexible enough to meet unexpected needs
+ # # Overview
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
+ # google.rpc.Code, but it may accept additional error codes if needed. The
+ # error message should be a developer-facing English message that helps
+ # developers *understand* and *resolve* the error. If a localized user-facing
+ # error message is needed, put the localized message in the error details or
+ # localize it in the client. The optional error details may contain arbitrary
+ # information about the error. There is a predefined set of error detail types
+ # in the package `google.rpc` that can be used for common error conditions.
+ # # Language mapping
+ # The `Status` message is the logical representation of the error model, but it
+ # is not necessarily the actual wire format. When the `Status` message is
+ # exposed in different client libraries and different wire protocols, it can be
+ # mapped differently. For example, it will likely be mapped to some exceptions
+ # in Java, but more likely mapped to some error codes in C.
+ # # Other uses
+ # The error model and the `Status` message can be used in a variety of
+ # environments, either with or without APIs, to provide a
+ # consistent developer experience across different environments.
+ # Example uses of this error model include:
+ # - Partial errors. If a service needs to return partial errors to the client,
+ # it may embed the `Status` in the normal response to indicate the partial
+ # errors.
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
+ # have a `Status` message for error reporting.
+ # - Batch operations. If a client uses batch request and batch response, the
+ # `Status` message should be used directly inside batch response, one for
+ # each error sub-response.
+ # - Asynchronous operations. If an API call embeds asynchronous operation
+ # results in its response, the status of those operations should be
+ # represented directly using the `Status` message.
+ # - Logging. If some API errors are stored in logs, the message `Status` could
+ # be used directly after any stripping needed for security/privacy reasons.
+ # Corresponds to the JSON property `error`
+ # @return [Google::Apis::DatafusionV1beta1::Status]
+ attr_accessor :error
+
+ # Service-specific metadata associated with the operation. It typically
+ # contains progress information and common metadata such as create time.
+ # Some services might not provide such metadata. Any method that returns a
+ # long-running operation should document the metadata type, if any.
+ # Corresponds to the JSON property `metadata`
+ # @return [Hash]
+ attr_accessor :metadata
+
+ # The server-assigned name, which is only unique within the same service that
+ # originally returns it. If you use the default HTTP mapping, the
+ # `name` should have the format of `operations/some/unique/name`.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ # Corresponds to the JSON property `response`
+ # @return [Hash]
+ attr_accessor :response
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @done = args[:done] if args.key?(:done)
+ @error = args[:error] if args.key?(:error)
+ @metadata = args[:metadata] if args.key?(:metadata)
+ @name = args[:name] if args.key?(:name)
+ @response = args[:response] if args.key?(:response)
+ end
+ end
+
+ # Represents the metadata of a long-running operation.
+ class OperationMetadata
+ include Google::Apis::Core::Hashable
+
+ # API version used to start the operation.
+ # Corresponds to the JSON property `apiVersion`
+ # @return [String]
+ attr_accessor :api_version
+
+ # The time the operation was created.
+ # Corresponds to the JSON property `createTime`
+ # @return [String]
+ attr_accessor :create_time
+
+ # The time the operation finished running.
+ # Corresponds to the JSON property `endTime`
+ # @return [String]
+ attr_accessor :end_time
+
+ # Identifies whether the user has requested cancellation
+ # of the operation. Operations that have successfully been cancelled
+ # have Operation.error value with a google.rpc.Status.code of 1,
+ # corresponding to `Code.CANCELLED`.
+ # Corresponds to the JSON property `requestedCancellation`
+ # @return [Boolean]
+ attr_accessor :requested_cancellation
+ alias_method :requested_cancellation?, :requested_cancellation
+
+ # Human-readable status of the operation if any.
+ # Corresponds to the JSON property `statusDetail`
+ # @return [String]
+ attr_accessor :status_detail
+
+ # Server-defined resource path for the target of the operation.
+ # Corresponds to the JSON property `target`
+ # @return [String]
+ attr_accessor :target
+
+ # Name of the verb executed by the operation.
+ # Corresponds to the JSON property `verb`
+ # @return [String]
+ attr_accessor :verb
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @api_version = args[:api_version] if args.key?(:api_version)
+ @create_time = args[:create_time] if args.key?(:create_time)
+ @end_time = args[:end_time] if args.key?(:end_time)
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
+ @target = args[:target] if args.key?(:target)
+ @verb = args[:verb] if args.key?(:verb)
+ end
+ end
+
+ # Defines an Identity and Access Management (IAM) policy. It is used to
+ # specify access control policies for Cloud Platform resources.
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
+ # `members` to a `role`, where the members can be user accounts, Google groups,
+ # Google domains, and service accounts. A `role` is a named list of permissions
+ # defined by IAM.
+ # **JSON Example**
+ # `
+ # "bindings": [
+ # `
+ # "role": "roles/owner",
+ # "members": [
+ # "user:mike@example.com",
+ # "group:admins@example.com",
+ # "domain:google.com",
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
+ # ]
+ # `,
+ # `
+ # "role": "roles/viewer",
+ # "members": ["user:sean@example.com"]
+ # `
+ # ]
+ # `
+ # **YAML Example**
+ # bindings:
+ # - members:
+ # - user:mike@example.com
+ # - group:admins@example.com
+ # - domain:google.com
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
+ # role: roles/owner
+ # - members:
+ # - user:sean@example.com
+ # role: roles/viewer
+ # For a description of IAM and its features, see the
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
+ class Policy
+ include Google::Apis::Core::Hashable
+
+ # Specifies cloud audit logging configuration for this policy.
+ # Corresponds to the JSON property `auditConfigs`
+ # @return [Array]
+ attr_accessor :audit_configs
+
+ # Associates a list of `members` to a `role`.
+ # `bindings` with no members will result in an error.
+ # Corresponds to the JSON property `bindings`
+ # @return [Array]
+ attr_accessor :bindings
+
+ # `etag` is used for optimistic concurrency control as a way to help
+ # prevent simultaneous updates of a policy from overwriting each other.
+ # It is strongly suggested that systems make use of the `etag` in the
+ # read-modify-write cycle to perform policy updates in order to avoid race
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
+ # systems are expected to put that etag in the request to `setIamPolicy` to
+ # ensure that their change will be applied to the same version of the policy.
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
+ # policy is overwritten blindly.
+ # Corresponds to the JSON property `etag`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :etag
+
+ #
+ # Corresponds to the JSON property `iamOwned`
+ # @return [Boolean]
+ attr_accessor :iam_owned
+ alias_method :iam_owned?, :iam_owned
+
+ # If more than one rule is specified, the rules are applied in the following
+ # manner:
+ # - All matching LOG rules are always applied.
+ # - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
+ # Logging will be applied if one or more matching rule requires logging.
+ # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
+ # granted.
+ # Logging will be applied if one or more matching rule requires logging.
+ # - Otherwise, if no rule applies, permission is denied.
+ # Corresponds to the JSON property `rules`
+ # @return [Array]
+ attr_accessor :rules
+
+ # Deprecated.
+ # Corresponds to the JSON property `version`
+ # @return [Fixnum]
+ attr_accessor :version
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
+ @bindings = args[:bindings] if args.key?(:bindings)
+ @etag = args[:etag] if args.key?(:etag)
+ @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
+ @rules = args[:rules] if args.key?(:rules)
+ @version = args[:version] if args.key?(:version)
+ end
+ end
+
+ # Request message for restarting a Data Fusion instance.
+ class RestartInstanceRequest
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # A rule to be applied in a Policy.
+ class Rule
+ include Google::Apis::Core::Hashable
+
+ # Required
+ # Corresponds to the JSON property `action`
+ # @return [String]
+ attr_accessor :action
+
+ # Additional restrictions that must be met. All conditions must pass for the
+ # rule to match.
+ # Corresponds to the JSON property `conditions`
+ # @return [Array]
+ attr_accessor :conditions
+
+ # Human-readable description of the rule.
+ # Corresponds to the JSON property `description`
+ # @return [String]
+ attr_accessor :description
+
+ # If one or more 'in' clauses are specified, the rule matches if
+ # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
+ # Corresponds to the JSON property `in`
+ # @return [Array]
+ attr_accessor :in
+
+ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
+ # that match the LOG action.
+ # Corresponds to the JSON property `logConfig`
+ # @return [Array]
+ attr_accessor :log_config
+
+ # If one or more 'not_in' clauses are specified, the rule matches
+ # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
+ # The format for in and not_in entries can be found at in the Local IAM
+ # documentation (see go/local-iam#features).
+ # Corresponds to the JSON property `notIn`
+ # @return [Array]
+ attr_accessor :not_in
+
+ # A permission is a string of form '..'
+ # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
+ # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
+ # Corresponds to the JSON property `permissions`
+ # @return [Array]
+ attr_accessor :permissions
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @action = args[:action] if args.key?(:action)
+ @conditions = args[:conditions] if args.key?(:conditions)
+ @description = args[:description] if args.key?(:description)
+ @in = args[:in] if args.key?(:in)
+ @log_config = args[:log_config] if args.key?(:log_config)
+ @not_in = args[:not_in] if args.key?(:not_in)
+ @permissions = args[:permissions] if args.key?(:permissions)
+ end
+ end
+
+ # Request message for `SetIamPolicy` method.
+ class SetIamPolicyRequest
+ include Google::Apis::Core::Hashable
+
+ # Defines an Identity and Access Management (IAM) policy. It is used to
+ # specify access control policies for Cloud Platform resources.
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
+ # `members` to a `role`, where the members can be user accounts, Google groups,
+ # Google domains, and service accounts. A `role` is a named list of permissions
+ # defined by IAM.
+ # **JSON Example**
+ # `
+ # "bindings": [
+ # `
+ # "role": "roles/owner",
+ # "members": [
+ # "user:mike@example.com",
+ # "group:admins@example.com",
+ # "domain:google.com",
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
+ # ]
+ # `,
+ # `
+ # "role": "roles/viewer",
+ # "members": ["user:sean@example.com"]
+ # `
+ # ]
+ # `
+ # **YAML Example**
+ # bindings:
+ # - members:
+ # - user:mike@example.com
+ # - group:admins@example.com
+ # - domain:google.com
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
+ # role: roles/owner
+ # - members:
+ # - user:sean@example.com
+ # role: roles/viewer
+ # For a description of IAM and its features, see the
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
+ # Corresponds to the JSON property `policy`
+ # @return [Google::Apis::DatafusionV1beta1::Policy]
+ attr_accessor :policy
+
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
+ # the fields in the mask will be modified. If no mask is provided, the
+ # following default mask is used:
+ # paths: "bindings, etag"
+ # This field is only used by Cloud IAM.
+ # Corresponds to the JSON property `updateMask`
+ # @return [String]
+ attr_accessor :update_mask
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @policy = args[:policy] if args.key?(:policy)
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
+ end
+ end
+
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
+ # - Simple to use and understand for most users
+ # - Flexible enough to meet unexpected needs
+ # # Overview
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
+ # google.rpc.Code, but it may accept additional error codes if needed. The
+ # error message should be a developer-facing English message that helps
+ # developers *understand* and *resolve* the error. If a localized user-facing
+ # error message is needed, put the localized message in the error details or
+ # localize it in the client. The optional error details may contain arbitrary
+ # information about the error. There is a predefined set of error detail types
+ # in the package `google.rpc` that can be used for common error conditions.
+ # # Language mapping
+ # The `Status` message is the logical representation of the error model, but it
+ # is not necessarily the actual wire format. When the `Status` message is
+ # exposed in different client libraries and different wire protocols, it can be
+ # mapped differently. For example, it will likely be mapped to some exceptions
+ # in Java, but more likely mapped to some error codes in C.
+ # # Other uses
+ # The error model and the `Status` message can be used in a variety of
+ # environments, either with or without APIs, to provide a
+ # consistent developer experience across different environments.
+ # Example uses of this error model include:
+ # - Partial errors. If a service needs to return partial errors to the client,
+ # it may embed the `Status` in the normal response to indicate the partial
+ # errors.
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
+ # have a `Status` message for error reporting.
+ # - Batch operations. If a client uses batch request and batch response, the
+ # `Status` message should be used directly inside batch response, one for
+ # each error sub-response.
+ # - Asynchronous operations. If an API call embeds asynchronous operation
+ # results in its response, the status of those operations should be
+ # represented directly using the `Status` message.
+ # - Logging. If some API errors are stored in logs, the message `Status` could
+ # be used directly after any stripping needed for security/privacy reasons.
+ class Status
+ include Google::Apis::Core::Hashable
+
+ # The status code, which should be an enum value of google.rpc.Code.
+ # Corresponds to the JSON property `code`
+ # @return [Fixnum]
+ attr_accessor :code
+
+ # A list of messages that carry the error details. There is a common set of
+ # message types for APIs to use.
+ # Corresponds to the JSON property `details`
+ # @return [Array>]
+ attr_accessor :details
+
+ # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
+ # Corresponds to the JSON property `message`
+ # @return [String]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @code = args[:code] if args.key?(:code)
+ @details = args[:details] if args.key?(:details)
+ @message = args[:message] if args.key?(:message)
+ end
+ end
+
+ # Request message for `TestIamPermissions` method.
+ class TestIamPermissionsRequest
+ include Google::Apis::Core::Hashable
+
+ # The set of permissions to check for the `resource`. Permissions with
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
+ # information see
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
+ # Corresponds to the JSON property `permissions`
+ # @return [Array]
+ attr_accessor :permissions
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @permissions = args[:permissions] if args.key?(:permissions)
+ end
+ end
+
+ # Response message for `TestIamPermissions` method.
+ class TestIamPermissionsResponse
+ include Google::Apis::Core::Hashable
+
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
+ # allowed.
+ # Corresponds to the JSON property `permissions`
+ # @return [Array]
+ attr_accessor :permissions
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @permissions = args[:permissions] if args.key?(:permissions)
+ end
+ end
+
+ # Request message for upgrading a Data Fusion instance.
+ # To change the instance properties, instance update should be used.
+ class UpgradeInstanceRequest
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/datafusion_v1beta1/representations.rb b/generated/google/apis/datafusion_v1beta1/representations.rb
new file mode 100644
index 000000000..7b1276282
--- /dev/null
+++ b/generated/google/apis/datafusion_v1beta1/representations.rb
@@ -0,0 +1,469 @@
+# 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 DatafusionV1beta1
+
+ class AuditConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AuditLogConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AuthorizationLoggingOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Binding
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class CancelOperationRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class CloudAuditOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Condition
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class CounterOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DataAccessOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Empty
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Expr
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Instance
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListInstancesResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListLocationsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListOperationsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Location
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class LogConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NetworkConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Operation
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class OperationMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Policy
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class RestartInstanceRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Rule
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SetIamPolicyRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Status
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class TestIamPermissionsRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class TestIamPermissionsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class UpgradeInstanceRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AuditConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::DatafusionV1beta1::AuditLogConfig, decorator: Google::Apis::DatafusionV1beta1::AuditLogConfig::Representation
+
+ collection :exempted_members, as: 'exemptedMembers'
+ property :service, as: 'service'
+ end
+ end
+
+ class AuditLogConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :exempted_members, as: 'exemptedMembers'
+ property :log_type, as: 'logType'
+ end
+ end
+
+ class AuthorizationLoggingOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :permission_type, as: 'permissionType'
+ end
+ end
+
+ class Binding
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :condition, as: 'condition', class: Google::Apis::DatafusionV1beta1::Expr, decorator: Google::Apis::DatafusionV1beta1::Expr::Representation
+
+ collection :members, as: 'members'
+ property :role, as: 'role'
+ end
+ end
+
+ class CancelOperationRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class CloudAuditOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::DatafusionV1beta1::AuthorizationLoggingOptions, decorator: Google::Apis::DatafusionV1beta1::AuthorizationLoggingOptions::Representation
+
+ property :log_name, as: 'logName'
+ end
+ end
+
+ class Condition
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :iam, as: 'iam'
+ property :op, as: 'op'
+ property :svc, as: 'svc'
+ property :sys, as: 'sys'
+ collection :values, as: 'values'
+ end
+ end
+
+ class CounterOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :field, as: 'field'
+ property :metric, as: 'metric'
+ end
+ end
+
+ class DataAccessOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :log_mode, as: 'logMode'
+ end
+ end
+
+ class Empty
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class Expr
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :description, as: 'description'
+ property :expression, as: 'expression'
+ property :location, as: 'location'
+ property :title, as: 'title'
+ end
+ end
+
+ class Instance
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :create_time, as: 'createTime'
+ property :description, as: 'description'
+ property :display_name, as: 'displayName'
+ property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
+ property :enable_stackdriver_monitoring, as: 'enableStackdriverMonitoring'
+ hash :labels, as: 'labels'
+ property :name, as: 'name'
+ property :network_config, as: 'networkConfig', class: Google::Apis::DatafusionV1beta1::NetworkConfig, decorator: Google::Apis::DatafusionV1beta1::NetworkConfig::Representation
+
+ hash :options, as: 'options'
+ property :private_instance, as: 'privateInstance'
+ property :service_account, as: 'serviceAccount'
+ property :service_endpoint, as: 'serviceEndpoint'
+ property :state, as: 'state'
+ property :state_message, as: 'stateMessage'
+ property :type, as: 'type'
+ property :update_time, as: 'updateTime'
+ property :version, as: 'version'
+ property :zone, as: 'zone'
+ end
+ end
+
+ class ListInstancesResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :instances, as: 'instances', class: Google::Apis::DatafusionV1beta1::Instance, decorator: Google::Apis::DatafusionV1beta1::Instance::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ collection :unreachable, as: 'unreachable'
+ end
+ end
+
+ class ListLocationsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :locations, as: 'locations', class: Google::Apis::DatafusionV1beta1::Location, decorator: Google::Apis::DatafusionV1beta1::Location::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class ListOperationsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :next_page_token, as: 'nextPageToken'
+ collection :operations, as: 'operations', class: Google::Apis::DatafusionV1beta1::Operation, decorator: Google::Apis::DatafusionV1beta1::Operation::Representation
+
+ end
+ end
+
+ class Location
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :display_name, as: 'displayName'
+ hash :labels, as: 'labels'
+ property :location_id, as: 'locationId'
+ hash :metadata, as: 'metadata'
+ property :name, as: 'name'
+ end
+ end
+
+ class LogConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :cloud_audit, as: 'cloudAudit', class: Google::Apis::DatafusionV1beta1::CloudAuditOptions, decorator: Google::Apis::DatafusionV1beta1::CloudAuditOptions::Representation
+
+ property :counter, as: 'counter', class: Google::Apis::DatafusionV1beta1::CounterOptions, decorator: Google::Apis::DatafusionV1beta1::CounterOptions::Representation
+
+ property :data_access, as: 'dataAccess', class: Google::Apis::DatafusionV1beta1::DataAccessOptions, decorator: Google::Apis::DatafusionV1beta1::DataAccessOptions::Representation
+
+ end
+ end
+
+ class NetworkConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :ip_allocation, as: 'ipAllocation'
+ property :network, as: 'network'
+ end
+ end
+
+ class Operation
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :done, as: 'done'
+ property :error, as: 'error', class: Google::Apis::DatafusionV1beta1::Status, decorator: Google::Apis::DatafusionV1beta1::Status::Representation
+
+ hash :metadata, as: 'metadata'
+ property :name, as: 'name'
+ hash :response, as: 'response'
+ end
+ end
+
+ class OperationMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :api_version, as: 'apiVersion'
+ property :create_time, as: 'createTime'
+ property :end_time, as: 'endTime'
+ property :requested_cancellation, as: 'requestedCancellation'
+ property :status_detail, as: 'statusDetail'
+ property :target, as: 'target'
+ property :verb, as: 'verb'
+ end
+ end
+
+ class Policy
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::DatafusionV1beta1::AuditConfig, decorator: Google::Apis::DatafusionV1beta1::AuditConfig::Representation
+
+ collection :bindings, as: 'bindings', class: Google::Apis::DatafusionV1beta1::Binding, decorator: Google::Apis::DatafusionV1beta1::Binding::Representation
+
+ property :etag, :base64 => true, as: 'etag'
+ property :iam_owned, as: 'iamOwned'
+ collection :rules, as: 'rules', class: Google::Apis::DatafusionV1beta1::Rule, decorator: Google::Apis::DatafusionV1beta1::Rule::Representation
+
+ property :version, as: 'version'
+ end
+ end
+
+ class RestartInstanceRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class Rule
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :action, as: 'action'
+ collection :conditions, as: 'conditions', class: Google::Apis::DatafusionV1beta1::Condition, decorator: Google::Apis::DatafusionV1beta1::Condition::Representation
+
+ property :description, as: 'description'
+ collection :in, as: 'in'
+ collection :log_config, as: 'logConfig', class: Google::Apis::DatafusionV1beta1::LogConfig, decorator: Google::Apis::DatafusionV1beta1::LogConfig::Representation
+
+ collection :not_in, as: 'notIn'
+ collection :permissions, as: 'permissions'
+ end
+ end
+
+ class SetIamPolicyRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :policy, as: 'policy', class: Google::Apis::DatafusionV1beta1::Policy, decorator: Google::Apis::DatafusionV1beta1::Policy::Representation
+
+ property :update_mask, as: 'updateMask'
+ end
+ end
+
+ class Status
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :code, as: 'code'
+ collection :details, as: 'details'
+ property :message, as: 'message'
+ end
+ end
+
+ class TestIamPermissionsRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :permissions, as: 'permissions'
+ end
+ end
+
+ class TestIamPermissionsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :permissions, as: 'permissions'
+ end
+ end
+
+ class UpgradeInstanceRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/datafusion_v1beta1/service.rb b/generated/google/apis/datafusion_v1beta1/service.rb
new file mode 100644
index 000000000..6ab06431c
--- /dev/null
+++ b/generated/google/apis/datafusion_v1beta1/service.rb
@@ -0,0 +1,657 @@
+# Copyright 2015 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'google/apis/core/base_service'
+require 'google/apis/core/json_representation'
+require 'google/apis/core/hashable'
+require 'google/apis/errors'
+
+module Google
+ module Apis
+ module DatafusionV1beta1
+ # Cloud Data Fusion API
+ #
+ # Cloud Data Fusion is a fully-managed, cloud native, enterprise data
+ # integration service for
+ # quickly building and managing data pipelines. It provides a graphical
+ # interface to increase
+ # time efficiency and reduce complexity, and allows business users,
+ # developers, and data
+ # scientists to easily and reliably build scalable data integration
+ # solutions to cleanse,
+ # prepare, blend, transfer and transform data without having to wrestle with
+ # infrastructure.
+ #
+ # @example
+ # require 'google/apis/datafusion_v1beta1'
+ #
+ # Datafusion = Google::Apis::DatafusionV1beta1 # Alias the module
+ # service = Datafusion::DataFusionService.new
+ #
+ # @see https://cloud.google.com/data-fusion/docs
+ class DataFusionService < Google::Apis::Core::BaseService
+ # @return [String]
+ # API key. Your API key identifies your project and provides you with API access,
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
+ attr_accessor :key
+
+ # @return [String]
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ attr_accessor :quota_user
+
+ def initialize
+ super('https://datafusion.googleapis.com/', '')
+ @batch_path = 'batch'
+ end
+
+ # Gets information about a location.
+ # @param [String] name
+ # Resource name for the location.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Location] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Location]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::DatafusionV1beta1::Location::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Location
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists information about the supported locations for this service.
+ # @param [String] name
+ # The resource that owns the locations collection, if applicable.
+ # @param [String] filter
+ # The standard list filter.
+ # @param [Fixnum] page_size
+ # The standard list page size.
+ # @param [String] page_token
+ # The standard list page token.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::ListLocationsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::ListLocationsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
+ command.response_representation = Google::Apis::DatafusionV1beta1::ListLocationsResponse::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::ListLocationsResponse
+ command.params['name'] = name unless name.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a new Data Fusion instance in the specified project and location.
+ # @param [String] parent
+ # The instance's project and location in the format
+ # projects/`project`/locations/`location`.
+ # @param [Google::Apis::DatafusionV1beta1::Instance] instance_object
+ # @param [String] instance_id
+ # The name of the instance to create.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def create_project_location_instance(parent, instance_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/instances', options)
+ command.request_representation = Google::Apis::DatafusionV1beta1::Instance::Representation
+ command.request_object = instance_object
+ command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Operation
+ command.params['parent'] = parent unless parent.nil?
+ command.query['instanceId'] = instance_id unless instance_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 single Date Fusion instance.
+ # @param [String] name
+ # The instance resource name in the format
+ # projects/`project`/locations/`location`/instances/`instance`
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Operation
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets details of a single Data Fusion instance.
+ # @param [String] name
+ # The instance resource name in the format
+ # projects/`project`/locations/`location`/instances/`instance`.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Instance] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Instance]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_instance(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::DatafusionV1beta1::Instance::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Instance
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the access control policy for a resource.
+ # Returns an empty policy if the resource exists and does not have a policy
+ # set.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location_instance_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
+ command.response_representation = Google::Apis::DatafusionV1beta1::Policy::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists Data Fusion instances in the specified project and location.
+ # @param [String] parent
+ # The project and location for which to retrieve instance information
+ # in the format projects/`project`/locations/`location`. If the location is
+ # specified as '-' (wildcard), then all regions available to the project
+ # are queried, and the results are aggregated.
+ # @param [String] filter
+ # List filter.
+ # @param [String] order_by
+ # Sort results. Supported values are "name", "name desc", or "" (unsorted).
+ # @param [Fixnum] page_size
+ # The maximum number of items to return.
+ # @param [String] page_token
+ # The next_page_token value to use if there are additional
+ # results to retrieve for this list request.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::ListInstancesResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::ListInstancesResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_project_location_instances(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/instances', options)
+ command.response_representation = Google::Apis::DatafusionV1beta1::ListInstancesResponse::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::ListInstancesResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates a single Data Fusion instance.
+ # @param [String] name
+ # Output only. The name of this instance is in the form of
+ # projects/`project`/locations/`location`/instances/`instance`.
+ # @param [Google::Apis::DatafusionV1beta1::Instance] instance_object
+ # @param [String] update_mask
+ # Field mask is used to specify the fields that the update will overwrite
+ # in an instance resource. The fields specified in the update_mask are
+ # relative to the resource, not the full request.
+ # A field will be overwritten if it is in the mask.
+ # If the user does not provide a mask, all the supported fields (labels and
+ # options currently) will be overwritten.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patch_project_location_instance(name, instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::DatafusionV1beta1::Instance::Representation
+ command.request_object = instance_object
+ command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Operation
+ 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
+
+ # Restart a single Data Fusion instance.
+ # At the end of an operation instance is fully restarted.
+ # @param [String] name
+ # Name of the Data Fusion instance which need to be restarted in the form of
+ # projects/`project`/locations/`location`/instances/`instance`
+ # @param [Google::Apis::DatafusionV1beta1::RestartInstanceRequest] restart_instance_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def restart_instance(name, restart_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:restart', options)
+ command.request_representation = Google::Apis::DatafusionV1beta1::RestartInstanceRequest::Representation
+ command.request_object = restart_instance_request_object
+ command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Operation
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Sets the access control policy on the specified resource. Replaces any
+ # existing policy.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being specified.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::DatafusionV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
+ command.request_representation = Google::Apis::DatafusionV1beta1::SetIamPolicyRequest::Representation
+ command.request_object = set_iam_policy_request_object
+ command.response_representation = Google::Apis::DatafusionV1beta1::Policy::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns permissions that a caller has on the specified resource.
+ # If the resource does not exist, this will return an empty set of
+ # permissions, not a NOT_FOUND error.
+ # Note: This operation is designed to be used for building permission-aware
+ # UIs and command-line tools, not for authorization checking. This operation
+ # may "fail open" without warning.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy detail is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::DatafusionV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::TestIamPermissionsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::TestIamPermissionsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
+ command.request_representation = Google::Apis::DatafusionV1beta1::TestIamPermissionsRequest::Representation
+ command.request_object = test_iam_permissions_request_object
+ command.response_representation = Google::Apis::DatafusionV1beta1::TestIamPermissionsResponse::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::TestIamPermissionsResponse
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Upgrade a single Data Fusion instance.
+ # At the end of an operation instance is fully upgraded.
+ # @param [String] name
+ # Name of the Data Fusion instance which need to be upgraded in the form of
+ # projects/`project`/locations/`location`/instances/`instance`
+ # Instance will be upgraded with the latest stable version of the Data
+ # Fusion.
+ # @param [Google::Apis::DatafusionV1beta1::UpgradeInstanceRequest] upgrade_instance_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def upgrade_instance(name, upgrade_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:upgrade', options)
+ command.request_representation = Google::Apis::DatafusionV1beta1::UpgradeInstanceRequest::Representation
+ command.request_object = upgrade_instance_request_object
+ command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Operation
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Starts asynchronous cancellation on a long-running operation. The server
+ # makes a best effort to cancel the operation, but success is not
+ # guaranteed. If the server doesn't support this method, it returns
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
+ # Operations.GetOperation or
+ # other methods to check whether the cancellation succeeded or whether the
+ # operation completed despite cancellation. On successful cancellation,
+ # the operation is not deleted; instead, it becomes an operation with
+ # an Operation.error value with a google.rpc.Status.code of 1,
+ # corresponding to `Code.CANCELLED`.
+ # @param [String] name
+ # The name of the operation resource to be cancelled.
+ # @param [Google::Apis::DatafusionV1beta1::CancelOperationRequest] cancel_operation_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Empty]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
+ command.request_representation = Google::Apis::DatafusionV1beta1::CancelOperationRequest::Representation
+ command.request_object = cancel_operation_request_object
+ command.response_representation = Google::Apis::DatafusionV1beta1::Empty::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Empty
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes a long-running operation. This method indicates that the client is
+ # no longer interested in the operation result. It does not cancel the
+ # operation. If the server doesn't support this method, it returns
+ # `google.rpc.Code.UNIMPLEMENTED`.
+ # @param [String] name
+ # The name of the operation resource to be deleted.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::DatafusionV1beta1::Empty::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Empty
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the latest state of a long-running operation. Clients can use this
+ # method to poll the operation result at intervals as recommended by the API
+ # service.
+ # @param [String] name
+ # The name of the operation resource.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::Operation
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists operations that match the specified filter in the request. If the
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
+ # NOTE: the `name` binding allows API services to override the binding
+ # to use different resource name schemes, such as `users/*/operations`. To
+ # override the binding, API services can add a binding such as
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
+ # For backwards compatibility, the default name includes the operations
+ # collection id, however overriding users must ensure the name binding
+ # is the parent resource, without the operations collection id.
+ # @param [String] name
+ # The name of the operation's parent resource.
+ # @param [String] filter
+ # The standard list filter.
+ # @param [Fixnum] page_size
+ # The standard list page size.
+ # @param [String] page_token
+ # The standard list page token.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::ListOperationsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DatafusionV1beta1::ListOperationsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
+ command.response_representation = Google::Apis::DatafusionV1beta1::ListOperationsResponse::Representation
+ command.response_class = Google::Apis::DatafusionV1beta1::ListOperationsResponse
+ command.params['name'] = name unless name.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ protected
+
+ def apply_command_defaults(command)
+ command.query['key'] = key unless key.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/datastore_v1.rb b/generated/google/apis/datastore_v1.rb
index 2073d43f5..1e2352f20 100644
--- a/generated/google/apis/datastore_v1.rb
+++ b/generated/google/apis/datastore_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/
module DatastoreV1
VERSION = 'V1'
- REVISION = '20181207'
+ REVISION = '20190324'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/datastore_v1/classes.rb b/generated/google/apis/datastore_v1/classes.rb
index b86c42542..11faa80ff 100644
--- a/generated/google/apis/datastore_v1/classes.rb
+++ b/generated/google/apis/datastore_v1/classes.rb
@@ -1148,14 +1148,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@@ -1232,7 +1232,8 @@ module Google
end
end
- # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
+ # A [GQL
+ # query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
class GqlQuery
include Google::Apis::Core::Hashable
@@ -1760,8 +1761,9 @@ module Google
# An ending point for the query results. Query cursors are
# returned in query result batches and
- # [can only be used to limit the same query](https://cloud.google.com/datastore/
- # docs/concepts/queries#cursors_limits_and_offsets).
+ # [can only be used to limit the same
+ # query](https://cloud.google.com/datastore/docs/concepts/queries#
+ # cursors_limits_and_offsets).
# Corresponds to the JSON property `endCursor`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@@ -1804,8 +1806,9 @@ module Google
# A starting point for the query results. Query cursors are
# returned in query result batches and
- # [can only be used to continue the same query](https://cloud.google.com/
- # datastore/docs/concepts/queries#cursors_limits_and_offsets).
+ # [can only be used to continue the same
+ # query](https://cloud.google.com/datastore/docs/concepts/queries#
+ # cursors_limits_and_offsets).
# Corresponds to the JSON property `startCursor`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@@ -2034,7 +2037,8 @@ module Google
class RunQueryRequest
include Google::Apis::Core::Hashable
- # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
+ # A [GQL
+ # query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
# Corresponds to the JSON property `gqlQuery`
# @return [Google::Apis::DatastoreV1::GqlQuery]
attr_accessor :gql_query
@@ -2107,14 +2111,14 @@ 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). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
diff --git a/generated/google/apis/datastore_v1beta1.rb b/generated/google/apis/datastore_v1beta1.rb
index 4248e1d23..857ef6f57 100644
--- a/generated/google/apis/datastore_v1beta1.rb
+++ b/generated/google/apis/datastore_v1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/
module DatastoreV1beta1
VERSION = 'V1beta1'
- REVISION = '20180725'
+ REVISION = '20190324'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/datastore_v1beta1/classes.rb b/generated/google/apis/datastore_v1beta1/classes.rb
index e57388ed8..29499ffbf 100644
--- a/generated/google/apis/datastore_v1beta1/classes.rb
+++ b/generated/google/apis/datastore_v1beta1/classes.rb
@@ -694,14 +694,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@@ -778,14 +778,14 @@ 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). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
diff --git a/generated/google/apis/datastore_v1beta3.rb b/generated/google/apis/datastore_v1beta3.rb
index f5e4e4802..41d012d69 100644
--- a/generated/google/apis/datastore_v1beta3.rb
+++ b/generated/google/apis/datastore_v1beta3.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/
module DatastoreV1beta3
VERSION = 'V1beta3'
- REVISION = '20180919'
+ REVISION = '20190324'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/datastore_v1beta3/classes.rb b/generated/google/apis/datastore_v1beta3/classes.rb
index 1d618e5a1..836bdfee3 100644
--- a/generated/google/apis/datastore_v1beta3/classes.rb
+++ b/generated/google/apis/datastore_v1beta3/classes.rb
@@ -866,7 +866,8 @@ module Google
end
end
- # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
+ # A [GQL
+ # query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
class GqlQuery
include Google::Apis::Core::Hashable
@@ -1394,8 +1395,9 @@ module Google
# An ending point for the query results. Query cursors are
# returned in query result batches and
- # [can only be used to limit the same query](https://cloud.google.com/datastore/
- # docs/concepts/queries#cursors_limits_and_offsets).
+ # [can only be used to limit the same
+ # query](https://cloud.google.com/datastore/docs/concepts/queries#
+ # cursors_limits_and_offsets).
# Corresponds to the JSON property `endCursor`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@@ -1438,8 +1440,9 @@ module Google
# A starting point for the query results. Query cursors are
# returned in query result batches and
- # [can only be used to continue the same query](https://cloud.google.com/
- # datastore/docs/concepts/queries#cursors_limits_and_offsets).
+ # [can only be used to continue the same
+ # query](https://cloud.google.com/datastore/docs/concepts/queries#
+ # cursors_limits_and_offsets).
# Corresponds to the JSON property `startCursor`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@@ -1668,7 +1671,8 @@ module Google
class RunQueryRequest
include Google::Apis::Core::Hashable
- # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
+ # A [GQL
+ # query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
# Corresponds to the JSON property `gqlQuery`
# @return [Google::Apis::DatastoreV1beta3::GqlQuery]
attr_accessor :gql_query
diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb
index 65be3d02e..65119acaa 100644
--- a/generated/google/apis/dialogflow_v2.rb
+++ b/generated/google/apis/dialogflow_v2.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2
VERSION = 'V2'
- REVISION = '20190326'
+ REVISION = '20190420'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb
index 05f34bf5b..e2328ada4 100644
--- a/generated/google/apis/dialogflow_v2/classes.rb
+++ b/generated/google/apis/dialogflow_v2/classes.rb
@@ -446,6 +446,11 @@ module Google
# @return [String]
attr_accessor :input_audio
+ # Instructs the speech synthesizer how to generate the output audio content.
+ # Corresponds to the JSON property `outputAudioConfig`
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig]
+ attr_accessor :output_audio_config
+
# Represents the query input. It can contain either:
# 1. An audio config which
# instructs the speech recognizer how to process the speech audio.
@@ -467,6 +472,7 @@ module Google
# Update properties of this object
def update!(**args)
@input_audio = args[:input_audio] if args.key?(:input_audio)
+ @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
@query_input = args[:query_input] if args.key?(:query_input)
@query_params = args[:query_params] if args.key?(:query_params)
end
@@ -476,6 +482,22 @@ module Google
class GoogleCloudDialogflowV2DetectIntentResponse
include Google::Apis::Core::Hashable
+ # The audio data bytes encoded as specified in the request.
+ # Note: The output audio is generated based on the values of default platform
+ # text responses found in the `query_result.fulfillment_messages` field. If
+ # multiple default text responses exist, they will be concatenated when
+ # generating audio. If no default platform text responses exist, the
+ # generated audio content will be empty.
+ # Corresponds to the JSON property `outputAudio`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :output_audio
+
+ # Instructs the speech synthesizer how to generate the output audio content.
+ # Corresponds to the JSON property `outputAudioConfig`
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig]
+ attr_accessor :output_audio_config
+
# Represents the result of conversational query or event processing.
# Corresponds to the JSON property `queryResult`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult]
@@ -536,6 +558,8 @@ module Google
# Update properties of this object
def update!(**args)
+ @output_audio = args[:output_audio] if args.key?(:output_audio)
+ @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
@query_result = args[:query_result] if args.key?(:query_result)
@response_id = args[:response_id] if args.key?(:response_id)
@webhook_status = args[:webhook_status] if args.key?(:webhook_status)
@@ -807,6 +831,11 @@ module Google
# @return [String]
attr_accessor :language_code
+ # Optional. Which variant of the Speech model to use.
+ # Corresponds to the JSON property `modelVariant`
+ # @return [String]
+ attr_accessor :model_variant
+
# Optional. The collection of phrase hints which are used to boost accuracy
# of speech recognition.
# Refer to
@@ -835,6 +864,7 @@ module Google
def update!(**args)
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
@language_code = args[:language_code] if args.key?(:language_code)
+ @model_variant = args[:model_variant] if args.key?(:model_variant)
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
end
@@ -1949,6 +1979,41 @@ module Google
end
end
+ # Instructs the speech synthesizer how to generate the output audio content.
+ class GoogleCloudDialogflowV2OutputAudioConfig
+ include Google::Apis::Core::Hashable
+
+ # Required. Audio encoding of the synthesized audio content.
+ # Corresponds to the JSON property `audioEncoding`
+ # @return [String]
+ attr_accessor :audio_encoding
+
+ # Optional. The synthesis sample rate (in hertz) for this audio. If not
+ # provided, then the synthesizer will use the default sample rate based on
+ # the audio encoding. If this is different from the voice's natural sample
+ # rate, then the synthesizer will honor this request by converting to the
+ # desired sample rate (which might result in worse audio quality).
+ # Corresponds to the JSON property `sampleRateHertz`
+ # @return [Fixnum]
+ attr_accessor :sample_rate_hertz
+
+ # Configuration of how speech should be synthesized.
+ # Corresponds to the JSON property `synthesizeSpeechConfig`
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig]
+ attr_accessor :synthesize_speech_config
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
+ @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
+ @synthesize_speech_config = args[:synthesize_speech_config] if args.key?(:synthesize_speech_config)
+ end
+ end
+
# Represents the query input. It can contain either:
# 1. An audio config which
# instructs the speech recognizer how to process the speech audio.
@@ -2020,6 +2085,11 @@ module Google
attr_accessor :reset_contexts
alias_method :reset_contexts?, :reset_contexts
+ # Configures the types of sentiment analysis to perform.
+ # Corresponds to the JSON property `sentimentAnalysisRequestConfig`
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisRequestConfig]
+ attr_accessor :sentiment_analysis_request_config
+
# Optional. Additional session entity types to replace or extend developer
# entity types with. The entity synonyms apply to all languages and persist
# for the session of this query.
@@ -2045,6 +2115,7 @@ module Google
@geo_location = args[:geo_location] if args.key?(:geo_location)
@payload = args[:payload] if args.key?(:payload)
@reset_contexts = args[:reset_contexts] if args.key?(:reset_contexts)
+ @sentiment_analysis_request_config = args[:sentiment_analysis_request_config] if args.key?(:sentiment_analysis_request_config)
@session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
@time_zone = args[:time_zone] if args.key?(:time_zone)
end
@@ -2135,6 +2206,12 @@ module Google
# @return [String]
attr_accessor :query_text
+ # The result of sentiment analysis as configured by
+ # `sentiment_analysis_request_config`.
+ # Corresponds to the JSON property `sentimentAnalysisResult`
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult]
+ attr_accessor :sentiment_analysis_result
+
# The Speech recognition confidence between 0.0 and 1.0. A higher number
# indicates an estimated greater likelihood that the recognized words are
# correct. The default of 0.0 is a sentinel value indicating that confidence
@@ -2176,6 +2253,7 @@ module Google
@output_contexts = args[:output_contexts] if args.key?(:output_contexts)
@parameters = args[:parameters] if args.key?(:parameters)
@query_text = args[:query_text] if args.key?(:query_text)
+ @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
@speech_recognition_confidence = args[:speech_recognition_confidence] if args.key?(:speech_recognition_confidence)
@webhook_payload = args[:webhook_payload] if args.key?(:webhook_payload)
@webhook_source = args[:webhook_source] if args.key?(:webhook_source)
@@ -2249,6 +2327,77 @@ module Google
end
end
+ # The sentiment, such as positive/negative feeling or association, for a unit
+ # of analysis, such as the query text.
+ class GoogleCloudDialogflowV2Sentiment
+ include Google::Apis::Core::Hashable
+
+ # A non-negative number in the [0, +inf) range, which represents the absolute
+ # magnitude of sentiment, regardless of score (positive or negative).
+ # Corresponds to the JSON property `magnitude`
+ # @return [Float]
+ attr_accessor :magnitude
+
+ # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+ # sentiment).
+ # Corresponds to the JSON property `score`
+ # @return [Float]
+ attr_accessor :score
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @magnitude = args[:magnitude] if args.key?(:magnitude)
+ @score = args[:score] if args.key?(:score)
+ end
+ end
+
+ # Configures the types of sentiment analysis to perform.
+ class GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
+ include Google::Apis::Core::Hashable
+
+ # Optional. Instructs the service to perform sentiment analysis on
+ # `query_text`. If not provided, sentiment analysis is not performed on
+ # `query_text`.
+ # Corresponds to the JSON property `analyzeQueryTextSentiment`
+ # @return [Boolean]
+ attr_accessor :analyze_query_text_sentiment
+ alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
+ end
+ end
+
+ # The result of sentiment analysis as configured by
+ # `sentiment_analysis_request_config`.
+ class GoogleCloudDialogflowV2SentimentAnalysisResult
+ include Google::Apis::Core::Hashable
+
+ # The sentiment, such as positive/negative feeling or association, for a unit
+ # of analysis, such as the query text.
+ # Corresponds to the JSON property `queryTextSentiment`
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Sentiment]
+ attr_accessor :query_text_sentiment
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @query_text_sentiment = args[:query_text_sentiment] if args.key?(:query_text_sentiment)
+ end
+ end
+
# Represents a session entity type.
# Extends or replaces a developer entity type at the user session level (we
# refer to the entity types defined at the agent level as "developer entity
@@ -2290,6 +2439,63 @@ module Google
end
end
+ # Configuration of how speech should be synthesized.
+ class GoogleCloudDialogflowV2SynthesizeSpeechConfig
+ include Google::Apis::Core::Hashable
+
+ # Optional. An identifier which selects 'audio effects' profiles that are
+ # applied on (post synthesized) text to speech. Effects are applied on top of
+ # each other in the order they are given.
+ # Corresponds to the JSON property `effectsProfileId`
+ # @return [Array]
+ attr_accessor :effects_profile_id
+
+ # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
+ # semitones from the original pitch. -20 means decrease 20 semitones from the
+ # original pitch.
+ # Corresponds to the JSON property `pitch`
+ # @return [Float]
+ attr_accessor :pitch
+
+ # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
+ # native speed supported by the specific voice. 2.0 is twice as fast, and
+ # 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
+ # other values < 0.25 or > 4.0 will return an error.
+ # Corresponds to the JSON property `speakingRate`
+ # @return [Float]
+ attr_accessor :speaking_rate
+
+ # Description of which voice to use for speech synthesis.
+ # Corresponds to the JSON property `voice`
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams]
+ attr_accessor :voice
+
+ # Optional. Volume gain (in dB) of the normal native volume supported by the
+ # specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
+ # 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
+ # will play at approximately half the amplitude of the normal native signal
+ # amplitude. A value of +6.0 (dB) will play at approximately twice the
+ # amplitude of the normal native signal amplitude. We strongly recommend not
+ # to exceed +10 (dB) as there's usually no effective increase in loudness for
+ # any value greater than that.
+ # Corresponds to the JSON property `volumeGainDb`
+ # @return [Float]
+ attr_accessor :volume_gain_db
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id)
+ @pitch = args[:pitch] if args.key?(:pitch)
+ @speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
+ @voice = args[:voice] if args.key?(:voice)
+ @volume_gain_db = args[:volume_gain_db] if args.key?(:volume_gain_db)
+ end
+ end
+
# Represents the natural language text to be processed.
class GoogleCloudDialogflowV2TextInput
include Google::Apis::Core::Hashable
@@ -2333,6 +2539,36 @@ module Google
end
end
+ # Description of which voice to use for speech synthesis.
+ class GoogleCloudDialogflowV2VoiceSelectionParams
+ include Google::Apis::Core::Hashable
+
+ # Optional. The name of the voice. If not set, the service will choose a
+ # voice based on the other parameters such as language_code and gender.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Optional. The preferred gender of the voice. If not set, the service will
+ # choose a voice based on the other parameters such as language_code and
+ # name. Note that this is only a preference, not requirement. If a
+ # voice of the appropriate gender is not available, the synthesizer should
+ # substitute a voice with a different gender rather than failing the request.
+ # Corresponds to the JSON property `ssmlGender`
+ # @return [String]
+ attr_accessor :ssml_gender
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @name = args[:name] if args.key?(:name)
+ @ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender)
+ end
+ end
+
# The request message for a webhook call.
class GoogleCloudDialogflowV2WebhookRequest
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/dialogflow_v2/representations.rb b/generated/google/apis/dialogflow_v2/representations.rb
index edda85ac4..5530daa2b 100644
--- a/generated/google/apis/dialogflow_v2/representations.rb
+++ b/generated/google/apis/dialogflow_v2/representations.rb
@@ -328,6 +328,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudDialogflowV2OutputAudioConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudDialogflowV2QueryInput
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -358,12 +364,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudDialogflowV2Sentiment
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudDialogflowV2SentimentAnalysisResult
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudDialogflowV2SessionEntityType
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudDialogflowV2SynthesizeSpeechConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudDialogflowV2TextInput
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -376,6 +406,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudDialogflowV2VoiceSelectionParams
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudDialogflowV2WebhookRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -780,6 +816,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :input_audio, :base64 => true, as: 'inputAudio'
+ property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig::Representation
+
property :query_input, as: 'queryInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryInput::Representation
property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters::Representation
@@ -790,6 +828,9 @@ module Google
class GoogleCloudDialogflowV2DetectIntentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :output_audio, :base64 => true, as: 'outputAudio'
+ property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig::Representation
+
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult::Representation
property :response_id, as: 'responseId'
@@ -863,6 +904,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :audio_encoding, as: 'audioEncoding'
property :language_code, as: 'languageCode'
+ property :model_variant, as: 'modelVariant'
collection :phrase_hints, as: 'phraseHints'
property :sample_rate_hertz, as: 'sampleRateHertz'
end
@@ -1181,6 +1223,16 @@ module Google
end
end
+ class GoogleCloudDialogflowV2OutputAudioConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :audio_encoding, as: 'audioEncoding'
+ property :sample_rate_hertz, as: 'sampleRateHertz'
+ property :synthesize_speech_config, as: 'synthesizeSpeechConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig::Representation
+
+ end
+ end
+
class GoogleCloudDialogflowV2QueryInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1202,6 +1254,8 @@ module Google
hash :payload, as: 'payload'
property :reset_contexts, as: 'resetContexts'
+ property :sentiment_analysis_request_config, as: 'sentimentAnalysisRequestConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisRequestConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisRequestConfig::Representation
+
collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
property :time_zone, as: 'timeZone'
@@ -1225,6 +1279,8 @@ module Google
hash :parameters, as: 'parameters'
property :query_text, as: 'queryText'
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult::Representation
+
property :speech_recognition_confidence, as: 'speechRecognitionConfidence'
hash :webhook_payload, as: 'webhookPayload'
property :webhook_source, as: 'webhookSource'
@@ -1248,6 +1304,29 @@ module Google
end
end
+ class GoogleCloudDialogflowV2Sentiment
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :magnitude, as: 'magnitude'
+ property :score, as: 'score'
+ end
+ end
+
+ class GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
+ end
+ end
+
+ class GoogleCloudDialogflowV2SentimentAnalysisResult
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :query_text_sentiment, as: 'queryTextSentiment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Sentiment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Sentiment::Representation
+
+ end
+ end
+
class GoogleCloudDialogflowV2SessionEntityType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1258,6 +1337,18 @@ module Google
end
end
+ class GoogleCloudDialogflowV2SynthesizeSpeechConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :effects_profile_id, as: 'effectsProfileId'
+ property :pitch, as: 'pitch'
+ property :speaking_rate, as: 'speakingRate'
+ property :voice, as: 'voice', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams::Representation
+
+ property :volume_gain_db, as: 'volumeGainDb'
+ end
+ end
+
class GoogleCloudDialogflowV2TextInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1272,6 +1363,14 @@ module Google
end
end
+ class GoogleCloudDialogflowV2VoiceSelectionParams
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :name, as: 'name'
+ property :ssml_gender, as: 'ssmlGender'
+ end
+ end
+
class GoogleCloudDialogflowV2WebhookRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb
index 8ac7e8997..edabcba8c 100644
--- a/generated/google/apis/dialogflow_v2beta1.rb
+++ b/generated/google/apis/dialogflow_v2beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2beta1
VERSION = 'V2beta1'
- REVISION = '20190318'
+ REVISION = '20190420'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb
index 2fec44db7..6f2b7a7d7 100644
--- a/generated/google/apis/dialogflow_v2beta1/classes.rb
+++ b/generated/google/apis/dialogflow_v2beta1/classes.rb
@@ -1332,6 +1332,12 @@ module Google
# @return [String]
attr_accessor :query_text
+ # The result of sentiment analysis as configured by
+ # `sentiment_analysis_request_config`.
+ # Corresponds to the JSON property `sentimentAnalysisResult`
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
+ attr_accessor :sentiment_analysis_result
+
# The Speech recognition confidence between 0.0 and 1.0. A higher number
# indicates an estimated greater likelihood that the recognized words are
# correct. The default of 0.0 is a sentinel value indicating that confidence
@@ -1373,12 +1379,62 @@ module Google
@output_contexts = args[:output_contexts] if args.key?(:output_contexts)
@parameters = args[:parameters] if args.key?(:parameters)
@query_text = args[:query_text] if args.key?(:query_text)
+ @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
@speech_recognition_confidence = args[:speech_recognition_confidence] if args.key?(:speech_recognition_confidence)
@webhook_payload = args[:webhook_payload] if args.key?(:webhook_payload)
@webhook_source = args[:webhook_source] if args.key?(:webhook_source)
end
end
+ # The sentiment, such as positive/negative feeling or association, for a unit
+ # of analysis, such as the query text.
+ class GoogleCloudDialogflowV2Sentiment
+ include Google::Apis::Core::Hashable
+
+ # A non-negative number in the [0, +inf) range, which represents the absolute
+ # magnitude of sentiment, regardless of score (positive or negative).
+ # Corresponds to the JSON property `magnitude`
+ # @return [Float]
+ attr_accessor :magnitude
+
+ # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
+ # sentiment).
+ # Corresponds to the JSON property `score`
+ # @return [Float]
+ attr_accessor :score
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @magnitude = args[:magnitude] if args.key?(:magnitude)
+ @score = args[:score] if args.key?(:score)
+ end
+ end
+
+ # The result of sentiment analysis as configured by
+ # `sentiment_analysis_request_config`.
+ class GoogleCloudDialogflowV2SentimentAnalysisResult
+ include Google::Apis::Core::Hashable
+
+ # The sentiment, such as positive/negative feeling or association, for a unit
+ # of analysis, such as the query text.
+ # Corresponds to the JSON property `queryTextSentiment`
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Sentiment]
+ attr_accessor :query_text_sentiment
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @query_text_sentiment = args[:query_text_sentiment] if args.key?(:query_text_sentiment)
+ end
+ end
+
# The request message for a webhook call.
class GoogleCloudDialogflowV2WebhookRequest
include Google::Apis::Core::Hashable
@@ -2413,6 +2469,11 @@ module Google
# @return [String]
attr_accessor :model
+ # Optional. Which variant of the Speech model to use.
+ # Corresponds to the JSON property `modelVariant`
+ # @return [String]
+ attr_accessor :model_variant
+
# Optional. The collection of phrase hints which are used to boost accuracy
# of speech recognition.
# Refer to
@@ -2442,6 +2503,7 @@ module Google
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
@language_code = args[:language_code] if args.key?(:language_code)
@model = args[:model] if args.key?(:model)
+ @model_variant = args[:model_variant] if args.key?(:model_variant)
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
end
diff --git a/generated/google/apis/dialogflow_v2beta1/representations.rb b/generated/google/apis/dialogflow_v2beta1/representations.rb
index 6827d4f0b..bac0320a0 100644
--- a/generated/google/apis/dialogflow_v2beta1/representations.rb
+++ b/generated/google/apis/dialogflow_v2beta1/representations.rb
@@ -220,6 +220,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudDialogflowV2Sentiment
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudDialogflowV2SentimentAnalysisResult
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GoogleCloudDialogflowV2WebhookRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1072,12 +1084,30 @@ module Google
hash :parameters, as: 'parameters'
property :query_text, as: 'queryText'
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult::Representation
+
property :speech_recognition_confidence, as: 'speechRecognitionConfidence'
hash :webhook_payload, as: 'webhookPayload'
property :webhook_source, as: 'webhookSource'
end
end
+ class GoogleCloudDialogflowV2Sentiment
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :magnitude, as: 'magnitude'
+ property :score, as: 'score'
+ end
+ end
+
+ class GoogleCloudDialogflowV2SentimentAnalysisResult
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :query_text_sentiment, as: 'queryTextSentiment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Sentiment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Sentiment::Representation
+
+ end
+ end
+
class GoogleCloudDialogflowV2WebhookRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1319,6 +1349,7 @@ module Google
property :audio_encoding, as: 'audioEncoding'
property :language_code, as: 'languageCode'
property :model, as: 'model'
+ property :model_variant, as: 'modelVariant'
collection :phrase_hints, as: 'phraseHints'
property :sample_rate_hertz, as: 'sampleRateHertz'
end
diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb
index 2b665ab5d..3463a6d78 100644
--- a/generated/google/apis/dlp_v2.rb
+++ b/generated/google/apis/dlp_v2.rb
@@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
- REVISION = '20190326'
+ REVISION = '20190422'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb
index a92de649c..42a7d4786 100644
--- a/generated/google/apis/dlp_v2/classes.rb
+++ b/generated/google/apis/dlp_v2/classes.rb
@@ -1287,6 +1287,15 @@ module Google
end
end
+ # Replaces an identifier with a surrogate using Format Preserving Encryption
+ # (FPE) with the FFX mode of operation; however when used in the
+ # `ReidentifyContent` API method, it serves the opposite function by reversing
+ # the surrogate back into the original identifier. The identifier must be
+ # encoded as ASCII. For a given crypto key and context, the same identifier
+ # will be replaced with the same surrogate. Identifiers must be at least two
+ # characters long. In the case that the identifier is the empty string, it will
+ # be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn
+ # more.
# Note: We recommend using CryptoDeterministicConfig for all use cases which
# do not require preserving the input alphabet space and size, plus warrant
# referential integrity.
@@ -2937,8 +2946,7 @@ module Google
class GooglePrivacyDlpV2InspectJobConfig
include Google::Apis::Core::Hashable
- # Actions to execute at the completion of the job. Are executed in the order
- # provided.
+ # Actions to execute at the completion of the job.
# Corresponds to the JSON property `actions`
# @return [Array]
attr_accessor :actions
@@ -4162,6 +4170,15 @@ module Google
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoHashConfig]
attr_accessor :crypto_hash_config
+ # Replaces an identifier with a surrogate using Format Preserving Encryption
+ # (FPE) with the FFX mode of operation; however when used in the
+ # `ReidentifyContent` API method, it serves the opposite function by reversing
+ # the surrogate back into the original identifier. The identifier must be
+ # encoded as ASCII. For a given crypto key and context, the same identifier
+ # will be replaced with the same surrogate. Identifiers must be at least two
+ # characters long. In the case that the identifier is the empty string, it will
+ # be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn
+ # more.
# Note: We recommend using CryptoDeterministicConfig for all use cases which
# do not require preserving the input alphabet space and size, plus warrant
# referential integrity.
diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb
index b50af2a9d..b6c63d90e 100644
--- a/generated/google/apis/dns_v1.rb
+++ b/generated/google/apis/dns_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-dns
module DnsV1
VERSION = 'V1'
- REVISION = '20190312'
+ REVISION = '20190418'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/dns_v1/classes.rb b/generated/google/apis/dns_v1/classes.rb
index 1d7fd1a07..6226bb888 100644
--- a/generated/google/apis/dns_v1/classes.rb
+++ b/generated/google/apis/dns_v1/classes.rb
@@ -22,26 +22,32 @@ module Google
module Apis
module DnsV1
- #
+ # A Change represents a set of ResourceRecordSet additions and deletions applied
+ # atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are
+ # modified by creating a new Change element in the Changes collection. In turn
+ # the Changes collection also records the past modifications to the
+ # ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is
+ # the sum effect of applying all Change elements in the Changes collection in
+ # sequence.
class Change
include Google::Apis::Core::Hashable
- #
+ # Which ResourceRecordSets to add?
# Corresponds to the JSON property `additions`
# @return [Array]
attr_accessor :additions
- #
+ # Which ResourceRecordSets to remove? Must match existing data exactly.
# Corresponds to the JSON property `deletions`
# @return [Array]
attr_accessor :deletions
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- #
+ # If the DNS queries for the zone will be served.
# Corresponds to the JSON property `isServing`
# @return [Boolean]
attr_accessor :is_serving
@@ -52,12 +58,15 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The time that this operation was started by the server (output only). This is
+ # in RFC3339 text format.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
- #
+ # Status of the operation (output only). A status of "done" means that the
+ # request to update the authoritative servers has been sent, but the servers
+ # might not be updated yet.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
@@ -78,16 +87,17 @@ module Google
end
end
- #
+ # The response to a request to enumerate Changes to a ResourceRecordSets
+ # collection.
class ListChangesResponse
include Google::Apis::Core::Hashable
- #
+ # The requested changes.
# Corresponds to the JSON property `changes`
# @return [Array]
attr_accessor :changes
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1::ResponseHeader]
attr_accessor :header
@@ -97,7 +107,14 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a "snapshot" of collections larger than the maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -115,47 +132,59 @@ module Google
end
end
- #
+ # A DNSSEC key pair.
class DnsKey
include Google::Apis::Core::Hashable
- #
+ # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after
+ # creation time.
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
- #
+ # The time that this resource was created in the control plane. This is in
+ # RFC3339 text format. Output only.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
- #
+ # A mutable string of at most 1024 characters associated with this resource for
+ # the user's convenience. Has no effect on the resource's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey.
+ # These digests are needed to construct a DS record that points at this DNS key.
+ # Output only.
# Corresponds to the JSON property `digests`
# @return [Array]
attr_accessor :digests
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- #
+ # Active keys will be used to sign subsequent changes to the ManagedZone.
+ # Inactive keys will still be present as DNSKEY Resource Records for the use of
+ # resolvers validating existing signatures.
# Corresponds to the JSON property `isActive`
# @return [Boolean]
attr_accessor :is_active
alias_method :is_active?, :is_active
- #
+ # Length of the key in bits. Specified at creation time then immutable.
# Corresponds to the JSON property `keyLength`
# @return [Fixnum]
attr_accessor :key_length
- #
+ # The key tag is a non-cryptographic hash of the a DNSKEY resource record
+ # associated with this DnsKey. The key tag can be used to identify a DNSKEY more
+ # quickly (but it is not a unique identifier). In particular, the key tag is
+ # used in a parent zone's DS record to point at the DNSKEY in this child
+ # ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm
+ # to calculate it is specified in RFC4034 Appendix B. Output only.
# Corresponds to the JSON property `keyTag`
# @return [Fixnum]
attr_accessor :key_tag
@@ -165,12 +194,16 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Base64 encoded public half of this key. Output only.
# Corresponds to the JSON property `publicKey`
# @return [String]
attr_accessor :public_key
- #
+ # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
+ # Secure Entry Point flag set and, when active, will be used to sign only
+ # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
+ # will be cleared and this key will be used to sign only resource record sets of
+ # other types. Immutable after creation time.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -199,12 +232,13 @@ module Google
class DnsKeyDigest
include Google::Apis::Core::Hashable
- #
+ # The base-16 encoded bytes of this digest. Suitable for use in a DS resource
+ # record.
# Corresponds to the JSON property `digest`
# @return [String]
attr_accessor :digest
- #
+ # Specifies the algorithm used to calculate this digest.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -220,21 +254,26 @@ module Google
end
end
- #
+ # Parameters for DnsKey key generation. Used for generating initial keys for a
+ # new ManagedZone and as default when adding a new DnsKey.
class DnsKeySpec
include Google::Apis::Core::Hashable
- #
+ # String mnemonic specifying the DNSSEC algorithm of this key.
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
- #
+ # Length of the keys in bits.
# Corresponds to the JSON property `keyLength`
# @return [Fixnum]
attr_accessor :key_length
- #
+ # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK).
+ # Key signing keys have the Secure Entry Point flag set and, when active, will
+ # only be used to sign resource record sets of type DNSKEY. Zone signing keys do
+ # not have the Secure Entry Point flag set and will be used to sign all other
+ # types of resource record sets.
# Corresponds to the JSON property `keyType`
# @return [String]
attr_accessor :key_type
@@ -258,16 +297,16 @@ module Google
end
end
- #
+ # The response to a request to enumerate DnsKeys in a ManagedZone.
class DnsKeysListResponse
include Google::Apis::Core::Hashable
- #
+ # The requested resources.
# Corresponds to the JSON property `dnsKeys`
# @return [Array]
attr_accessor :dns_keys
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1::ResponseHeader]
attr_accessor :header
@@ -277,7 +316,14 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a "snapshot" of collections larger than the maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -295,31 +341,35 @@ module Google
end
end
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
+ # by the Cloud DNS service.
class ManagedZone
include Google::Apis::Core::Hashable
- #
+ # The time that this resource was created on the server. This is in RFC3339 text
+ # format. Output only.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
- #
+ # A mutable string of at most 1024 characters associated with this resource for
+ # the user's convenience. Has no effect on the managed zone's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # The DNS name of this managed zone, for instance "example.com.".
# Corresponds to the JSON property `dnsName`
# @return [String]
attr_accessor :dns_name
- #
+ # DNSSEC configuration.
# Corresponds to the JSON property `dnssecConfig`
# @return [Google::Apis::DnsV1::ManagedZoneDnsSecConfig]
attr_accessor :dnssec_config
- #
+ # Unique identifier for the resource; defined by the server (output only)
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
@@ -330,32 +380,39 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # User labels.
# Corresponds to the JSON property `labels`
# @return [Hash]
attr_accessor :labels
- #
+ # User assigned name for this resource. Must be unique within the project. The
+ # name must be 1-63 characters long, must begin with a letter, end with a letter
+ # or digit, and only contain lowercase letters, digits or dashes.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet
+ # is a set of DNS name servers that all host the same ManagedZones. Most users
+ # will leave this field unset.
# Corresponds to the JSON property `nameServerSet`
# @return [String]
attr_accessor :name_server_set
- #
+ # Delegate your managed_zone to these virtual name servers; defined by the
+ # server (output only)
# Corresponds to the JSON property `nameServers`
# @return [Array]
attr_accessor :name_servers
- #
+ # For privately visible zones, the set of Virtual Private Cloud resources that
+ # the zone is visible from.
# Corresponds to the JSON property `privateVisibilityConfig`
# @return [Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig]
attr_accessor :private_visibility_config
- #
+ # The zone's visibility: public zones are exposed to the Internet, while private
+ # zones are visible only to Virtual Private Cloud resources.
# Corresponds to the JSON property `visibility`
# @return [String]
attr_accessor :visibility
@@ -385,7 +442,8 @@ module Google
class ManagedZoneDnsSecConfig
include Google::Apis::Core::Hashable
- #
+ # Specifies parameters that will be used for generating initial DnsKeys for this
+ # ManagedZone. Output only while state is not OFF.
# Corresponds to the JSON property `defaultKeySpecs`
# @return [Array]
attr_accessor :default_key_specs
@@ -396,12 +454,13 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Specifies the mechanism used to provide authenticated denial-of-existence
+ # responses. Output only while state is not OFF.
# Corresponds to the JSON property `nonExistence`
# @return [String]
attr_accessor :non_existence
- #
+ # Specifies whether DNSSEC is enabled, and what mode it is in.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
@@ -423,7 +482,7 @@ module Google
class ManagedZoneOperationsListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1::ResponseHeader]
attr_accessor :header
@@ -433,12 +492,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The operation resources.
# Corresponds to the JSON property `operations`
# @return [Array]
attr_accessor :operations
@@ -466,7 +533,7 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The list of VPC networks that can see this zone.
# Corresponds to the JSON property `networks`
# @return [Array]
attr_accessor :networks
@@ -492,7 +559,9 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The fully qualified URL of the VPC network to bind to. This should be
+ # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
+ # networks/`network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
@@ -512,7 +581,7 @@ module Google
class ListManagedZonesResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1::ResponseHeader]
attr_accessor :header
@@ -522,12 +591,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The managed zone resources.
# Corresponds to the JSON property `managedZones`
# @return [Array]
attr_accessor :managed_zones
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -545,16 +622,22 @@ module Google
end
end
- #
+ # An operation represents a successful mutation performed on a Cloud DNS
+ # resource. Operations provide: - An audit log of server resource mutations. - A
+ # way to recover/retry API calls in the case where the response is never
+ # received by the caller. Use the caller specified client_operation_id.
class Operation
include Google::Apis::Core::Hashable
- #
+ # Only populated if the operation targeted a DnsKey (output only).
# Corresponds to the JSON property `dnsKeyContext`
# @return [Google::Apis::DnsV1::OperationDnsKeyContext]
attr_accessor :dns_key_context
- #
+ # Unique identifier for the resource. This is the client_operation_id if the
+ # client specified it when the mutation was initiated, otherwise, it is
+ # generated by the server. The name must be 1-63 characters long and match the
+ # regular expression [-a-z0-9]? (output only)
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@@ -565,27 +648,32 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The time that this operation was started by the server. This is in RFC3339
+ # text format (output only).
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
- #
+ # Status of the operation. Can be one of the following: "PENDING" or "DONE" (
+ # output only). A status of "DONE" means that the request to update the
+ # authoritative servers has been sent, but the servers might not be updated yet.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
- #
+ # Type of the operation. Operations include insert, update, and delete (output
+ # only).
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
- #
+ # User who requested the operation, for example: user@example.com. cloud-dns-
+ # system for operations automatically done by the system. (output only)
# Corresponds to the JSON property `user`
# @return [String]
attr_accessor :user
- #
+ # Only populated if the operation targeted a ManagedZone (output only).
# Corresponds to the JSON property `zoneContext`
# @return [Google::Apis::DnsV1::OperationManagedZoneContext]
attr_accessor :zone_context
@@ -611,12 +699,12 @@ module Google
class OperationDnsKeyContext
include Google::Apis::Core::Hashable
- #
+ # A DNSSEC key pair.
# Corresponds to the JSON property `newValue`
# @return [Google::Apis::DnsV1::DnsKey]
attr_accessor :new_value
- #
+ # A DNSSEC key pair.
# Corresponds to the JSON property `oldValue`
# @return [Google::Apis::DnsV1::DnsKey]
attr_accessor :old_value
@@ -636,12 +724,16 @@ module Google
class OperationManagedZoneContext
include Google::Apis::Core::Hashable
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
+ # by the Cloud DNS service.
# Corresponds to the JSON property `newValue`
# @return [Google::Apis::DnsV1::ManagedZone]
attr_accessor :new_value
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
+ # by the Cloud DNS service.
# Corresponds to the JSON property `oldValue`
# @return [Google::Apis::DnsV1::ManagedZone]
attr_accessor :old_value
@@ -657,11 +749,13 @@ module Google
end
end
- #
+ # A project resource. The project is a top level container for resources
+ # including Cloud DNS ManagedZones. Projects can be created only in the APIs
+ # console.
class Project
include Google::Apis::Core::Hashable
- #
+ # User assigned unique identifier for the resource (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@@ -672,12 +766,13 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Unique numeric identifier for the resource; defined by the server (output only)
+ # .
# Corresponds to the JSON property `number`
# @return [Fixnum]
attr_accessor :number
- #
+ # Limits associated with a Project.
# Corresponds to the JSON property `quota`
# @return [Google::Apis::DnsV1::Quota]
attr_accessor :quota
@@ -695,11 +790,11 @@ module Google
end
end
- #
+ # Limits associated with a Project.
class Quota
include Google::Apis::Core::Hashable
- #
+ # Maximum allowed number of DnsKeys per ManagedZone.
# Corresponds to the JSON property `dnsKeysPerManagedZone`
# @return [Fixnum]
attr_accessor :dns_keys_per_managed_zone
@@ -709,47 +804,49 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Maximum allowed number of managed zones in the project.
# Corresponds to the JSON property `managedZones`
# @return [Fixnum]
attr_accessor :managed_zones
- #
+ # Maximum allowed number of managed zones which can be attached to a network.
# Corresponds to the JSON property `managedZonesPerNetwork`
# @return [Fixnum]
attr_accessor :managed_zones_per_network
- #
+ # Maximum allowed number of networks to which a privately scoped zone can be
+ # attached.
# Corresponds to the JSON property `networksPerManagedZone`
# @return [Fixnum]
attr_accessor :networks_per_managed_zone
- #
+ # Maximum allowed number of ResourceRecords per ResourceRecordSet.
# Corresponds to the JSON property `resourceRecordsPerRrset`
# @return [Fixnum]
attr_accessor :resource_records_per_rrset
- #
+ # Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
# Corresponds to the JSON property `rrsetAdditionsPerChange`
# @return [Fixnum]
attr_accessor :rrset_additions_per_change
- #
+ # Maximum allowed number of ResourceRecordSets to delete per
+ # ChangesCreateRequest.
# Corresponds to the JSON property `rrsetDeletionsPerChange`
# @return [Fixnum]
attr_accessor :rrset_deletions_per_change
- #
+ # Maximum allowed number of ResourceRecordSets per zone in the project.
# Corresponds to the JSON property `rrsetsPerManagedZone`
# @return [Fixnum]
attr_accessor :rrsets_per_managed_zone
- #
+ # Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
# Corresponds to the JSON property `totalRrdataSizePerChange`
# @return [Fixnum]
attr_accessor :total_rrdata_size_per_change
- #
+ # DNSSEC algorithm and key length types that can be used for DnsKeys.
# Corresponds to the JSON property `whitelistedKeySpecs`
# @return [Array]
attr_accessor :whitelisted_key_specs
@@ -774,7 +871,7 @@ module Google
end
end
- #
+ # A unit of data that will be returned by the DNS servers.
class ResourceRecordSet
include Google::Apis::Core::Hashable
@@ -784,27 +881,29 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # For example, www.example.com.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
+ # examples.
# Corresponds to the JSON property `rrdatas`
# @return [Array]
attr_accessor :rrdatas
- #
+ # As defined in RFC 4034 (section 3.2).
# Corresponds to the JSON property `signatureRrdatas`
# @return [Array]
attr_accessor :signature_rrdatas
- #
+ # Number of seconds that this ResourceRecordSet can be cached by resolvers.
# Corresponds to the JSON property `ttl`
# @return [Fixnum]
attr_accessor :ttl
- #
+ # The identifier of a supported record type. See the list of Supported DNS
+ # record types.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -828,7 +927,7 @@ module Google
class ListResourceRecordSetsResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1::ResponseHeader]
attr_accessor :header
@@ -838,12 +937,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The resource record set resources.
# Corresponds to the JSON property `rrsets`
# @return [Array]
attr_accessor :rrsets
@@ -861,11 +968,13 @@ module Google
end
end
- #
+ # Elements common to every response.
class ResponseHeader
include Google::Apis::Core::Hashable
- #
+ # For mutating operation requests that completed successfully. This is the
+ # client_operation_id if the client specified it, otherwise it is generated by
+ # the server (output only).
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id
diff --git a/generated/google/apis/dns_v1/service.rb b/generated/google/apis/dns_v1/service.rb
index 042910c84..84eff3c45 100644
--- a/generated/google/apis/dns_v1/service.rb
+++ b/generated/google/apis/dns_v1/service.rb
@@ -51,11 +51,16 @@ module Google
@batch_path = 'batch/dns/v1'
end
- #
+ # Atomically update the ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Google::Apis::DnsV1::Change] change_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -90,11 +95,18 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Change.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] change_id
+ # The identifier of the requested change, from a previous
+ # ResourceRecordSetsChangeResponse.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -128,13 +140,22 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate Changes to a ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] sort_by
+ # Sorting criterion. The only supported value is change sequence.
# @param [String] sort_order
+ # Sorting order direction: 'ascending' or 'descending'.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -170,12 +191,21 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing DnsKey.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] dns_key_id
+ # The identifier of the requested DnsKey.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] digest_type
+ # An optional comma-separated list of digest types to compute and display for
+ # key signing keys. If omitted, the recommended digest type will be computed and
+ # displayed.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -210,12 +240,22 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate DnsKeys to a ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] digest_type
+ # An optional comma-separated list of digest types to compute and display for
+ # key signing keys. If omitted, the recommended digest type will be computed and
+ # displayed.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -250,11 +290,16 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Operation.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request.
# @param [String] operation
+ # Identifies the operation addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -288,12 +333,19 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate Operations for the given ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] sort_by
+ # Sorting criterion. The only supported values are START_TIME and ID.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -328,10 +380,13 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Create a new ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -365,10 +420,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Delete a previously created ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -399,10 +459,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -435,11 +500,17 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate ManagedZones that have been created but not yet deleted.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] dns_name
+ # Restricts the list to return only zones with this domain name.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -473,11 +544,16 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Apply a partial update to an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -512,11 +588,16 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Update an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -551,9 +632,12 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Project.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -585,13 +669,24 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate ResourceRecordSets that have been created but not yet deleted.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] name
+ # Restricts the list to return only records with this fully qualified domain
+ # name.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] type
+ # Restricts the list to return only records of this type. If present, the "name"
+ # parameter must also be present.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
diff --git a/generated/google/apis/dns_v1beta2.rb b/generated/google/apis/dns_v1beta2.rb
index 344a45542..b97af128f 100644
--- a/generated/google/apis/dns_v1beta2.rb
+++ b/generated/google/apis/dns_v1beta2.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-dns
module DnsV1beta2
VERSION = 'V1beta2'
- REVISION = '20190328'
+ REVISION = '20190418'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/dns_v1beta2/classes.rb b/generated/google/apis/dns_v1beta2/classes.rb
index ea02fce7a..b0ce0f32d 100644
--- a/generated/google/apis/dns_v1beta2/classes.rb
+++ b/generated/google/apis/dns_v1beta2/classes.rb
@@ -22,26 +22,32 @@ module Google
module Apis
module DnsV1beta2
- #
+ # A Change represents a set of ResourceRecordSet additions and deletions applied
+ # atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are
+ # modified by creating a new Change element in the Changes collection. In turn
+ # the Changes collection also records the past modifications to the
+ # ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is
+ # the sum effect of applying all Change elements in the Changes collection in
+ # sequence.
class Change
include Google::Apis::Core::Hashable
- #
+ # Which ResourceRecordSets to add?
# Corresponds to the JSON property `additions`
# @return [Array]
attr_accessor :additions
- #
+ # Which ResourceRecordSets to remove? Must match existing data exactly.
# Corresponds to the JSON property `deletions`
# @return [Array]
attr_accessor :deletions
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- #
+ # If the DNS queries for the zone will be served.
# Corresponds to the JSON property `isServing`
# @return [Boolean]
attr_accessor :is_serving
@@ -52,12 +58,15 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The time that this operation was started by the server (output only). This is
+ # in RFC3339 text format.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
- #
+ # Status of the operation (output only). A status of "done" means that the
+ # request to update the authoritative servers has been sent, but the servers
+ # might not be updated yet.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
@@ -78,16 +87,17 @@ module Google
end
end
- #
+ # The response to a request to enumerate Changes to a ResourceRecordSets
+ # collection.
class ChangesListResponse
include Google::Apis::Core::Hashable
- #
+ # The requested changes.
# Corresponds to the JSON property `changes`
# @return [Array]
attr_accessor :changes
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -97,7 +107,14 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a "snapshot" of collections larger than the maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -115,47 +132,59 @@ module Google
end
end
- #
+ # A DNSSEC key pair.
class DnsKey
include Google::Apis::Core::Hashable
- #
+ # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after
+ # creation time.
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
- #
+ # The time that this resource was created in the control plane. This is in
+ # RFC3339 text format. Output only.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
- #
+ # A mutable string of at most 1024 characters associated with this resource for
+ # the user's convenience. Has no effect on the resource's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey.
+ # These digests are needed to construct a DS record that points at this DNS key.
+ # Output only.
# Corresponds to the JSON property `digests`
# @return [Array]
attr_accessor :digests
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- #
+ # Active keys will be used to sign subsequent changes to the ManagedZone.
+ # Inactive keys will still be present as DNSKEY Resource Records for the use of
+ # resolvers validating existing signatures.
# Corresponds to the JSON property `isActive`
# @return [Boolean]
attr_accessor :is_active
alias_method :is_active?, :is_active
- #
+ # Length of the key in bits. Specified at creation time then immutable.
# Corresponds to the JSON property `keyLength`
# @return [Fixnum]
attr_accessor :key_length
- #
+ # The key tag is a non-cryptographic hash of the a DNSKEY resource record
+ # associated with this DnsKey. The key tag can be used to identify a DNSKEY more
+ # quickly (but it is not a unique identifier). In particular, the key tag is
+ # used in a parent zone's DS record to point at the DNSKEY in this child
+ # ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm
+ # to calculate it is specified in RFC4034 Appendix B. Output only.
# Corresponds to the JSON property `keyTag`
# @return [Fixnum]
attr_accessor :key_tag
@@ -165,12 +194,16 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Base64 encoded public half of this key. Output only.
# Corresponds to the JSON property `publicKey`
# @return [String]
attr_accessor :public_key
- #
+ # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
+ # Secure Entry Point flag set and, when active, will be used to sign only
+ # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
+ # will be cleared and this key will be used to sign only resource record sets of
+ # other types. Immutable after creation time.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -199,12 +232,13 @@ module Google
class DnsKeyDigest
include Google::Apis::Core::Hashable
- #
+ # The base-16 encoded bytes of this digest. Suitable for use in a DS resource
+ # record.
# Corresponds to the JSON property `digest`
# @return [String]
attr_accessor :digest
- #
+ # Specifies the algorithm used to calculate this digest.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -220,21 +254,26 @@ module Google
end
end
- #
+ # Parameters for DnsKey key generation. Used for generating initial keys for a
+ # new ManagedZone and as default when adding a new DnsKey.
class DnsKeySpec
include Google::Apis::Core::Hashable
- #
+ # String mnemonic specifying the DNSSEC algorithm of this key.
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
- #
+ # Length of the keys in bits.
# Corresponds to the JSON property `keyLength`
# @return [Fixnum]
attr_accessor :key_length
- #
+ # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK).
+ # Key signing keys have the Secure Entry Point flag set and, when active, will
+ # only be used to sign resource record sets of type DNSKEY. Zone signing keys do
+ # not have the Secure Entry Point flag set and will be used to sign all other
+ # types of resource record sets.
# Corresponds to the JSON property `keyType`
# @return [String]
attr_accessor :key_type
@@ -258,16 +297,16 @@ module Google
end
end
- #
+ # The response to a request to enumerate DnsKeys in a ManagedZone.
class DnsKeysListResponse
include Google::Apis::Core::Hashable
- #
+ # The requested resources.
# Corresponds to the JSON property `dnsKeys`
# @return [Array]
attr_accessor :dns_keys
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -277,7 +316,14 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a "snapshot" of collections larger than the maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -295,36 +341,42 @@ module Google
end
end
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
+ # by the Cloud DNS service.
class ManagedZone
include Google::Apis::Core::Hashable
- #
+ # The time that this resource was created on the server. This is in RFC3339 text
+ # format. Output only.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
- #
+ # A mutable string of at most 1024 characters associated with this resource for
+ # the user's convenience. Has no effect on the managed zone's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # The DNS name of this managed zone, for instance "example.com.".
# Corresponds to the JSON property `dnsName`
# @return [String]
attr_accessor :dns_name
- #
+ # DNSSEC configuration.
# Corresponds to the JSON property `dnssecConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZoneDnsSecConfig]
attr_accessor :dnssec_config
- #
+ # The presence for this field indicates that outbound forwarding is enabled for
+ # this zone. The value of this field contains the set of destinations to forward
+ # to.
# Corresponds to the JSON property `forwardingConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZoneForwardingConfig]
attr_accessor :forwarding_config
- #
+ # Unique identifier for the resource; defined by the server (output only)
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
@@ -335,37 +387,45 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # User labels.
# Corresponds to the JSON property `labels`
# @return [Hash]
attr_accessor :labels
- #
+ # User assigned name for this resource. Must be unique within the project. The
+ # name must be 1-63 characters long, must begin with a letter, end with a letter
+ # or digit, and only contain lowercase letters, digits or dashes.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet
+ # is a set of DNS name servers that all host the same ManagedZones. Most users
+ # will leave this field unset.
# Corresponds to the JSON property `nameServerSet`
# @return [String]
attr_accessor :name_server_set
- #
+ # Delegate your managed_zone to these virtual name servers; defined by the
+ # server (output only)
# Corresponds to the JSON property `nameServers`
# @return [Array]
attr_accessor :name_servers
- #
+ # The presence of this field indicates that DNS Peering is enabled for this zone.
+ # The value of this field contains the network to peer with.
# Corresponds to the JSON property `peeringConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZonePeeringConfig]
attr_accessor :peering_config
- #
+ # For privately visible zones, the set of Virtual Private Cloud resources that
+ # the zone is visible from.
# Corresponds to the JSON property `privateVisibilityConfig`
# @return [Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig]
attr_accessor :private_visibility_config
- #
+ # The zone's visibility: public zones are exposed to the Internet, while private
+ # zones are visible only to Virtual Private Cloud resources.
# Corresponds to the JSON property `visibility`
# @return [String]
attr_accessor :visibility
@@ -397,7 +457,8 @@ module Google
class ManagedZoneDnsSecConfig
include Google::Apis::Core::Hashable
- #
+ # Specifies parameters that will be used for generating initial DnsKeys for this
+ # ManagedZone. Output only while state is not OFF.
# Corresponds to the JSON property `defaultKeySpecs`
# @return [Array]
attr_accessor :default_key_specs
@@ -408,12 +469,13 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Specifies the mechanism used to provide authenticated denial-of-existence
+ # responses. Output only while state is not OFF.
# Corresponds to the JSON property `nonExistence`
# @return [String]
attr_accessor :non_existence
- #
+ # Specifies whether DNSSEC is enabled, and what mode it is in.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
@@ -441,7 +503,8 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # List of target name servers to forward to. Cloud DNS will select the best
+ # available name server if more than one target is given.
# Corresponds to the JSON property `targetNameServers`
# @return [Array]
attr_accessor :target_name_servers
@@ -461,7 +524,7 @@ module Google
class ManagedZoneForwardingConfigNameServerTarget
include Google::Apis::Core::Hashable
- #
+ # IPv4 address of a target name server.
# Corresponds to the JSON property `ipv4Address`
# @return [String]
attr_accessor :ipv4_address
@@ -487,7 +550,7 @@ module Google
class ManagedZoneOperationsListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -497,12 +560,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The operation resources.
# Corresponds to the JSON property `operations`
# @return [Array]
attr_accessor :operations
@@ -530,7 +601,7 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The network with which to peer.
# Corresponds to the JSON property `targetNetwork`
# @return [Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork]
attr_accessor :target_network
@@ -550,7 +621,11 @@ module Google
class ManagedZonePeeringConfigTargetNetwork
include Google::Apis::Core::Hashable
- #
+ # If this zone has been deactivated due to a problem with the network it
+ # targeted, the time at which it was deactivated. The zone can be deactivated if,
+ # for instance, the network it targeted was deleted. If the targeted network is
+ # still present, this will be the empty string. This is in RFC3339 text format.
+ # Output only.
# Corresponds to the JSON property `deactivateTime`
# @return [String]
attr_accessor :deactivate_time
@@ -561,7 +636,9 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The fully qualified URL of the VPC network to forward queries to. This should
+ # be formatted like https://www.googleapis.com/compute/v1/projects/`project`/
+ # global/networks/`network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
@@ -588,7 +665,7 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The list of VPC networks that can see this zone.
# Corresponds to the JSON property `networks`
# @return [Array]
attr_accessor :networks
@@ -614,7 +691,9 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The fully qualified URL of the VPC network to bind to. This should be
+ # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
+ # networks/`network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
@@ -634,7 +713,7 @@ module Google
class ManagedZonesListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -644,12 +723,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The managed zone resources.
# Corresponds to the JSON property `managedZones`
# @return [Array]
attr_accessor :managed_zones
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -667,16 +754,22 @@ module Google
end
end
- #
+ # An operation represents a successful mutation performed on a Cloud DNS
+ # resource. Operations provide: - An audit log of server resource mutations. - A
+ # way to recover/retry API calls in the case where the response is never
+ # received by the caller. Use the caller specified client_operation_id.
class Operation
include Google::Apis::Core::Hashable
- #
+ # Only populated if the operation targeted a DnsKey (output only).
# Corresponds to the JSON property `dnsKeyContext`
# @return [Google::Apis::DnsV1beta2::OperationDnsKeyContext]
attr_accessor :dns_key_context
- #
+ # Unique identifier for the resource. This is the client_operation_id if the
+ # client specified it when the mutation was initiated, otherwise, it is
+ # generated by the server. The name must be 1-63 characters long and match the
+ # regular expression [-a-z0-9]? (output only)
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@@ -687,27 +780,32 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The time that this operation was started by the server. This is in RFC3339
+ # text format (output only).
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
- #
+ # Status of the operation. Can be one of the following: "PENDING" or "DONE" (
+ # output only). A status of "DONE" means that the request to update the
+ # authoritative servers has been sent, but the servers might not be updated yet.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
- #
+ # Type of the operation. Operations include insert, update, and delete (output
+ # only).
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
- #
+ # User who requested the operation, for example: user@example.com. cloud-dns-
+ # system for operations automatically done by the system. (output only)
# Corresponds to the JSON property `user`
# @return [String]
attr_accessor :user
- #
+ # Only populated if the operation targeted a ManagedZone (output only).
# Corresponds to the JSON property `zoneContext`
# @return [Google::Apis::DnsV1beta2::OperationManagedZoneContext]
attr_accessor :zone_context
@@ -733,12 +831,12 @@ module Google
class OperationDnsKeyContext
include Google::Apis::Core::Hashable
- #
+ # A DNSSEC key pair.
# Corresponds to the JSON property `newValue`
# @return [Google::Apis::DnsV1beta2::DnsKey]
attr_accessor :new_value
- #
+ # A DNSSEC key pair.
# Corresponds to the JSON property `oldValue`
# @return [Google::Apis::DnsV1beta2::DnsKey]
attr_accessor :old_value
@@ -758,12 +856,16 @@ module Google
class OperationManagedZoneContext
include Google::Apis::Core::Hashable
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
+ # by the Cloud DNS service.
# Corresponds to the JSON property `newValue`
# @return [Google::Apis::DnsV1beta2::ManagedZone]
attr_accessor :new_value
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
+ # by the Cloud DNS service.
# Corresponds to the JSON property `oldValue`
# @return [Google::Apis::DnsV1beta2::ManagedZone]
attr_accessor :old_value
@@ -783,7 +885,7 @@ module Google
class PoliciesListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -793,12 +895,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The policy resources.
# Corresponds to the JSON property `policies`
# @return [Array]
attr_accessor :policies
@@ -820,12 +930,13 @@ module Google
class PoliciesPatchResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
- #
+ # A policy is a collection of DNS rules applied to one or more Virtual Private
+ # Cloud resources.
# Corresponds to the JSON property `policy`
# @return [Google::Apis::DnsV1beta2::Policy]
attr_accessor :policy
@@ -845,12 +956,13 @@ module Google
class PoliciesUpdateResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
- #
+ # A policy is a collection of DNS rules applied to one or more Virtual Private
+ # Cloud resources.
# Corresponds to the JSON property `policy`
# @return [Google::Apis::DnsV1beta2::Policy]
attr_accessor :policy
@@ -866,33 +978,40 @@ module Google
end
end
- #
+ # A policy is a collection of DNS rules applied to one or more Virtual Private
+ # Cloud resources.
class Policy
include Google::Apis::Core::Hashable
- #
+ # Sets an alternative name server for the associated networks. When specified,
+ # all DNS queries are forwarded to a name server that you choose. Names such as .
+ # internal are not available when an alternative name server is specified.
# Corresponds to the JSON property `alternativeNameServerConfig`
# @return [Google::Apis::DnsV1beta2::PolicyAlternativeNameServerConfig]
attr_accessor :alternative_name_server_config
- #
+ # A mutable string of at most 1024 characters associated with this resource for
+ # the user's convenience. Has no effect on the policy's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # Allows networks bound to this policy to receive DNS queries sent by VMs or
+ # applications over VPN connections. When enabled, a virtual IP address will be
+ # allocated from each of the sub-networks that are bound to this policy.
# Corresponds to the JSON property `enableInboundForwarding`
# @return [Boolean]
attr_accessor :enable_inbound_forwarding
alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding
- #
+ # Controls whether logging is enabled for the networks bound to this policy.
+ # Defaults to no logging if not set.
# Corresponds to the JSON property `enableLogging`
# @return [Boolean]
attr_accessor :enable_logging
alias_method :enable_logging?, :enable_logging
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
@@ -902,12 +1021,12 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # User assigned name for this policy.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # List of network names specifying networks to which this policy is applied.
# Corresponds to the JSON property `networks`
# @return [Array]
attr_accessor :networks
@@ -939,7 +1058,9 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Sets an alternative name server for the associated networks. When specified,
+ # all DNS queries are forwarded to a name server that you choose. Names such as .
+ # internal are not available when an alternative name server is specified.
# Corresponds to the JSON property `targetNameServers`
# @return [Array]
attr_accessor :target_name_servers
@@ -959,7 +1080,7 @@ module Google
class PolicyAlternativeNameServerConfigTargetNameServer
include Google::Apis::Core::Hashable
- #
+ # IPv4 address to forward to.
# Corresponds to the JSON property `ipv4Address`
# @return [String]
attr_accessor :ipv4_address
@@ -991,7 +1112,9 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The fully qualified URL of the VPC network to bind to. This should be
+ # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
+ # networks/`network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
@@ -1007,11 +1130,13 @@ module Google
end
end
- #
+ # A project resource. The project is a top level container for resources
+ # including Cloud DNS ManagedZones. Projects can be created only in the APIs
+ # console.
class Project
include Google::Apis::Core::Hashable
- #
+ # User assigned unique identifier for the resource (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@@ -1022,12 +1147,13 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Unique numeric identifier for the resource; defined by the server (output only)
+ # .
# Corresponds to the JSON property `number`
# @return [Fixnum]
attr_accessor :number
- #
+ # Limits associated with a Project.
# Corresponds to the JSON property `quota`
# @return [Google::Apis::DnsV1beta2::Quota]
attr_accessor :quota
@@ -1045,11 +1171,11 @@ module Google
end
end
- #
+ # Limits associated with a Project.
class Quota
include Google::Apis::Core::Hashable
- #
+ # Maximum allowed number of DnsKeys per ManagedZone.
# Corresponds to the JSON property `dnsKeysPerManagedZone`
# @return [Fixnum]
attr_accessor :dns_keys_per_managed_zone
@@ -1059,67 +1185,69 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Maximum allowed number of managed zones in the project.
# Corresponds to the JSON property `managedZones`
# @return [Fixnum]
attr_accessor :managed_zones
- #
+ # Maximum allowed number of managed zones which can be attached to a network.
# Corresponds to the JSON property `managedZonesPerNetwork`
# @return [Fixnum]
attr_accessor :managed_zones_per_network
- #
+ # Maximum allowed number of networks to which a privately scoped zone can be
+ # attached.
# Corresponds to the JSON property `networksPerManagedZone`
# @return [Fixnum]
attr_accessor :networks_per_managed_zone
- #
+ # Maximum allowed number of networks per policy.
# Corresponds to the JSON property `networksPerPolicy`
# @return [Fixnum]
attr_accessor :networks_per_policy
- #
+ # Maximum allowed number of policies per project.
# Corresponds to the JSON property `policies`
# @return [Fixnum]
attr_accessor :policies
- #
+ # Maximum allowed number of ResourceRecords per ResourceRecordSet.
# Corresponds to the JSON property `resourceRecordsPerRrset`
# @return [Fixnum]
attr_accessor :resource_records_per_rrset
- #
+ # Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
# Corresponds to the JSON property `rrsetAdditionsPerChange`
# @return [Fixnum]
attr_accessor :rrset_additions_per_change
- #
+ # Maximum allowed number of ResourceRecordSets to delete per
+ # ChangesCreateRequest.
# Corresponds to the JSON property `rrsetDeletionsPerChange`
# @return [Fixnum]
attr_accessor :rrset_deletions_per_change
- #
+ # Maximum allowed number of ResourceRecordSets per zone in the project.
# Corresponds to the JSON property `rrsetsPerManagedZone`
# @return [Fixnum]
attr_accessor :rrsets_per_managed_zone
- #
+ # Maximum allowed number of target name servers per managed forwarding zone.
# Corresponds to the JSON property `targetNameServersPerManagedZone`
# @return [Fixnum]
attr_accessor :target_name_servers_per_managed_zone
- #
+ # Maximum allowed number of alternative target name servers per policy.
# Corresponds to the JSON property `targetNameServersPerPolicy`
# @return [Fixnum]
attr_accessor :target_name_servers_per_policy
- #
+ # Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
# Corresponds to the JSON property `totalRrdataSizePerChange`
# @return [Fixnum]
attr_accessor :total_rrdata_size_per_change
- #
+ # DNSSEC algorithm and key length types that can be used for DnsKeys.
# Corresponds to the JSON property `whitelistedKeySpecs`
# @return [Array]
attr_accessor :whitelisted_key_specs
@@ -1148,7 +1276,7 @@ module Google
end
end
- #
+ # A unit of data that will be returned by the DNS servers.
class ResourceRecordSet
include Google::Apis::Core::Hashable
@@ -1158,27 +1286,29 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # For example, www.example.com.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
+ # examples.
# Corresponds to the JSON property `rrdatas`
# @return [Array]
attr_accessor :rrdatas
- #
+ # As defined in RFC 4034 (section 3.2).
# Corresponds to the JSON property `signatureRrdatas`
# @return [Array]
attr_accessor :signature_rrdatas
- #
+ # Number of seconds that this ResourceRecordSet can be cached by resolvers.
# Corresponds to the JSON property `ttl`
# @return [Fixnum]
attr_accessor :ttl
- #
+ # The identifier of a supported record type. See the list of Supported DNS
+ # record types.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -1202,7 +1332,7 @@ module Google
class ResourceRecordSetsListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
attr_accessor :header
@@ -1212,12 +1342,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The resource record set resources.
# Corresponds to the JSON property `rrsets`
# @return [Array]
attr_accessor :rrsets
@@ -1235,11 +1373,13 @@ module Google
end
end
- #
+ # Elements common to every response.
class ResponseHeader
include Google::Apis::Core::Hashable
- #
+ # For mutating operation requests that completed successfully. This is the
+ # client_operation_id if the client specified it, otherwise it is generated by
+ # the server (output only).
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id
diff --git a/generated/google/apis/dns_v1beta2/service.rb b/generated/google/apis/dns_v1beta2/service.rb
index 96518cac0..2f0ed85e3 100644
--- a/generated/google/apis/dns_v1beta2/service.rb
+++ b/generated/google/apis/dns_v1beta2/service.rb
@@ -51,11 +51,16 @@ module Google
@batch_path = 'batch/dns/v1beta2'
end
- #
+ # Atomically update the ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Google::Apis::DnsV1beta2::Change] change_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -90,11 +95,18 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Change.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] change_id
+ # The identifier of the requested change, from a previous
+ # ResourceRecordSetsChangeResponse.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -128,13 +140,22 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate Changes to a ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] sort_by
+ # Sorting criterion. The only supported value is change sequence.
# @param [String] sort_order
+ # Sorting order direction: 'ascending' or 'descending'.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -170,12 +191,21 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing DnsKey.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] dns_key_id
+ # The identifier of the requested DnsKey.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] digest_type
+ # An optional comma-separated list of digest types to compute and display for
+ # key signing keys. If omitted, the recommended digest type will be computed and
+ # displayed.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -210,12 +240,22 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate DnsKeys to a ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] digest_type
+ # An optional comma-separated list of digest types to compute and display for
+ # key signing keys. If omitted, the recommended digest type will be computed and
+ # displayed.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -250,11 +290,16 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Operation.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request.
# @param [String] operation
+ # Identifies the operation addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -288,12 +333,19 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate Operations for the given ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] sort_by
+ # Sorting criterion. The only supported values are START_TIME and ID.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -328,10 +380,13 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Create a new ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -365,10 +420,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Delete a previously created ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -399,10 +459,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -435,11 +500,17 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate ManagedZones that have been created but not yet deleted.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] dns_name
+ # Restricts the list to return only zones with this domain name.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -473,11 +544,16 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Apply a partial update to an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -512,11 +588,16 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Update an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -551,10 +632,13 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Create a new Policy
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [Google::Apis::DnsV1beta2::Policy] policy_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -588,10 +672,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Delete a previously created Policy. Will fail if the policy is still being
+ # referenced by a network.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] policy
+ # User given friendly name of the policy addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -622,10 +711,14 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Policy.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] policy
+ # User given friendly name of the policy addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -658,10 +751,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate all Policies associated with a project.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -694,11 +792,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Apply a partial update to an existing Policy.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] policy
+ # User given friendly name of the policy addressed by this request.
# @param [Google::Apis::DnsV1beta2::Policy] policy_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -733,11 +835,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Update an existing Policy.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] policy
+ # User given friendly name of the policy addressed by this request.
# @param [Google::Apis::DnsV1beta2::Policy] policy_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -772,9 +878,12 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Project.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -806,13 +915,24 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate ResourceRecordSets that have been created but not yet deleted.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] name
+ # Restricts the list to return only records with this fully qualified domain
+ # name.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] type
+ # Restricts the list to return only records of this type. If present, the "name"
+ # parameter must also be present.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
diff --git a/generated/google/apis/dns_v2beta1.rb b/generated/google/apis/dns_v2beta1.rb
index d3b65d56c..651dff86d 100644
--- a/generated/google/apis/dns_v2beta1.rb
+++ b/generated/google/apis/dns_v2beta1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-dns
module DnsV2beta1
VERSION = 'V2beta1'
- REVISION = '20190312'
+ REVISION = '20190418'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/dns_v2beta1/classes.rb b/generated/google/apis/dns_v2beta1/classes.rb
index cb5c01c7b..3ffd7728b 100644
--- a/generated/google/apis/dns_v2beta1/classes.rb
+++ b/generated/google/apis/dns_v2beta1/classes.rb
@@ -22,26 +22,32 @@ module Google
module Apis
module DnsV2beta1
- #
+ # A Change represents a set of ResourceRecordSet additions and deletions applied
+ # atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are
+ # modified by creating a new Change element in the Changes collection. In turn
+ # the Changes collection also records the past modifications to the
+ # ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is
+ # the sum effect of applying all Change elements in the Changes collection in
+ # sequence.
class Change
include Google::Apis::Core::Hashable
- #
+ # Which ResourceRecordSets to add?
# Corresponds to the JSON property `additions`
# @return [Array]
attr_accessor :additions
- #
+ # Which ResourceRecordSets to remove? Must match existing data exactly.
# Corresponds to the JSON property `deletions`
# @return [Array]
attr_accessor :deletions
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- #
+ # If the DNS queries for the zone will be served.
# Corresponds to the JSON property `isServing`
# @return [Boolean]
attr_accessor :is_serving
@@ -52,12 +58,15 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The time that this operation was started by the server (output only). This is
+ # in RFC3339 text format.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
- #
+ # Status of the operation (output only). A status of "done" means that the
+ # request to update the authoritative servers has been sent, but the servers
+ # might not be updated yet.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
@@ -78,16 +87,17 @@ module Google
end
end
- #
+ # The response to a request to enumerate Changes to a ResourceRecordSets
+ # collection.
class ChangesListResponse
include Google::Apis::Core::Hashable
- #
+ # The requested changes.
# Corresponds to the JSON property `changes`
# @return [Array]
attr_accessor :changes
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
attr_accessor :header
@@ -97,7 +107,14 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a "snapshot" of collections larger than the maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -115,47 +132,59 @@ module Google
end
end
- #
+ # A DNSSEC key pair.
class DnsKey
include Google::Apis::Core::Hashable
- #
+ # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after
+ # creation time.
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
- #
+ # The time that this resource was created in the control plane. This is in
+ # RFC3339 text format. Output only.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
- #
+ # A mutable string of at most 1024 characters associated with this resource for
+ # the user's convenience. Has no effect on the resource's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey.
+ # These digests are needed to construct a DS record that points at this DNS key.
+ # Output only.
# Corresponds to the JSON property `digests`
# @return [Array]
attr_accessor :digests
- #
+ # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
- #
+ # Active keys will be used to sign subsequent changes to the ManagedZone.
+ # Inactive keys will still be present as DNSKEY Resource Records for the use of
+ # resolvers validating existing signatures.
# Corresponds to the JSON property `isActive`
# @return [Boolean]
attr_accessor :is_active
alias_method :is_active?, :is_active
- #
+ # Length of the key in bits. Specified at creation time then immutable.
# Corresponds to the JSON property `keyLength`
# @return [Fixnum]
attr_accessor :key_length
- #
+ # The key tag is a non-cryptographic hash of the a DNSKEY resource record
+ # associated with this DnsKey. The key tag can be used to identify a DNSKEY more
+ # quickly (but it is not a unique identifier). In particular, the key tag is
+ # used in a parent zone's DS record to point at the DNSKEY in this child
+ # ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm
+ # to calculate it is specified in RFC4034 Appendix B. Output only.
# Corresponds to the JSON property `keyTag`
# @return [Fixnum]
attr_accessor :key_tag
@@ -165,12 +194,16 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Base64 encoded public half of this key. Output only.
# Corresponds to the JSON property `publicKey`
# @return [String]
attr_accessor :public_key
- #
+ # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
+ # Secure Entry Point flag set and, when active, will be used to sign only
+ # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
+ # will be cleared and this key will be used to sign only resource record sets of
+ # other types. Immutable after creation time.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -199,12 +232,13 @@ module Google
class DnsKeyDigest
include Google::Apis::Core::Hashable
- #
+ # The base-16 encoded bytes of this digest. Suitable for use in a DS resource
+ # record.
# Corresponds to the JSON property `digest`
# @return [String]
attr_accessor :digest
- #
+ # Specifies the algorithm used to calculate this digest.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -220,21 +254,26 @@ module Google
end
end
- #
+ # Parameters for DnsKey key generation. Used for generating initial keys for a
+ # new ManagedZone and as default when adding a new DnsKey.
class DnsKeySpec
include Google::Apis::Core::Hashable
- #
+ # String mnemonic specifying the DNSSEC algorithm of this key.
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
- #
+ # Length of the keys in bits.
# Corresponds to the JSON property `keyLength`
# @return [Fixnum]
attr_accessor :key_length
- #
+ # Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK).
+ # Key signing keys have the Secure Entry Point flag set and, when active, will
+ # only be used to sign resource record sets of type DNSKEY. Zone signing keys do
+ # not have the Secure Entry Point flag set and will be used to sign all other
+ # types of resource record sets.
# Corresponds to the JSON property `keyType`
# @return [String]
attr_accessor :key_type
@@ -258,16 +297,16 @@ module Google
end
end
- #
+ # The response to a request to enumerate DnsKeys in a ManagedZone.
class DnsKeysListResponse
include Google::Apis::Core::Hashable
- #
+ # The requested resources.
# Corresponds to the JSON property `dnsKeys`
# @return [Array]
attr_accessor :dns_keys
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
attr_accessor :header
@@ -277,7 +316,14 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a "snapshot" of collections larger than the maximum page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -295,31 +341,35 @@ module Google
end
end
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
+ # by the Cloud DNS service.
class ManagedZone
include Google::Apis::Core::Hashable
- #
+ # The time that this resource was created on the server. This is in RFC3339 text
+ # format. Output only.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
- #
+ # A mutable string of at most 1024 characters associated with this resource for
+ # the user's convenience. Has no effect on the managed zone's function.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- #
+ # The DNS name of this managed zone, for instance "example.com.".
# Corresponds to the JSON property `dnsName`
# @return [String]
attr_accessor :dns_name
- #
+ # DNSSEC configuration.
# Corresponds to the JSON property `dnssecConfig`
# @return [Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig]
attr_accessor :dnssec_config
- #
+ # Unique identifier for the resource; defined by the server (output only)
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
@@ -330,32 +380,39 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # User labels.
# Corresponds to the JSON property `labels`
# @return [Hash]
attr_accessor :labels
- #
+ # User assigned name for this resource. Must be unique within the project. The
+ # name must be 1-63 characters long, must begin with a letter, end with a letter
+ # or digit, and only contain lowercase letters, digits or dashes.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet
+ # is a set of DNS name servers that all host the same ManagedZones. Most users
+ # will leave this field unset.
# Corresponds to the JSON property `nameServerSet`
# @return [String]
attr_accessor :name_server_set
- #
+ # Delegate your managed_zone to these virtual name servers; defined by the
+ # server (output only)
# Corresponds to the JSON property `nameServers`
# @return [Array]
attr_accessor :name_servers
- #
+ # For privately visible zones, the set of Virtual Private Cloud resources that
+ # the zone is visible from.
# Corresponds to the JSON property `privateVisibilityConfig`
# @return [Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig]
attr_accessor :private_visibility_config
- #
+ # The zone's visibility: public zones are exposed to the Internet, while private
+ # zones are visible only to Virtual Private Cloud resources.
# Corresponds to the JSON property `visibility`
# @return [String]
attr_accessor :visibility
@@ -385,7 +442,8 @@ module Google
class ManagedZoneDnsSecConfig
include Google::Apis::Core::Hashable
- #
+ # Specifies parameters that will be used for generating initial DnsKeys for this
+ # ManagedZone. Output only while state is not OFF.
# Corresponds to the JSON property `defaultKeySpecs`
# @return [Array]
attr_accessor :default_key_specs
@@ -396,12 +454,13 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Specifies the mechanism used to provide authenticated denial-of-existence
+ # responses. Output only while state is not OFF.
# Corresponds to the JSON property `nonExistence`
# @return [String]
attr_accessor :non_existence
- #
+ # Specifies whether DNSSEC is enabled, and what mode it is in.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
@@ -423,7 +482,7 @@ module Google
class ManagedZoneOperationsListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
attr_accessor :header
@@ -433,12 +492,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The operation resources.
# Corresponds to the JSON property `operations`
# @return [Array]
attr_accessor :operations
@@ -466,7 +533,7 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The list of VPC networks that can see this zone.
# Corresponds to the JSON property `networks`
# @return [Array]
attr_accessor :networks
@@ -492,7 +559,9 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The fully qualified URL of the VPC network to bind to. This should be
+ # formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
+ # networks/`network`
# Corresponds to the JSON property `networkUrl`
# @return [String]
attr_accessor :network_url
@@ -512,7 +581,7 @@ module Google
class ManagedZonesListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
attr_accessor :header
@@ -522,12 +591,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The managed zone resources.
# Corresponds to the JSON property `managedZones`
# @return [Array]
attr_accessor :managed_zones
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your page token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@@ -545,16 +622,22 @@ module Google
end
end
- #
+ # An operation represents a successful mutation performed on a Cloud DNS
+ # resource. Operations provide: - An audit log of server resource mutations. - A
+ # way to recover/retry API calls in the case where the response is never
+ # received by the caller. Use the caller specified client_operation_id.
class Operation
include Google::Apis::Core::Hashable
- #
+ # Only populated if the operation targeted a DnsKey (output only).
# Corresponds to the JSON property `dnsKeyContext`
# @return [Google::Apis::DnsV2beta1::OperationDnsKeyContext]
attr_accessor :dns_key_context
- #
+ # Unique identifier for the resource. This is the client_operation_id if the
+ # client specified it when the mutation was initiated, otherwise, it is
+ # generated by the server. The name must be 1-63 characters long and match the
+ # regular expression [-a-z0-9]? (output only)
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@@ -565,27 +648,32 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The time that this operation was started by the server. This is in RFC3339
+ # text format (output only).
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
- #
+ # Status of the operation. Can be one of the following: "PENDING" or "DONE" (
+ # output only). A status of "DONE" means that the request to update the
+ # authoritative servers has been sent, but the servers might not be updated yet.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
- #
+ # Type of the operation. Operations include insert, update, and delete (output
+ # only).
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
- #
+ # User who requested the operation, for example: user@example.com. cloud-dns-
+ # system for operations automatically done by the system. (output only)
# Corresponds to the JSON property `user`
# @return [String]
attr_accessor :user
- #
+ # Only populated if the operation targeted a ManagedZone (output only).
# Corresponds to the JSON property `zoneContext`
# @return [Google::Apis::DnsV2beta1::OperationManagedZoneContext]
attr_accessor :zone_context
@@ -611,12 +699,12 @@ module Google
class OperationDnsKeyContext
include Google::Apis::Core::Hashable
- #
+ # A DNSSEC key pair.
# Corresponds to the JSON property `newValue`
# @return [Google::Apis::DnsV2beta1::DnsKey]
attr_accessor :new_value
- #
+ # A DNSSEC key pair.
# Corresponds to the JSON property `oldValue`
# @return [Google::Apis::DnsV2beta1::DnsKey]
attr_accessor :old_value
@@ -636,12 +724,16 @@ module Google
class OperationManagedZoneContext
include Google::Apis::Core::Hashable
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
+ # by the Cloud DNS service.
# Corresponds to the JSON property `newValue`
# @return [Google::Apis::DnsV2beta1::ManagedZone]
attr_accessor :new_value
- #
+ # A zone is a subtree of the DNS namespace under one administrative
+ # responsibility. A ManagedZone is a resource that represents a DNS zone hosted
+ # by the Cloud DNS service.
# Corresponds to the JSON property `oldValue`
# @return [Google::Apis::DnsV2beta1::ManagedZone]
attr_accessor :old_value
@@ -657,11 +749,13 @@ module Google
end
end
- #
+ # A project resource. The project is a top level container for resources
+ # including Cloud DNS ManagedZones. Projects can be created only in the APIs
+ # console.
class Project
include Google::Apis::Core::Hashable
- #
+ # User assigned unique identifier for the resource (output only).
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@@ -672,12 +766,13 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Unique numeric identifier for the resource; defined by the server (output only)
+ # .
# Corresponds to the JSON property `number`
# @return [Fixnum]
attr_accessor :number
- #
+ # Limits associated with a Project.
# Corresponds to the JSON property `quota`
# @return [Google::Apis::DnsV2beta1::Quota]
attr_accessor :quota
@@ -695,11 +790,11 @@ module Google
end
end
- #
+ # Limits associated with a Project.
class Quota
include Google::Apis::Core::Hashable
- #
+ # Maximum allowed number of DnsKeys per ManagedZone.
# Corresponds to the JSON property `dnsKeysPerManagedZone`
# @return [Fixnum]
attr_accessor :dns_keys_per_managed_zone
@@ -709,47 +804,49 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # Maximum allowed number of managed zones in the project.
# Corresponds to the JSON property `managedZones`
# @return [Fixnum]
attr_accessor :managed_zones
- #
+ # Maximum allowed number of managed zones which can be attached to a network.
# Corresponds to the JSON property `managedZonesPerNetwork`
# @return [Fixnum]
attr_accessor :managed_zones_per_network
- #
+ # Maximum allowed number of networks to which a privately scoped zone can be
+ # attached.
# Corresponds to the JSON property `networksPerManagedZone`
# @return [Fixnum]
attr_accessor :networks_per_managed_zone
- #
+ # Maximum allowed number of ResourceRecords per ResourceRecordSet.
# Corresponds to the JSON property `resourceRecordsPerRrset`
# @return [Fixnum]
attr_accessor :resource_records_per_rrset
- #
+ # Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
# Corresponds to the JSON property `rrsetAdditionsPerChange`
# @return [Fixnum]
attr_accessor :rrset_additions_per_change
- #
+ # Maximum allowed number of ResourceRecordSets to delete per
+ # ChangesCreateRequest.
# Corresponds to the JSON property `rrsetDeletionsPerChange`
# @return [Fixnum]
attr_accessor :rrset_deletions_per_change
- #
+ # Maximum allowed number of ResourceRecordSets per zone in the project.
# Corresponds to the JSON property `rrsetsPerManagedZone`
# @return [Fixnum]
attr_accessor :rrsets_per_managed_zone
- #
+ # Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
# Corresponds to the JSON property `totalRrdataSizePerChange`
# @return [Fixnum]
attr_accessor :total_rrdata_size_per_change
- #
+ # DNSSEC algorithm and key length types that can be used for DnsKeys.
# Corresponds to the JSON property `whitelistedKeySpecs`
# @return [Array]
attr_accessor :whitelisted_key_specs
@@ -774,7 +871,7 @@ module Google
end
end
- #
+ # A unit of data that will be returned by the DNS servers.
class ResourceRecordSet
include Google::Apis::Core::Hashable
@@ -784,27 +881,29 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # For example, www.example.com.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- #
+ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
+ # examples.
# Corresponds to the JSON property `rrdatas`
# @return [Array]
attr_accessor :rrdatas
- #
+ # As defined in RFC 4034 (section 3.2).
# Corresponds to the JSON property `signatureRrdatas`
# @return [Array]
attr_accessor :signature_rrdatas
- #
+ # Number of seconds that this ResourceRecordSet can be cached by resolvers.
# Corresponds to the JSON property `ttl`
# @return [Fixnum]
attr_accessor :ttl
- #
+ # The identifier of a supported record type. See the list of Supported DNS
+ # record types.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -828,7 +927,7 @@ module Google
class ResourceRecordSetsListResponse
include Google::Apis::Core::Hashable
- #
+ # Elements common to every response.
# Corresponds to the JSON property `header`
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
attr_accessor :header
@@ -838,12 +937,20 @@ module Google
# @return [String]
attr_accessor :kind
- #
+ # The presence of this field indicates that there exist more results following
+ # your last page of results in pagination order. To fetch them, make another
+ # list request using this value as your pagination token.
+ # In this way you can retrieve the complete contents of even very large
+ # collections one page at a time. However, if the contents of the collection
+ # change between the first and last paginated list request, the set of all
+ # elements returned will be an inconsistent view of the collection. There is no
+ # way to retrieve a consistent snapshot of a collection larger than the maximum
+ # page size.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
- #
+ # The resource record set resources.
# Corresponds to the JSON property `rrsets`
# @return [Array]
attr_accessor :rrsets
@@ -861,11 +968,13 @@ module Google
end
end
- #
+ # Elements common to every response.
class ResponseHeader
include Google::Apis::Core::Hashable
- #
+ # For mutating operation requests that completed successfully. This is the
+ # client_operation_id if the client specified it, otherwise it is generated by
+ # the server (output only).
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id
diff --git a/generated/google/apis/dns_v2beta1/service.rb b/generated/google/apis/dns_v2beta1/service.rb
index 6a77c942b..cd1f2093f 100644
--- a/generated/google/apis/dns_v2beta1/service.rb
+++ b/generated/google/apis/dns_v2beta1/service.rb
@@ -51,11 +51,16 @@ module Google
@batch_path = 'batch/dns/v2beta1'
end
- #
+ # Atomically update the ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Google::Apis::DnsV2beta1::Change] change_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -90,11 +95,18 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Change.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] change_id
+ # The identifier of the requested change, from a previous
+ # ResourceRecordSetsChangeResponse.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -128,13 +140,22 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate Changes to a ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] sort_by
+ # Sorting criterion. The only supported value is change sequence.
# @param [String] sort_order
+ # Sorting order direction: 'ascending' or 'descending'.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -170,12 +191,21 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing DnsKey.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] dns_key_id
+ # The identifier of the requested DnsKey.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] digest_type
+ # An optional comma-separated list of digest types to compute and display for
+ # key signing keys. If omitted, the recommended digest type will be computed and
+ # displayed.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -210,12 +240,22 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate DnsKeys to a ResourceRecordSet collection.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] digest_type
+ # An optional comma-separated list of digest types to compute and display for
+ # key signing keys. If omitted, the recommended digest type will be computed and
+ # displayed.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -250,11 +290,16 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Operation.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request.
# @param [String] operation
+ # Identifies the operation addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -288,12 +333,19 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate Operations for the given ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] sort_by
+ # Sorting criterion. The only supported values are START_TIME and ID.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -328,10 +380,13 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Create a new ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -365,10 +420,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Delete a previously created ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -399,10 +459,15 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -435,11 +500,17 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate ManagedZones that have been created but not yet deleted.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] dns_name
+ # Restricts the list to return only zones with this domain name.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -473,11 +544,16 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Apply a partial update to an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -512,11 +588,16 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Update an existing ManagedZone.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -551,9 +632,12 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Fetch the representation of an existing Project.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] client_operation_id
+ # For mutating operation requests only. An optional identifier specified by the
+ # client. Must be unique for operation resources in the Operations collection.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -585,13 +669,24 @@ module Google
execute_or_queue_command(command, &block)
end
- #
+ # Enumerate ResourceRecordSets that have been created but not yet deleted.
# @param [String] project
+ # Identifies the project addressed by this request.
# @param [String] managed_zone
+ # Identifies the managed zone addressed by this request. Can be the managed zone
+ # name or id.
# @param [Fixnum] max_results
+ # Optional. Maximum number of results to be returned. If unspecified, the server
+ # will decide how many results to return.
# @param [String] name
+ # Restricts the list to return only records with this fully qualified domain
+ # name.
# @param [String] page_token
+ # Optional. A tag returned by a previous list request that was truncated. Use
+ # this parameter to continue a previous list request.
# @param [String] type
+ # Restricts the list to return only records of this type. If present, the "name"
+ # parameter must also be present.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
diff --git a/generated/google/apis/docs_v1.rb b/generated/google/apis/docs_v1.rb
index ef608b25e..0e1055634 100644
--- a/generated/google/apis/docs_v1.rb
+++ b/generated/google/apis/docs_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/docs/
module DocsV1
VERSION = 'V1'
- REVISION = '20190312'
+ REVISION = '20190408'
# View and manage your Google Docs documents
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
diff --git a/generated/google/apis/docs_v1/classes.rb b/generated/google/apis/docs_v1/classes.rb
index 13c665c82..c0dfca3f4 100644
--- a/generated/google/apis/docs_v1/classes.rb
+++ b/generated/google/apis/docs_v1/classes.rb
@@ -4574,6 +4574,8 @@ module Google
end
# A border around a table cell.
+ # Table cell borders cannot be transparent. To hide a table cell border, make
+ # its width 0.
class TableCellBorder
include Google::Apis::Core::Hashable
@@ -4649,21 +4651,29 @@ module Google
attr_accessor :background_color
# A border around a table cell.
+ # Table cell borders cannot be transparent. To hide a table cell border, make
+ # its width 0.
# Corresponds to the JSON property `borderBottom`
# @return [Google::Apis::DocsV1::TableCellBorder]
attr_accessor :border_bottom
# A border around a table cell.
+ # Table cell borders cannot be transparent. To hide a table cell border, make
+ # its width 0.
# Corresponds to the JSON property `borderLeft`
# @return [Google::Apis::DocsV1::TableCellBorder]
attr_accessor :border_left
# A border around a table cell.
+ # Table cell borders cannot be transparent. To hide a table cell border, make
+ # its width 0.
# Corresponds to the JSON property `borderRight`
# @return [Google::Apis::DocsV1::TableCellBorder]
attr_accessor :border_right
# A border around a table cell.
+ # Table cell borders cannot be transparent. To hide a table cell border, make
+ # its width 0.
# Corresponds to the JSON property `borderTop`
# @return [Google::Apis::DocsV1::TableCellBorder]
attr_accessor :border_top
diff --git a/generated/google/apis/drive_v2.rb b/generated/google/apis/drive_v2.rb
index af304fe23..bd05957c5 100644
--- a/generated/google/apis/drive_v2.rb
+++ b/generated/google/apis/drive_v2.rb
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
- REVISION = '20190311'
+ REVISION = '20190416'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
diff --git a/generated/google/apis/drive_v2/classes.rb b/generated/google/apis/drive_v2/classes.rb
index 6c19bfe70..fe5432d0f 100644
--- a/generated/google/apis/drive_v2/classes.rb
+++ b/generated/google/apis/drive_v2/classes.rb
@@ -32,7 +32,13 @@ module Google
# @return [Array]
attr_accessor :additional_role_info
- # Whether the user can create Team Drives.
+ # Whether the user can create shared drives.
+ # Corresponds to the JSON property `canCreateDrives`
+ # @return [Boolean]
+ attr_accessor :can_create_drives
+ alias_method :can_create_drives?, :can_create_drives
+
+ # Deprecated - use canCreateDrives instead.
# Corresponds to the JSON property `canCreateTeamDrives`
# @return [Boolean]
attr_accessor :can_create_team_drives
@@ -47,6 +53,11 @@ module Google
# @return [String]
attr_accessor :domain_sharing_policy
+ # A list of themes that are supported for shared drives.
+ # Corresponds to the JSON property `driveThemes`
+ # @return [Array]
+ attr_accessor :drive_themes
+
# The ETag of the item.
# Corresponds to the JSON property `etag`
# @return [String]
@@ -158,7 +169,7 @@ module Google
# @return [String]
attr_accessor :self_link
- # A list of themes that are supported for Team Drives.
+ # Deprecated - use driveThemes instead.
# Corresponds to the JSON property `teamDriveThemes`
# @return [Array]
attr_accessor :team_drive_themes
@@ -175,8 +186,10 @@ module Google
# Update properties of this object
def update!(**args)
@additional_role_info = args[:additional_role_info] if args.key?(:additional_role_info)
+ @can_create_drives = args[:can_create_drives] if args.key?(:can_create_drives)
@can_create_team_drives = args[:can_create_team_drives] if args.key?(:can_create_team_drives)
@domain_sharing_policy = args[:domain_sharing_policy] if args.key?(:domain_sharing_policy)
+ @drive_themes = args[:drive_themes] if args.key?(:drive_themes)
@etag = args[:etag] if args.key?(:etag)
@export_formats = args[:export_formats] if args.key?(:export_formats)
@features = args[:features] if args.key?(:features)
@@ -252,6 +265,37 @@ module Google
end
end
+ #
+ class DriveTheme
+ include Google::Apis::Core::Hashable
+
+ # A link to this theme's background image.
+ # Corresponds to the JSON property `backgroundImageLink`
+ # @return [String]
+ attr_accessor :background_image_link
+
+ # The color of this theme as an RGB hex string.
+ # Corresponds to the JSON property `colorRgb`
+ # @return [String]
+ attr_accessor :color_rgb
+
+ # The ID of the theme.
+ # Corresponds to the JSON property `id`
+ # @return [String]
+ attr_accessor :id
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @background_image_link = args[:background_image_link] if args.key?(:background_image_link)
+ @color_rgb = args[:color_rgb] if args.key?(:color_rgb)
+ @id = args[:id] if args.key?(:id)
+ end
+ end
+
#
class ExportFormat
include Google::Apis::Core::Hashable
@@ -661,17 +705,32 @@ module Google
end
end
- # Representation of a change to a file or Team Drive.
+ # Representation of a change to a file or shared drive.
class Change
include Google::Apis::Core::Hashable
- # Whether the file or Team Drive has been removed from this list of changes, for
- # example by deletion or loss of access.
+ # The type of the change. Possible values are file and drive.
+ # Corresponds to the JSON property `changeType`
+ # @return [String]
+ attr_accessor :change_type
+
+ # Whether the file or shared drive has been removed from this list of changes,
+ # for example by deletion or loss of access.
# Corresponds to the JSON property `deleted`
# @return [Boolean]
attr_accessor :deleted
alias_method :deleted?, :deleted
+ # Representation of a shared drive.
+ # Corresponds to the JSON property `drive`
+ # @return [Google::Apis::DriveV2::Drive]
+ attr_accessor :drive
+
+ # The ID of the shared drive associated with this change.
+ # Corresponds to the JSON property `driveId`
+ # @return [String]
+ attr_accessor :drive_id
+
# The metadata for a file.
# Corresponds to the JSON property `file`
# @return [Google::Apis::DriveV2::File]
@@ -707,12 +766,12 @@ module Google
# @return [Google::Apis::DriveV2::TeamDrive]
attr_accessor :team_drive
- # The ID of the Team Drive associated with this change.
+ # Deprecated - use driveId instead.
# Corresponds to the JSON property `teamDriveId`
# @return [String]
attr_accessor :team_drive_id
- # The type of the change. Possible values are file and teamDrive.
+ # Deprecated - use changeType instead.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -723,7 +782,10 @@ module Google
# Update properties of this object
def update!(**args)
+ @change_type = args[:change_type] if args.key?(:change_type)
@deleted = args[:deleted] if args.key?(:deleted)
+ @drive = args[:drive] if args.key?(:drive)
+ @drive_id = args[:drive_id] if args.key?(:drive_id)
@file = args[:file] if args.key?(:file)
@file_id = args[:file_id] if args.key?(:file_id)
@id = args[:id] if args.key?(:id)
@@ -1277,6 +1339,376 @@ module Google
end
end
+ # Representation of a shared drive.
+ class Drive
+ include Google::Apis::Core::Hashable
+
+ # An image file and cropping parameters from which a background image for this
+ # shared drive is set. This is a write only field; it can only be set on drive.
+ # drives.update requests that don't set themeId. When specified, all fields of
+ # the backgroundImageFile must be set.
+ # Corresponds to the JSON property `backgroundImageFile`
+ # @return [Google::Apis::DriveV2::Drive::BackgroundImageFile]
+ attr_accessor :background_image_file
+
+ # A short-lived link to this shared drive's background image.
+ # Corresponds to the JSON property `backgroundImageLink`
+ # @return [String]
+ attr_accessor :background_image_link
+
+ # Capabilities the current user has on this shared drive.
+ # Corresponds to the JSON property `capabilities`
+ # @return [Google::Apis::DriveV2::Drive::Capabilities]
+ attr_accessor :capabilities
+
+ # The color of this shared drive as an RGB hex string. It can only be set on a
+ # drive.drives.update request that does not set themeId.
+ # Corresponds to the JSON property `colorRgb`
+ # @return [String]
+ attr_accessor :color_rgb
+
+ # The time at which the shared drive was created (RFC 3339 date-time).
+ # Corresponds to the JSON property `createdDate`
+ # @return [DateTime]
+ attr_accessor :created_date
+
+ # Whether the shared drive is hidden from default view.
+ # Corresponds to the JSON property `hidden`
+ # @return [Boolean]
+ attr_accessor :hidden
+ alias_method :hidden?, :hidden
+
+ # The ID of this shared drive which is also the ID of the top level folder of
+ # this shared drive.
+ # Corresponds to the JSON property `id`
+ # @return [String]
+ attr_accessor :id
+
+ # This is always drive#drive
+ # Corresponds to the JSON property `kind`
+ # @return [String]
+ attr_accessor :kind
+
+ # The name of this shared drive.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # A set of restrictions that apply to this shared drive or items inside this
+ # shared drive.
+ # Corresponds to the JSON property `restrictions`
+ # @return [Google::Apis::DriveV2::Drive::Restrictions]
+ attr_accessor :restrictions
+
+ # The ID of the theme from which the background image and color will be set. The
+ # set of possible driveThemes can be retrieved from a drive.about.get response.
+ # When not specified on a drive.drives.insert request, a random theme is chosen
+ # from which the background image and color are set. This is a write-only field;
+ # it can only be set on requests that don't set colorRgb or backgroundImageFile.
+ # Corresponds to the JSON property `themeId`
+ # @return [String]
+ attr_accessor :theme_id
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @background_image_file = args[:background_image_file] if args.key?(:background_image_file)
+ @background_image_link = args[:background_image_link] if args.key?(:background_image_link)
+ @capabilities = args[:capabilities] if args.key?(:capabilities)
+ @color_rgb = args[:color_rgb] if args.key?(:color_rgb)
+ @created_date = args[:created_date] if args.key?(:created_date)
+ @hidden = args[:hidden] if args.key?(:hidden)
+ @id = args[:id] if args.key?(:id)
+ @kind = args[:kind] if args.key?(:kind)
+ @name = args[:name] if args.key?(:name)
+ @restrictions = args[:restrictions] if args.key?(:restrictions)
+ @theme_id = args[:theme_id] if args.key?(:theme_id)
+ end
+
+ # An image file and cropping parameters from which a background image for this
+ # shared drive is set. This is a write only field; it can only be set on drive.
+ # drives.update requests that don't set themeId. When specified, all fields of
+ # the backgroundImageFile must be set.
+ class BackgroundImageFile
+ include Google::Apis::Core::Hashable
+
+ # The ID of an image file in Google Drive to use for the background image.
+ # Corresponds to the JSON property `id`
+ # @return [String]
+ attr_accessor :id
+
+ # The width of the cropped image in the closed range of 0 to 1. This value
+ # represents the width of the cropped image divided by the width of the entire
+ # image. The height is computed by applying a width to height aspect ratio of 80
+ # to 9. The resulting image must be at least 1280 pixels wide and 144 pixels
+ # high.
+ # Corresponds to the JSON property `width`
+ # @return [Float]
+ attr_accessor :width
+
+ # The X coordinate of the upper left corner of the cropping area in the
+ # background image. This is a value in the closed range of 0 to 1. This value
+ # represents the horizontal distance from the left side of the entire image to
+ # the left side of the cropping area divided by the width of the entire image.
+ # Corresponds to the JSON property `xCoordinate`
+ # @return [Float]
+ attr_accessor :x_coordinate
+
+ # The Y coordinate of the upper left corner of the cropping area in the
+ # background image. This is a value in the closed range of 0 to 1. This value
+ # represents the vertical distance from the top side of the entire image to the
+ # top side of the cropping area divided by the height of the entire image.
+ # Corresponds to the JSON property `yCoordinate`
+ # @return [Float]
+ attr_accessor :y_coordinate
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @id = args[:id] if args.key?(:id)
+ @width = args[:width] if args.key?(:width)
+ @x_coordinate = args[:x_coordinate] if args.key?(:x_coordinate)
+ @y_coordinate = args[:y_coordinate] if args.key?(:y_coordinate)
+ end
+ end
+
+ # Capabilities the current user has on this shared drive.
+ class Capabilities
+ include Google::Apis::Core::Hashable
+
+ # Whether the current user can add children to folders in this shared drive.
+ # Corresponds to the JSON property `canAddChildren`
+ # @return [Boolean]
+ attr_accessor :can_add_children
+ alias_method :can_add_children?, :can_add_children
+
+ # Whether the current user can change the copyRequiresWriterPermission
+ # restriction of this shared drive.
+ # Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction`
+ # @return [Boolean]
+ attr_accessor :can_change_copy_requires_writer_permission_restriction
+ alias_method :can_change_copy_requires_writer_permission_restriction?, :can_change_copy_requires_writer_permission_restriction
+
+ # Whether the current user can change the domainUsersOnly restriction of this
+ # shared drive.
+ # Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction`
+ # @return [Boolean]
+ attr_accessor :can_change_domain_users_only_restriction
+ alias_method :can_change_domain_users_only_restriction?, :can_change_domain_users_only_restriction
+
+ # Whether the current user can change the background of this shared drive.
+ # Corresponds to the JSON property `canChangeDriveBackground`
+ # @return [Boolean]
+ attr_accessor :can_change_drive_background
+ alias_method :can_change_drive_background?, :can_change_drive_background
+
+ # Whether the current user can change the driveMembersOnly restriction of this
+ # shared drive.
+ # Corresponds to the JSON property `canChangeDriveMembersOnlyRestriction`
+ # @return [Boolean]
+ attr_accessor :can_change_drive_members_only_restriction
+ alias_method :can_change_drive_members_only_restriction?, :can_change_drive_members_only_restriction
+
+ # Whether the current user can comment on files in this shared drive.
+ # Corresponds to the JSON property `canComment`
+ # @return [Boolean]
+ attr_accessor :can_comment
+ alias_method :can_comment?, :can_comment
+
+ # Whether the current user can copy files in this shared drive.
+ # Corresponds to the JSON property `canCopy`
+ # @return [Boolean]
+ attr_accessor :can_copy
+ alias_method :can_copy?, :can_copy
+
+ # Whether the current user can delete children from folders in this shared drive.
+ # Corresponds to the JSON property `canDeleteChildren`
+ # @return [Boolean]
+ attr_accessor :can_delete_children
+ alias_method :can_delete_children?, :can_delete_children
+
+ # Whether the current user can delete this shared drive. Attempting to delete
+ # the shared drive may still fail if there are untrashed items inside the shared
+ # drive.
+ # Corresponds to the JSON property `canDeleteDrive`
+ # @return [Boolean]
+ attr_accessor :can_delete_drive
+ alias_method :can_delete_drive?, :can_delete_drive
+
+ # Whether the current user can download files in this shared drive.
+ # Corresponds to the JSON property `canDownload`
+ # @return [Boolean]
+ attr_accessor :can_download
+ alias_method :can_download?, :can_download
+
+ # Whether the current user can edit files in this shared drive
+ # Corresponds to the JSON property `canEdit`
+ # @return [Boolean]
+ attr_accessor :can_edit
+ alias_method :can_edit?, :can_edit
+
+ # Whether the current user can list the children of folders in this shared drive.
+ # Corresponds to the JSON property `canListChildren`
+ # @return [Boolean]
+ attr_accessor :can_list_children
+ alias_method :can_list_children?, :can_list_children
+
+ # Whether the current user can add members to this shared drive or remove them
+ # or change their role.
+ # Corresponds to the JSON property `canManageMembers`
+ # @return [Boolean]
+ attr_accessor :can_manage_members
+ alias_method :can_manage_members?, :can_manage_members
+
+ # Whether the current user can read the revisions resource of files in this
+ # shared drive.
+ # Corresponds to the JSON property `canReadRevisions`
+ # @return [Boolean]
+ attr_accessor :can_read_revisions
+ alias_method :can_read_revisions?, :can_read_revisions
+
+ # Whether the current user can rename files or folders in this shared drive.
+ # Corresponds to the JSON property `canRename`
+ # @return [Boolean]
+ attr_accessor :can_rename
+ alias_method :can_rename?, :can_rename
+
+ # Whether the current user can rename this shared drive.
+ # Corresponds to the JSON property `canRenameDrive`
+ # @return [Boolean]
+ attr_accessor :can_rename_drive
+ alias_method :can_rename_drive?, :can_rename_drive
+
+ # Whether the current user can share files or folders in this shared drive.
+ # Corresponds to the JSON property `canShare`
+ # @return [Boolean]
+ attr_accessor :can_share
+ alias_method :can_share?, :can_share
+
+ # Whether the current user can trash children from folders in this shared drive.
+ # Corresponds to the JSON property `canTrashChildren`
+ # @return [Boolean]
+ attr_accessor :can_trash_children
+ alias_method :can_trash_children?, :can_trash_children
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @can_add_children = args[:can_add_children] if args.key?(:can_add_children)
+ @can_change_copy_requires_writer_permission_restriction = args[:can_change_copy_requires_writer_permission_restriction] if args.key?(:can_change_copy_requires_writer_permission_restriction)
+ @can_change_domain_users_only_restriction = args[:can_change_domain_users_only_restriction] if args.key?(:can_change_domain_users_only_restriction)
+ @can_change_drive_background = args[:can_change_drive_background] if args.key?(:can_change_drive_background)
+ @can_change_drive_members_only_restriction = args[:can_change_drive_members_only_restriction] if args.key?(:can_change_drive_members_only_restriction)
+ @can_comment = args[:can_comment] if args.key?(:can_comment)
+ @can_copy = args[:can_copy] if args.key?(:can_copy)
+ @can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
+ @can_delete_drive = args[:can_delete_drive] if args.key?(:can_delete_drive)
+ @can_download = args[:can_download] if args.key?(:can_download)
+ @can_edit = args[:can_edit] if args.key?(:can_edit)
+ @can_list_children = args[:can_list_children] if args.key?(:can_list_children)
+ @can_manage_members = args[:can_manage_members] if args.key?(:can_manage_members)
+ @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
+ @can_rename = args[:can_rename] if args.key?(:can_rename)
+ @can_rename_drive = args[:can_rename_drive] if args.key?(:can_rename_drive)
+ @can_share = args[:can_share] if args.key?(:can_share)
+ @can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
+ end
+ end
+
+ # A set of restrictions that apply to this shared drive or items inside this
+ # shared drive.
+ class Restrictions
+ include Google::Apis::Core::Hashable
+
+ # Whether administrative privileges on this shared drive are required to modify
+ # restrictions.
+ # Corresponds to the JSON property `adminManagedRestrictions`
+ # @return [Boolean]
+ attr_accessor :admin_managed_restrictions
+ alias_method :admin_managed_restrictions?, :admin_managed_restrictions
+
+ # Whether the options to copy, print, or download files inside this shared drive,
+ # should be disabled for readers and commenters. When this restriction is set
+ # to true, it will override the similarly named field to true for any file
+ # inside this shared drive.
+ # Corresponds to the JSON property `copyRequiresWriterPermission`
+ # @return [Boolean]
+ attr_accessor :copy_requires_writer_permission
+ alias_method :copy_requires_writer_permission?, :copy_requires_writer_permission
+
+ # Whether access to this shared drive and items inside this shared drive is
+ # restricted to users of the domain to which this shared drive belongs. This
+ # restriction may be overridden by other sharing policies controlled outside of
+ # this shared drive.
+ # Corresponds to the JSON property `domainUsersOnly`
+ # @return [Boolean]
+ attr_accessor :domain_users_only
+ alias_method :domain_users_only?, :domain_users_only
+
+ # Whether access to items inside this shared drive is restricted to its members.
+ # Corresponds to the JSON property `driveMembersOnly`
+ # @return [Boolean]
+ attr_accessor :drive_members_only
+ alias_method :drive_members_only?, :drive_members_only
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @admin_managed_restrictions = args[:admin_managed_restrictions] if args.key?(:admin_managed_restrictions)
+ @copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission)
+ @domain_users_only = args[:domain_users_only] if args.key?(:domain_users_only)
+ @drive_members_only = args[:drive_members_only] if args.key?(:drive_members_only)
+ end
+ end
+ end
+
+ # A list of shared drives.
+ class DriveList
+ include Google::Apis::Core::Hashable
+
+ # The list of shared drives. If nextPageToken is populated, then this list may
+ # be incomplete and an additional page of results should be fetched.
+ # Corresponds to the JSON property `items`
+ # @return [Array]
+ attr_accessor :items
+
+ # This is always drive#driveList
+ # Corresponds to the JSON property `kind`
+ # @return [String]
+ attr_accessor :kind
+
+ # The page token for the next page of shared drives. This will be absent if the
+ # end of the list has been reached. If the token is rejected for any reason, it
+ # should be discarded, and pagination should be restarted from the first page of
+ # results.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @items = args[:items] if args.key?(:items)
+ @kind = args[:kind] if args.key?(:kind)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
# The metadata for a file.
class File
include Google::Apis::Core::Hashable
@@ -1340,12 +1772,18 @@ module Google
attr_accessor :description
# Short lived download URL for the file. This field is only populated for files
- # with content stored in Drive; it is not populated for Google Docs or shortcut
- # files.
+ # with content stored in Google Drive; it is not populated for Google Docs or
+ # shortcut files.
# Corresponds to the JSON property `downloadUrl`
# @return [String]
attr_accessor :download_url
+ # ID of the shared drive the file resides in. Only populated for items in shared
+ # drives.
+ # Corresponds to the JSON property `driveId`
+ # @return [String]
+ attr_accessor :drive_id
+
# Deprecated: use capabilities/canEdit.
# Corresponds to the JSON property `editable`
# @return [Boolean]
@@ -1376,14 +1814,15 @@ module Google
# The final component of fullFileExtension with trailing text that does not
# appear to be part of the extension removed. This field is only populated for
- # files with content stored in Drive; it is not populated for Google Docs or
- # shortcut files.
+ # files with content stored in Google Drive; it is not populated for Google Docs
+ # or shortcut files.
# Corresponds to the JSON property `fileExtension`
# @return [String]
attr_accessor :file_extension
# The size of the file in bytes. This field is only populated for files with
- # content stored in Drive; it is not populated for Google Docs or shortcut files.
+ # content stored in Google Drive; it is not populated for Google Docs or
+ # shortcut files.
# Corresponds to the JSON property `fileSize`
# @return [Fixnum]
attr_accessor :file_size
@@ -1391,7 +1830,7 @@ module Google
# Folder color as an RGB hex string if the file is a folder. The list of
# supported colors is available in the folderColorPalette field of the About
# resource. If an unsupported color is specified, it will be changed to the
- # closest color in the palette. Not populated for Team Drive files.
+ # closest color in the palette. Not populated for items in shared drives.
# Corresponds to the JSON property `folderColorRgb`
# @return [String]
attr_accessor :folder_color_rgb
@@ -1400,13 +1839,13 @@ module Google
# concatenated extensions, such as "tar.gz". Removing an extension from the
# title does not clear this field; however, changing the extension on the title
# does update this field. This field is only populated for files with content
- # stored in Drive; it is not populated for Google Docs or shortcut files.
+ # stored in Google Drive; it is not populated for Google Docs or shortcut files.
# Corresponds to the JSON property `fullFileExtension`
# @return [String]
attr_accessor :full_file_extension
# Whether any users are granted file access directly on this file. This field is
- # only populated for Team Drive files.
+ # only populated for items in shared drives.
# Corresponds to the JSON property `hasAugmentedPermissions`
# @return [Boolean]
attr_accessor :has_augmented_permissions
@@ -1421,8 +1860,8 @@ module Google
alias_method :has_thumbnail?, :has_thumbnail
# The ID of the file's head revision. This field is only populated for files
- # with content stored in Drive; it is not populated for Google Docs or shortcut
- # files.
+ # with content stored in Google Drive; it is not populated for Google Docs or
+ # shortcut files.
# Corresponds to the JSON property `headRevisionId`
# @return [String]
attr_accessor :head_revision_id
@@ -1485,8 +1924,8 @@ module Google
attr_accessor :marked_viewed_by_me_date
# An MD5 checksum for the content of this file. This field is only populated for
- # files with content stored in Drive; it is not populated for Google Docs or
- # shortcut files.
+ # files with content stored in Google Drive; it is not populated for Google Docs
+ # or shortcut files.
# Corresponds to the JSON property `md5Checksum`
# @return [String]
attr_accessor :md5_checksum
@@ -1519,24 +1958,24 @@ module Google
# The original filename of the uploaded content if available, or else the
# original value of the title field. This is only available for files with
- # binary content in Drive.
+ # binary content in Google Drive.
# Corresponds to the JSON property `originalFilename`
# @return [String]
attr_accessor :original_filename
- # Whether the file is owned by the current user. Not populated for Team Drive
- # files.
+ # Whether the file is owned by the current user. Not populated for items in
+ # shared drives.
# Corresponds to the JSON property `ownedByMe`
# @return [Boolean]
attr_accessor :owned_by_me
alias_method :owned_by_me?, :owned_by_me
- # Name(s) of the owner(s) of this file. Not populated for Team Drive files.
+ # Name(s) of the owner(s) of this file. Not populated for items in shared drives.
# Corresponds to the JSON property `ownerNames`
# @return [Array]
attr_accessor :owner_names
- # The owner(s) of this file. Not populated for Team Drive files.
+ # The owner(s) of this file. Not populated for items in shared drives.
# Corresponds to the JSON property `owners`
# @return [Array]
attr_accessor :owners
@@ -1557,7 +1996,7 @@ module Google
attr_accessor :permission_ids
# The list of permissions for users with access to this file. Not populated for
- # Team Drive files.
+ # items in shared drives.
# Corresponds to the JSON property `permissions`
# @return [Array]
attr_accessor :permissions
@@ -1583,7 +2022,7 @@ module Google
attr_accessor :shareable
alias_method :shareable?, :shareable
- # Whether the file has been shared. Not populated for Team Drive files.
+ # Whether the file has been shared. Not populated for items in shared drives.
# Corresponds to the JSON property `shared`
# @return [Boolean]
attr_accessor :shared
@@ -1606,13 +2045,13 @@ module Google
# @return [Array]
attr_accessor :spaces
- # ID of the Team Drive the file resides in.
+ # Deprecated - use driveId instead.
# Corresponds to the JSON property `teamDriveId`
# @return [String]
attr_accessor :team_drive_id
- # A thumbnail for the file. This will only be used if Drive cannot generate a
- # standard thumbnail.
+ # A thumbnail for the file. This will only be used if a standard thumbnail
+ # cannot be generated.
# Corresponds to the JSON property `thumbnail`
# @return [Google::Apis::DriveV2::File::Thumbnail]
attr_accessor :thumbnail
@@ -1629,14 +2068,14 @@ module Google
attr_accessor :thumbnail_version
# The title of this file. Note that for immutable items such as the top level
- # folders of Team Drives, My Drive root folder, and Application Data folder the
- # title is constant.
+ # folders of shared drives, My Drive root folder, and Application Data folder
+ # the title is constant.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
# The time that the item was trashed (formatted RFC 3339 timestamp). Only
- # populated for Team Drive files.
+ # populated for items in shared drives.
# Corresponds to the JSON property `trashedDate`
# @return [DateTime]
attr_accessor :trashed_date
@@ -1677,7 +2116,7 @@ module Google
attr_accessor :web_view_link
# Whether writers can share the document with other users. Not populated for
- # Team Drive files.
+ # items in shared drives.
# Corresponds to the JSON property `writersCanShare`
# @return [Boolean]
attr_accessor :writers_can_share
@@ -1700,6 +2139,7 @@ module Google
@default_open_with_link = args[:default_open_with_link] if args.key?(:default_open_with_link)
@description = args[:description] if args.key?(:description)
@download_url = args[:download_url] if args.key?(:download_url)
+ @drive_id = args[:drive_id] if args.key?(:drive_id)
@editable = args[:editable] if args.key?(:editable)
@embed_link = args[:embed_link] if args.key?(:embed_link)
@etag = args[:etag] if args.key?(:etag)
@@ -1789,9 +2229,9 @@ module Google
attr_accessor :can_comment
alias_method :can_comment?, :can_comment
- # Whether the current user can copy this file. For a Team Drive item, whether
- # the current user can copy non-folder descendants of this item, or this item
- # itself if it is not a folder.
+ # Whether the current user can copy this file. For an item in a shared drive,
+ # whether the current user can copy non-folder descendants of this item, or this
+ # item itself if it is not a folder.
# Corresponds to the JSON property `canCopy`
# @return [Boolean]
attr_accessor :can_copy
@@ -1804,7 +2244,7 @@ module Google
alias_method :can_delete?, :can_delete
# Whether the current user can delete children of this folder. This is false
- # when the item is not a folder. Only populated for Team Drive items.
+ # when the item is not a folder. Only populated for items in shared drives.
# Corresponds to the JSON property `canDeleteChildren`
# @return [Boolean]
attr_accessor :can_delete_children
@@ -1829,70 +2269,97 @@ module Google
attr_accessor :can_list_children
alias_method :can_list_children?, :can_list_children
- # Whether the current user can move children of this folder outside of the Team
- # Drive. This is false when the item is not a folder. Only populated for Team
- # Drive items.
+ # Whether the current user can move children of this folder outside of the
+ # shared drive. This is false when the item is not a folder. Only populated for
+ # items in shared drives.
+ # Corresponds to the JSON property `canMoveChildrenOutOfDrive`
+ # @return [Boolean]
+ attr_accessor :can_move_children_out_of_drive
+ alias_method :can_move_children_out_of_drive?, :can_move_children_out_of_drive
+
+ # Deprecated - use canMoveChildrenOutOfDrive instead.
# Corresponds to the JSON property `canMoveChildrenOutOfTeamDrive`
# @return [Boolean]
attr_accessor :can_move_children_out_of_team_drive
alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
- # Whether the current user can move children of this folder within the Team
- # Drive. This is false when the item is not a folder. Only populated for Team
- # Drive items.
+ # Whether the current user can move children of this folder within the shared
+ # drive. This is false when the item is not a folder. Only populated for items
+ # in shared drives.
+ # Corresponds to the JSON property `canMoveChildrenWithinDrive`
+ # @return [Boolean]
+ attr_accessor :can_move_children_within_drive
+ alias_method :can_move_children_within_drive?, :can_move_children_within_drive
+
+ # Deprecated - use canMoveChildrenWithinDrive instead.
# Corresponds to the JSON property `canMoveChildrenWithinTeamDrive`
# @return [Boolean]
attr_accessor :can_move_children_within_team_drive
alias_method :can_move_children_within_team_drive?, :can_move_children_within_team_drive
- # Whether the current user can move this item into a Team Drive. If the item is
- # in a Team Drive, this field is equivalent to canMoveTeamDriveItem.
+ # Deprecated - use canMoveItemOutOfDrive instead.
# Corresponds to the JSON property `canMoveItemIntoTeamDrive`
# @return [Boolean]
attr_accessor :can_move_item_into_team_drive
alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
- # Whether the current user can move this Team Drive item outside of this Team
- # Drive by changing its parent. Note that a request to change the parent of the
- # item may still fail depending on the new parent that is being added. Only
- # populated for Team Drive items.
+ # Whether the current user can move this item outside of this drive by changing
+ # its parent. Note that a request to change the parent of the item may still
+ # fail depending on the new parent that is being added.
+ # Corresponds to the JSON property `canMoveItemOutOfDrive`
+ # @return [Boolean]
+ attr_accessor :can_move_item_out_of_drive
+ alias_method :can_move_item_out_of_drive?, :can_move_item_out_of_drive
+
+ # Deprecated - use canMoveItemOutOfDrive instead.
# Corresponds to the JSON property `canMoveItemOutOfTeamDrive`
# @return [Boolean]
attr_accessor :can_move_item_out_of_team_drive
alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
- # Whether the current user can move this Team Drive item within this Team Drive.
- # Note that a request to change the parent of the item may still fail depending
- # on the new parent that is being added. Only populated for Team Drive items.
+ # Whether the current user can move this item within this shared drive. Note
+ # that a request to change the parent of the item may still fail depending on
+ # the new parent that is being added. Only populated for items in shared drives.
+ # Corresponds to the JSON property `canMoveItemWithinDrive`
+ # @return [Boolean]
+ attr_accessor :can_move_item_within_drive
+ alias_method :can_move_item_within_drive?, :can_move_item_within_drive
+
+ # Deprecated - use canMoveItemWithinDrive instead.
# Corresponds to the JSON property `canMoveItemWithinTeamDrive`
# @return [Boolean]
attr_accessor :can_move_item_within_team_drive
alias_method :can_move_item_within_team_drive?, :can_move_item_within_team_drive
- # Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive
- # instead.
+ # Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
# Corresponds to the JSON property `canMoveTeamDriveItem`
# @return [Boolean]
attr_accessor :can_move_team_drive_item
alias_method :can_move_team_drive_item?, :can_move_team_drive_item
+ # Whether the current user can read the shared drive to which this file belongs.
+ # Only populated for items in shared drives.
+ # Corresponds to the JSON property `canReadDrive`
+ # @return [Boolean]
+ attr_accessor :can_read_drive
+ alias_method :can_read_drive?, :can_read_drive
+
# Whether the current user can read the revisions resource of this file. For a
- # Team Drive item, whether revisions of non-folder descendants of this item, or
- # this item itself if it is not a folder, can be read.
+ # shared drive item, whether revisions of non-folder descendants of this item,
+ # or this item itself if it is not a folder, can be read.
# Corresponds to the JSON property `canReadRevisions`
# @return [Boolean]
attr_accessor :can_read_revisions
alias_method :can_read_revisions?, :can_read_revisions
- # Whether the current user can read the Team Drive to which this file belongs.
- # Only populated for Team Drive files.
+ # Deprecated - use canReadDrive instead.
# Corresponds to the JSON property `canReadTeamDrive`
# @return [Boolean]
attr_accessor :can_read_team_drive
alias_method :can_read_team_drive?, :can_read_team_drive
# Whether the current user can remove children from this folder. This is always
- # false when the item is not a folder. For Team Drive items, use
+ # false when the item is not a folder. For a folder in a shared drive, use
# canDeleteChildren or canTrashChildren instead.
# Corresponds to the JSON property `canRemoveChildren`
# @return [Boolean]
@@ -1918,7 +2385,7 @@ module Google
alias_method :can_trash?, :can_trash
# Whether the current user can trash children of this folder. This is false when
- # the item is not a folder. Only populated for Team Drive items.
+ # the item is not a folder. Only populated for items in shared drives.
# Corresponds to the JSON property `canTrashChildren`
# @return [Boolean]
attr_accessor :can_trash_children
@@ -1946,12 +2413,17 @@ module Google
@can_download = args[:can_download] if args.key?(:can_download)
@can_edit = args[:can_edit] if args.key?(:can_edit)
@can_list_children = args[:can_list_children] if args.key?(:can_list_children)
+ @can_move_children_out_of_drive = args[:can_move_children_out_of_drive] if args.key?(:can_move_children_out_of_drive)
@can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
+ @can_move_children_within_drive = args[:can_move_children_within_drive] if args.key?(:can_move_children_within_drive)
@can_move_children_within_team_drive = args[:can_move_children_within_team_drive] if args.key?(:can_move_children_within_team_drive)
@can_move_item_into_team_drive = args[:can_move_item_into_team_drive] if args.key?(:can_move_item_into_team_drive)
+ @can_move_item_out_of_drive = args[:can_move_item_out_of_drive] if args.key?(:can_move_item_out_of_drive)
@can_move_item_out_of_team_drive = args[:can_move_item_out_of_team_drive] if args.key?(:can_move_item_out_of_team_drive)
+ @can_move_item_within_drive = args[:can_move_item_within_drive] if args.key?(:can_move_item_within_drive)
@can_move_item_within_team_drive = args[:can_move_item_within_team_drive] if args.key?(:can_move_item_within_team_drive)
@can_move_team_drive_item = args[:can_move_team_drive_item] if args.key?(:can_move_team_drive_item)
+ @can_read_drive = args[:can_read_drive] if args.key?(:can_read_drive)
@can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
@can_read_team_drive = args[:can_read_team_drive] if args.key?(:can_read_team_drive)
@can_remove_children = args[:can_remove_children] if args.key?(:can_remove_children)
@@ -2211,8 +2683,8 @@ module Google
end
end
- # A thumbnail for the file. This will only be used if Drive cannot generate a
- # standard thumbnail.
+ # A thumbnail for the file. This will only be used if a standard thumbnail
+ # cannot be generated.
class Thumbnail
include Google::Apis::Core::Hashable
@@ -2282,10 +2754,9 @@ module Google
# Whether the search process was incomplete. If true, then some search results
# may be missing, since all documents were not searched. This may occur when
- # searching multiple Team Drives with the "default,allTeamDrives" corpora, but
- # all corpora could not be searched. When this happens, it is suggested that
- # clients narrow their query by choosing a different corpus such as "default" or
- # "teamDrive".
+ # searching multiple drives with the "allDrives" corpora, but all corpora could
+ # not be searched. When this happens, it is suggested that clients narrow their
+ # query by choosing a different corpus such as "default" or "drive".
# Corresponds to the JSON property `incompleteSearch`
# @return [Boolean]
attr_accessor :incomplete_search
@@ -2516,6 +2987,13 @@ module Google
# @return [String]
attr_accessor :name
+ # Details of whether the permissions on this shared drive item are inherited or
+ # directly on this item. This is an output-only field which is present only for
+ # shared drive items.
+ # Corresponds to the JSON property `permissionDetails`
+ # @return [Array]
+ attr_accessor :permission_details
+
# A link to the profile photo, if available.
# Corresponds to the JSON property `photoLink`
# @return [String]
@@ -2537,9 +3015,7 @@ module Google
# @return [String]
attr_accessor :self_link
- # Details of whether the permissions on this Team Drive item are inherited or
- # directly on this item. This is an output-only field which is present only for
- # Team Drive items.
+ # Deprecated - use permissionDetails instead.
# Corresponds to the JSON property `teamDrivePermissionDetails`
# @return [Array]
attr_accessor :team_drive_permission_details
@@ -2583,6 +3059,7 @@ module Google
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
+ @permission_details = args[:permission_details] if args.key?(:permission_details)
@photo_link = args[:photo_link] if args.key?(:photo_link)
@role = args[:role] if args.key?(:role)
@self_link = args[:self_link] if args.key?(:self_link)
@@ -2592,6 +3069,61 @@ module Google
@with_link = args[:with_link] if args.key?(:with_link)
end
+ #
+ class PermissionDetail
+ include Google::Apis::Core::Hashable
+
+ # Additional roles for this user. Only commenter is currently possible, though
+ # more may be supported in the future.
+ # Corresponds to the JSON property `additionalRoles`
+ # @return [Array]
+ attr_accessor :additional_roles
+
+ # Whether this permission is inherited. This field is always populated. This is
+ # an output-only field.
+ # Corresponds to the JSON property `inherited`
+ # @return [Boolean]
+ attr_accessor :inherited
+ alias_method :inherited?, :inherited
+
+ # The ID of the item from which this permission is inherited. This is an output-
+ # only field and is only populated for members of the shared drive.
+ # Corresponds to the JSON property `inheritedFrom`
+ # @return [String]
+ attr_accessor :inherited_from
+
+ # The permission type for this user. While new values may be added in future,
+ # the following are currently possible:
+ # - file
+ # - member
+ # Corresponds to the JSON property `permissionType`
+ # @return [String]
+ attr_accessor :permission_type
+
+ # The primary role for this user. While new values may be added in the future,
+ # the following are currently possible:
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ # Corresponds to the JSON property `role`
+ # @return [String]
+ attr_accessor :role
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @additional_roles = args[:additional_roles] if args.key?(:additional_roles)
+ @inherited = args[:inherited] if args.key?(:inherited)
+ @inherited_from = args[:inherited_from] if args.key?(:inherited_from)
+ @permission_type = args[:permission_type] if args.key?(:permission_type)
+ @role = args[:role] if args.key?(:role)
+ end
+ end
+
#
class TeamDrivePermissionDetail
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/drive_v2/representations.rb b/generated/google/apis/drive_v2/representations.rb
index b4c599f95..2710ba5fb 100644
--- a/generated/google/apis/drive_v2/representations.rb
+++ b/generated/google/apis/drive_v2/representations.rb
@@ -37,6 +37,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class DriveTheme
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ExportFormat
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -154,6 +160,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class Drive
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class BackgroundImageFile
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Capabilities
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Restrictions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DriveList
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class File
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -229,6 +265,12 @@ module Google
class Permission
class Representation < Google::Apis::Core::JsonRepresentation; end
+ class PermissionDetail
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class TeamDrivePermissionDetail
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -327,8 +369,11 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :additional_role_info, as: 'additionalRoleInfo', class: Google::Apis::DriveV2::About::AdditionalRoleInfo, decorator: Google::Apis::DriveV2::About::AdditionalRoleInfo::Representation
+ property :can_create_drives, as: 'canCreateDrives'
property :can_create_team_drives, as: 'canCreateTeamDrives'
property :domain_sharing_policy, as: 'domainSharingPolicy'
+ collection :drive_themes, as: 'driveThemes', class: Google::Apis::DriveV2::About::DriveTheme, decorator: Google::Apis::DriveV2::About::DriveTheme::Representation
+
property :etag, as: 'etag'
collection :export_formats, as: 'exportFormats', class: Google::Apis::DriveV2::About::ExportFormat, decorator: Google::Apis::DriveV2::About::ExportFormat::Representation
@@ -378,6 +423,15 @@ module Google
end
end
+ class DriveTheme
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :background_image_link, as: 'backgroundImageLink'
+ property :color_rgb, as: 'colorRgb'
+ property :id, as: 'id'
+ end
+ end
+
class ExportFormat
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -483,7 +537,11 @@ module Google
class Change
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :change_type, as: 'changeType'
property :deleted, as: 'deleted'
+ property :drive, as: 'drive', class: Google::Apis::DriveV2::Drive, decorator: Google::Apis::DriveV2::Drive::Representation
+
+ property :drive_id, as: 'driveId'
property :file, as: 'file', class: Google::Apis::DriveV2::File, decorator: Google::Apis::DriveV2::File::Representation
property :file_id, as: 'fileId'
@@ -629,6 +687,81 @@ module Google
end
end
+ class Drive
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :background_image_file, as: 'backgroundImageFile', class: Google::Apis::DriveV2::Drive::BackgroundImageFile, decorator: Google::Apis::DriveV2::Drive::BackgroundImageFile::Representation
+
+ property :background_image_link, as: 'backgroundImageLink'
+ property :capabilities, as: 'capabilities', class: Google::Apis::DriveV2::Drive::Capabilities, decorator: Google::Apis::DriveV2::Drive::Capabilities::Representation
+
+ property :color_rgb, as: 'colorRgb'
+ property :created_date, as: 'createdDate', type: DateTime
+
+ property :hidden, as: 'hidden'
+ property :id, as: 'id'
+ property :kind, as: 'kind'
+ property :name, as: 'name'
+ property :restrictions, as: 'restrictions', class: Google::Apis::DriveV2::Drive::Restrictions, decorator: Google::Apis::DriveV2::Drive::Restrictions::Representation
+
+ property :theme_id, as: 'themeId'
+ end
+
+ class BackgroundImageFile
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :id, as: 'id'
+ property :width, as: 'width'
+ property :x_coordinate, as: 'xCoordinate'
+ property :y_coordinate, as: 'yCoordinate'
+ end
+ end
+
+ class Capabilities
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :can_add_children, as: 'canAddChildren'
+ property :can_change_copy_requires_writer_permission_restriction, as: 'canChangeCopyRequiresWriterPermissionRestriction'
+ property :can_change_domain_users_only_restriction, as: 'canChangeDomainUsersOnlyRestriction'
+ property :can_change_drive_background, as: 'canChangeDriveBackground'
+ property :can_change_drive_members_only_restriction, as: 'canChangeDriveMembersOnlyRestriction'
+ property :can_comment, as: 'canComment'
+ property :can_copy, as: 'canCopy'
+ property :can_delete_children, as: 'canDeleteChildren'
+ property :can_delete_drive, as: 'canDeleteDrive'
+ property :can_download, as: 'canDownload'
+ property :can_edit, as: 'canEdit'
+ property :can_list_children, as: 'canListChildren'
+ property :can_manage_members, as: 'canManageMembers'
+ property :can_read_revisions, as: 'canReadRevisions'
+ property :can_rename, as: 'canRename'
+ property :can_rename_drive, as: 'canRenameDrive'
+ property :can_share, as: 'canShare'
+ property :can_trash_children, as: 'canTrashChildren'
+ end
+ end
+
+ class Restrictions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :admin_managed_restrictions, as: 'adminManagedRestrictions'
+ property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission'
+ property :domain_users_only, as: 'domainUsersOnly'
+ property :drive_members_only, as: 'driveMembersOnly'
+ end
+ end
+ end
+
+ class DriveList
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :items, as: 'items', class: Google::Apis::DriveV2::Drive, decorator: Google::Apis::DriveV2::Drive::Representation
+
+ property :kind, as: 'kind'
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
class File
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -645,6 +778,7 @@ module Google
property :default_open_with_link, as: 'defaultOpenWithLink'
property :description, as: 'description'
property :download_url, as: 'downloadUrl'
+ property :drive_id, as: 'driveId'
property :editable, as: 'editable'
property :embed_link, as: 'embedLink'
property :etag, as: 'etag'
@@ -735,12 +869,17 @@ module Google
property :can_download, as: 'canDownload'
property :can_edit, as: 'canEdit'
property :can_list_children, as: 'canListChildren'
+ property :can_move_children_out_of_drive, as: 'canMoveChildrenOutOfDrive'
property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
+ property :can_move_children_within_drive, as: 'canMoveChildrenWithinDrive'
property :can_move_children_within_team_drive, as: 'canMoveChildrenWithinTeamDrive'
property :can_move_item_into_team_drive, as: 'canMoveItemIntoTeamDrive'
+ property :can_move_item_out_of_drive, as: 'canMoveItemOutOfDrive'
property :can_move_item_out_of_team_drive, as: 'canMoveItemOutOfTeamDrive'
+ property :can_move_item_within_drive, as: 'canMoveItemWithinDrive'
property :can_move_item_within_team_drive, as: 'canMoveItemWithinTeamDrive'
property :can_move_team_drive_item, as: 'canMoveTeamDriveItem'
+ property :can_read_drive, as: 'canReadDrive'
property :can_read_revisions, as: 'canReadRevisions'
property :can_read_team_drive, as: 'canReadTeamDrive'
property :can_remove_children, as: 'canRemoveChildren'
@@ -885,6 +1024,8 @@ module Google
property :id, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
+ collection :permission_details, as: 'permissionDetails', class: Google::Apis::DriveV2::Permission::PermissionDetail, decorator: Google::Apis::DriveV2::Permission::PermissionDetail::Representation
+
property :photo_link, as: 'photoLink'
property :role, as: 'role'
property :self_link, as: 'selfLink'
@@ -895,6 +1036,17 @@ module Google
property :with_link, as: 'withLink'
end
+ class PermissionDetail
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :additional_roles, as: 'additionalRoles'
+ property :inherited, as: 'inherited'
+ property :inherited_from, as: 'inheritedFrom'
+ property :permission_type, as: 'permissionType'
+ property :role, as: 'role'
+ end
+ end
+
class TeamDrivePermissionDetail
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/drive_v2/service.rb b/generated/google/apis/drive_v2/service.rb
index 7e683e32a..600c98c66 100644
--- a/generated/google/apis/drive_v2/service.rb
+++ b/generated/google/apis/drive_v2/service.rb
@@ -178,10 +178,14 @@ module Google
# changes.
# @param [String] change_id
# The ID of the change.
+ # @param [String] drive_id
+ # The shared drive from which the change will be returned.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id
- # The Team Drive from which the change will be returned.
+ # Deprecated use driveId instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -201,11 +205,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def get_change(change_id, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def get_change(change_id, drive_id: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'changes/{changeId}', options)
command.response_representation = Google::Apis::DriveV2::Change::Representation
command.response_class = Google::Apis::DriveV2::Change
command.params['changeId'] = change_id unless change_id.nil?
+ command.query['driveId'] = drive_id unless drive_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil?
command.query['fields'] = fields unless fields.nil?
@@ -215,11 +221,15 @@ module Google
end
# Gets the starting pageToken for listing future changes.
+ # @param [String] drive_id
+ # The ID of the shared drive for which the starting pageToken for listing future
+ # changes from that shared drive will be returned.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id
- # The ID of the Team Drive for which the starting pageToken for listing future
- # changes from that Team Drive will be returned.
+ # Deprecated use driveId instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -239,10 +249,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def get_change_start_page_token(supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def get_change_start_page_token(drive_id: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'changes/startPageToken', options)
command.response_representation = Google::Apis::DriveV2::StartPageToken::Representation
command.response_class = Google::Apis::DriveV2::StartPageToken
+ command.query['driveId'] = drive_id unless drive_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil?
command.query['fields'] = fields unless fields.nil?
@@ -251,7 +263,11 @@ module Google
execute_or_queue_command(command, &block)
end
- # Lists the changes for a user or Team Drive.
+ # Lists the changes for a user or shared drive.
+ # @param [String] drive_id
+ # The shared drive from which changes will be returned. If specified the change
+ # IDs will be reflective of the shared drive; use the combined drive ID and
+ # change ID as an identifier.
# @param [Boolean] include_corpus_removals
# Whether changes should include the file resource if the file is still
# accessible by the user at the time of the request, even when a file was
@@ -260,13 +276,15 @@ module Google
# @param [Boolean] include_deleted
# Whether to include changes indicating that items have been removed from the
# list of changes, for example by deletion or loss of access.
+ # @param [Boolean] include_items_from_all_drives
+ # Whether both My Drive and shared drive items should be included in results.
# @param [Boolean] include_subscribed
# Whether to include changes outside the My Drive hierarchy in the result. When
# set to false, changes to files such as those in the Application Data folder or
# shared files which have not been added to My Drive will be omitted from the
# result.
# @param [Boolean] include_team_drive_items
- # Whether Team Drive files or changes should be included in results.
+ # Deprecated use includeItemsFromAllDrives instead.
# @param [Fixnum] max_results
# Maximum number of changes to return.
# @param [String] page_token
@@ -278,12 +296,12 @@ module Google
# appDataFolder' and 'photos'.
# @param [Fixnum] start_change_id
# Deprecated - use pageToken instead.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id
- # The Team Drive from which changes will be returned. If specified the change
- # IDs will be reflective of the Team Drive; use the combined Team Drive ID and
- # change ID as an identifier.
+ # Deprecated use driveId instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -303,18 +321,21 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_changes(include_corpus_removals: nil, include_deleted: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_id: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_changes(drive_id: nil, include_corpus_removals: nil, include_deleted: nil, include_items_from_all_drives: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_id: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'changes', options)
command.response_representation = Google::Apis::DriveV2::ChangeList::Representation
command.response_class = Google::Apis::DriveV2::ChangeList
+ command.query['driveId'] = drive_id unless drive_id.nil?
command.query['includeCorpusRemovals'] = include_corpus_removals unless include_corpus_removals.nil?
command.query['includeDeleted'] = include_deleted unless include_deleted.nil?
+ command.query['includeItemsFromAllDrives'] = include_items_from_all_drives unless include_items_from_all_drives.nil?
command.query['includeSubscribed'] = include_subscribed unless include_subscribed.nil?
command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['spaces'] = spaces unless spaces.nil?
command.query['startChangeId'] = start_change_id unless start_change_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil?
command.query['fields'] = fields unless fields.nil?
@@ -325,6 +346,10 @@ module Google
# Subscribe to changes for a user.
# @param [Google::Apis::DriveV2::Channel] channel_object
+ # @param [String] drive_id
+ # The shared drive from which changes will be returned. If specified the change
+ # IDs will be reflective of the shared drive; use the combined drive ID and
+ # change ID as an identifier.
# @param [Boolean] include_corpus_removals
# Whether changes should include the file resource if the file is still
# accessible by the user at the time of the request, even when a file was
@@ -333,13 +358,15 @@ module Google
# @param [Boolean] include_deleted
# Whether to include changes indicating that items have been removed from the
# list of changes, for example by deletion or loss of access.
+ # @param [Boolean] include_items_from_all_drives
+ # Whether both My Drive and shared drive items should be included in results.
# @param [Boolean] include_subscribed
# Whether to include changes outside the My Drive hierarchy in the result. When
# set to false, changes to files such as those in the Application Data folder or
# shared files which have not been added to My Drive will be omitted from the
# result.
# @param [Boolean] include_team_drive_items
- # Whether Team Drive files or changes should be included in results.
+ # Deprecated use includeItemsFromAllDrives instead.
# @param [Fixnum] max_results
# Maximum number of changes to return.
# @param [String] page_token
@@ -351,12 +378,12 @@ module Google
# appDataFolder' and 'photos'.
# @param [Fixnum] start_change_id
# Deprecated - use pageToken instead.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id
- # The Team Drive from which changes will be returned. If specified the change
- # IDs will be reflective of the Team Drive; use the combined Team Drive ID and
- # change ID as an identifier.
+ # Deprecated use driveId instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -376,20 +403,23 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def watch_change(channel_object = nil, include_corpus_removals: nil, include_deleted: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_id: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def watch_change(channel_object = nil, drive_id: nil, include_corpus_removals: nil, include_deleted: nil, include_items_from_all_drives: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_id: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'changes/watch', options)
command.request_representation = Google::Apis::DriveV2::Channel::Representation
command.request_object = channel_object
command.response_representation = Google::Apis::DriveV2::Channel::Representation
command.response_class = Google::Apis::DriveV2::Channel
+ command.query['driveId'] = drive_id unless drive_id.nil?
command.query['includeCorpusRemovals'] = include_corpus_removals unless include_corpus_removals.nil?
command.query['includeDeleted'] = include_deleted unless include_deleted.nil?
+ command.query['includeItemsFromAllDrives'] = include_items_from_all_drives unless include_items_from_all_drives.nil?
command.query['includeSubscribed'] = include_subscribed unless include_subscribed.nil?
command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['spaces'] = spaces unless spaces.nil?
command.query['startChangeId'] = start_change_id unless start_change_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil?
command.query['fields'] = fields unless fields.nil?
@@ -503,8 +533,10 @@ module Google
# @param [String] folder_id
# The ID of the folder.
# @param [Google::Apis::DriveV2::ChildReference] child_reference_object
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -524,13 +556,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def insert_child(folder_id, child_reference_object = nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def insert_child(folder_id, child_reference_object = nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'files/{folderId}/children', options)
command.request_representation = Google::Apis::DriveV2::ChildReference::Representation
command.request_object = child_reference_object
command.response_representation = Google::Apis::DriveV2::ChildReference::Representation
command.response_class = Google::Apis::DriveV2::ChildReference
command.params['folderId'] = folder_id unless folder_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -826,6 +859,266 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Permanently deletes a shared drive for which the user is an organizer. The
+ # shared drive cannot contain any untrashed items.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [NilClass] No result returned for this method
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [void]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'drives/{driveId}', options)
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets a shared drive's metadata by ID.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [Boolean] use_domain_admin_access
+ # Issue the request as a domain administrator; if set to true, then the
+ # requester will be granted access if they are an administrator of the domain to
+ # which the shared drive belongs.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV2::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV2::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_drife(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, 'drives/{driveId}', options)
+ command.response_representation = Google::Apis::DriveV2::Drive::Representation
+ command.response_class = Google::Apis::DriveV2::Drive
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Hides a shared drive from the default view.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV2::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV2::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def hide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, 'drives/{driveId}/hide', options)
+ command.response_representation = Google::Apis::DriveV2::Drive::Representation
+ command.response_class = Google::Apis::DriveV2::Drive
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a new shared drive.
+ # @param [String] request_id
+ # An ID, such as a random UUID, which uniquely identifies this user's request
+ # for idempotent creation of a shared drive. A repeated request by the same user
+ # and with the same request ID will avoid creating duplicates by attempting to
+ # create the same shared drive. If the shared drive already exists a 409 error
+ # will be returned.
+ # @param [Google::Apis::DriveV2::Drive] drive_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV2::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV2::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def insert_drife(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, 'drives', options)
+ command.request_representation = Google::Apis::DriveV2::Drive::Representation
+ command.request_object = drive_object
+ command.response_representation = Google::Apis::DriveV2::Drive::Representation
+ command.response_class = Google::Apis::DriveV2::Drive
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists the user's shared drives.
+ # @param [Fixnum] max_results
+ # Maximum number of shared drives to return.
+ # @param [String] page_token
+ # Page token for shared drives.
+ # @param [String] q
+ # Query string for searching shared drives.
+ # @param [Boolean] use_domain_admin_access
+ # Issue the request as a domain administrator; if set to true, then all shared
+ # drives of the domain in which the requester is an administrator are returned.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV2::DriveList] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV2::DriveList]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_drives(max_results: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, 'drives', options)
+ command.response_representation = Google::Apis::DriveV2::DriveList::Representation
+ command.response_class = Google::Apis::DriveV2::DriveList
+ command.query['maxResults'] = max_results unless max_results.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['q'] = q unless q.nil?
+ command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Restores a shared drive to the default view.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV2::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV2::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def unhide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, 'drives/{driveId}/unhide', options)
+ command.response_representation = Google::Apis::DriveV2::Drive::Representation
+ command.response_class = Google::Apis::DriveV2::Drive
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates the metadata for a shared drive.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [Google::Apis::DriveV2::Drive] drive_object
+ # @param [Boolean] use_domain_admin_access
+ # Issue the request as a domain administrator; if set to true, then the
+ # requester will be granted access if they are an administrator of the domain to
+ # which the shared drive belongs.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV2::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV2::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def update_drife(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:put, 'drives/{driveId}', options)
+ command.request_representation = Google::Apis::DriveV2::Drive::Representation
+ command.request_object = drive_object
+ command.response_representation = Google::Apis::DriveV2::Drive::Representation
+ command.response_class = Google::Apis::DriveV2::Drive
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Creates a copy of the specified file.
# @param [String] file_id
# The ID of the file to copy.
@@ -839,8 +1132,10 @@ module Google
# @param [Boolean] pinned
# Whether to pin the head revision of the new copy. A file can have a maximum of
# 200 pinned revisions.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] timed_text_language
# The language of the timed text.
# @param [String] timed_text_track_name
@@ -867,7 +1162,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def copy_file(file_id, file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def copy_file(file_id, file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'files/{fileId}/copy', options)
command.request_representation = Google::Apis::DriveV2::File::Representation
command.request_object = file_object
@@ -878,6 +1173,7 @@ module Google
command.query['ocr'] = ocr unless ocr.nil?
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
command.query['pinned'] = pinned unless pinned.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['timedTextLanguage'] = timed_text_language unless timed_text_language.nil?
command.query['timedTextTrackName'] = timed_text_track_name unless timed_text_track_name.nil?
@@ -889,11 +1185,13 @@ module Google
end
# Permanently deletes a file by ID. Skips the trash. The currently authenticated
- # user must own the file or be an organizer on the parent for Team Drive files.
+ # user must own the file or be an organizer on the parent for shared drive files.
# @param [String] file_id
# The ID of the file to delete.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -913,9 +1211,10 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def delete_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def delete_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'files/{fileId}', options)
command.params['fileId'] = file_id unless file_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1041,8 +1340,10 @@ module Google
# @param [String] revision_id
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media
# is specified.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] update_viewed_date
# Deprecated: Use files.update with modifiedDateBehavior=noChange,
# updateViewedDate=true and an empty request body.
@@ -1067,7 +1368,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def get_file(file_id, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
+ def get_file(file_id, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_all_drives: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
if download_dest.nil?
command = make_simple_command(:get, 'files/{fileId}', options)
else
@@ -1080,6 +1381,7 @@ module Google
command.query['acknowledgeAbuse'] = acknowledge_abuse unless acknowledge_abuse.nil?
command.query['projection'] = projection unless projection.nil?
command.query['revisionId'] = revision_id unless revision_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['updateViewedDate'] = update_viewed_date unless update_viewed_date.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1099,8 +1401,10 @@ module Google
# @param [Boolean] pinned
# Whether to pin the head revision of the uploaded file. A file can have a
# maximum of 200 pinned revisions.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] timed_text_language
# The language of the timed text.
# @param [String] timed_text_track_name
@@ -1133,7 +1437,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def insert_file(file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, use_content_as_indexable_text: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
+ def insert_file(file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, use_content_as_indexable_text: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, 'files', options)
else
@@ -1149,6 +1453,7 @@ module Google
command.query['ocr'] = ocr unless ocr.nil?
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
command.query['pinned'] = pinned unless pinned.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['timedTextLanguage'] = timed_text_language unless timed_text_language.nil?
command.query['timedTextTrackName'] = timed_text_track_name unless timed_text_track_name.nil?
@@ -1162,16 +1467,18 @@ module Google
# Lists the user's files.
# @param [String] corpora
- # Comma-separated list of bodies of items (files/documents) to which the query
- # applies. Supported bodies are 'default', 'domain', 'teamDrive' and '
- # allTeamDrives'. 'allTeamDrives' must be combined with 'default'; all other
- # values must be used in isolation. Prefer 'default' or 'teamDrive' to '
- # allTeamDrives' for efficiency.
+ # Bodies of items (files/documents) to which the query applies. Supported bodies
+ # are 'default', 'domain', 'drive' and 'allDrives'. Prefer 'default' or 'drive'
+ # to 'allDrives' for efficiency.
# @param [String] corpus
# The body of items (files/documents) to which the query applies. Deprecated:
# use 'corpora' instead.
+ # @param [String] drive_id
+ # ID of the shared drive to search.
+ # @param [Boolean] include_items_from_all_drives
+ # Whether both My Drive and shared drive items should be included in results.
# @param [Boolean] include_team_drive_items
- # Whether Team Drive items should be included in results.
+ # Deprecated use includeItemsFromAllDrives instead.
# @param [Fixnum] max_results
# The maximum number of files to return per page. Partial or empty result pages
# are possible even before the end of the files list has been reached.
@@ -1192,10 +1499,12 @@ module Google
# @param [String] spaces
# A comma-separated list of spaces to query. Supported values are 'drive', '
# appDataFolder' and 'photos'.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id
- # ID of Team Drive to search.
+ # Deprecated use driveId instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1215,12 +1524,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_files(corpora: nil, corpus: nil, include_team_drive_items: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, q: nil, spaces: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_files(corpora: nil, corpus: nil, drive_id: nil, include_items_from_all_drives: nil, include_team_drive_items: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, q: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'files', options)
command.response_representation = Google::Apis::DriveV2::FileList::Representation
command.response_class = Google::Apis::DriveV2::FileList
command.query['corpora'] = corpora unless corpora.nil?
command.query['corpus'] = corpus unless corpus.nil?
+ command.query['driveId'] = drive_id unless drive_id.nil?
+ command.query['includeItemsFromAllDrives'] = include_items_from_all_drives unless include_items_from_all_drives.nil?
command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
@@ -1228,6 +1539,7 @@ module Google
command.query['projection'] = projection unless projection.nil?
command.query['q'] = q unless q.nil?
command.query['spaces'] = spaces unless spaces.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1268,8 +1580,10 @@ module Google
# Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow,
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
# to the modified date set modifiedDateBehavior=noChange.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] timed_text_language
# The language of the timed text.
# @param [String] timed_text_track_name
@@ -1297,7 +1611,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def patch_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def patch_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'files/{fileId}', options)
command.request_representation = Google::Apis::DriveV2::File::Representation
command.request_object = file_object
@@ -1313,6 +1627,7 @@ module Google
command.query['pinned'] = pinned unless pinned.nil?
command.query['removeParents'] = remove_parents unless remove_parents.nil?
command.query['setModifiedDate'] = set_modified_date unless set_modified_date.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['timedTextLanguage'] = timed_text_language unless timed_text_language.nil?
command.query['timedTextTrackName'] = timed_text_track_name unless timed_text_track_name.nil?
@@ -1327,8 +1642,10 @@ module Google
# Set the file's updated time to the current server time.
# @param [String] file_id
# The ID of the file to update.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1348,11 +1665,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def touch_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def touch_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'files/{fileId}/touch', options)
command.response_representation = Google::Apis::DriveV2::File::Representation
command.response_class = Google::Apis::DriveV2::File
command.params['fileId'] = file_id unless file_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1361,11 +1679,13 @@ module Google
end
# Moves a file to the trash. The currently authenticated user must own the file
- # or be at least a fileOrganizer on the parent for Team Drive files.
+ # or be at least a fileOrganizer on the parent for shared drive files.
# @param [String] file_id
# The ID of the file to trash.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1385,11 +1705,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def trash_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def trash_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'files/{fileId}/trash', options)
command.response_representation = Google::Apis::DriveV2::File::Representation
command.response_class = Google::Apis::DriveV2::File
command.params['fileId'] = file_id unless file_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1400,8 +1721,10 @@ module Google
# Restores a file from the trash.
# @param [String] file_id
# The ID of the file to untrash.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1421,11 +1744,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def untrash_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def untrash_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'files/{fileId}/untrash', options)
command.response_representation = Google::Apis::DriveV2::File::Representation
command.response_class = Google::Apis::DriveV2::File
command.params['fileId'] = file_id unless file_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1465,8 +1789,10 @@ module Google
# Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow,
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
# to the modified date set modifiedDateBehavior=noChange.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] timed_text_language
# The language of the timed text.
# @param [String] timed_text_track_name
@@ -1498,7 +1824,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def update_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
+ def update_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:put, 'files/{fileId}', options)
else
@@ -1520,6 +1846,7 @@ module Google
command.query['pinned'] = pinned unless pinned.nil?
command.query['removeParents'] = remove_parents unless remove_parents.nil?
command.query['setModifiedDate'] = set_modified_date unless set_modified_date.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['timedTextLanguage'] = timed_text_language unless timed_text_language.nil?
command.query['timedTextTrackName'] = timed_text_track_name unless timed_text_track_name.nil?
@@ -1543,8 +1870,10 @@ module Google
# @param [String] revision_id
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media
# is specified.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] update_viewed_date
# Deprecated: Use files.update with modifiedDateBehavior=noChange,
# updateViewedDate=true and an empty request body.
@@ -1569,7 +1898,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
+ def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_all_drives: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
if download_dest.nil?
command = make_simple_command(:post, 'files/{fileId}/watch', options)
else
@@ -1584,6 +1913,7 @@ module Google
command.query['acknowledgeAbuse'] = acknowledge_abuse unless acknowledge_abuse.nil?
command.query['projection'] = projection unless projection.nil?
command.query['revisionId'] = revision_id unless revision_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['updateViewedDate'] = update_viewed_date unless update_viewed_date.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1666,8 +1996,10 @@ module Google
# @param [String] file_id
# The ID of the file.
# @param [Google::Apis::DriveV2::ParentReference] parent_reference_object
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1687,13 +2019,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def insert_parent(file_id, parent_reference_object = nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def insert_parent(file_id, parent_reference_object = nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'files/{fileId}/parents', options)
command.request_representation = Google::Apis::DriveV2::ParentReference::Representation
command.request_object = parent_reference_object
command.response_representation = Google::Apis::DriveV2::ParentReference::Representation
command.response_class = Google::Apis::DriveV2::ParentReference
command.params['fileId'] = file_id unless file_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1734,17 +2067,20 @@ module Google
execute_or_queue_command(command, &block)
end
- # Deletes a permission from a file or Team Drive.
+ # Deletes a permission from a file or shared drive.
# @param [String] file_id
- # The ID for the file or Team Drive.
+ # The ID for the file or shared drive.
# @param [String] permission_id
# The ID for the permission.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1764,10 +2100,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def delete_permission(file_id, permission_id, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def delete_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options)
command.params['fileId'] = file_id unless file_id.nil?
command.params['permissionId'] = permission_id unless permission_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1778,15 +2115,18 @@ module Google
# Gets a permission by ID.
# @param [String] file_id
- # The ID for the file or Team Drive.
+ # The ID for the file or shared drive.
# @param [String] permission_id
# The ID for the permission.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1806,12 +2146,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def get_permission(file_id, permission_id, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def get_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options)
command.response_representation = Google::Apis::DriveV2::Permission::Representation
command.response_class = Google::Apis::DriveV2::Permission
command.params['fileId'] = file_id unless file_id.nil?
command.params['permissionId'] = permission_id unless permission_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1853,21 +2194,24 @@ module Google
execute_or_queue_command(command, &block)
end
- # Inserts a permission for a file or Team Drive.
+ # Inserts a permission for a file or shared drive.
# @param [String] file_id
- # The ID for the file or Team Drive.
+ # The ID for the file or shared drive.
# @param [Google::Apis::DriveV2::Permission] permission_object
# @param [String] email_message
# A plain text custom message to include in notification emails.
# @param [Boolean] send_notification_emails
# Whether to send notification emails when sharing to users or groups. This
# parameter is ignored and an email is sent if the role is owner.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1887,7 +2231,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def insert_permission(file_id, permission_object = nil, email_message: nil, send_notification_emails: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def insert_permission(file_id, permission_object = nil, email_message: nil, send_notification_emails: nil, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'files/{fileId}/permissions', options)
command.request_representation = Google::Apis::DriveV2::Permission::Representation
command.request_object = permission_object
@@ -1896,6 +2240,7 @@ module Google
command.params['fileId'] = file_id unless file_id.nil?
command.query['emailMessage'] = email_message unless email_message.nil?
command.query['sendNotificationEmails'] = send_notification_emails unless send_notification_emails.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1904,22 +2249,25 @@ module Google
execute_or_queue_command(command, &block)
end
- # Lists a file's or Team Drive's permissions.
+ # Lists a file's or shared drive's permissions.
# @param [String] file_id
- # The ID for the file or Team Drive.
+ # The ID for the file or shared drive.
# @param [Fixnum] max_results
# The maximum number of permissions to return per page. When not set for files
- # in a Team Drive, at most 100 results will be returned. When not set for files
- # that are not in a Team Drive, the entire list will be returned.
+ # in a shared drive, at most 100 results will be returned. When not set for
+ # files that are not in a shared drive, the entire list will be returned.
# @param [String] page_token
# The token for continuing a previous list request on the next page. This should
# be set to the value of 'nextPageToken' from the previous response.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1939,13 +2287,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_permissions(file_id, max_results: nil, page_token: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_permissions(file_id, max_results: nil, page_token: nil, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'files/{fileId}/permissions', options)
command.response_representation = Google::Apis::DriveV2::PermissionList::Representation
command.response_class = Google::Apis::DriveV2::PermissionList
command.params['fileId'] = file_id unless file_id.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1956,21 +2305,24 @@ module Google
# Updates a permission using patch semantics.
# @param [String] file_id
- # The ID for the file or Team Drive.
+ # The ID for the file or shared drive.
# @param [String] permission_id
# The ID for the permission.
# @param [Google::Apis::DriveV2::Permission] permission_object
# @param [Boolean] remove_expiration
# Whether to remove the expiration date.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] transfer_ownership
# Whether changing a role to 'owner' downgrades the current owners to writers.
# Does nothing if the specified role is not 'owner'.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1990,7 +2342,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def patch_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def patch_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options)
command.request_representation = Google::Apis::DriveV2::Permission::Representation
command.request_object = permission_object
@@ -1999,6 +2351,7 @@ module Google
command.params['fileId'] = file_id unless file_id.nil?
command.params['permissionId'] = permission_id unless permission_id.nil?
command.query['removeExpiration'] = remove_expiration unless remove_expiration.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['transferOwnership'] = transfer_ownership unless transfer_ownership.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
@@ -2010,21 +2363,24 @@ module Google
# Updates a permission.
# @param [String] file_id
- # The ID for the file or Team Drive.
+ # The ID for the file or shared drive.
# @param [String] permission_id
# The ID for the permission.
# @param [Google::Apis::DriveV2::Permission] permission_object
# @param [Boolean] remove_expiration
# Whether to remove the expiration date.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] transfer_ownership
# Whether changing a role to 'owner' downgrades the current owners to writers.
# Does nothing if the specified role is not 'owner'.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2044,7 +2400,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, 'files/{fileId}/permissions/{permissionId}', options)
command.request_representation = Google::Apis::DriveV2::Permission::Representation
command.request_object = permission_object
@@ -2053,6 +2409,7 @@ module Google
command.params['fileId'] = file_id unless file_id.nil?
command.params['permissionId'] = permission_id unless permission_id.nil?
command.query['removeExpiration'] = remove_expiration unless remove_expiration.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['transferOwnership'] = transfer_ownership unless transfer_ownership.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
@@ -2825,8 +3182,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Permanently deletes a Team Drive for which the user is an organizer. The Team
- # Drive cannot contain any untrashed items.
+ # Deprecated use drives.delete instead.
# @param [String] team_drive_id
# The ID of the Team Drive
# @param [String] fields
@@ -2857,7 +3213,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Gets a Team Drive's metadata by ID.
+ # Deprecated use drives.get instead.
# @param [String] team_drive_id
# The ID of the Team Drive
# @param [Boolean] use_domain_admin_access
@@ -2895,7 +3251,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Creates a new Team Drive.
+ # Deprecated use drives.insert instead.
# @param [String] request_id
# An ID, such as a random UUID, which uniquely identifies this user's request
# for idempotent creation of a Team Drive. A repeated request by the same user
@@ -2935,7 +3291,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Lists the user's Team Drives.
+ # Deprecated use drives.list instead.
# @param [Fixnum] max_results
# Maximum number of Team Drives to return.
# @param [String] page_token
@@ -2978,7 +3334,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Updates a Team Drive's metadata
+ # Deprecated use drives.update instead.
# @param [String] team_drive_id
# The ID of the Team Drive
# @param [Google::Apis::DriveV2::TeamDrive] team_drive_object
diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb
index a884870e8..bbe9a7a68 100644
--- a/generated/google/apis/drive_v3.rb
+++ b/generated/google/apis/drive_v3.rb
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
- REVISION = '20190311'
+ REVISION = '20190416'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
diff --git a/generated/google/apis/drive_v3/classes.rb b/generated/google/apis/drive_v3/classes.rb
index 23542f67a..f5579a94e 100644
--- a/generated/google/apis/drive_v3/classes.rb
+++ b/generated/google/apis/drive_v3/classes.rb
@@ -32,12 +32,23 @@ module Google
attr_accessor :app_installed
alias_method :app_installed?, :app_installed
- # Whether the user can create Team Drives.
+ # Whether the user can create shared drives.
+ # Corresponds to the JSON property `canCreateDrives`
+ # @return [Boolean]
+ attr_accessor :can_create_drives
+ alias_method :can_create_drives?, :can_create_drives
+
+ # Deprecated - use canCreateDrives instead.
# Corresponds to the JSON property `canCreateTeamDrives`
# @return [Boolean]
attr_accessor :can_create_team_drives
alias_method :can_create_team_drives?, :can_create_team_drives
+ # A list of themes that are supported for shared drives.
+ # Corresponds to the JSON property `driveThemes`
+ # @return [Array]
+ attr_accessor :drive_themes
+
# A map of source MIME type to possible targets for all supported exports.
# Corresponds to the JSON property `exportFormats`
# @return [Hash>]
@@ -74,7 +85,7 @@ module Google
# @return [Google::Apis::DriveV3::About::StorageQuota]
attr_accessor :storage_quota
- # A list of themes that are supported for Team Drives.
+ # Deprecated - use driveThemes instead.
# Corresponds to the JSON property `teamDriveThemes`
# @return [Array]
attr_accessor :team_drive_themes
@@ -91,7 +102,9 @@ module Google
# Update properties of this object
def update!(**args)
@app_installed = args[:app_installed] if args.key?(:app_installed)
+ @can_create_drives = args[:can_create_drives] if args.key?(:can_create_drives)
@can_create_team_drives = args[:can_create_team_drives] if args.key?(:can_create_team_drives)
+ @drive_themes = args[:drive_themes] if args.key?(:drive_themes)
@export_formats = args[:export_formats] if args.key?(:export_formats)
@folder_color_palette = args[:folder_color_palette] if args.key?(:folder_color_palette)
@import_formats = args[:import_formats] if args.key?(:import_formats)
@@ -103,6 +116,37 @@ module Google
@user = args[:user] if args.key?(:user)
end
+ #
+ class DriveTheme
+ include Google::Apis::Core::Hashable
+
+ # A link to this theme's background image.
+ # Corresponds to the JSON property `backgroundImageLink`
+ # @return [String]
+ attr_accessor :background_image_link
+
+ # The color of this theme as an RGB hex string.
+ # Corresponds to the JSON property `colorRgb`
+ # @return [String]
+ attr_accessor :color_rgb
+
+ # The ID of the theme.
+ # Corresponds to the JSON property `id`
+ # @return [String]
+ attr_accessor :id
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @background_image_link = args[:background_image_link] if args.key?(:background_image_link)
+ @color_rgb = args[:color_rgb] if args.key?(:color_rgb)
+ @id = args[:id] if args.key?(:id)
+ end
+ end
+
# The user's storage quota limits and usage. All fields are measured in bytes.
class StorageQuota
include Google::Apis::Core::Hashable
@@ -173,10 +217,25 @@ module Google
end
end
- # A change to a file or Team Drive.
+ # A change to a file or shared drive.
class Change
include Google::Apis::Core::Hashable
+ # The type of the change. Possible values are file and drive.
+ # Corresponds to the JSON property `changeType`
+ # @return [String]
+ attr_accessor :change_type
+
+ # Representation of a shared drive.
+ # Corresponds to the JSON property `drive`
+ # @return [Google::Apis::DriveV3::Drive]
+ attr_accessor :drive
+
+ # The ID of the shared drive associated with this change.
+ # Corresponds to the JSON property `driveId`
+ # @return [String]
+ attr_accessor :drive_id
+
# The metadata for a file.
# Corresponds to the JSON property `file`
# @return [Google::Apis::DriveV3::File]
@@ -193,8 +252,8 @@ module Google
# @return [String]
attr_accessor :kind
- # Whether the file or Team Drive has been removed from this list of changes, for
- # example by deletion or loss of access.
+ # Whether the file or shared drive has been removed from this list of changes,
+ # for example by deletion or loss of access.
# Corresponds to the JSON property `removed`
# @return [Boolean]
attr_accessor :removed
@@ -205,7 +264,7 @@ module Google
# @return [Google::Apis::DriveV3::TeamDrive]
attr_accessor :team_drive
- # The ID of the Team Drive associated with this change.
+ # Deprecated - use driveId instead.
# Corresponds to the JSON property `teamDriveId`
# @return [String]
attr_accessor :team_drive_id
@@ -215,7 +274,7 @@ module Google
# @return [DateTime]
attr_accessor :time
- # The type of the change. Possible values are file and teamDrive.
+ # Deprecated - use changeType instead.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -226,6 +285,9 @@ module Google
# Update properties of this object
def update!(**args)
+ @change_type = args[:change_type] if args.key?(:change_type)
+ @drive = args[:drive] if args.key?(:drive)
+ @drive_id = args[:drive_id] if args.key?(:drive_id)
@file = args[:file] if args.key?(:file)
@file_id = args[:file_id] if args.key?(:file_id)
@kind = args[:kind] if args.key?(:kind)
@@ -515,6 +577,378 @@ module Google
end
end
+ # Representation of a shared drive.
+ class Drive
+ include Google::Apis::Core::Hashable
+
+ # An image file and cropping parameters from which a background image for this
+ # shared drive is set. This is a write only field; it can only be set on drive.
+ # drives.update requests that don't set themeId. When specified, all fields of
+ # the backgroundImageFile must be set.
+ # Corresponds to the JSON property `backgroundImageFile`
+ # @return [Google::Apis::DriveV3::Drive::BackgroundImageFile]
+ attr_accessor :background_image_file
+
+ # A short-lived link to this shared drive's background image.
+ # Corresponds to the JSON property `backgroundImageLink`
+ # @return [String]
+ attr_accessor :background_image_link
+
+ # Capabilities the current user has on this shared drive.
+ # Corresponds to the JSON property `capabilities`
+ # @return [Google::Apis::DriveV3::Drive::Capabilities]
+ attr_accessor :capabilities
+
+ # The color of this shared drive as an RGB hex string. It can only be set on a
+ # drive.drives.update request that does not set themeId.
+ # Corresponds to the JSON property `colorRgb`
+ # @return [String]
+ attr_accessor :color_rgb
+
+ # The time at which the shared drive was created (RFC 3339 date-time).
+ # Corresponds to the JSON property `createdTime`
+ # @return [DateTime]
+ attr_accessor :created_time
+
+ # Whether the shared drive is hidden from default view.
+ # Corresponds to the JSON property `hidden`
+ # @return [Boolean]
+ attr_accessor :hidden
+ alias_method :hidden?, :hidden
+
+ # The ID of this shared drive which is also the ID of the top level folder of
+ # this shared drive.
+ # Corresponds to the JSON property `id`
+ # @return [String]
+ attr_accessor :id
+
+ # Identifies what kind of resource this is. Value: the fixed string "drive#drive"
+ # .
+ # Corresponds to the JSON property `kind`
+ # @return [String]
+ attr_accessor :kind
+
+ # The name of this shared drive.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # A set of restrictions that apply to this shared drive or items inside this
+ # shared drive.
+ # Corresponds to the JSON property `restrictions`
+ # @return [Google::Apis::DriveV3::Drive::Restrictions]
+ attr_accessor :restrictions
+
+ # The ID of the theme from which the background image and color will be set. The
+ # set of possible driveThemes can be retrieved from a drive.about.get response.
+ # When not specified on a drive.drives.create request, a random theme is chosen
+ # from which the background image and color are set. This is a write-only field;
+ # it can only be set on requests that don't set colorRgb or backgroundImageFile.
+ # Corresponds to the JSON property `themeId`
+ # @return [String]
+ attr_accessor :theme_id
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @background_image_file = args[:background_image_file] if args.key?(:background_image_file)
+ @background_image_link = args[:background_image_link] if args.key?(:background_image_link)
+ @capabilities = args[:capabilities] if args.key?(:capabilities)
+ @color_rgb = args[:color_rgb] if args.key?(:color_rgb)
+ @created_time = args[:created_time] if args.key?(:created_time)
+ @hidden = args[:hidden] if args.key?(:hidden)
+ @id = args[:id] if args.key?(:id)
+ @kind = args[:kind] if args.key?(:kind)
+ @name = args[:name] if args.key?(:name)
+ @restrictions = args[:restrictions] if args.key?(:restrictions)
+ @theme_id = args[:theme_id] if args.key?(:theme_id)
+ end
+
+ # An image file and cropping parameters from which a background image for this
+ # shared drive is set. This is a write only field; it can only be set on drive.
+ # drives.update requests that don't set themeId. When specified, all fields of
+ # the backgroundImageFile must be set.
+ class BackgroundImageFile
+ include Google::Apis::Core::Hashable
+
+ # The ID of an image file in Google Drive to use for the background image.
+ # Corresponds to the JSON property `id`
+ # @return [String]
+ attr_accessor :id
+
+ # The width of the cropped image in the closed range of 0 to 1. This value
+ # represents the width of the cropped image divided by the width of the entire
+ # image. The height is computed by applying a width to height aspect ratio of 80
+ # to 9. The resulting image must be at least 1280 pixels wide and 144 pixels
+ # high.
+ # Corresponds to the JSON property `width`
+ # @return [Float]
+ attr_accessor :width
+
+ # The X coordinate of the upper left corner of the cropping area in the
+ # background image. This is a value in the closed range of 0 to 1. This value
+ # represents the horizontal distance from the left side of the entire image to
+ # the left side of the cropping area divided by the width of the entire image.
+ # Corresponds to the JSON property `xCoordinate`
+ # @return [Float]
+ attr_accessor :x_coordinate
+
+ # The Y coordinate of the upper left corner of the cropping area in the
+ # background image. This is a value in the closed range of 0 to 1. This value
+ # represents the vertical distance from the top side of the entire image to the
+ # top side of the cropping area divided by the height of the entire image.
+ # Corresponds to the JSON property `yCoordinate`
+ # @return [Float]
+ attr_accessor :y_coordinate
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @id = args[:id] if args.key?(:id)
+ @width = args[:width] if args.key?(:width)
+ @x_coordinate = args[:x_coordinate] if args.key?(:x_coordinate)
+ @y_coordinate = args[:y_coordinate] if args.key?(:y_coordinate)
+ end
+ end
+
+ # Capabilities the current user has on this shared drive.
+ class Capabilities
+ include Google::Apis::Core::Hashable
+
+ # Whether the current user can add children to folders in this shared drive.
+ # Corresponds to the JSON property `canAddChildren`
+ # @return [Boolean]
+ attr_accessor :can_add_children
+ alias_method :can_add_children?, :can_add_children
+
+ # Whether the current user can change the copyRequiresWriterPermission
+ # restriction of this shared drive.
+ # Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction`
+ # @return [Boolean]
+ attr_accessor :can_change_copy_requires_writer_permission_restriction
+ alias_method :can_change_copy_requires_writer_permission_restriction?, :can_change_copy_requires_writer_permission_restriction
+
+ # Whether the current user can change the domainUsersOnly restriction of this
+ # shared drive.
+ # Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction`
+ # @return [Boolean]
+ attr_accessor :can_change_domain_users_only_restriction
+ alias_method :can_change_domain_users_only_restriction?, :can_change_domain_users_only_restriction
+
+ # Whether the current user can change the background of this shared drive.
+ # Corresponds to the JSON property `canChangeDriveBackground`
+ # @return [Boolean]
+ attr_accessor :can_change_drive_background
+ alias_method :can_change_drive_background?, :can_change_drive_background
+
+ # Whether the current user can change the driveMembersOnly restriction of this
+ # shared drive.
+ # Corresponds to the JSON property `canChangeDriveMembersOnlyRestriction`
+ # @return [Boolean]
+ attr_accessor :can_change_drive_members_only_restriction
+ alias_method :can_change_drive_members_only_restriction?, :can_change_drive_members_only_restriction
+
+ # Whether the current user can comment on files in this shared drive.
+ # Corresponds to the JSON property `canComment`
+ # @return [Boolean]
+ attr_accessor :can_comment
+ alias_method :can_comment?, :can_comment
+
+ # Whether the current user can copy files in this shared drive.
+ # Corresponds to the JSON property `canCopy`
+ # @return [Boolean]
+ attr_accessor :can_copy
+ alias_method :can_copy?, :can_copy
+
+ # Whether the current user can delete children from folders in this shared drive.
+ # Corresponds to the JSON property `canDeleteChildren`
+ # @return [Boolean]
+ attr_accessor :can_delete_children
+ alias_method :can_delete_children?, :can_delete_children
+
+ # Whether the current user can delete this shared drive. Attempting to delete
+ # the shared drive may still fail if there are untrashed items inside the shared
+ # drive.
+ # Corresponds to the JSON property `canDeleteDrive`
+ # @return [Boolean]
+ attr_accessor :can_delete_drive
+ alias_method :can_delete_drive?, :can_delete_drive
+
+ # Whether the current user can download files in this shared drive.
+ # Corresponds to the JSON property `canDownload`
+ # @return [Boolean]
+ attr_accessor :can_download
+ alias_method :can_download?, :can_download
+
+ # Whether the current user can edit files in this shared drive
+ # Corresponds to the JSON property `canEdit`
+ # @return [Boolean]
+ attr_accessor :can_edit
+ alias_method :can_edit?, :can_edit
+
+ # Whether the current user can list the children of folders in this shared drive.
+ # Corresponds to the JSON property `canListChildren`
+ # @return [Boolean]
+ attr_accessor :can_list_children
+ alias_method :can_list_children?, :can_list_children
+
+ # Whether the current user can add members to this shared drive or remove them
+ # or change their role.
+ # Corresponds to the JSON property `canManageMembers`
+ # @return [Boolean]
+ attr_accessor :can_manage_members
+ alias_method :can_manage_members?, :can_manage_members
+
+ # Whether the current user can read the revisions resource of files in this
+ # shared drive.
+ # Corresponds to the JSON property `canReadRevisions`
+ # @return [Boolean]
+ attr_accessor :can_read_revisions
+ alias_method :can_read_revisions?, :can_read_revisions
+
+ # Whether the current user can rename files or folders in this shared drive.
+ # Corresponds to the JSON property `canRename`
+ # @return [Boolean]
+ attr_accessor :can_rename
+ alias_method :can_rename?, :can_rename
+
+ # Whether the current user can rename this shared drive.
+ # Corresponds to the JSON property `canRenameDrive`
+ # @return [Boolean]
+ attr_accessor :can_rename_drive
+ alias_method :can_rename_drive?, :can_rename_drive
+
+ # Whether the current user can share files or folders in this shared drive.
+ # Corresponds to the JSON property `canShare`
+ # @return [Boolean]
+ attr_accessor :can_share
+ alias_method :can_share?, :can_share
+
+ # Whether the current user can trash children from folders in this shared drive.
+ # Corresponds to the JSON property `canTrashChildren`
+ # @return [Boolean]
+ attr_accessor :can_trash_children
+ alias_method :can_trash_children?, :can_trash_children
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @can_add_children = args[:can_add_children] if args.key?(:can_add_children)
+ @can_change_copy_requires_writer_permission_restriction = args[:can_change_copy_requires_writer_permission_restriction] if args.key?(:can_change_copy_requires_writer_permission_restriction)
+ @can_change_domain_users_only_restriction = args[:can_change_domain_users_only_restriction] if args.key?(:can_change_domain_users_only_restriction)
+ @can_change_drive_background = args[:can_change_drive_background] if args.key?(:can_change_drive_background)
+ @can_change_drive_members_only_restriction = args[:can_change_drive_members_only_restriction] if args.key?(:can_change_drive_members_only_restriction)
+ @can_comment = args[:can_comment] if args.key?(:can_comment)
+ @can_copy = args[:can_copy] if args.key?(:can_copy)
+ @can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
+ @can_delete_drive = args[:can_delete_drive] if args.key?(:can_delete_drive)
+ @can_download = args[:can_download] if args.key?(:can_download)
+ @can_edit = args[:can_edit] if args.key?(:can_edit)
+ @can_list_children = args[:can_list_children] if args.key?(:can_list_children)
+ @can_manage_members = args[:can_manage_members] if args.key?(:can_manage_members)
+ @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
+ @can_rename = args[:can_rename] if args.key?(:can_rename)
+ @can_rename_drive = args[:can_rename_drive] if args.key?(:can_rename_drive)
+ @can_share = args[:can_share] if args.key?(:can_share)
+ @can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
+ end
+ end
+
+ # A set of restrictions that apply to this shared drive or items inside this
+ # shared drive.
+ class Restrictions
+ include Google::Apis::Core::Hashable
+
+ # Whether administrative privileges on this shared drive are required to modify
+ # restrictions.
+ # Corresponds to the JSON property `adminManagedRestrictions`
+ # @return [Boolean]
+ attr_accessor :admin_managed_restrictions
+ alias_method :admin_managed_restrictions?, :admin_managed_restrictions
+
+ # Whether the options to copy, print, or download files inside this shared drive,
+ # should be disabled for readers and commenters. When this restriction is set
+ # to true, it will override the similarly named field to true for any file
+ # inside this shared drive.
+ # Corresponds to the JSON property `copyRequiresWriterPermission`
+ # @return [Boolean]
+ attr_accessor :copy_requires_writer_permission
+ alias_method :copy_requires_writer_permission?, :copy_requires_writer_permission
+
+ # Whether access to this shared drive and items inside this shared drive is
+ # restricted to users of the domain to which this shared drive belongs. This
+ # restriction may be overridden by other sharing policies controlled outside of
+ # this shared drive.
+ # Corresponds to the JSON property `domainUsersOnly`
+ # @return [Boolean]
+ attr_accessor :domain_users_only
+ alias_method :domain_users_only?, :domain_users_only
+
+ # Whether access to items inside this shared drive is restricted to its members.
+ # Corresponds to the JSON property `driveMembersOnly`
+ # @return [Boolean]
+ attr_accessor :drive_members_only
+ alias_method :drive_members_only?, :drive_members_only
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @admin_managed_restrictions = args[:admin_managed_restrictions] if args.key?(:admin_managed_restrictions)
+ @copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission)
+ @domain_users_only = args[:domain_users_only] if args.key?(:domain_users_only)
+ @drive_members_only = args[:drive_members_only] if args.key?(:drive_members_only)
+ end
+ end
+ end
+
+ # A list of shared drives.
+ class DriveList
+ include Google::Apis::Core::Hashable
+
+ # The list of shared drives. If nextPageToken is populated, then this list may
+ # be incomplete and an additional page of results should be fetched.
+ # Corresponds to the JSON property `drives`
+ # @return [Array]
+ attr_accessor :drives
+
+ # Identifies what kind of resource this is. Value: the fixed string "drive#
+ # driveList".
+ # Corresponds to the JSON property `kind`
+ # @return [String]
+ attr_accessor :kind
+
+ # The page token for the next page of shared drives. This will be absent if the
+ # end of the list has been reached. If the token is rejected for any reason, it
+ # should be discarded, and pagination should be restarted from the first page of
+ # results.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @drives = args[:drives] if args.key?(:drives)
+ @kind = args[:kind] if args.key?(:kind)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
# The metadata for a file.
class File
include Google::Apis::Core::Hashable
@@ -555,6 +989,12 @@ module Google
# @return [String]
attr_accessor :description
+ # ID of the shared drive the file resides in. Only populated for items in shared
+ # drives.
+ # Corresponds to the JSON property `driveId`
+ # @return [String]
+ attr_accessor :drive_id
+
# Whether the file has been explicitly trashed, as opposed to recursively
# trashed from a parent folder.
# Corresponds to the JSON property `explicitlyTrashed`
@@ -568,7 +1008,7 @@ module Google
attr_accessor :export_links
# The final component of fullFileExtension. This is only available for files
- # with binary content in Drive.
+ # with binary content in Google Drive.
# Corresponds to the JSON property `fileExtension`
# @return [String]
attr_accessor :file_extension
@@ -583,7 +1023,7 @@ module Google
# The full file extension extracted from the name field. May contain multiple
# concatenated extensions, such as "tar.gz". This is only available for files
- # with binary content in Drive.
+ # with binary content in Google Drive.
# This is automatically updated when the name field changes, however it is not
# cleared if the new name does not contain a valid extension.
# Corresponds to the JSON property `fullFileExtension`
@@ -591,7 +1031,7 @@ module Google
attr_accessor :full_file_extension
# Whether any users are granted file access directly on this file. This field is
- # only populated for Team Drive files.
+ # only populated for shared drive files.
# Corresponds to the JSON property `hasAugmentedPermissions`
# @return [Boolean]
attr_accessor :has_augmented_permissions
@@ -606,7 +1046,7 @@ module Google
alias_method :has_thumbnail?, :has_thumbnail
# The ID of the file's head revision. This is currently only available for files
- # with binary content in Drive.
+ # with binary content in Google Drive.
# Corresponds to the JSON property `headRevisionId`
# @return [String]
attr_accessor :head_revision_id
@@ -643,15 +1083,15 @@ module Google
attr_accessor :last_modifying_user
# The MD5 checksum for the content of the file. This is only applicable to files
- # with binary content in Drive.
+ # with binary content in Google Drive.
# Corresponds to the JSON property `md5Checksum`
# @return [String]
attr_accessor :md5_checksum
# The MIME type of the file.
- # Drive will attempt to automatically detect an appropriate value from uploaded
- # content if no value is provided. The value cannot be changed unless a new
- # revision is uploaded.
+ # Google Drive will attempt to automatically detect an appropriate value from
+ # uploaded content if no value is provided. The value cannot be changed unless a
+ # new revision is uploaded.
# If a file is created with a Google Doc MIME type, the uploaded content will be
# imported if possible. The supported import formats are published in the About
# resource.
@@ -677,7 +1117,7 @@ module Google
attr_accessor :modified_time
# The name of the file. This is not necessarily unique within a folder. Note
- # that for immutable items such as the top level folders of Team Drives, My
+ # that for immutable items such as the top level folders of shared drives, My
# Drive root folder, and Application Data folder the name is constant.
# Corresponds to the JSON property `name`
# @return [String]
@@ -685,19 +1125,19 @@ module Google
# The original filename of the uploaded content if available, or else the
# original value of the name field. This is only available for files with binary
- # content in Drive.
+ # content in Google Drive.
# Corresponds to the JSON property `originalFilename`
# @return [String]
attr_accessor :original_filename
- # Whether the user owns the file. Not populated for Team Drive files.
+ # Whether the user owns the file. Not populated for items in shared drives.
# Corresponds to the JSON property `ownedByMe`
# @return [Boolean]
attr_accessor :owned_by_me
alias_method :owned_by_me?, :owned_by_me
# The owners of the file. Currently, only certain legacy files may have more
- # than one owner. Not populated for Team Drive files.
+ # than one owner. Not populated for items in shared drives.
# Corresponds to the JSON property `owners`
# @return [Array]
attr_accessor :owners
@@ -718,7 +1158,7 @@ module Google
attr_accessor :permission_ids
# The full list of permissions for the file. This is only available if the
- # requesting user can share the file. Not populated for Team Drive files.
+ # requesting user can share the file. Not populated for items in shared drives.
# Corresponds to the JSON property `permissions`
# @return [Array]
attr_accessor :permissions
@@ -735,7 +1175,7 @@ module Google
# @return [Fixnum]
attr_accessor :quota_bytes_used
- # Whether the file has been shared. Not populated for Team Drive files.
+ # Whether the file has been shared. Not populated for items in shared drives.
# Corresponds to the JSON property `shared`
# @return [Boolean]
attr_accessor :shared
@@ -753,7 +1193,7 @@ module Google
attr_accessor :sharing_user
# The size of the file's content in bytes. This is only applicable to files with
- # binary content in Drive.
+ # binary content in Google Drive.
# Corresponds to the JSON property `size`
# @return [Fixnum]
attr_accessor :size
@@ -770,7 +1210,7 @@ module Google
attr_accessor :starred
alias_method :starred?, :starred
- # ID of the Team Drive the file resides in.
+ # Deprecated - use driveId instead.
# Corresponds to the JSON property `teamDriveId`
# @return [String]
attr_accessor :team_drive_id
@@ -796,7 +1236,7 @@ module Google
alias_method :trashed?, :trashed
# The time that the item was trashed (RFC 3339 date-time). Only populated for
- # Team Drive files.
+ # items in shared drives.
# Corresponds to the JSON property `trashedTime`
# @return [DateTime]
attr_accessor :trashed_time
@@ -836,7 +1276,7 @@ module Google
alias_method :viewers_can_copy_content?, :viewers_can_copy_content
# A link for downloading the content of the file in a browser. This is only
- # available for files with binary content in Drive.
+ # available for files with binary content in Google Drive.
# Corresponds to the JSON property `webContentLink`
# @return [String]
attr_accessor :web_content_link
@@ -847,7 +1287,7 @@ module Google
attr_accessor :web_view_link
# Whether users with only writer permission can modify the file's permissions.
- # Not populated for Team Drive files.
+ # Not populated for items in shared drives.
# Corresponds to the JSON property `writersCanShare`
# @return [Boolean]
attr_accessor :writers_can_share
@@ -865,6 +1305,7 @@ module Google
@copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission)
@created_time = args[:created_time] if args.key?(:created_time)
@description = args[:description] if args.key?(:description)
+ @drive_id = args[:drive_id] if args.key?(:drive_id)
@explicitly_trashed = args[:explicitly_trashed] if args.key?(:explicitly_trashed)
@export_links = args[:export_links] if args.key?(:export_links)
@file_extension = args[:file_extension] if args.key?(:file_extension)
@@ -946,9 +1387,9 @@ module Google
attr_accessor :can_comment
alias_method :can_comment?, :can_comment
- # Whether the current user can copy this file. For a Team Drive item, whether
- # the current user can copy non-folder descendants of this item, or this item
- # itself if it is not a folder.
+ # Whether the current user can copy this file. For an item in a shared drive,
+ # whether the current user can copy non-folder descendants of this item, or this
+ # item itself if it is not a folder.
# Corresponds to the JSON property `canCopy`
# @return [Boolean]
attr_accessor :can_copy
@@ -961,7 +1402,7 @@ module Google
alias_method :can_delete?, :can_delete
# Whether the current user can delete children of this folder. This is false
- # when the item is not a folder. Only populated for Team Drive items.
+ # when the item is not a folder. Only populated for items in shared drives.
# Corresponds to the JSON property `canDeleteChildren`
# @return [Boolean]
attr_accessor :can_delete_children
@@ -986,70 +1427,97 @@ module Google
attr_accessor :can_list_children
alias_method :can_list_children?, :can_list_children
- # Whether the current user can move children of this folder outside of the Team
- # Drive. This is false when the item is not a folder. Only populated for Team
- # Drive items.
+ # Whether the current user can move children of this folder outside of the
+ # shared drive. This is false when the item is not a folder. Only populated for
+ # items in shared drives.
+ # Corresponds to the JSON property `canMoveChildrenOutOfDrive`
+ # @return [Boolean]
+ attr_accessor :can_move_children_out_of_drive
+ alias_method :can_move_children_out_of_drive?, :can_move_children_out_of_drive
+
+ # Deprecated - use canMoveChildrenOutOfDrive instead.
# Corresponds to the JSON property `canMoveChildrenOutOfTeamDrive`
# @return [Boolean]
attr_accessor :can_move_children_out_of_team_drive
alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
- # Whether the current user can move children of this folder within the Team
- # Drive. This is false when the item is not a folder. Only populated for Team
- # Drive items.
+ # Whether the current user can move children of this folder within the shared
+ # drive. This is false when the item is not a folder. Only populated for items
+ # in shared drives.
+ # Corresponds to the JSON property `canMoveChildrenWithinDrive`
+ # @return [Boolean]
+ attr_accessor :can_move_children_within_drive
+ alias_method :can_move_children_within_drive?, :can_move_children_within_drive
+
+ # Deprecated - use canMoveChildrenWithinDrive instead.
# Corresponds to the JSON property `canMoveChildrenWithinTeamDrive`
# @return [Boolean]
attr_accessor :can_move_children_within_team_drive
alias_method :can_move_children_within_team_drive?, :can_move_children_within_team_drive
- # Whether the current user can move this item into a Team Drive. If the item is
- # in a Team Drive, this field is equivalent to canMoveTeamDriveItem.
+ # Deprecated - use canMoveItemOutOfDrive instead.
# Corresponds to the JSON property `canMoveItemIntoTeamDrive`
# @return [Boolean]
attr_accessor :can_move_item_into_team_drive
alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
- # Whether the current user can move this Team Drive item outside of this Team
- # Drive by changing its parent. Note that a request to change the parent of the
- # item may still fail depending on the new parent that is being added. Only
- # populated for Team Drive items.
+ # Whether the current user can move this item outside of this drive by changing
+ # its parent. Note that a request to change the parent of the item may still
+ # fail depending on the new parent that is being added.
+ # Corresponds to the JSON property `canMoveItemOutOfDrive`
+ # @return [Boolean]
+ attr_accessor :can_move_item_out_of_drive
+ alias_method :can_move_item_out_of_drive?, :can_move_item_out_of_drive
+
+ # Deprecated - use canMoveItemOutOfDrive instead.
# Corresponds to the JSON property `canMoveItemOutOfTeamDrive`
# @return [Boolean]
attr_accessor :can_move_item_out_of_team_drive
alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
- # Whether the current user can move this Team Drive item within this Team Drive.
- # Note that a request to change the parent of the item may still fail depending
- # on the new parent that is being added. Only populated for Team Drive items.
+ # Whether the current user can move this item within this shared drive. Note
+ # that a request to change the parent of the item may still fail depending on
+ # the new parent that is being added. Only populated for items in shared drives.
+ # Corresponds to the JSON property `canMoveItemWithinDrive`
+ # @return [Boolean]
+ attr_accessor :can_move_item_within_drive
+ alias_method :can_move_item_within_drive?, :can_move_item_within_drive
+
+ # Deprecated - use canMoveItemWithinDrive instead.
# Corresponds to the JSON property `canMoveItemWithinTeamDrive`
# @return [Boolean]
attr_accessor :can_move_item_within_team_drive
alias_method :can_move_item_within_team_drive?, :can_move_item_within_team_drive
- # Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive
- # instead.
+ # Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
# Corresponds to the JSON property `canMoveTeamDriveItem`
# @return [Boolean]
attr_accessor :can_move_team_drive_item
alias_method :can_move_team_drive_item?, :can_move_team_drive_item
+ # Whether the current user can read the shared drive to which this file belongs.
+ # Only populated for items in shared drives.
+ # Corresponds to the JSON property `canReadDrive`
+ # @return [Boolean]
+ attr_accessor :can_read_drive
+ alias_method :can_read_drive?, :can_read_drive
+
# Whether the current user can read the revisions resource of this file. For a
- # Team Drive item, whether revisions of non-folder descendants of this item, or
- # this item itself if it is not a folder, can be read.
+ # shared drive item, whether revisions of non-folder descendants of this item,
+ # or this item itself if it is not a folder, can be read.
# Corresponds to the JSON property `canReadRevisions`
# @return [Boolean]
attr_accessor :can_read_revisions
alias_method :can_read_revisions?, :can_read_revisions
- # Whether the current user can read the Team Drive to which this file belongs.
- # Only populated for Team Drive files.
+ # Deprecated - use canReadDrive instead.
# Corresponds to the JSON property `canReadTeamDrive`
# @return [Boolean]
attr_accessor :can_read_team_drive
alias_method :can_read_team_drive?, :can_read_team_drive
# Whether the current user can remove children from this folder. This is always
- # false when the item is not a folder. For Team Drive items, use
+ # false when the item is not a folder. For a folder in a shared drive, use
# canDeleteChildren or canTrashChildren instead.
# Corresponds to the JSON property `canRemoveChildren`
# @return [Boolean]
@@ -1075,7 +1543,7 @@ module Google
alias_method :can_trash?, :can_trash
# Whether the current user can trash children of this folder. This is false when
- # the item is not a folder. Only populated for Team Drive items.
+ # the item is not a folder. Only populated for items in shared drives.
# Corresponds to the JSON property `canTrashChildren`
# @return [Boolean]
attr_accessor :can_trash_children
@@ -1103,12 +1571,17 @@ module Google
@can_download = args[:can_download] if args.key?(:can_download)
@can_edit = args[:can_edit] if args.key?(:can_edit)
@can_list_children = args[:can_list_children] if args.key?(:can_list_children)
+ @can_move_children_out_of_drive = args[:can_move_children_out_of_drive] if args.key?(:can_move_children_out_of_drive)
@can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
+ @can_move_children_within_drive = args[:can_move_children_within_drive] if args.key?(:can_move_children_within_drive)
@can_move_children_within_team_drive = args[:can_move_children_within_team_drive] if args.key?(:can_move_children_within_team_drive)
@can_move_item_into_team_drive = args[:can_move_item_into_team_drive] if args.key?(:can_move_item_into_team_drive)
+ @can_move_item_out_of_drive = args[:can_move_item_out_of_drive] if args.key?(:can_move_item_out_of_drive)
@can_move_item_out_of_team_drive = args[:can_move_item_out_of_team_drive] if args.key?(:can_move_item_out_of_team_drive)
+ @can_move_item_within_drive = args[:can_move_item_within_drive] if args.key?(:can_move_item_within_drive)
@can_move_item_within_team_drive = args[:can_move_item_within_team_drive] if args.key?(:can_move_item_within_team_drive)
@can_move_team_drive_item = args[:can_move_team_drive_item] if args.key?(:can_move_team_drive_item)
+ @can_read_drive = args[:can_read_drive] if args.key?(:can_read_drive)
@can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
@can_read_team_drive = args[:can_read_team_drive] if args.key?(:can_read_team_drive)
@can_remove_children = args[:can_remove_children] if args.key?(:can_remove_children)
@@ -1131,8 +1604,8 @@ module Google
# @return [String]
attr_accessor :indexable_text
- # A thumbnail for the file. This will only be used if Drive cannot generate a
- # standard thumbnail.
+ # A thumbnail for the file. This will only be used if Google Drive cannot
+ # generate a standard thumbnail.
# Corresponds to the JSON property `thumbnail`
# @return [Google::Apis::DriveV3::File::ContentHints::Thumbnail]
attr_accessor :thumbnail
@@ -1147,8 +1620,8 @@ module Google
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
end
- # A thumbnail for the file. This will only be used if Drive cannot generate a
- # standard thumbnail.
+ # A thumbnail for the file. This will only be used if Google Drive cannot
+ # generate a standard thumbnail.
class Thumbnail
include Google::Apis::Core::Hashable
@@ -1392,10 +1865,9 @@ module Google
# Whether the search process was incomplete. If true, then some search results
# may be missing, since all documents were not searched. This may occur when
- # searching multiple Team Drives with the "user,allTeamDrives" corpora, but all
- # corpora could not be searched. When this happens, it is suggested that clients
- # narrow their query by choosing a different corpus such as "user" or "teamDrive"
- # .
+ # searching multiple drives with the "allDrives" corpora, but all corpora could
+ # not be searched. When this happens, it is suggested that clients narrow their
+ # query by choosing a different corpus such as "user" or "drive".
# Corresponds to the JSON property `incompleteSearch`
# @return [Boolean]
attr_accessor :incomplete_search
@@ -1515,6 +1987,13 @@ module Google
# @return [String]
attr_accessor :kind
+ # Details of whether the permissions on this shared drive item are inherited or
+ # directly on this item. This is an output-only field which is present only for
+ # shared drive items.
+ # Corresponds to the JSON property `permissionDetails`
+ # @return [Array]
+ attr_accessor :permission_details
+
# A link to the user's profile photo, if available.
# Corresponds to the JSON property `photoLink`
# @return [String]
@@ -1532,9 +2011,7 @@ module Google
# @return [String]
attr_accessor :role
- # Details of whether the permissions on this Team Drive item are inherited or
- # directly on this item. This is an output-only field which is present only for
- # Team Drive items.
+ # Deprecated - use permissionDetails instead.
# Corresponds to the JSON property `teamDrivePermissionDetails`
# @return [Array]
attr_accessor :team_drive_permission_details
@@ -1562,12 +2039,62 @@ module Google
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
+ @permission_details = args[:permission_details] if args.key?(:permission_details)
@photo_link = args[:photo_link] if args.key?(:photo_link)
@role = args[:role] if args.key?(:role)
@team_drive_permission_details = args[:team_drive_permission_details] if args.key?(:team_drive_permission_details)
@type = args[:type] if args.key?(:type)
end
+ #
+ class PermissionDetail
+ include Google::Apis::Core::Hashable
+
+ # Whether this permission is inherited. This field is always populated. This is
+ # an output-only field.
+ # Corresponds to the JSON property `inherited`
+ # @return [Boolean]
+ attr_accessor :inherited
+ alias_method :inherited?, :inherited
+
+ # The ID of the item from which this permission is inherited. This is an output-
+ # only field and is only populated for members of the shared drive.
+ # Corresponds to the JSON property `inheritedFrom`
+ # @return [String]
+ attr_accessor :inherited_from
+
+ # The permission type for this user. While new values may be added in future,
+ # the following are currently possible:
+ # - file
+ # - member
+ # Corresponds to the JSON property `permissionType`
+ # @return [String]
+ attr_accessor :permission_type
+
+ # The primary role for this user. While new values may be added in the future,
+ # the following are currently possible:
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - commenter
+ # - reader
+ # Corresponds to the JSON property `role`
+ # @return [String]
+ attr_accessor :role
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @inherited = args[:inherited] if args.key?(:inherited)
+ @inherited_from = args[:inherited_from] if args.key?(:inherited_from)
+ @permission_type = args[:permission_type] if args.key?(:permission_type)
+ @role = args[:role] if args.key?(:role)
+ end
+ end
+
#
class TeamDrivePermissionDetail
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/drive_v3/representations.rb b/generated/google/apis/drive_v3/representations.rb
index b2085283a..9cd599fa3 100644
--- a/generated/google/apis/drive_v3/representations.rb
+++ b/generated/google/apis/drive_v3/representations.rb
@@ -25,6 +25,12 @@ module Google
class About
class Representation < Google::Apis::Core::JsonRepresentation; end
+ class DriveTheme
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class StorageQuota
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -76,6 +82,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class Drive
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class BackgroundImageFile
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Capabilities
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Restrictions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DriveList
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class File
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -133,6 +169,12 @@ module Google
class Permission
class Representation < Google::Apis::Core::JsonRepresentation; end
+ class PermissionDetail
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class TeamDrivePermissionDetail
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -218,7 +260,10 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_installed, as: 'appInstalled'
+ property :can_create_drives, as: 'canCreateDrives'
property :can_create_team_drives, as: 'canCreateTeamDrives'
+ collection :drive_themes, as: 'driveThemes', class: Google::Apis::DriveV3::About::DriveTheme, decorator: Google::Apis::DriveV3::About::DriveTheme::Representation
+
hash :export_formats, as: 'exportFormats', :class => Array do
include Representable::JSON::Collection
items
@@ -241,6 +286,15 @@ module Google
end
+ class DriveTheme
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :background_image_link, as: 'backgroundImageLink'
+ property :color_rgb, as: 'colorRgb'
+ property :id, as: 'id'
+ end
+ end
+
class StorageQuota
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -264,6 +318,10 @@ module Google
class Change
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :change_type, as: 'changeType'
+ property :drive, as: 'drive', class: Google::Apis::DriveV3::Drive, decorator: Google::Apis::DriveV3::Drive::Representation
+
+ property :drive_id, as: 'driveId'
property :file, as: 'file', class: Google::Apis::DriveV3::File, decorator: Google::Apis::DriveV3::File::Representation
property :file_id, as: 'fileId'
@@ -346,6 +404,81 @@ module Google
end
end
+ class Drive
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :background_image_file, as: 'backgroundImageFile', class: Google::Apis::DriveV3::Drive::BackgroundImageFile, decorator: Google::Apis::DriveV3::Drive::BackgroundImageFile::Representation
+
+ property :background_image_link, as: 'backgroundImageLink'
+ property :capabilities, as: 'capabilities', class: Google::Apis::DriveV3::Drive::Capabilities, decorator: Google::Apis::DriveV3::Drive::Capabilities::Representation
+
+ property :color_rgb, as: 'colorRgb'
+ property :created_time, as: 'createdTime', type: DateTime
+
+ property :hidden, as: 'hidden'
+ property :id, as: 'id'
+ property :kind, as: 'kind'
+ property :name, as: 'name'
+ property :restrictions, as: 'restrictions', class: Google::Apis::DriveV3::Drive::Restrictions, decorator: Google::Apis::DriveV3::Drive::Restrictions::Representation
+
+ property :theme_id, as: 'themeId'
+ end
+
+ class BackgroundImageFile
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :id, as: 'id'
+ property :width, as: 'width'
+ property :x_coordinate, as: 'xCoordinate'
+ property :y_coordinate, as: 'yCoordinate'
+ end
+ end
+
+ class Capabilities
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :can_add_children, as: 'canAddChildren'
+ property :can_change_copy_requires_writer_permission_restriction, as: 'canChangeCopyRequiresWriterPermissionRestriction'
+ property :can_change_domain_users_only_restriction, as: 'canChangeDomainUsersOnlyRestriction'
+ property :can_change_drive_background, as: 'canChangeDriveBackground'
+ property :can_change_drive_members_only_restriction, as: 'canChangeDriveMembersOnlyRestriction'
+ property :can_comment, as: 'canComment'
+ property :can_copy, as: 'canCopy'
+ property :can_delete_children, as: 'canDeleteChildren'
+ property :can_delete_drive, as: 'canDeleteDrive'
+ property :can_download, as: 'canDownload'
+ property :can_edit, as: 'canEdit'
+ property :can_list_children, as: 'canListChildren'
+ property :can_manage_members, as: 'canManageMembers'
+ property :can_read_revisions, as: 'canReadRevisions'
+ property :can_rename, as: 'canRename'
+ property :can_rename_drive, as: 'canRenameDrive'
+ property :can_share, as: 'canShare'
+ property :can_trash_children, as: 'canTrashChildren'
+ end
+ end
+
+ class Restrictions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :admin_managed_restrictions, as: 'adminManagedRestrictions'
+ property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission'
+ property :domain_users_only, as: 'domainUsersOnly'
+ property :drive_members_only, as: 'driveMembersOnly'
+ end
+ end
+ end
+
+ class DriveList
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :drives, as: 'drives', class: Google::Apis::DriveV3::Drive, decorator: Google::Apis::DriveV3::Drive::Representation
+
+ property :kind, as: 'kind'
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
class File
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -358,6 +491,7 @@ module Google
property :created_time, as: 'createdTime', type: DateTime
property :description, as: 'description'
+ property :drive_id, as: 'driveId'
property :explicitly_trashed, as: 'explicitlyTrashed'
hash :export_links, as: 'exportLinks'
property :file_extension, as: 'fileExtension'
@@ -433,12 +567,17 @@ module Google
property :can_download, as: 'canDownload'
property :can_edit, as: 'canEdit'
property :can_list_children, as: 'canListChildren'
+ property :can_move_children_out_of_drive, as: 'canMoveChildrenOutOfDrive'
property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
+ property :can_move_children_within_drive, as: 'canMoveChildrenWithinDrive'
property :can_move_children_within_team_drive, as: 'canMoveChildrenWithinTeamDrive'
property :can_move_item_into_team_drive, as: 'canMoveItemIntoTeamDrive'
+ property :can_move_item_out_of_drive, as: 'canMoveItemOutOfDrive'
property :can_move_item_out_of_team_drive, as: 'canMoveItemOutOfTeamDrive'
+ property :can_move_item_within_drive, as: 'canMoveItemWithinDrive'
property :can_move_item_within_team_drive, as: 'canMoveItemWithinTeamDrive'
property :can_move_team_drive_item, as: 'canMoveTeamDriveItem'
+ property :can_read_drive, as: 'canReadDrive'
property :can_read_revisions, as: 'canReadRevisions'
property :can_read_team_drive, as: 'canReadTeamDrive'
property :can_remove_children, as: 'canRemoveChildren'
@@ -546,6 +685,8 @@ module Google
property :id, as: 'id'
property :kind, as: 'kind'
+ collection :permission_details, as: 'permissionDetails', class: Google::Apis::DriveV3::Permission::PermissionDetail, decorator: Google::Apis::DriveV3::Permission::PermissionDetail::Representation
+
property :photo_link, as: 'photoLink'
property :role, as: 'role'
collection :team_drive_permission_details, as: 'teamDrivePermissionDetails', class: Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail, decorator: Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail::Representation
@@ -553,6 +694,16 @@ module Google
property :type, as: 'type'
end
+ class PermissionDetail
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :inherited, as: 'inherited'
+ property :inherited_from, as: 'inheritedFrom'
+ property :permission_type, as: 'permissionType'
+ property :role, as: 'role'
+ end
+ end
+
class TeamDrivePermissionDetail
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/drive_v3/service.rb b/generated/google/apis/drive_v3/service.rb
index 37084242e..1a45564c7 100644
--- a/generated/google/apis/drive_v3/service.rb
+++ b/generated/google/apis/drive_v3/service.rb
@@ -83,11 +83,15 @@ module Google
end
# Gets the starting pageToken for listing future changes.
+ # @param [String] drive_id
+ # The ID of the shared drive for which the starting pageToken for listing future
+ # changes from that shared drive will be returned.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id
- # The ID of the Team Drive for which the starting pageToken for listing future
- # changes from that Team Drive will be returned.
+ # Deprecated use driveId instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -107,10 +111,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def get_changes_start_page_token(supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def get_changes_start_page_token(drive_id: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'changes/startPageToken', options)
command.response_representation = Google::Apis::DriveV3::StartPageToken::Representation
command.response_class = Google::Apis::DriveV3::StartPageToken
+ command.query['driveId'] = drive_id unless drive_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil?
command.query['fields'] = fields unless fields.nil?
@@ -119,21 +125,27 @@ module Google
execute_or_queue_command(command, &block)
end
- # Lists the changes for a user or Team Drive.
+ # Lists the changes for a user or shared drive.
# @param [String] page_token
# The token for continuing a previous list request on the next page. This should
# be set to the value of 'nextPageToken' from the previous response or to the
# response from the getStartPageToken method.
+ # @param [String] drive_id
+ # The shared drive from which changes will be returned. If specified the change
+ # IDs will be reflective of the shared drive; use the combined drive ID and
+ # change ID as an identifier.
# @param [Boolean] include_corpus_removals
# Whether changes should include the file resource if the file is still
# accessible by the user at the time of the request, even when a file was
# removed from the list of changes and there will be no further change entries
# for this file.
+ # @param [Boolean] include_items_from_all_drives
+ # Whether both My Drive and shared drive items should be included in results.
# @param [Boolean] include_removed
# Whether to include changes indicating that items have been removed from the
# list of changes, for example by deletion or loss of access.
# @param [Boolean] include_team_drive_items
- # Whether Team Drive files or changes should be included in results.
+ # Deprecated use includeItemsFromAllDrives instead.
# @param [Fixnum] page_size
# The maximum number of changes to return per page.
# @param [Boolean] restrict_to_my_drive
@@ -143,12 +155,12 @@ module Google
# @param [String] spaces
# A comma-separated list of spaces to query within the user corpus. Supported
# values are 'drive', 'appDataFolder' and 'photos'.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id
- # The Team Drive from which changes will be returned. If specified the change
- # IDs will be reflective of the Team Drive; use the combined Team Drive ID and
- # change ID as an identifier.
+ # Deprecated use driveId instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -168,17 +180,20 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_changes(page_token, include_corpus_removals: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_changes(page_token, drive_id: nil, include_corpus_removals: nil, include_items_from_all_drives: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'changes', options)
command.response_representation = Google::Apis::DriveV3::ChangeList::Representation
command.response_class = Google::Apis::DriveV3::ChangeList
+ command.query['driveId'] = drive_id unless drive_id.nil?
command.query['includeCorpusRemovals'] = include_corpus_removals unless include_corpus_removals.nil?
+ command.query['includeItemsFromAllDrives'] = include_items_from_all_drives unless include_items_from_all_drives.nil?
command.query['includeRemoved'] = include_removed unless include_removed.nil?
command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['restrictToMyDrive'] = restrict_to_my_drive unless restrict_to_my_drive.nil?
command.query['spaces'] = spaces unless spaces.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil?
command.query['fields'] = fields unless fields.nil?
@@ -193,16 +208,22 @@ module Google
# be set to the value of 'nextPageToken' from the previous response or to the
# response from the getStartPageToken method.
# @param [Google::Apis::DriveV3::Channel] channel_object
+ # @param [String] drive_id
+ # The shared drive from which changes will be returned. If specified the change
+ # IDs will be reflective of the shared drive; use the combined drive ID and
+ # change ID as an identifier.
# @param [Boolean] include_corpus_removals
# Whether changes should include the file resource if the file is still
# accessible by the user at the time of the request, even when a file was
# removed from the list of changes and there will be no further change entries
# for this file.
+ # @param [Boolean] include_items_from_all_drives
+ # Whether both My Drive and shared drive items should be included in results.
# @param [Boolean] include_removed
# Whether to include changes indicating that items have been removed from the
# list of changes, for example by deletion or loss of access.
# @param [Boolean] include_team_drive_items
- # Whether Team Drive files or changes should be included in results.
+ # Deprecated use includeItemsFromAllDrives instead.
# @param [Fixnum] page_size
# The maximum number of changes to return per page.
# @param [Boolean] restrict_to_my_drive
@@ -212,12 +233,12 @@ module Google
# @param [String] spaces
# A comma-separated list of spaces to query within the user corpus. Supported
# values are 'drive', 'appDataFolder' and 'photos'.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id
- # The Team Drive from which changes will be returned. If specified the change
- # IDs will be reflective of the Team Drive; use the combined Team Drive ID and
- # change ID as an identifier.
+ # Deprecated use driveId instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -237,19 +258,22 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def watch_change(page_token, channel_object = nil, include_corpus_removals: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def watch_change(page_token, channel_object = nil, drive_id: nil, include_corpus_removals: nil, include_items_from_all_drives: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'changes/watch', options)
command.request_representation = Google::Apis::DriveV3::Channel::Representation
command.request_object = channel_object
command.response_representation = Google::Apis::DriveV3::Channel::Representation
command.response_class = Google::Apis::DriveV3::Channel
+ command.query['driveId'] = drive_id unless drive_id.nil?
command.query['includeCorpusRemovals'] = include_corpus_removals unless include_corpus_removals.nil?
+ command.query['includeItemsFromAllDrives'] = include_items_from_all_drives unless include_items_from_all_drives.nil?
command.query['includeRemoved'] = include_removed unless include_removed.nil?
command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['restrictToMyDrive'] = restrict_to_my_drive unless restrict_to_my_drive.nil?
command.query['spaces'] = spaces unless spaces.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil?
command.query['fields'] = fields unless fields.nil?
@@ -486,6 +510,266 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Creates a new shared drive.
+ # @param [String] request_id
+ # An ID, such as a random UUID, which uniquely identifies this user's request
+ # for idempotent creation of a shared drive. A repeated request by the same user
+ # and with the same request ID will avoid creating duplicates by attempting to
+ # create the same shared drive. If the shared drive already exists a 409 error
+ # will be returned.
+ # @param [Google::Apis::DriveV3::Drive] drive_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV3::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV3::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_drife(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, 'drives', options)
+ command.request_representation = Google::Apis::DriveV3::Drive::Representation
+ command.request_object = drive_object
+ command.response_representation = Google::Apis::DriveV3::Drive::Representation
+ command.response_class = Google::Apis::DriveV3::Drive
+ command.query['requestId'] = request_id unless request_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Permanently deletes a shared drive for which the user is an organizer. The
+ # shared drive cannot contain any untrashed items.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [NilClass] No result returned for this method
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [void]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def delete_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'drives/{driveId}', options)
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets a shared drive's metadata by ID.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [Boolean] use_domain_admin_access
+ # Issue the request as a domain administrator; if set to true, then the
+ # requester will be granted access if they are an administrator of the domain to
+ # which the shared drive belongs.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV3::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV3::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_drife(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, 'drives/{driveId}', options)
+ command.response_representation = Google::Apis::DriveV3::Drive::Representation
+ command.response_class = Google::Apis::DriveV3::Drive
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Hides a shared drive from the default view.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV3::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV3::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def hide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, 'drives/{driveId}/hide', options)
+ command.response_representation = Google::Apis::DriveV3::Drive::Representation
+ command.response_class = Google::Apis::DriveV3::Drive
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists the user's shared drives.
+ # @param [Fixnum] page_size
+ # Maximum number of shared drives to return.
+ # @param [String] page_token
+ # Page token for shared drives.
+ # @param [String] q
+ # Query string for searching shared drives.
+ # @param [Boolean] use_domain_admin_access
+ # Issue the request as a domain administrator; if set to true, then all shared
+ # drives of the domain in which the requester is an administrator are returned.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV3::DriveList] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV3::DriveList]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_drives(page_size: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, 'drives', options)
+ command.response_representation = Google::Apis::DriveV3::DriveList::Representation
+ command.response_class = Google::Apis::DriveV3::DriveList
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['q'] = q unless q.nil?
+ command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Restores a shared drive to the default view.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV3::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV3::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def unhide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:post, 'drives/{driveId}/unhide', options)
+ command.response_representation = Google::Apis::DriveV3::Drive::Representation
+ command.response_class = Google::Apis::DriveV3::Drive
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates the metadate for a shared drive.
+ # @param [String] drive_id
+ # The ID of the shared drive.
+ # @param [Google::Apis::DriveV3::Drive] drive_object
+ # @param [Boolean] use_domain_admin_access
+ # Issue the request as a domain administrator; if set to true, then the
+ # requester will be granted access if they are an administrator of the domain to
+ # which the shared drive belongs.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::DriveV3::Drive] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::DriveV3::Drive]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def update_drife(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'drives/{driveId}', options)
+ command.request_representation = Google::Apis::DriveV3::Drive::Representation
+ command.request_object = drive_object
+ command.response_representation = Google::Apis::DriveV3::Drive::Representation
+ command.response_class = Google::Apis::DriveV3::Drive
+ command.params['driveId'] = drive_id unless drive_id.nil?
+ command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Creates a copy of a file and applies any requested updates with patch
# semantics.
# @param [String] file_id
@@ -498,11 +782,13 @@ module Google
# Permissions are still inherited from parent folders.
# @param [Boolean] keep_revision_forever
# Whether to set the 'keepForever' field in the new head revision. This is only
- # applicable to files with binary content in Drive.
+ # applicable to files with binary content in Google Drive.
# @param [String] ocr_language
# A language hint for OCR processing during image import (ISO 639-1 code).
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -522,7 +808,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def copy_file(file_id, file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def copy_file(file_id, file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'files/{fileId}/copy', options)
command.request_representation = Google::Apis::DriveV3::File::Representation
command.request_object = file_object
@@ -532,6 +818,7 @@ module Google
command.query['ignoreDefaultVisibility'] = ignore_default_visibility unless ignore_default_visibility.nil?
command.query['keepRevisionForever'] = keep_revision_forever unless keep_revision_forever.nil?
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -548,11 +835,13 @@ module Google
# Permissions are still inherited from parent folders.
# @param [Boolean] keep_revision_forever
# Whether to set the 'keepForever' field in the new head revision. This is only
- # applicable to files with binary content in Drive.
+ # applicable to files with binary content in Google Drive.
# @param [String] ocr_language
# A language hint for OCR processing during image import (ISO 639-1 code).
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_content_as_indexable_text
# Whether to use the uploaded content as indexable text.
# @param [String] fields
@@ -578,7 +867,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def create_file(file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
+ def create_file(file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:post, 'files', options)
else
@@ -593,6 +882,7 @@ module Google
command.query['ignoreDefaultVisibility'] = ignore_default_visibility unless ignore_default_visibility.nil?
command.query['keepRevisionForever'] = keep_revision_forever unless keep_revision_forever.nil?
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['useContentAsIndexableText'] = use_content_as_indexable_text unless use_content_as_indexable_text.nil?
command.query['fields'] = fields unless fields.nil?
@@ -602,13 +892,15 @@ module Google
end
# Permanently deletes a file owned by the user without moving it to the trash.
- # If the file belongs to a Team Drive the user must be an organizer on the
+ # If the file belongs to a shared drive the user must be an organizer on the
# parent. If the target is a folder, all descendants owned by the user are also
# deleted.
# @param [String] file_id
# The ID of the file.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -628,9 +920,10 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def delete_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def delete_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'files/{fileId}', options)
command.params['fileId'] = file_id unless file_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -751,8 +1044,10 @@ module Google
# @param [Boolean] acknowledge_abuse
# Whether the user is acknowledging the risk of downloading known malware or
# other abusive files. This is only applicable when alt=media.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -774,7 +1069,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def get_file(file_id, acknowledge_abuse: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
+ def get_file(file_id, acknowledge_abuse: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
if download_dest.nil?
command = make_simple_command(:get, 'files/{fileId}', options)
else
@@ -785,6 +1080,7 @@ module Google
command.response_class = Google::Apis::DriveV3::File
command.params['fileId'] = file_id unless file_id.nil?
command.query['acknowledgeAbuse'] = acknowledge_abuse unless acknowledge_abuse.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -794,14 +1090,17 @@ module Google
# Lists or searches files.
# @param [String] corpora
- # Comma-separated list of bodies of items (files/documents) to which the query
- # applies. Supported bodies are 'user', 'domain', 'teamDrive' and 'allTeamDrives'
- # . 'allTeamDrives' must be combined with 'user'; all other values must be used
- # in isolation. Prefer 'user' or 'teamDrive' to 'allTeamDrives' for efficiency.
+ # Bodies of items (files/documents) to which the query applies. Supported bodies
+ # are 'user', 'domain', 'drive' and 'allDrives'. Prefer 'user' or 'drive' to '
+ # allDrives' for efficiency.
# @param [String] corpus
# The source of files to list. Deprecated: use 'corpora' instead.
+ # @param [String] drive_id
+ # ID of the shared drive to search.
+ # @param [Boolean] include_items_from_all_drives
+ # Whether both My Drive and shared drive items should be included in results.
# @param [Boolean] include_team_drive_items
- # Whether Team Drive items should be included in results.
+ # Deprecated use includeItemsFromAllDrives instead.
# @param [String] order_by
# A comma-separated list of sort keys. Valid keys are 'createdTime', 'folder', '
# modifiedByMeTime', 'modifiedTime', 'name', 'name_natural', 'quotaBytesUsed', '
@@ -822,10 +1121,12 @@ module Google
# @param [String] spaces
# A comma-separated list of spaces to query within the corpus. Supported values
# are 'drive', 'appDataFolder' and 'photos'.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] team_drive_id
- # ID of Team Drive to search.
+ # Deprecated use driveId instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -845,18 +1146,21 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_files(corpora: nil, corpus: nil, include_team_drive_items: nil, order_by: nil, page_size: nil, page_token: nil, q: nil, spaces: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_files(corpora: nil, corpus: nil, drive_id: nil, include_items_from_all_drives: nil, include_team_drive_items: nil, order_by: nil, page_size: nil, page_token: nil, q: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'files', options)
command.response_representation = Google::Apis::DriveV3::FileList::Representation
command.response_class = Google::Apis::DriveV3::FileList
command.query['corpora'] = corpora unless corpora.nil?
command.query['corpus'] = corpus unless corpus.nil?
+ command.query['driveId'] = drive_id unless drive_id.nil?
+ command.query['includeItemsFromAllDrives'] = include_items_from_all_drives unless include_items_from_all_drives.nil?
command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['q'] = q unless q.nil?
command.query['spaces'] = spaces unless spaces.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil?
command.query['fields'] = fields unless fields.nil?
@@ -873,13 +1177,15 @@ module Google
# A comma-separated list of parent IDs to add.
# @param [Boolean] keep_revision_forever
# Whether to set the 'keepForever' field in the new head revision. This is only
- # applicable to files with binary content in Drive.
+ # applicable to files with binary content in Google Drive.
# @param [String] ocr_language
# A language hint for OCR processing during image import (ISO 639-1 code).
# @param [String] remove_parents
# A comma-separated list of parent IDs to remove.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_content_as_indexable_text
# Whether to use the uploaded content as indexable text.
# @param [String] fields
@@ -905,7 +1211,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def update_file(file_id, file_object = nil, add_parents: nil, keep_revision_forever: nil, ocr_language: nil, remove_parents: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
+ def update_file(file_id, file_object = nil, add_parents: nil, keep_revision_forever: nil, ocr_language: nil, remove_parents: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
if upload_source.nil?
command = make_simple_command(:patch, 'files/{fileId}', options)
else
@@ -922,6 +1228,7 @@ module Google
command.query['keepRevisionForever'] = keep_revision_forever unless keep_revision_forever.nil?
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
command.query['removeParents'] = remove_parents unless remove_parents.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['useContentAsIndexableText'] = use_content_as_indexable_text unless use_content_as_indexable_text.nil?
command.query['fields'] = fields unless fields.nil?
@@ -937,8 +1244,10 @@ module Google
# @param [Boolean] acknowledge_abuse
# Whether the user is acknowledging the risk of downloading known malware or
# other abusive files. This is only applicable when alt=media.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -960,7 +1269,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
+ def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
if download_dest.nil?
command = make_simple_command(:post, 'files/{fileId}/watch', options)
else
@@ -973,6 +1282,7 @@ module Google
command.response_class = Google::Apis::DriveV3::Channel
command.params['fileId'] = file_id unless file_id.nil?
command.query['acknowledgeAbuse'] = acknowledge_abuse unless acknowledge_abuse.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -980,9 +1290,9 @@ module Google
execute_or_queue_command(command, &block)
end
- # Creates a permission for a file or Team Drive.
+ # Creates a permission for a file or shared drive.
# @param [String] file_id
- # The ID of the file or Team Drive.
+ # The ID of the file or shared drive.
# @param [Google::Apis::DriveV3::Permission] permission_object
# @param [String] email_message
# A plain text custom message to include in the notification email.
@@ -990,16 +1300,19 @@ module Google
# Whether to send a notification email when sharing to users or groups. This
# defaults to true for users and groups, and is not allowed for other requests.
# It must not be disabled for ownership transfers.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] transfer_ownership
# Whether to transfer ownership to the specified user and downgrade the current
# owner to a writer. This parameter is required as an acknowledgement of the
# side effect.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1019,7 +1332,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def create_permission(file_id, permission_object = nil, email_message: nil, send_notification_email: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def create_permission(file_id, permission_object = nil, email_message: nil, send_notification_email: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'files/{fileId}/permissions', options)
command.request_representation = Google::Apis::DriveV3::Permission::Representation
command.request_object = permission_object
@@ -1028,6 +1341,7 @@ module Google
command.params['fileId'] = file_id unless file_id.nil?
command.query['emailMessage'] = email_message unless email_message.nil?
command.query['sendNotificationEmail'] = send_notification_email unless send_notification_email.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['transferOwnership'] = transfer_ownership unless transfer_ownership.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
@@ -1039,15 +1353,18 @@ module Google
# Deletes a permission.
# @param [String] file_id
- # The ID of the file or Team Drive.
+ # The ID of the file or shared drive.
# @param [String] permission_id
# The ID of the permission.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1067,10 +1384,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def delete_permission(file_id, permission_id, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def delete_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options)
command.params['fileId'] = file_id unless file_id.nil?
command.params['permissionId'] = permission_id unless permission_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1084,12 +1402,15 @@ module Google
# The ID of the file.
# @param [String] permission_id
# The ID of the permission.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1109,12 +1430,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def get_permission(file_id, permission_id, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def get_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options)
command.response_representation = Google::Apis::DriveV3::Permission::Representation
command.response_class = Google::Apis::DriveV3::Permission
command.params['fileId'] = file_id unless file_id.nil?
command.params['permissionId'] = permission_id unless permission_id.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1123,22 +1445,25 @@ module Google
execute_or_queue_command(command, &block)
end
- # Lists a file's or Team Drive's permissions.
+ # Lists a file's or shared drive's permissions.
# @param [String] file_id
- # The ID of the file or Team Drive.
+ # The ID of the file or shared drive.
# @param [Fixnum] page_size
# The maximum number of permissions to return per page. When not set for files
- # in a Team Drive, at most 100 results will be returned. When not set for files
- # that are not in a Team Drive, the entire list will be returned.
+ # in a shared drive, at most 100 results will be returned. When not set for
+ # files that are not in a shared drive, the entire list will be returned.
# @param [String] page_token
# The token for continuing a previous list request on the next page. This should
# be set to the value of 'nextPageToken' from the previous response.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1158,13 +1483,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_permissions(file_id, page_size: nil, page_token: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_permissions(file_id, page_size: nil, page_token: nil, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'files/{fileId}/permissions', options)
command.response_representation = Google::Apis::DriveV3::PermissionList::Representation
command.response_class = Google::Apis::DriveV3::PermissionList
command.params['fileId'] = file_id unless file_id.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
command.query['fields'] = fields unless fields.nil?
@@ -1175,22 +1501,25 @@ module Google
# Updates a permission with patch semantics.
# @param [String] file_id
- # The ID of the file or Team Drive.
+ # The ID of the file or shared drive.
# @param [String] permission_id
# The ID of the permission.
# @param [Google::Apis::DriveV3::Permission] permission_object
# @param [Boolean] remove_expiration
# Whether to remove the expiration date.
+ # @param [Boolean] supports_all_drives
+ # Whether the requesting application supports both My Drives and shared drives.
# @param [Boolean] supports_team_drives
- # Whether the requesting application supports Team Drives.
+ # Deprecated use supportsAllDrives instead.
# @param [Boolean] transfer_ownership
# Whether to transfer ownership to the specified user and downgrade the current
# owner to a writer. This parameter is required as an acknowledgement of the
# side effect.
# @param [Boolean] use_domain_admin_access
# Issue the request as a domain administrator; if set to true, then the
- # requester will be granted access if they are an administrator of the domain to
- # which the item belongs.
+ # requester will be granted access if the file ID parameter refers to a shared
+ # drive and the requester is an administrator of the domain to which the shared
+ # drive belongs.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -1210,7 +1539,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options)
command.request_representation = Google::Apis::DriveV3::Permission::Representation
command.request_object = permission_object
@@ -1219,6 +1548,7 @@ module Google
command.params['fileId'] = file_id unless file_id.nil?
command.params['permissionId'] = permission_id unless permission_id.nil?
command.query['removeExpiration'] = remove_expiration unless remove_expiration.nil?
+ command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
command.query['transferOwnership'] = transfer_ownership unless transfer_ownership.nil?
command.query['useDomainAdminAccess'] = use_domain_admin_access unless use_domain_admin_access.nil?
@@ -1437,8 +1767,9 @@ module Google
end
# Permanently deletes a file version. You can only delete revisions for files
- # with binary content, like images or videos. Revisions for other files, like
- # Google Docs or Sheets, and the last remaining file version can't be deleted.
+ # with binary content in Google Drive, like images or videos. Revisions for
+ # other files, like Google Docs or Sheets, and the last remaining file version
+ # can't be deleted.
# @param [String] file_id
# The ID of the file.
# @param [String] revision_id
@@ -1598,7 +1929,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Creates a new Team Drive.
+ # Deprecated use drives.create instead.
# @param [String] request_id
# An ID, such as a random UUID, which uniquely identifies this user's request
# for idempotent creation of a Team Drive. A repeated request by the same user
@@ -1638,8 +1969,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Permanently deletes a Team Drive for which the user is an organizer. The Team
- # Drive cannot contain any untrashed items.
+ # Deprecated use drives.delete instead.
# @param [String] team_drive_id
# The ID of the Team Drive
# @param [String] fields
@@ -1670,7 +2000,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Gets a Team Drive's metadata by ID.
+ # Deprecated use drives.get instead.
# @param [String] team_drive_id
# The ID of the Team Drive
# @param [Boolean] use_domain_admin_access
@@ -1708,7 +2038,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Lists the user's Team Drives.
+ # Deprecated use drives.list instead.
# @param [Fixnum] page_size
# Maximum number of Team Drives to return.
# @param [String] page_token
@@ -1751,7 +2081,7 @@ module Google
execute_or_queue_command(command, &block)
end
- # Updates a Team Drive's metadata
+ # Deprecated use drives.update instead
# @param [String] team_drive_id
# The ID of the Team Drive
# @param [Google::Apis::DriveV3::TeamDrive] team_drive_object
diff --git a/generated/google/apis/driveactivity_v2.rb b/generated/google/apis/driveactivity_v2.rb
index 15a3069c2..84fa50054 100644
--- a/generated/google/apis/driveactivity_v2.rb
+++ b/generated/google/apis/driveactivity_v2.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/drive/activity/
module DriveactivityV2
VERSION = 'V2'
- REVISION = '20181116'
+ REVISION = '20190423'
# View and add to the activity record of files in your Google Drive
AUTH_DRIVE_ACTIVITY = 'https://www.googleapis.com/auth/drive.activity'
diff --git a/generated/google/apis/driveactivity_v2/classes.rb b/generated/google/apis/driveactivity_v2/classes.rb
index 609fd67fd..97d6cbe3e 100644
--- a/generated/google/apis/driveactivity_v2/classes.rb
+++ b/generated/google/apis/driveactivity_v2/classes.rb
@@ -463,6 +463,39 @@ module Google
end
end
+ # Information about a shared drive.
+ class Drive
+ include Google::Apis::Core::Hashable
+
+ # The resource name of the shared drive. The format is
+ # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
+ # ID for this resource name.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # A Drive item, such as a file or folder.
+ # Corresponds to the JSON property `root`
+ # @return [Google::Apis::DriveactivityV2::DriveItem]
+ attr_accessor :root
+
+ # The title of the shared drive.
+ # Corresponds to the JSON property `title`
+ # @return [String]
+ attr_accessor :title
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @name = args[:name] if args.key?(:name)
+ @root = args[:root] if args.key?(:root)
+ @title = args[:title] if args.key?(:title)
+ end
+ end
+
# A single Drive activity comprising one or more Actions by one or more
# Actors on one or more Targets. Some Action groupings occur spontaneously,
# such as moving an item into a shared folder triggering a permission change.
@@ -487,7 +520,7 @@ module Google
# @return [Google::Apis::DriveactivityV2::ActionDetail]
attr_accessor :primary_action_detail
- # All Drive objects this activity is about (e.g. file, folder, Team Drive).
+ # All Google Drive objects this activity is about (e.g. file, folder, drive).
# This represents the state of the target immediately after the actions
# occurred.
# Corresponds to the JSON property `targets`
@@ -519,16 +552,58 @@ module Google
end
end
+ # A Drive item which is a file.
+ class DriveFile
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # A Drive item which is a folder.
+ class DriveFolder
+ include Google::Apis::Core::Hashable
+
+ # The type of Drive folder.
+ # 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)
+ @type = args[:type] if args.key?(:type)
+ end
+ end
+
# A Drive item, such as a file or folder.
class DriveItem
include Google::Apis::Core::Hashable
# A Drive item which is a file.
+ # Corresponds to the JSON property `driveFile`
+ # @return [Google::Apis::DriveactivityV2::DriveFile]
+ attr_accessor :drive_file
+
+ # A Drive item which is a folder.
+ # Corresponds to the JSON property `driveFolder`
+ # @return [Google::Apis::DriveactivityV2::DriveFolder]
+ attr_accessor :drive_folder
+
+ # This item is deprecated; please see `DriveFile` instead.
# Corresponds to the JSON property `file`
# @return [Google::Apis::DriveactivityV2::File]
attr_accessor :file
- # A Drive item which is a folder.
+ # This item is deprecated; please see `DriveFolder` instead.
# Corresponds to the JSON property `folder`
# @return [Google::Apis::DriveactivityV2::Folder]
attr_accessor :folder
@@ -560,6 +635,8 @@ module Google
# Update properties of this object
def update!(**args)
+ @drive_file = args[:drive_file] if args.key?(:drive_file)
+ @drive_folder = args[:drive_folder] if args.key?(:drive_folder)
@file = args[:file] if args.key?(:file)
@folder = args[:folder] if args.key?(:folder)
@mime_type = args[:mime_type] if args.key?(:mime_type)
@@ -574,11 +651,21 @@ module Google
include Google::Apis::Core::Hashable
# A Drive item which is a file.
+ # Corresponds to the JSON property `driveFile`
+ # @return [Google::Apis::DriveactivityV2::DriveFile]
+ attr_accessor :drive_file
+
+ # A Drive item which is a folder.
+ # Corresponds to the JSON property `driveFolder`
+ # @return [Google::Apis::DriveactivityV2::DriveFolder]
+ attr_accessor :drive_folder
+
+ # This item is deprecated; please see `DriveFile` instead.
# Corresponds to the JSON property `file`
# @return [Google::Apis::DriveactivityV2::File]
attr_accessor :file
- # A Drive item which is a folder.
+ # This item is deprecated; please see `DriveFolder` instead.
# Corresponds to the JSON property `folder`
# @return [Google::Apis::DriveactivityV2::Folder]
attr_accessor :folder
@@ -599,6 +686,8 @@ module Google
# Update properties of this object
def update!(**args)
+ @drive_file = args[:drive_file] if args.key?(:drive_file)
+ @drive_folder = args[:drive_folder] if args.key?(:drive_folder)
@file = args[:file] if args.key?(:file)
@folder = args[:folder] if args.key?(:folder)
@name = args[:name] if args.key?(:name)
@@ -606,6 +695,33 @@ module Google
end
end
+ # A lightweight reference to a shared drive.
+ class DriveReference
+ include Google::Apis::Core::Hashable
+
+ # The resource name of the shared drive. The format is
+ # "COLLECTION_ID/DRIVE_ID". Clients should not assume a specific collection
+ # ID for this resource name.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # The title of the shared drive.
+ # Corresponds to the JSON property `title`
+ # @return [String]
+ attr_accessor :title
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @name = args[:name] if args.key?(:name)
+ @title = args[:title] if args.key?(:title)
+ end
+ end
+
# An empty message indicating an object was edited.
class Edit
include Google::Apis::Core::Hashable
@@ -619,7 +735,7 @@ module Google
end
end
- # A Drive item which is a file.
+ # This item is deprecated; please see `DriveFile` instead.
class File
include Google::Apis::Core::Hashable
@@ -675,11 +791,11 @@ module Google
end
end
- # A Drive item which is a folder.
+ # This item is deprecated; please see `DriveFolder` instead.
class Folder
include Google::Apis::Core::Hashable
- # The type of Drive folder.
+ # This field is deprecated; please see `DriveFolder.type` instead.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -844,7 +960,12 @@ module Google
# @return [Google::Apis::DriveactivityV2::Domain]
attr_accessor :domain
- # A lightweight reference to a Team Drive.
+ # A lightweight reference to a shared drive.
+ # Corresponds to the JSON property `drive`
+ # @return [Google::Apis::DriveactivityV2::DriveReference]
+ attr_accessor :drive
+
+ # This item is deprecated; please see `DriveReference` instead.
# Corresponds to the JSON property `teamDrive`
# @return [Google::Apis::DriveactivityV2::TeamDriveReference]
attr_accessor :team_drive
@@ -861,6 +982,7 @@ module Google
# Update properties of this object
def update!(**args)
@domain = args[:domain] if args.key?(:domain)
+ @drive = args[:drive] if args.key?(:drive)
@team_drive = args[:team_drive] if args.key?(:team_drive)
@user = args[:user] if args.key?(:user)
end
@@ -1192,6 +1314,11 @@ module Google
class Target
include Google::Apis::Core::Hashable
+ # Information about a shared drive.
+ # Corresponds to the JSON property `drive`
+ # @return [Google::Apis::DriveactivityV2::Drive]
+ attr_accessor :drive
+
# A Drive item, such as a file or folder.
# Corresponds to the JSON property `driveItem`
# @return [Google::Apis::DriveactivityV2::DriveItem]
@@ -1202,7 +1329,7 @@ module Google
# @return [Google::Apis::DriveactivityV2::FileComment]
attr_accessor :file_comment
- # Information about a Team Drive.
+ # This item is deprecated; please see `Drive` instead.
# Corresponds to the JSON property `teamDrive`
# @return [Google::Apis::DriveactivityV2::TeamDrive]
attr_accessor :team_drive
@@ -1213,6 +1340,7 @@ module Google
# Update properties of this object
def update!(**args)
+ @drive = args[:drive] if args.key?(:drive)
@drive_item = args[:drive_item] if args.key?(:drive_item)
@file_comment = args[:file_comment] if args.key?(:file_comment)
@team_drive = args[:team_drive] if args.key?(:team_drive)
@@ -1223,12 +1351,17 @@ module Google
class TargetReference
include Google::Apis::Core::Hashable
+ # A lightweight reference to a shared drive.
+ # Corresponds to the JSON property `drive`
+ # @return [Google::Apis::DriveactivityV2::DriveReference]
+ attr_accessor :drive
+
# A lightweight reference to a Drive item, such as a file or folder.
# Corresponds to the JSON property `driveItem`
# @return [Google::Apis::DriveactivityV2::DriveItemReference]
attr_accessor :drive_item
- # A lightweight reference to a Team Drive.
+ # This item is deprecated; please see `DriveReference` instead.
# Corresponds to the JSON property `teamDrive`
# @return [Google::Apis::DriveactivityV2::TeamDriveReference]
attr_accessor :team_drive
@@ -1239,17 +1372,17 @@ module Google
# Update properties of this object
def update!(**args)
+ @drive = args[:drive] if args.key?(:drive)
@drive_item = args[:drive_item] if args.key?(:drive_item)
@team_drive = args[:team_drive] if args.key?(:team_drive)
end
end
- # Information about a Team Drive.
+ # This item is deprecated; please see `Drive` instead.
class TeamDrive
include Google::Apis::Core::Hashable
- # The resource name of the Team Drive. The format is
- # "teamDrives/TEAM_DRIVE_ID".
+ # This field is deprecated; please see `Drive.name` instead.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -1259,7 +1392,7 @@ module Google
# @return [Google::Apis::DriveactivityV2::DriveItem]
attr_accessor :root
- # The title of the Team Drive.
+ # This field is deprecated; please see `Drive.title` instead.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
@@ -1276,17 +1409,16 @@ module Google
end
end
- # A lightweight reference to a Team Drive.
+ # This item is deprecated; please see `DriveReference` instead.
class TeamDriveReference
include Google::Apis::Core::Hashable
- # The resource name of the Team Drive. The format is
- # "teamDrives/TEAM_DRIVE_ID".
+ # This field is deprecated; please see `DriveReference.name` instead.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- # The title of the Team Drive.
+ # This field is deprecated; please see `DriveReference.title` instead.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
diff --git a/generated/google/apis/driveactivity_v2/representations.rb b/generated/google/apis/driveactivity_v2/representations.rb
index 1784685dd..3f81d0ead 100644
--- a/generated/google/apis/driveactivity_v2/representations.rb
+++ b/generated/google/apis/driveactivity_v2/representations.rb
@@ -118,12 +118,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class Drive
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class DriveActivity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class DriveFile
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DriveFolder
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class DriveItem
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -136,6 +154,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class DriveReference
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Edit
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -485,6 +509,16 @@ module Google
end
end
+ class Drive
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :name, as: 'name'
+ property :root, as: 'root', class: Google::Apis::DriveactivityV2::DriveItem, decorator: Google::Apis::DriveactivityV2::DriveItem::Representation
+
+ property :title, as: 'title'
+ end
+ end
+
class DriveActivity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -502,9 +536,26 @@ module Google
end
end
+ class DriveFile
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class DriveFolder
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :type, as: 'type'
+ end
+ end
+
class DriveItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :drive_file, as: 'driveFile', class: Google::Apis::DriveactivityV2::DriveFile, decorator: Google::Apis::DriveactivityV2::DriveFile::Representation
+
+ property :drive_folder, as: 'driveFolder', class: Google::Apis::DriveactivityV2::DriveFolder, decorator: Google::Apis::DriveactivityV2::DriveFolder::Representation
+
property :file, as: 'file', class: Google::Apis::DriveactivityV2::File, decorator: Google::Apis::DriveactivityV2::File::Representation
property :folder, as: 'folder', class: Google::Apis::DriveactivityV2::Folder, decorator: Google::Apis::DriveactivityV2::Folder::Representation
@@ -520,6 +571,10 @@ module Google
class DriveItemReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :drive_file, as: 'driveFile', class: Google::Apis::DriveactivityV2::DriveFile, decorator: Google::Apis::DriveactivityV2::DriveFile::Representation
+
+ property :drive_folder, as: 'driveFolder', class: Google::Apis::DriveactivityV2::DriveFolder, decorator: Google::Apis::DriveactivityV2::DriveFolder::Representation
+
property :file, as: 'file', class: Google::Apis::DriveactivityV2::File, decorator: Google::Apis::DriveactivityV2::File::Representation
property :folder, as: 'folder', class: Google::Apis::DriveactivityV2::Folder, decorator: Google::Apis::DriveactivityV2::Folder::Representation
@@ -529,6 +584,14 @@ module Google
end
end
+ class DriveReference
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :name, as: 'name'
+ property :title, as: 'title'
+ end
+ end
+
class Edit
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -616,6 +679,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :domain, as: 'domain', class: Google::Apis::DriveactivityV2::Domain, decorator: Google::Apis::DriveactivityV2::Domain::Representation
+ property :drive, as: 'drive', class: Google::Apis::DriveactivityV2::DriveReference, decorator: Google::Apis::DriveactivityV2::DriveReference::Representation
+
property :team_drive, as: 'teamDrive', class: Google::Apis::DriveactivityV2::TeamDriveReference, decorator: Google::Apis::DriveactivityV2::TeamDriveReference::Representation
property :user, as: 'user', class: Google::Apis::DriveactivityV2::User, decorator: Google::Apis::DriveactivityV2::User::Representation
@@ -726,6 +791,8 @@ module Google
class Target
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :drive, as: 'drive', class: Google::Apis::DriveactivityV2::Drive, decorator: Google::Apis::DriveactivityV2::Drive::Representation
+
property :drive_item, as: 'driveItem', class: Google::Apis::DriveactivityV2::DriveItem, decorator: Google::Apis::DriveactivityV2::DriveItem::Representation
property :file_comment, as: 'fileComment', class: Google::Apis::DriveactivityV2::FileComment, decorator: Google::Apis::DriveactivityV2::FileComment::Representation
@@ -738,6 +805,8 @@ module Google
class TargetReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :drive, as: 'drive', class: Google::Apis::DriveactivityV2::DriveReference, decorator: Google::Apis::DriveactivityV2::DriveReference::Representation
+
property :drive_item, as: 'driveItem', class: Google::Apis::DriveactivityV2::DriveItemReference, decorator: Google::Apis::DriveactivityV2::DriveItemReference::Representation
property :team_drive, as: 'teamDrive', class: Google::Apis::DriveactivityV2::TeamDriveReference, decorator: Google::Apis::DriveactivityV2::TeamDriveReference::Representation
diff --git a/generated/google/apis/file_v1.rb b/generated/google/apis/file_v1.rb
index f52598678..de15ca7b1 100644
--- a/generated/google/apis/file_v1.rb
+++ b/generated/google/apis/file_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/filestore/
module FileV1
VERSION = 'V1'
- REVISION = '20190312'
+ REVISION = '20190416'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/file_v1/classes.rb b/generated/google/apis/file_v1/classes.rb
index 030d7893d..f22a4cc74 100644
--- a/generated/google/apis/file_v1/classes.rb
+++ b/generated/google/apis/file_v1/classes.rb
@@ -80,6 +80,353 @@ module Google
end
end
+ # Instance represents the interface for SLM services to actuate the state
+ # of control plane resources.
+ # Example Instance in JSON, where
+ # consumer-project=snapchat,
+ # producer-project=cloud-sql:
+ # ```json
+ # Instance:
+ # `
+ # "name":
+ # "projects/snapchat/locations/us-east1/instances/prod-instance",
+ # "create_time": `
+ # "seconds": 1526406431,
+ # `,
+ # "labels": `
+ # "env": "prod",
+ # "foo": "bar"
+ # `,
+ # "state": READY,
+ # "software_version": "cloud-sql-09-28-2018",
+ # "maintenance_policy_names": `
+ # "UpdatePolicy":
+ # "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-
+ # policy",
+ # `
+ # "rollout_metadata": `
+ # "projects/cloud-sql/locations/global/rolloutTypes/software_update": `
+ # "release":
+ # "projects/cloud-sql/locations/global/releases/cloud-sql-09-28-2018",
+ # "rollout":
+ # "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-28-2018-
+ # canary",
+ # `
+ # "projects/cloud-sql/locations/global/rolloutTypes/instance_restart": `
+ # "release":
+ # "projects/cloud-sql/locations/global/releases/cloud-sql-09-20-repair",
+ # "rollout":
+ # "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-20-repair-
+ # 100-percent",
+ # `
+ # `
+ # "tenant_project_id": "cloud-sql-test-tenant",
+ # "producer_metadata": `
+ # "cloud-sql-tier": "basic",
+ # "cloud-sql-instance-size": "1G",
+ # `,
+ # "provisioned_resources": [
+ # `
+ # "resource-type": "compute-instance",
+ # "resource-url":
+ # "https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-
+ # b/instances/vm-1",
+ # `
+ # ],
+ # `
+ # ```
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
+ include Google::Apis::Core::Hashable
+
+ # Output only. Timestamp when the resource was created.
+ # Corresponds to the JSON property `createTime`
+ # @return [String]
+ attr_accessor :create_time
+
+ # Optional. Resource labels to represent user provided metadata. Each label
+ # is a key-value pair, where both the key and the value are arbitrary strings
+ # provided by the user.
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # The MaintenancePolicies that have been attached to the instance.
+ # The key must be of the type name of the oneof policy name defined in
+ # MaintenancePolicy, and the referenced policy must define the same policy
+ # type. For complete details of MaintenancePolicy, please refer to
+ # //depot/google3/google/cloud/saasaccelerator/maintenancepolicy/api/v1/
+ # maintenance_policy_resources.proto
+ # Corresponds to the JSON property `maintenancePolicyNames`
+ # @return [Hash]
+ attr_accessor :maintenance_policy_names
+
+ # Unique name of the resource. It uses the form:
+ # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Output only. Custom string attributes used primarily to expose
+ # producer-specific information in monitoring dashboards.
+ # See go/get-instance-metadata.
+ # Corresponds to the JSON property `producerMetadata`
+ # @return [Hash]
+ attr_accessor :producer_metadata
+
+ # Output only. The list of data plane resources provisioned for this
+ # instance, e.g. compute VMs. See go/get-instance-metadata.
+ # Corresponds to the JSON property `provisionedResources`
+ # @return [Array]
+ attr_accessor :provisioned_resources
+
+ # The map between RolloutType and the corresponding RolloutMetadata.
+ # This is only mutated by rollout service. For actuation implementation,
+ # this information is pass-through for Rollout management. Producer shall
+ # not modify by itself.
+ # For update of a single entry in this map, the update field mask shall
+ # follow this sementics: go/advanced-field-masks
+ # Corresponds to the JSON property `rolloutMetadata`
+ # @return [Hash]
+ attr_accessor :rollout_metadata
+
+ # SloMetadata contains resources required for proper SLO classification of the
+ # instance.
+ # Corresponds to the JSON property `sloMetadata`
+ # @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
+ attr_accessor :slo_metadata
+
+ # Software versions that are used to deploy this instance. This can be
+ # mutated by rollout services.
+ # Corresponds to the JSON property `softwareVersions`
+ # @return [Hash]
+ attr_accessor :software_versions
+
+ # Output only. Current lifecycle state of the resource (e.g. if it's being
+ # created or ready to use).
+ # Corresponds to the JSON property `state`
+ # @return [String]
+ attr_accessor :state
+
+ # Output only. ID of the associated GCP tenant project.
+ # See go/get-instance-metadata.
+ # Corresponds to the JSON property `tenantProjectId`
+ # @return [String]
+ attr_accessor :tenant_project_id
+
+ # Output only. Timestamp when the resource was last modified.
+ # Corresponds to the JSON property `updateTime`
+ # @return [String]
+ attr_accessor :update_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @create_time = args[:create_time] if args.key?(:create_time)
+ @labels = args[:labels] if args.key?(:labels)
+ @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
+ @name = args[:name] if args.key?(:name)
+ @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
+ @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
+ @rollout_metadata = args[:rollout_metadata] if args.key?(:rollout_metadata)
+ @slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
+ @software_versions = args[:software_versions] if args.key?(:software_versions)
+ @state = args[:state] if args.key?(:state)
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
+ @update_time = args[:update_time] if args.key?(:update_time)
+ end
+ end
+
+ # NotificationMetadata is the notification state for an instance.
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
+ include Google::Apis::Core::Hashable
+
+ # Whether the instance update has been rescheduled.
+ # Corresponds to the JSON property `rescheduled`
+ # @return [Boolean]
+ attr_accessor :rescheduled
+ alias_method :rescheduled?, :rescheduled
+
+ # The scheduled end time for the maintenance window during which update
+ # can be performed on the instance.
+ # Corresponds to the JSON property `scheduledEndTime`
+ # @return [String]
+ attr_accessor :scheduled_end_time
+
+ # The scheduled start time for the maintenance window during which
+ # update can be performed on the instance.
+ # Corresponds to the JSON property `scheduledStartTime`
+ # @return [String]
+ attr_accessor :scheduled_start_time
+
+ # The target release to be applied to the instance.
+ # Corresponds to the JSON property `targetRelease`
+ # @return [String]
+ attr_accessor :target_release
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @rescheduled = args[:rescheduled] if args.key?(:rescheduled)
+ @scheduled_end_time = args[:scheduled_end_time] if args.key?(:scheduled_end_time)
+ @scheduled_start_time = args[:scheduled_start_time] if args.key?(:scheduled_start_time)
+ @target_release = args[:target_release] if args.key?(:target_release)
+ end
+ end
+
+ # Describes provisioned dataplane resources.
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
+ include Google::Apis::Core::Hashable
+
+ # Type of the resource. This can be either a GCP resource or a custom one
+ # (e.g. another cloud provider's VM). For GCP compute resources use singular
+ # form of the names listed in GCP compute API documentation
+ # (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
+ # 'compute-', for example: 'compute-instance', 'compute-disk',
+ # 'compute-autoscaler'.
+ # Corresponds to the JSON property `resourceType`
+ # @return [String]
+ attr_accessor :resource_type
+
+ # URL identifying the resource, e.g.
+ # "https://www.googleapis.com/compute/v1/projects/...)".
+ # Corresponds to the JSON property `resourceUrl`
+ # @return [String]
+ attr_accessor :resource_url
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
+ @resource_url = args[:resource_url] if args.key?(:resource_url)
+ end
+ end
+
+ # RolloutMetadata for an actuation instance. It maps to a single RolloutType.
+ class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
+ include Google::Apis::Core::Hashable
+
+ # NotificationMetadata is the notification state for an instance.
+ # Corresponds to the JSON property `notification`
+ # @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata]
+ attr_accessor :notification
+
+ # The last Release that has been applied to the instance.
+ # Corresponds to the JSON property `releaseName`
+ # @return [String]
+ attr_accessor :release_name
+
+ # The last rollout that has been applied to the instance.
+ # Corresponds to the JSON property `rolloutName`
+ # @return [String]
+ attr_accessor :rollout_name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @notification = args[:notification] if args.key?(:notification)
+ @release_name = args[:release_name] if args.key?(:release_name)
+ @rollout_name = args[:rollout_name] if args.key?(:rollout_name)
+ end
+ end
+
+ # A temporal SLO exclusion specification.
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
+ include Google::Apis::Core::Hashable
+
+ # Exclusion duration. No restrictions on the possible values.
+ # When an ongoing operation is taking longer than initially expected,
+ # an existing entry in the exclusion list can be updated by extending the
+ # duration. This is supported by the subsystem exporting eligibility data
+ # as long as such extension is committed at least 10 minutes before the
+ # original exclusion expiration - otherwise it is possible that there will
+ # be "gaps" in the exclusion application in the exported timeseries.
+ # Corresponds to the JSON property `exclusionDuration`
+ # @return [String]
+ attr_accessor :exclusion_duration
+
+ # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
+ # Corresponds to the JSON property `exclusionStartTime`
+ # @return [String]
+ attr_accessor :exclusion_start_time
+
+ # Human-readable reason for the exclusion.
+ # This should be a static string (e.g. "Disruptive update in progress")
+ # and should not contain dynamically generated data (e.g. instance name).
+ # Can be left empty.
+ # Corresponds to the JSON property `reason`
+ # @return [String]
+ attr_accessor :reason
+
+ # Name of an SLI/SLO that this exclusion applies to. Can be left empty,
+ # signaling that the instance should be excluded from all SLI/SLOs defined
+ # in the service SLO configuration.
+ # Corresponds to the JSON property `sloName`
+ # @return [String]
+ attr_accessor :slo_name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
+ @exclusion_start_time = args[:exclusion_start_time] if args.key?(:exclusion_start_time)
+ @reason = args[:reason] if args.key?(:reason)
+ @slo_name = args[:slo_name] if args.key?(:slo_name)
+ end
+ end
+
+ # SloMetadata contains resources required for proper SLO classification of the
+ # instance.
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
+ include Google::Apis::Core::Hashable
+
+ # List of SLO exclusion windows. When multiple entries in the list match
+ # (matching the exclusion time-window against current time point)
+ # the exclusion reason used in the first matching entry will be published.
+ # It is not needed to include expired exclusion in this list, as only the
+ # currently applicable exclusions are taken into account by the eligibility
+ # exporting subsystem (the historical state of exclusions will be reflected
+ # in the historically produced timeseries regardless of the current state).
+ # This field can be used to mark the instance as temporary ineligible
+ # for the purpose of SLO calculation. For permanent instance SLO exclusion,
+ # a dedicated tier name can be used that does not have targets specified
+ # in the service SLO configuration.
+ # Corresponds to the JSON property `exclusions`
+ # @return [Array]
+ attr_accessor :exclusions
+
+ # Name of the SLO tier the Instance belongs to. This name will be expected to
+ # match the tiers specified in the service SLO configuration.
+ # Field is mandatory and must not be empty.
+ # Corresponds to the JSON property `tier`
+ # @return [String]
+ attr_accessor :tier
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
+ @tier = args[:tier] if args.key?(:tier)
+ end
+ end
+
# A Cloud Filestore instance.
class Instance
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/file_v1/representations.rb b/generated/google/apis/file_v1/representations.rb
index 9b28cede6..b5e6c8abc 100644
--- a/generated/google/apis/file_v1/representations.rb
+++ b/generated/google/apis/file_v1/representations.rb
@@ -40,6 +40,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -114,6 +150,74 @@ module Google
end
end
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :create_time, as: 'createTime'
+ hash :labels, as: 'labels'
+ hash :maintenance_policy_names, as: 'maintenancePolicyNames'
+ property :name, as: 'name'
+ hash :producer_metadata, as: 'producerMetadata'
+ collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
+
+ hash :rollout_metadata, as: 'rolloutMetadata', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata::Representation
+
+ property :slo_metadata, as: 'sloMetadata', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
+
+ hash :software_versions, as: 'softwareVersions'
+ property :state, as: 'state'
+ property :tenant_project_id, as: 'tenantProjectId'
+ property :update_time, as: 'updateTime'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :rescheduled, as: 'rescheduled'
+ property :scheduled_end_time, as: 'scheduledEndTime'
+ property :scheduled_start_time, as: 'scheduledStartTime'
+ property :target_release, as: 'targetRelease'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :resource_type, as: 'resourceType'
+ property :resource_url, as: 'resourceUrl'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :notification, as: 'notification', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata::Representation
+
+ property :release_name, as: 'releaseName'
+ property :rollout_name, as: 'rolloutName'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :exclusion_duration, as: 'exclusionDuration'
+ property :exclusion_start_time, as: 'exclusionStartTime'
+ property :reason, as: 'reason'
+ property :slo_name, as: 'sloName'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
+
+ property :tier, as: 'tier'
+ end
+ end
+
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/file_v1beta1.rb b/generated/google/apis/file_v1beta1.rb
index cbf2419d1..9bb5cecd7 100644
--- a/generated/google/apis/file_v1beta1.rb
+++ b/generated/google/apis/file_v1beta1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/filestore/
module FileV1beta1
VERSION = 'V1beta1'
- REVISION = '20190312'
+ REVISION = '20190416'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/file_v1beta1/classes.rb b/generated/google/apis/file_v1beta1/classes.rb
index 61e6d77a0..6f50ad0dd 100644
--- a/generated/google/apis/file_v1beta1/classes.rb
+++ b/generated/google/apis/file_v1beta1/classes.rb
@@ -80,6 +80,353 @@ module Google
end
end
+ # Instance represents the interface for SLM services to actuate the state
+ # of control plane resources.
+ # Example Instance in JSON, where
+ # consumer-project=snapchat,
+ # producer-project=cloud-sql:
+ # ```json
+ # Instance:
+ # `
+ # "name":
+ # "projects/snapchat/locations/us-east1/instances/prod-instance",
+ # "create_time": `
+ # "seconds": 1526406431,
+ # `,
+ # "labels": `
+ # "env": "prod",
+ # "foo": "bar"
+ # `,
+ # "state": READY,
+ # "software_version": "cloud-sql-09-28-2018",
+ # "maintenance_policy_names": `
+ # "UpdatePolicy":
+ # "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-
+ # policy",
+ # `
+ # "rollout_metadata": `
+ # "projects/cloud-sql/locations/global/rolloutTypes/software_update": `
+ # "release":
+ # "projects/cloud-sql/locations/global/releases/cloud-sql-09-28-2018",
+ # "rollout":
+ # "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-28-2018-
+ # canary",
+ # `
+ # "projects/cloud-sql/locations/global/rolloutTypes/instance_restart": `
+ # "release":
+ # "projects/cloud-sql/locations/global/releases/cloud-sql-09-20-repair",
+ # "rollout":
+ # "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-20-repair-
+ # 100-percent",
+ # `
+ # `
+ # "tenant_project_id": "cloud-sql-test-tenant",
+ # "producer_metadata": `
+ # "cloud-sql-tier": "basic",
+ # "cloud-sql-instance-size": "1G",
+ # `,
+ # "provisioned_resources": [
+ # `
+ # "resource-type": "compute-instance",
+ # "resource-url":
+ # "https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-
+ # b/instances/vm-1",
+ # `
+ # ],
+ # `
+ # ```
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
+ include Google::Apis::Core::Hashable
+
+ # Output only. Timestamp when the resource was created.
+ # Corresponds to the JSON property `createTime`
+ # @return [String]
+ attr_accessor :create_time
+
+ # Optional. Resource labels to represent user provided metadata. Each label
+ # is a key-value pair, where both the key and the value are arbitrary strings
+ # provided by the user.
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # The MaintenancePolicies that have been attached to the instance.
+ # The key must be of the type name of the oneof policy name defined in
+ # MaintenancePolicy, and the referenced policy must define the same policy
+ # type. For complete details of MaintenancePolicy, please refer to
+ # //depot/google3/google/cloud/saasaccelerator/maintenancepolicy/api/v1/
+ # maintenance_policy_resources.proto
+ # Corresponds to the JSON property `maintenancePolicyNames`
+ # @return [Hash]
+ attr_accessor :maintenance_policy_names
+
+ # Unique name of the resource. It uses the form:
+ # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Output only. Custom string attributes used primarily to expose
+ # producer-specific information in monitoring dashboards.
+ # See go/get-instance-metadata.
+ # Corresponds to the JSON property `producerMetadata`
+ # @return [Hash]
+ attr_accessor :producer_metadata
+
+ # Output only. The list of data plane resources provisioned for this
+ # instance, e.g. compute VMs. See go/get-instance-metadata.
+ # Corresponds to the JSON property `provisionedResources`
+ # @return [Array]
+ attr_accessor :provisioned_resources
+
+ # The map between RolloutType and the corresponding RolloutMetadata.
+ # This is only mutated by rollout service. For actuation implementation,
+ # this information is pass-through for Rollout management. Producer shall
+ # not modify by itself.
+ # For update of a single entry in this map, the update field mask shall
+ # follow this sementics: go/advanced-field-masks
+ # Corresponds to the JSON property `rolloutMetadata`
+ # @return [Hash]
+ attr_accessor :rollout_metadata
+
+ # SloMetadata contains resources required for proper SLO classification of the
+ # instance.
+ # Corresponds to the JSON property `sloMetadata`
+ # @return [Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
+ attr_accessor :slo_metadata
+
+ # Software versions that are used to deploy this instance. This can be
+ # mutated by rollout services.
+ # Corresponds to the JSON property `softwareVersions`
+ # @return [Hash]
+ attr_accessor :software_versions
+
+ # Output only. Current lifecycle state of the resource (e.g. if it's being
+ # created or ready to use).
+ # Corresponds to the JSON property `state`
+ # @return [String]
+ attr_accessor :state
+
+ # Output only. ID of the associated GCP tenant project.
+ # See go/get-instance-metadata.
+ # Corresponds to the JSON property `tenantProjectId`
+ # @return [String]
+ attr_accessor :tenant_project_id
+
+ # Output only. Timestamp when the resource was last modified.
+ # Corresponds to the JSON property `updateTime`
+ # @return [String]
+ attr_accessor :update_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @create_time = args[:create_time] if args.key?(:create_time)
+ @labels = args[:labels] if args.key?(:labels)
+ @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
+ @name = args[:name] if args.key?(:name)
+ @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
+ @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
+ @rollout_metadata = args[:rollout_metadata] if args.key?(:rollout_metadata)
+ @slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
+ @software_versions = args[:software_versions] if args.key?(:software_versions)
+ @state = args[:state] if args.key?(:state)
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
+ @update_time = args[:update_time] if args.key?(:update_time)
+ end
+ end
+
+ # NotificationMetadata is the notification state for an instance.
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
+ include Google::Apis::Core::Hashable
+
+ # Whether the instance update has been rescheduled.
+ # Corresponds to the JSON property `rescheduled`
+ # @return [Boolean]
+ attr_accessor :rescheduled
+ alias_method :rescheduled?, :rescheduled
+
+ # The scheduled end time for the maintenance window during which update
+ # can be performed on the instance.
+ # Corresponds to the JSON property `scheduledEndTime`
+ # @return [String]
+ attr_accessor :scheduled_end_time
+
+ # The scheduled start time for the maintenance window during which
+ # update can be performed on the instance.
+ # Corresponds to the JSON property `scheduledStartTime`
+ # @return [String]
+ attr_accessor :scheduled_start_time
+
+ # The target release to be applied to the instance.
+ # Corresponds to the JSON property `targetRelease`
+ # @return [String]
+ attr_accessor :target_release
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @rescheduled = args[:rescheduled] if args.key?(:rescheduled)
+ @scheduled_end_time = args[:scheduled_end_time] if args.key?(:scheduled_end_time)
+ @scheduled_start_time = args[:scheduled_start_time] if args.key?(:scheduled_start_time)
+ @target_release = args[:target_release] if args.key?(:target_release)
+ end
+ end
+
+ # Describes provisioned dataplane resources.
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
+ include Google::Apis::Core::Hashable
+
+ # Type of the resource. This can be either a GCP resource or a custom one
+ # (e.g. another cloud provider's VM). For GCP compute resources use singular
+ # form of the names listed in GCP compute API documentation
+ # (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
+ # 'compute-', for example: 'compute-instance', 'compute-disk',
+ # 'compute-autoscaler'.
+ # Corresponds to the JSON property `resourceType`
+ # @return [String]
+ attr_accessor :resource_type
+
+ # URL identifying the resource, e.g.
+ # "https://www.googleapis.com/compute/v1/projects/...)".
+ # Corresponds to the JSON property `resourceUrl`
+ # @return [String]
+ attr_accessor :resource_url
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
+ @resource_url = args[:resource_url] if args.key?(:resource_url)
+ end
+ end
+
+ # RolloutMetadata for an actuation instance. It maps to a single RolloutType.
+ class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
+ include Google::Apis::Core::Hashable
+
+ # NotificationMetadata is the notification state for an instance.
+ # Corresponds to the JSON property `notification`
+ # @return [Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata]
+ attr_accessor :notification
+
+ # The last Release that has been applied to the instance.
+ # Corresponds to the JSON property `releaseName`
+ # @return [String]
+ attr_accessor :release_name
+
+ # The last rollout that has been applied to the instance.
+ # Corresponds to the JSON property `rolloutName`
+ # @return [String]
+ attr_accessor :rollout_name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @notification = args[:notification] if args.key?(:notification)
+ @release_name = args[:release_name] if args.key?(:release_name)
+ @rollout_name = args[:rollout_name] if args.key?(:rollout_name)
+ end
+ end
+
+ # A temporal SLO exclusion specification.
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
+ include Google::Apis::Core::Hashable
+
+ # Exclusion duration. No restrictions on the possible values.
+ # When an ongoing operation is taking longer than initially expected,
+ # an existing entry in the exclusion list can be updated by extending the
+ # duration. This is supported by the subsystem exporting eligibility data
+ # as long as such extension is committed at least 10 minutes before the
+ # original exclusion expiration - otherwise it is possible that there will
+ # be "gaps" in the exclusion application in the exported timeseries.
+ # Corresponds to the JSON property `exclusionDuration`
+ # @return [String]
+ attr_accessor :exclusion_duration
+
+ # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
+ # Corresponds to the JSON property `exclusionStartTime`
+ # @return [String]
+ attr_accessor :exclusion_start_time
+
+ # Human-readable reason for the exclusion.
+ # This should be a static string (e.g. "Disruptive update in progress")
+ # and should not contain dynamically generated data (e.g. instance name).
+ # Can be left empty.
+ # Corresponds to the JSON property `reason`
+ # @return [String]
+ attr_accessor :reason
+
+ # Name of an SLI/SLO that this exclusion applies to. Can be left empty,
+ # signaling that the instance should be excluded from all SLI/SLOs defined
+ # in the service SLO configuration.
+ # Corresponds to the JSON property `sloName`
+ # @return [String]
+ attr_accessor :slo_name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
+ @exclusion_start_time = args[:exclusion_start_time] if args.key?(:exclusion_start_time)
+ @reason = args[:reason] if args.key?(:reason)
+ @slo_name = args[:slo_name] if args.key?(:slo_name)
+ end
+ end
+
+ # SloMetadata contains resources required for proper SLO classification of the
+ # instance.
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
+ include Google::Apis::Core::Hashable
+
+ # List of SLO exclusion windows. When multiple entries in the list match
+ # (matching the exclusion time-window against current time point)
+ # the exclusion reason used in the first matching entry will be published.
+ # It is not needed to include expired exclusion in this list, as only the
+ # currently applicable exclusions are taken into account by the eligibility
+ # exporting subsystem (the historical state of exclusions will be reflected
+ # in the historically produced timeseries regardless of the current state).
+ # This field can be used to mark the instance as temporary ineligible
+ # for the purpose of SLO calculation. For permanent instance SLO exclusion,
+ # a dedicated tier name can be used that does not have targets specified
+ # in the service SLO configuration.
+ # Corresponds to the JSON property `exclusions`
+ # @return [Array]
+ attr_accessor :exclusions
+
+ # Name of the SLO tier the Instance belongs to. This name will be expected to
+ # match the tiers specified in the service SLO configuration.
+ # Field is mandatory and must not be empty.
+ # Corresponds to the JSON property `tier`
+ # @return [String]
+ attr_accessor :tier
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
+ @tier = args[:tier] if args.key?(:tier)
+ end
+ end
+
# A Cloud Filestore instance.
class Instance
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/file_v1beta1/representations.rb b/generated/google/apis/file_v1beta1/representations.rb
index afcf043b5..c9a010a9d 100644
--- a/generated/google/apis/file_v1beta1/representations.rb
+++ b/generated/google/apis/file_v1beta1/representations.rb
@@ -40,6 +40,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -114,6 +150,74 @@ module Google
end
end
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :create_time, as: 'createTime'
+ hash :labels, as: 'labels'
+ hash :maintenance_policy_names, as: 'maintenancePolicyNames'
+ property :name, as: 'name'
+ hash :producer_metadata, as: 'producerMetadata'
+ collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
+
+ hash :rollout_metadata, as: 'rolloutMetadata', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata::Representation
+
+ property :slo_metadata, as: 'sloMetadata', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
+
+ hash :software_versions, as: 'softwareVersions'
+ property :state, as: 'state'
+ property :tenant_project_id, as: 'tenantProjectId'
+ property :update_time, as: 'updateTime'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :rescheduled, as: 'rescheduled'
+ property :scheduled_end_time, as: 'scheduledEndTime'
+ property :scheduled_start_time, as: 'scheduledStartTime'
+ property :target_release, as: 'targetRelease'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :resource_type, as: 'resourceType'
+ property :resource_url, as: 'resourceUrl'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :notification, as: 'notification', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata::Representation
+
+ property :release_name, as: 'releaseName'
+ property :rollout_name, as: 'rolloutName'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :exclusion_duration, as: 'exclusionDuration'
+ property :exclusion_start_time, as: 'exclusionStartTime'
+ property :reason, as: 'reason'
+ property :slo_name, as: 'sloName'
+ end
+ end
+
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
+
+ property :tier, as: 'tier'
+ end
+ end
+
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/firebasedynamiclinks_v1.rb b/generated/google/apis/firebasedynamiclinks_v1.rb
index 45ef691af..2cbe16c48 100644
--- a/generated/google/apis/firebasedynamiclinks_v1.rb
+++ b/generated/google/apis/firebasedynamiclinks_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/dynamic-links/
module FirebasedynamiclinksV1
VERSION = 'V1'
- REVISION = '20190304'
+ REVISION = '20190409'
# View and administer all your Firebase data and settings
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
diff --git a/generated/google/apis/firebasedynamiclinks_v1/classes.rb b/generated/google/apis/firebasedynamiclinks_v1/classes.rb
index 51002bc2a..5d4b5bc24 100644
--- a/generated/google/apis/firebasedynamiclinks_v1/classes.rb
+++ b/generated/google/apis/firebasedynamiclinks_v1/classes.rb
@@ -100,8 +100,8 @@ module Google
# Full long Dynamic Link URL with desired query parameters specified.
# For example,
# "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
- # [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-
- # shortener).
+ # [Learn
+ # more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener).
# Corresponds to the JSON property `longDynamicLink`
# @return [String]
attr_accessor :long_dynamic_link
@@ -181,8 +181,8 @@ module Google
# Full long Dynamic Link URL with desired query parameters specified.
# For example,
# "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
- # [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-
- # shortener).
+ # [Learn
+ # more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener).
# Corresponds to the JSON property `longDynamicLink`
# @return [String]
attr_accessor :long_dynamic_link
diff --git a/generated/google/apis/firebasehosting_v1beta1.rb b/generated/google/apis/firebasehosting_v1beta1.rb
index 71e22a86d..8f5bb035a 100644
--- a/generated/google/apis/firebasehosting_v1beta1.rb
+++ b/generated/google/apis/firebasehosting_v1beta1.rb
@@ -27,7 +27,7 @@ module Google
# @see https://firebase.google.com/docs/hosting/
module FirebasehostingV1beta1
VERSION = 'V1beta1'
- REVISION = '20190205'
+ REVISION = '20190418'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/firebasehosting_v1beta1/classes.rb b/generated/google/apis/firebasehosting_v1beta1/classes.rb
index 95d940271..86b3e89b8 100644
--- a/generated/google/apis/firebasehosting_v1beta1/classes.rb
+++ b/generated/google/apis/firebasehosting_v1beta1/classes.rb
@@ -102,21 +102,21 @@ module Google
end
end
- # A configured rewrite that will direct any requests to a Cloud Run service. If
- # the Cloud Run service does not exist when setting or updating your Firebase
- # Hosting configuration then the request will fail. Any errors from the Cloud
- # Run service (including when the service has been deleted) will be passed back
- # down to the end user.
+ # A configured rewrite that directs requests to a Cloud Run service. If the
+ # Cloud Run service does not exist when setting or updating your Firebase
+ # Hosting configuration, then the request fails. Any errors from the Cloud Run
+ # service are passed to the end user (for example, if you delete a service, any
+ # requests directed to that service receive a `404` error).
class CloudRunRewrite
include Google::Apis::Core::Hashable
- # Optional. The region where the Cloud Run service is hosted. Defaults to
- # `us-central1` if not supplied.
+ # Optional. User-provided region where the Cloud Run service is hosted.
+ # Defaults to `us-central1` if not supplied.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region
- # Required. User supplied ID of the Cloud Run service.
+ # Required. User-defined ID of the Cloud Run service.
# Corresponds to the JSON property `serviceId`
# @return [String]
attr_accessor :service_id
@@ -583,11 +583,11 @@ module Google
# @return [String]
attr_accessor :path
- # A configured rewrite that will direct any requests to a Cloud Run service. If
- # the Cloud Run service does not exist when setting or updating your Firebase
- # Hosting configuration then the request will fail. Any errors from the Cloud
- # Run service (including when the service has been deleted) will be passed back
- # down to the end user.
+ # A configured rewrite that directs requests to a Cloud Run service. If the
+ # Cloud Run service does not exist when setting or updating your Firebase
+ # Hosting configuration, then the request fails. Any errors from the Cloud Run
+ # service are passed to the end user (for example, if you delete a service, any
+ # requests directed to that service receive a `404` error).
# Corresponds to the JSON property `run`
# @return [Google::Apis::FirebasehostingV1beta1::CloudRunRewrite]
attr_accessor :run
diff --git a/generated/google/apis/firebaserules_v1.rb b/generated/google/apis/firebaserules_v1.rb
index 74c2d8329..948b1a7df 100644
--- a/generated/google/apis/firebaserules_v1.rb
+++ b/generated/google/apis/firebaserules_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://firebase.google.com/docs/storage/security
module FirebaserulesV1
VERSION = 'V1'
- REVISION = '20190319'
+ REVISION = '20190417'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/firebaserules_v1/classes.rb b/generated/google/apis/firebaserules_v1/classes.rb
index eef63317a..f921fbb75 100644
--- a/generated/google/apis/firebaserules_v1/classes.rb
+++ b/generated/google/apis/firebaserules_v1/classes.rb
@@ -579,8 +579,16 @@ module Google
# @return [String]
attr_accessor :state
- # The set of visited expressions for a given test. This returns positions
- # and evaluation results of all visited expressions.
+ # The set of visited permission expressions for a given test. This returns
+ # the positions and evaluation results of all visited permission
+ # expressions which were relevant to the test case, e.g.
+ # ```
+ # match /path `
+ # allow read if:
+ # `
+ # ```
+ # For a detailed report of the intermediate evaluation states, see the
+ # `expression_reports` field
# Corresponds to the JSON property `visitedExpressions`
# @return [Array]
attr_accessor :visited_expressions
diff --git a/generated/google/apis/firestore_v1.rb b/generated/google/apis/firestore_v1.rb
index 9dbb484ec..ef8206865 100644
--- a/generated/google/apis/firestore_v1.rb
+++ b/generated/google/apis/firestore_v1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/firestore
module FirestoreV1
VERSION = 'V1'
- REVISION = '20181222'
+ REVISION = '20190323'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/firestore_v1/classes.rb b/generated/google/apis/firestore_v1/classes.rb
index b4a25b134..09567b96b 100644
--- a/generated/google/apis/firestore_v1/classes.rb
+++ b/generated/google/apis/firestore_v1/classes.rb
@@ -1431,14 +1431,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@@ -2053,14 +2053,14 @@ 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). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@@ -2265,14 +2265,14 @@ module Google
class TargetChange
include Google::Apis::Core::Hashable
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
diff --git a/generated/google/apis/firestore_v1beta1.rb b/generated/google/apis/firestore_v1beta1.rb
index 23981a392..7e69a7e3b 100644
--- a/generated/google/apis/firestore_v1beta1.rb
+++ b/generated/google/apis/firestore_v1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/firestore
module FirestoreV1beta1
VERSION = 'V1beta1'
- REVISION = '20181222'
+ REVISION = '20190323'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/firestore_v1beta1/classes.rb b/generated/google/apis/firestore_v1beta1/classes.rb
index 0166fd99d..1e15e13aa 100644
--- a/generated/google/apis/firestore_v1beta1/classes.rb
+++ b/generated/google/apis/firestore_v1beta1/classes.rb
@@ -1138,14 +1138,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@@ -1688,14 +1688,14 @@ 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). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@@ -1900,14 +1900,14 @@ module Google
class TargetChange
include Google::Apis::Core::Hashable
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
diff --git a/generated/google/apis/firestore_v1beta2.rb b/generated/google/apis/firestore_v1beta2.rb
index b468885b8..c86f4d5e2 100644
--- a/generated/google/apis/firestore_v1beta2.rb
+++ b/generated/google/apis/firestore_v1beta2.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/firestore
module FirestoreV1beta2
VERSION = 'V1beta2'
- REVISION = '20181002'
+ REVISION = '20190323'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/firestore_v1beta2/classes.rb b/generated/google/apis/firestore_v1beta2/classes.rb
index 9d7e7a6d0..455e4e42b 100644
--- a/generated/google/apis/firestore_v1beta2/classes.rb
+++ b/generated/google/apis/firestore_v1beta2/classes.rb
@@ -678,14 +678,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@@ -762,14 +762,14 @@ 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). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
diff --git a/generated/google/apis/fitness_v1.rb b/generated/google/apis/fitness_v1.rb
index 81a60c8b7..630242173 100644
--- a/generated/google/apis/fitness_v1.rb
+++ b/generated/google/apis/fitness_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fit/rest/
module FitnessV1
VERSION = 'V1'
- REVISION = '20190312'
+ REVISION = '20190408'
# View your activity information in Google Fit
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
diff --git a/generated/google/apis/fitness_v1/classes.rb b/generated/google/apis/fitness_v1/classes.rb
index 06eebf0d1..2da87e8db 100644
--- a/generated/google/apis/fitness_v1/classes.rb
+++ b/generated/google/apis/fitness_v1/classes.rb
@@ -478,7 +478,7 @@ module Google
# The exact format of the data stream ID created by a REST client is: type:
# dataType.name:developer project number:device.manufacturer:device.model:device.
# uid:dataStreamName
- # When any of the optional fields that comprise of the data stream ID are blank,
+ # When any of the optional fields that make up the data stream ID are absent,
# they will be omitted from the data stream ID. The minimum viable data stream
# ID would be: type:dataType.name:developer project number
# Finally, the developer project number is obfuscated when read by any REST or
diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb
index 8edebba80..763d63823 100644
--- a/generated/google/apis/games_v1.rb
+++ b/generated/google/apis/games_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
- REVISION = '20190222'
+ REVISION = '20190404'
# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
@@ -33,7 +33,7 @@ module Google
# Create, edit, and delete your Google Play Games activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
- # Know who you are on Google
+ # Associate you with your personal info on Google
AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
end
end
diff --git a/generated/google/apis/gmail_v1.rb b/generated/google/apis/gmail_v1.rb
index 45222c066..ee765fc33 100644
--- a/generated/google/apis/gmail_v1.rb
+++ b/generated/google/apis/gmail_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/gmail/api/
module GmailV1
VERSION = 'V1'
- REVISION = '20190120'
+ REVISION = '20190422'
# Read, compose, send, and permanently delete all your email from Gmail
AUTH_SCOPE = 'https://mail.google.com/'
diff --git a/generated/google/apis/gmail_v1/classes.rb b/generated/google/apis/gmail_v1/classes.rb
index 833e7dc63..906115b30 100644
--- a/generated/google/apis/gmail_v1/classes.rb
+++ b/generated/google/apis/gmail_v1/classes.rb
@@ -635,6 +635,35 @@ module Google
end
end
+ # Language settings for an account. These settings correspond to the "Language
+ # settings" feature in the web interface.
+ class LanguageSettings
+ include Google::Apis::Core::Hashable
+
+ # The language to display Gmail in, formatted as an RFC 3066 Language Tag (for
+ # example en-GB, fr or ja for British English, French, or Japanese respectively).
+ # The set of languages supported by Gmail evolves over time, so please refer to
+ # the "Language" dropdown in the Gmail settings for all available options, as
+ # described in the language settings help article. A table of sample values is
+ # also provided in the Managing Language Settings guide
+ # Not all Gmail clients can display the same set of languages. In the case that
+ # a user's display language is not available for use on a particular client,
+ # said client automatically chooses to display in the closest supported variant (
+ # or a reasonable default).
+ # Corresponds to the JSON property `displayLanguage`
+ # @return [String]
+ attr_accessor :display_language
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @display_language = args[:display_language] if args.key?(:display_language)
+ end
+ end
+
# Response for the ListDelegates method.
class ListDelegatesResponse
include Google::Apis::Core::Hashable
diff --git a/generated/google/apis/gmail_v1/representations.rb b/generated/google/apis/gmail_v1/representations.rb
index 60adf5b29..76278e038 100644
--- a/generated/google/apis/gmail_v1/representations.rb
+++ b/generated/google/apis/gmail_v1/representations.rb
@@ -124,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
+ class LanguageSettings
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ListDelegatesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -445,6 +451,13 @@ module Google
end
end
+ class LanguageSettings
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :display_language, as: 'displayLanguage'
+ end
+ end
+
class ListDelegatesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
diff --git a/generated/google/apis/gmail_v1/service.rb b/generated/google/apis/gmail_v1/service.rb
index 902ffeec9..0e91590a3 100644
--- a/generated/google/apis/gmail_v1/service.rb
+++ b/generated/google/apis/gmail_v1/service.rb
@@ -1296,6 +1296,40 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Gets language settings.
+ # @param [String] user_id
+ # User's email address. The special value "me" can be used to indicate the
+ # authenticated user.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::GmailV1::LanguageSettings] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::GmailV1::LanguageSettings]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_user_setting_language(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:get, '{userId}/settings/language', options)
+ command.response_representation = Google::Apis::GmailV1::LanguageSettings::Representation
+ command.response_class = Google::Apis::GmailV1::LanguageSettings
+ command.params['userId'] = user_id unless user_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Gets POP settings.
# @param [String] user_id
# User's email address. The special value "me" can be used to indicate the
@@ -1441,6 +1475,48 @@ module Google
execute_or_queue_command(command, &block)
end
+ # Updates language settings.
+ # If successful, the return object contains the displayLanguage that was saved
+ # for the user, which may differ from the value passed into the request. This is
+ # because the requested displayLanguage may not be directly supported by Gmail
+ # but have a close variant that is, and so the variant may be chosen and saved
+ # instead.
+ # @param [String] user_id
+ # User's email address. The special value "me" can be used to indicate the
+ # authenticated user.
+ # @param [Google::Apis::GmailV1::LanguageSettings] language_settings_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
+ # @param [String] user_ip
+ # Deprecated. Please use quotaUser instead.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::GmailV1::LanguageSettings] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::GmailV1::LanguageSettings]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def update_user_setting_language(user_id, language_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ command = make_simple_command(:put, '{userId}/settings/language', options)
+ command.request_representation = Google::Apis::GmailV1::LanguageSettings::Representation
+ command.request_object = language_settings_object
+ command.response_representation = Google::Apis::GmailV1::LanguageSettings::Representation
+ command.response_class = Google::Apis::GmailV1::LanguageSettings
+ command.params['userId'] = user_id unless user_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ command.query['userIp'] = user_ip unless user_ip.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Updates POP settings.
# @param [String] user_id
# User's email address. The special value "me" can be used to indicate the
diff --git a/generated/google/apis/healthcare_v1beta1.rb b/generated/google/apis/healthcare_v1beta1.rb
new file mode 100644
index 000000000..cb8b7ca41
--- /dev/null
+++ b/generated/google/apis/healthcare_v1beta1.rb
@@ -0,0 +1,34 @@
+# Copyright 2015 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'google/apis/healthcare_v1beta1/service.rb'
+require 'google/apis/healthcare_v1beta1/classes.rb'
+require 'google/apis/healthcare_v1beta1/representations.rb'
+
+module Google
+ module Apis
+ # Cloud Healthcare API
+ #
+ # Manage, store, and access healthcare data in Google Cloud Platform.
+ #
+ # @see https://cloud.google.com/healthcare
+ module HealthcareV1beta1
+ VERSION = 'V1beta1'
+ REVISION = '20190420'
+
+ # View and manage your data across Google Cloud Platform services
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+ end
+ end
+end
diff --git a/generated/google/apis/healthcare_v1beta1/classes.rb b/generated/google/apis/healthcare_v1beta1/classes.rb
new file mode 100644
index 000000000..fb01cdb42
--- /dev/null
+++ b/generated/google/apis/healthcare_v1beta1/classes.rb
@@ -0,0 +1,2462 @@
+# 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 HealthcareV1beta1
+
+ # 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:foo@gmail.com"
+ # ]
+ # `,
+ # `
+ # "log_type": "DATA_WRITE",
+ # `,
+ # `
+ # "log_type": "ADMIN_READ",
+ # `
+ # ]
+ # `,
+ # `
+ # "service": "fooservice.googleapis.com"
+ # "audit_log_configs": [
+ # `
+ # "log_type": "DATA_READ",
+ # `,
+ # `
+ # "log_type": "DATA_WRITE",
+ # "exempted_members": [
+ # "user:bar@gmail.com"
+ # ]
+ # `
+ # ]
+ # `
+ # ]
+ # `
+ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
+ # logging. It also exempts foo@gmail.com from DATA_READ logging, and
+ # bar@gmail.com from DATA_WRITE logging.
+ class AuditConfig
+ include Google::Apis::Core::Hashable
+
+ # The configuration for logging of each type of permission.
+ # Corresponds to the JSON property `auditLogConfigs`
+ # @return [Array]
+ attr_accessor :audit_log_configs
+
+ # Specifies a service that will be enabled for audit logging.
+ # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
+ # `allServices` is a special value that covers all services.
+ # Corresponds to the JSON property `service`
+ # @return [String]
+ attr_accessor :service
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
+ @service = args[:service] if args.key?(:service)
+ end
+ end
+
+ # Provides the configuration for logging a type of permissions.
+ # Example:
+ # `
+ # "audit_log_configs": [
+ # `
+ # "log_type": "DATA_READ",
+ # "exempted_members": [
+ # "user:foo@gmail.com"
+ # ]
+ # `,
+ # `
+ # "log_type": "DATA_WRITE",
+ # `
+ # ]
+ # `
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
+ # foo@gmail.com from DATA_READ logging.
+ class AuditLogConfig
+ include Google::Apis::Core::Hashable
+
+ # Specifies the identities that do not cause logging for this type of
+ # permission.
+ # Follows the same format of Binding.members.
+ # Corresponds to the JSON property `exemptedMembers`
+ # @return [Array]
+ attr_accessor :exempted_members
+
+ # The log type that this config enables.
+ # Corresponds to the JSON property `logType`
+ # @return [String]
+ attr_accessor :log_type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
+ @log_type = args[:log_type] if args.key?(:log_type)
+ end
+ end
+
+ # Associates `members` with a `role`.
+ class Binding
+ include Google::Apis::Core::Hashable
+
+ # Represents an expression text. Example:
+ # title: "User account presence"
+ # description: "Determines whether the request has a user account"
+ # expression: "size(request.user) > 0"
+ # Corresponds to the JSON property `condition`
+ # @return [Google::Apis::HealthcareV1beta1::Expr]
+ attr_accessor :condition
+
+ # Specifies the identities requesting access for a Cloud Platform resource.
+ # `members` can have the following values:
+ # * `allUsers`: A special identifier that represents anyone who is
+ # on the internet; with or without a Google account.
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
+ # who is authenticated with a Google account or a service account.
+ # * `user:`emailid``: An email address that represents a specific Google
+ # account. For example, `alice@gmail.com` .
+ # * `serviceAccount:`emailid``: An email address that represents a service
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
+ # * `group:`emailid``: An email address that represents a Google group.
+ # For example, `admins@example.com`.
+ # * `domain:`domain``: 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]
+ attr_accessor :members
+
+ # Role that is assigned to `members`.
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+ # Corresponds to the JSON property `role`
+ # @return [String]
+ attr_accessor :role
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @condition = args[:condition] if args.key?(:condition)
+ @members = args[:members] if args.key?(:members)
+ @role = args[:role] if args.key?(:role)
+ end
+ end
+
+ # Mask a string by replacing its characters with a fixed character.
+ class CharacterMaskConfig
+ include Google::Apis::Core::Hashable
+
+ # Character to mask the sensitive values. If not supplied, defaults to "*".
+ # Corresponds to the JSON property `maskingCharacter`
+ # @return [String]
+ attr_accessor :masking_character
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @masking_character = args[:masking_character] if args.key?(:masking_character)
+ end
+ end
+
+ # Creates a new message.
+ class CreateMessageRequest
+ include Google::Apis::Core::Hashable
+
+ # A complete HL7v2 message.
+ # See http://www.hl7.org/implement/standards/index.cfm?ref=common for details
+ # on the standard.
+ # Corresponds to the JSON property `message`
+ # @return [Google::Apis::HealthcareV1beta1::Message]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @message = args[:message] if args.key?(:message)
+ end
+ end
+
+ # Pseudonymization method that generates surrogates via cryptographic hashing.
+ # Uses SHA-256.
+ # Outputs a base64-encoded representation of the hashed output
+ # (for example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`).
+ class CryptoHashConfig
+ include Google::Apis::Core::Hashable
+
+ # An AES 128/192/256 bit key. Causes the hash to be computed based on this
+ # key. A default key is generated for each DeidentifyDataset operation and is
+ # used wherever crypto_key is not specified.
+ # Corresponds to the JSON property `cryptoKey`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :crypto_key
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @crypto_key = args[:crypto_key] if args.key?(:crypto_key)
+ end
+ end
+
+ # A message representing a health dataset.
+ # A health dataset represents a collection of healthcare data pertaining to one
+ # or more patients. This may include multiple modalities of healthcare data,
+ # such as electronic medical records or medical imaging data.
+ class Dataset
+ include Google::Apis::Core::Hashable
+
+ # Output only. Resource name of the dataset, of the form
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # The default timezone used by this dataset. Must be a either a valid IANA
+ # time zone name such as "America/New_York" or empty, which defaults to UTC.
+ # This is used for parsing times in resources (e.g., HL7 messages) where no
+ # explicit timezone is specified.
+ # Corresponds to the JSON property `timeZone`
+ # @return [String]
+ attr_accessor :time_zone
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @name = args[:name] if args.key?(:name)
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
+ end
+ end
+
+ # Shift a date forward or backward in time by a random amount which is
+ # consistent for a given patient and crypto key combination.
+ class DateShiftConfig
+ include Google::Apis::Core::Hashable
+
+ # An AES 128/192/256 bit key. Causes the shift to be computed based on this
+ # key and the patient ID. A default key is generated for each
+ # DeidentifyDataset operation and is used wherever crypto_key is not
+ # specified.
+ # Corresponds to the JSON property `cryptoKey`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :crypto_key
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @crypto_key = args[:crypto_key] if args.key?(:crypto_key)
+ end
+ end
+
+ # Configures de-id options specific to different types of content.
+ # Each submessage customizes the handling of an
+ # https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are
+ # applied in a nested manner at runtime.
+ class DeidentifyConfig
+ include Google::Apis::Core::Hashable
+
+ # Specifies the parameters needed for de-identification of DICOM stores.
+ # Corresponds to the JSON property `dicom`
+ # @return [Google::Apis::HealthcareV1beta1::DicomConfig]
+ attr_accessor :dicom
+
+ # Specifies how de-identification of a FHIR store should be handled.
+ # Corresponds to the JSON property `fhir`
+ # @return [Google::Apis::HealthcareV1beta1::FhirConfig]
+ attr_accessor :fhir
+
+ # Specifies how de-identification of image pixel should be handled.
+ # Corresponds to the JSON property `image`
+ # @return [Google::Apis::HealthcareV1beta1::ImageConfig]
+ attr_accessor :image
+
+ # Configures de-identification of text wherever it is found in the
+ # source_dataset.
+ # Corresponds to the JSON property `text`
+ # @return [Google::Apis::HealthcareV1beta1::TextConfig]
+ attr_accessor :text
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @dicom = args[:dicom] if args.key?(:dicom)
+ @fhir = args[:fhir] if args.key?(:fhir)
+ @image = args[:image] if args.key?(:image)
+ @text = args[:text] if args.key?(:text)
+ end
+ end
+
+ # Redacts identifying information from the specified dataset.
+ class DeidentifyDatasetRequest
+ include Google::Apis::Core::Hashable
+
+ # Configures de-id options specific to different types of content.
+ # Each submessage customizes the handling of an
+ # https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are
+ # applied in a nested manner at runtime.
+ # Corresponds to the JSON property `config`
+ # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
+ attr_accessor :config
+
+ # The name of the dataset resource to create and write the redacted data to
+ # (e.g.,
+ # * The destination dataset must not exist.
+ # * The destination dataset must be in the same project as the source
+ # dataset. De-identifying data across multiple projects is not supported.
+ # Corresponds to the JSON property `destinationDataset`
+ # @return [String]
+ attr_accessor :destination_dataset
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @config = args[:config] if args.key?(:config)
+ @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
+ end
+ end
+
+ # Contains the status of the Deidentify operation.
+ class DeidentifyErrorDetails
+ include Google::Apis::Core::Hashable
+
+ # Number of resources failed to process.
+ # Corresponds to the JSON property `failureResourceCount`
+ # @return [Fixnum]
+ attr_accessor :failure_resource_count
+
+ # Number of stores failed to process.
+ # Corresponds to the JSON property `failureStoreCount`
+ # @return [Fixnum]
+ attr_accessor :failure_store_count
+
+ # Number of resources successfully processed.
+ # Corresponds to the JSON property `successResourceCount`
+ # @return [Fixnum]
+ attr_accessor :success_resource_count
+
+ # Number of stores successfully processed.
+ # Corresponds to the JSON property `successStoreCount`
+ # @return [Fixnum]
+ attr_accessor :success_store_count
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
+ @failure_store_count = args[:failure_store_count] if args.key?(:failure_store_count)
+ @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
+ @success_store_count = args[:success_store_count] if args.key?(:success_store_count)
+ end
+ end
+
+ # Contains a detailed summary of the Deidentify operation.
+ class DeidentifySummary
+ include Google::Apis::Core::Hashable
+
+ # Number of resources successfully processed.
+ # Corresponds to the JSON property `successResourceCount`
+ # @return [Fixnum]
+ attr_accessor :success_resource_count
+
+ # Number of stores successfully processed.
+ # Corresponds to the JSON property `successStoreCount`
+ # @return [Fixnum]
+ attr_accessor :success_store_count
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
+ @success_store_count = args[:success_store_count] if args.key?(:success_store_count)
+ end
+ end
+
+ # Specifies the parameters needed for de-identification of DICOM stores.
+ class DicomConfig
+ include Google::Apis::Core::Hashable
+
+ # Tag filtering profile that determines which tags to keep/remove.
+ # Corresponds to the JSON property `filterProfile`
+ # @return [String]
+ attr_accessor :filter_profile
+
+ # List of tags to be filtered.
+ # Corresponds to the JSON property `keepList`
+ # @return [Google::Apis::HealthcareV1beta1::TagFilterList]
+ attr_accessor :keep_list
+
+ # List of tags to be filtered.
+ # Corresponds to the JSON property `removeList`
+ # @return [Google::Apis::HealthcareV1beta1::TagFilterList]
+ attr_accessor :remove_list
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @filter_profile = args[:filter_profile] if args.key?(:filter_profile)
+ @keep_list = args[:keep_list] if args.key?(:keep_list)
+ @remove_list = args[:remove_list] if args.key?(:remove_list)
+ end
+ end
+
+ # Represents a DICOM store.
+ class DicomStore
+ include Google::Apis::Core::Hashable
+
+ # User-supplied key-value pairs used to organize DICOM stores.
+ # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
+ # of maximum 128 bytes, and must conform to the
+ # following PCRE regular expression:
+ # \p`Ll`\p`Lo``0,62`
+ # Label values are optional, must be between 1 and 63 characters long, have
+ # a UTF-8 encoding of maximum 128 bytes, and must conform to the
+ # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
+ # No more than 64 labels can be associated with a given store.
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # Output only. Resource name of the DICOM store, of the form
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Specifies where notifications should be sent upon changes to a data store.
+ # Corresponds to the JSON property `notificationConfig`
+ # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
+ attr_accessor :notification_config
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @labels = args[:labels] if args.key?(:labels)
+ @name = args[:name] if args.key?(:name)
+ @notification_config = args[:notification_config] if args.key?(:notification_config)
+ end
+ end
+
+ # A generic empty message that you can re-use to avoid defining duplicated
+ # empty messages in your APIs. A typical example is to use it as the request
+ # or the response type of an API method. For instance:
+ # service Foo `
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+ # `
+ # The JSON representation for `Empty` is empty JSON object ````.
+ class Empty
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # Structure to describe the error encountered during batch operation on one
+ # resource. This is used both for sample errors in operation response, and
+ # for format of errors in error reports.
+ class ErrorDetail
+ include Google::Apis::Core::Hashable
+
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
+ # - Simple to use and understand for most users
+ # - Flexible enough to meet unexpected needs
+ # # Overview
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
+ # google.rpc.Code, but it may accept additional error codes if needed. The
+ # error message should be a developer-facing English message that helps
+ # developers *understand* and *resolve* the error. If a localized user-facing
+ # error message is needed, put the localized message in the error details or
+ # localize it in the client. The optional error details may contain arbitrary
+ # information about the error. There is a predefined set of error detail types
+ # in the package `google.rpc` that can be used for common error conditions.
+ # # Language mapping
+ # The `Status` message is the logical representation of the error model, but it
+ # is not necessarily the actual wire format. When the `Status` message is
+ # exposed in different client libraries and different wire protocols, it can be
+ # mapped differently. For example, it will likely be mapped to some exceptions
+ # in Java, but more likely mapped to some error codes in C.
+ # # Other uses
+ # The error model and the `Status` message can be used in a variety of
+ # environments, either with or without APIs, to provide a
+ # consistent developer experience across different environments.
+ # Example uses of this error model include:
+ # - Partial errors. If a service needs to return partial errors to the client,
+ # it may embed the `Status` in the normal response to indicate the partial
+ # errors.
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
+ # have a `Status` message for error reporting.
+ # - Batch operations. If a client uses batch request and batch response, the
+ # `Status` message should be used directly inside batch response, one for
+ # each error sub-response.
+ # - Asynchronous operations. If an API call embeds asynchronous operation
+ # results in its response, the status of those operations should be
+ # represented directly using the `Status` message.
+ # - Logging. If some API errors are stored in logs, the message `Status` could
+ # be used directly after any stripping needed for security/privacy reasons.
+ # Corresponds to the JSON property `error`
+ # @return [Google::Apis::HealthcareV1beta1::Status]
+ attr_accessor :error
+
+ # The identifier of the resource.
+ # Corresponds to the JSON property `resource`
+ # @return [String]
+ attr_accessor :resource
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @error = args[:error] if args.key?(:error)
+ @resource = args[:resource] if args.key?(:resource)
+ end
+ end
+
+ # Exports data from the specified DICOM store.
+ # If a given resource (e.g., a DICOM object with the same SOPInstance UID)
+ # already exists in the output, it is overwritten with the version
+ # in the source dataset.
+ # Exported DICOM data will persist when the DICOM store from which it was
+ # exported is deleted.
+ class ExportDicomDataRequest
+ include Google::Apis::Core::Hashable
+
+ # The BigQuery table where the output should be written.
+ # Corresponds to the JSON property `bigqueryDestination`
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomBigQueryDestination]
+ attr_accessor :bigquery_destination
+
+ # The Cloud Storage location where the output should be written, and the export
+ # configuration.
+ # Corresponds to the JSON property `gcsDestination`
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsDestination]
+ attr_accessor :gcs_destination
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
+ end
+ end
+
+ # Request to export resources.
+ class ExportResourcesRequest
+ include Google::Apis::Core::Hashable
+
+ # The configuration for exporting to BigQuery.
+ # Corresponds to the JSON property `bigqueryDestination`
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination]
+ attr_accessor :bigquery_destination
+
+ # The configuration for exporting to Cloud Storage.
+ # Corresponds to the JSON property `gcsDestination`
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsDestination]
+ attr_accessor :gcs_destination
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
+ end
+ end
+
+ # Represents an expression text. Example:
+ # title: "User account presence"
+ # description: "Determines whether the request has a user account"
+ # expression: "size(request.user) > 0"
+ class Expr
+ include Google::Apis::Core::Hashable
+
+ # An optional description of the expression. This is a longer text which
+ # describes the expression, e.g. when hovered over it in a UI.
+ # Corresponds to the JSON property `description`
+ # @return [String]
+ attr_accessor :description
+
+ # Textual representation of an expression in
+ # Common Expression Language syntax.
+ # The application context of the containing message determines which
+ # well-known feature set of CEL is supported.
+ # Corresponds to the JSON property `expression`
+ # @return [String]
+ attr_accessor :expression
+
+ # An optional string indicating the location of the expression for error
+ # reporting, e.g. a file name and a position in the file.
+ # Corresponds to the JSON property `location`
+ # @return [String]
+ attr_accessor :location
+
+ # An optional title for the expression, i.e. a short string describing
+ # its purpose. This can be used e.g. in UIs which allow to enter the
+ # expression.
+ # Corresponds to the JSON property `title`
+ # @return [String]
+ attr_accessor :title
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @description = args[:description] if args.key?(:description)
+ @expression = args[:expression] if args.key?(:expression)
+ @location = args[:location] if args.key?(:location)
+ @title = args[:title] if args.key?(:title)
+ end
+ end
+
+ # Specifies how de-identification of a FHIR store should be handled.
+ class FhirConfig
+ include Google::Apis::Core::Hashable
+
+ # Specifies FHIR paths to match and how to transform them. Any field that
+ # is not matched by a FieldMetadata will be passed through to the output
+ # dataset unmodified. All extensions are removed in the output.
+ # Corresponds to the JSON property `fieldMetadataList`
+ # @return [Array]
+ attr_accessor :field_metadata_list
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @field_metadata_list = args[:field_metadata_list] if args.key?(:field_metadata_list)
+ end
+ end
+
+ # Represents a FHIR store.
+ class FhirStore
+ include Google::Apis::Core::Hashable
+
+ # Whether to disable referential integrity in this FHIR store. This field is
+ # immutable after FHIR store creation.
+ # The default value is false, meaning that the API will enforce referential
+ # integrity and fail the requests that will result in inconsistent state in
+ # the FHIR store.
+ # When this field is set to true, the API will skip referential integrity
+ # check. Consequently, operations that rely on references, such as
+ # GetPatientEverything, will not return all the results if broken references
+ # exist.
+ # Corresponds to the JSON property `disableReferentialIntegrity`
+ # @return [Boolean]
+ attr_accessor :disable_referential_integrity
+ alias_method :disable_referential_integrity?, :disable_referential_integrity
+
+ # Whether to disable resource versioning for this FHIR store. This field can
+ # not be changed after the creation of FHIR store.
+ # If set to false, which is the default behavior, all write operations will
+ # cause historical versions to be recorded automatically. The historical
+ # versions can be fetched through the history APIs, but cannot be updated.
+ # If set to true, no historical versions will be kept. The server will send
+ # back errors for attempts to read the historical versions.
+ # Corresponds to the JSON property `disableResourceVersioning`
+ # @return [Boolean]
+ attr_accessor :disable_resource_versioning
+ alias_method :disable_resource_versioning?, :disable_resource_versioning
+
+ # Whether to allow the bulk import API to accept history bundles and directly
+ # insert historical resource versions into the FHIR store. Importing resource
+ # histories creates resource interactions that appear to have occurred in the
+ # past, which clients may not want to allow. If set to false, history bundles
+ # within an import will fail with an error.
+ # Corresponds to the JSON property `enableHistoryImport`
+ # @return [Boolean]
+ attr_accessor :enable_history_import
+ alias_method :enable_history_import?, :enable_history_import
+
+ # Whether this FHIR store has the [updateCreate
+ # capability](https://www.hl7.org/fhir/capabilitystatement-definitions.html#
+ # CapabilityStatement.rest.resource.updateCreate).
+ # This determines if the client can use an Update operation to create a new
+ # resource with a client-specified ID. If false, all IDs are server-assigned
+ # through the Create operation and attempts to Update a non-existent resource
+ # will return errors. Please treat the audit logs with appropriate levels of
+ # care if client-specified resource IDs contain sensitive data such as
+ # patient identifiers, those IDs will be part of the FHIR resource path
+ # recorded in Cloud audit logs and Cloud Pub/Sub notifications.
+ # Corresponds to the JSON property `enableUpdateCreate`
+ # @return [Boolean]
+ attr_accessor :enable_update_create
+ alias_method :enable_update_create?, :enable_update_create
+
+ # User-supplied key-value pairs used to organize FHIR stores.
+ # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
+ # of maximum 128 bytes, and must conform to the
+ # following PCRE regular expression:
+ # \p`Ll`\p`Lo``0,62`
+ # Label values are optional, must be between 1 and 63 characters long, have
+ # a UTF-8 encoding of maximum 128 bytes, and must conform to the
+ # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
+ # No more than 64 labels can be associated with a given store.
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # Output only. Resource name of the FHIR store, of the form
+ # `projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Specifies where notifications should be sent upon changes to a data store.
+ # Corresponds to the JSON property `notificationConfig`
+ # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
+ attr_accessor :notification_config
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @disable_referential_integrity = args[:disable_referential_integrity] if args.key?(:disable_referential_integrity)
+ @disable_resource_versioning = args[:disable_resource_versioning] if args.key?(:disable_resource_versioning)
+ @enable_history_import = args[:enable_history_import] if args.key?(:enable_history_import)
+ @enable_update_create = args[:enable_update_create] if args.key?(:enable_update_create)
+ @labels = args[:labels] if args.key?(:labels)
+ @name = args[:name] if args.key?(:name)
+ @notification_config = args[:notification_config] if args.key?(:notification_config)
+ end
+ end
+
+ # Specifies FHIR paths to match, and how to handle de-identification of
+ # matching fields.
+ class FieldMetadata
+ include Google::Apis::Core::Hashable
+
+ # Deidentify action for one field.
+ # Corresponds to the JSON property `action`
+ # @return [String]
+ attr_accessor :action
+
+ # List of paths to FHIR fields to be redacted. Each path is a
+ # period-separated list where each component is either a field name or
+ # FHIR type name, for example: Patient, HumanName.
+ # For "choice" types (those defined in the FHIR spec with the form:
+ # field[x]) we use two separate components. e.g. "deceasedAge.unit" is
+ # matched by "Deceased.Age.unit".
+ # Supported types are: AdministrativeGenderCode, Code, Date, DateTime,
+ # Decimal, HumanName, Id, LanguageCode, Markdown, MimeTypeCode, Oid,
+ # String, Uri, Uuid, Xhtml.
+ # Corresponds to the JSON property `paths`
+ # @return [Array]
+ attr_accessor :paths
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @action = args[:action] if args.key?(:action)
+ @paths = args[:paths] if args.key?(:paths)
+ end
+ end
+
+ # The BigQuery table where the output should be written.
+ class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
+ include Google::Apis::Core::Hashable
+
+ # If the destination table already exists and this flag is `TRUE`, the table
+ # will be overwritten by the contents of the DICOM store. If the flag is not
+ # set and the destination table already exists, the export call returns an
+ # error.
+ # Corresponds to the JSON property `force`
+ # @return [Boolean]
+ attr_accessor :force
+ alias_method :force?, :force
+
+ # BigQuery URI to a table, up to 2000 characters long, in the format
+ # `bq://projectId.bqDatasetId.tableId`
+ # Corresponds to the JSON property `tableUri`
+ # @return [String]
+ attr_accessor :table_uri
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @force = args[:force] if args.key?(:force)
+ @table_uri = args[:table_uri] if args.key?(:table_uri)
+ end
+ end
+
+ # The Cloud Storage location where the output should be written, and the export
+ # configuration.
+ class GoogleCloudHealthcareV1beta1DicomGcsDestination
+ include Google::Apis::Core::Hashable
+
+ # MIME types supported by DICOM spec.
+ # Each file will be written in the following format:
+ # `.../`study_id`/`series_id`/`instance_id`[/`frame_number`].`extension``
+ # The frame_number component will exist only for multi-frame instances.
+ # Refer to the DICOM conformance statement for permissible MIME types:
+ # https://cloud.google.com/healthcare/docs/dicom#wado-rs
+ # The following extensions will be used for output files:
+ # application/dicom -> .dcm
+ # image/jpeg -> .jpg
+ # image/png -> .png
+ # If unspecified, the instances will be exported in their original
+ # DICOM format.
+ # Corresponds to the JSON property `mimeType`
+ # @return [String]
+ attr_accessor :mime_type
+
+ # The Cloud Storage destination to export to.
+ # URI for a Cloud Storage directory where result files should be written (in
+ # the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no
+ # trailing slash, the service will append one when composing the object path.
+ # The user is responsible for creating the Cloud Storage bucket referenced in
+ # `uri_prefix`.
+ # Corresponds to the JSON property `uriPrefix`
+ # @return [String]
+ attr_accessor :uri_prefix
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
+ end
+ end
+
+ # Specifies the configuration for importing data from Cloud Storage.
+ class GoogleCloudHealthcareV1beta1DicomGcsSource
+ include Google::Apis::Core::Hashable
+
+ # Points to a Cloud Storage URI containing file(s) with
+ # content only. The URI must be in the following format:
+ # `gs://`bucket_id`/`object_id``. The URI can include wildcards in
+ # `object_id` and thus identify multiple files. Supported wildcards:
+ # '*' to match 0 or more non-separator characters
+ # '**' to match 0 or more characters (including separators). Must be used at
+ # the end of a path and with no other wildcards in the
+ # path. Can also be used with a file extension (such as .dcm), which
+ # imports all files with the extension in the specified directory and
+ # its sub-directories. For example,
+ # `gs://my-bucket/my-directory/**.dcm` imports all files with .dcm
+ # extensions in `my-directory/` and its sub-directories.
+ # '?' to match 1 character
+ # All other URI formats are invalid.
+ # Files matching the wildcard are expected to contain content only, no
+ # metadata.
+ # Corresponds to the JSON property `uri`
+ # @return [String]
+ attr_accessor :uri
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @uri = args[:uri] if args.key?(:uri)
+ end
+ end
+
+ # The configuration for exporting to BigQuery.
+ class GoogleCloudHealthcareV1beta1FhirBigQueryDestination
+ include Google::Apis::Core::Hashable
+
+ # BigQuery URI to a dataset, up to 2000 characters long, in the format
+ # `bq://projectId.bqDatasetId`
+ # Corresponds to the JSON property `datasetUri`
+ # @return [String]
+ attr_accessor :dataset_uri
+
+ # Configuration for the FHIR BigQuery schema. Determines how the server
+ # generates the schema.
+ # Corresponds to the JSON property `schemaConfig`
+ # @return [Google::Apis::HealthcareV1beta1::SchemaConfig]
+ attr_accessor :schema_config
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
+ @schema_config = args[:schema_config] if args.key?(:schema_config)
+ end
+ end
+
+ # Final response of exporting resources.
+ # This structure will be included in the
+ # response to describe the detailed
+ # outcome. It will only be included when the operation finishes.
+ class GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse
+ include Google::Apis::Core::Hashable
+
+ # The name of the FHIR store where resources have been exported, in the
+ # format
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # fhirStores/`fhir_store_id``.
+ # Corresponds to the JSON property `fhirStore`
+ # @return [String]
+ attr_accessor :fhir_store
+
+ # The total number of resources exported from the requested FHIR store.
+ # Corresponds to the JSON property `resourceCount`
+ # @return [Fixnum]
+ attr_accessor :resource_count
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
+ @resource_count = args[:resource_count] if args.key?(:resource_count)
+ end
+ end
+
+ # The configuration for exporting to Cloud Storage.
+ class GoogleCloudHealthcareV1beta1FhirRestGcsDestination
+ include Google::Apis::Core::Hashable
+
+ # URI for a Cloud Storage directory where result files should be written (in
+ # the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no
+ # trailing slash, the service will append one when composing the object path.
+ # The user is responsible for creating the Cloud Storage bucket referenced in
+ # `uri_prefix`.
+ # Corresponds to the JSON property `uriPrefix`
+ # @return [String]
+ attr_accessor :uri_prefix
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
+ end
+ end
+
+ # Specifies the configuration for importing data from Cloud Storage.
+ class GoogleCloudHealthcareV1beta1FhirRestGcsSource
+ include Google::Apis::Core::Hashable
+
+ # Points to a Cloud Storage URI containing file(s) to import.
+ # The URI must be in the following format: `gs://`bucket_id`/`object_id``.
+ # The URI can include wildcards in `object_id` and thus identify multiple
+ # files. Supported wildcards:
+ # * `*` to match 0 or more non-separator characters
+ # * `**` to match 0 or more characters (including separators). Must be used
+ # at the end of a path and with no other wildcards in the
+ # path. Can also be used with a file extension (such as .ndjson), which
+ # imports all files with the extension in the specified directory and
+ # its sub-directories. For example, `gs://my-bucket/my-directory/**.ndjson`
+ # imports all files with `.ndjson` extensions in `my-directory/` and its
+ # sub-directories.
+ # * `?` to match 1 character
+ # Files matching the wildcard are expected to contain content only, no
+ # metadata.
+ # Corresponds to the JSON property `uri`
+ # @return [String]
+ attr_accessor :uri
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @uri = args[:uri] if args.key?(:uri)
+ end
+ end
+
+ # Error response of importing resources.
+ # This structure will be included in the
+ # error details to describe the
+ # detailed error. It will only be included when the operation finishes with
+ # some failure.
+ class GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails
+ include Google::Apis::Core::Hashable
+
+ # The number of resources that had errors.
+ # Corresponds to the JSON property `errorCount`
+ # @return [Fixnum]
+ attr_accessor :error_count
+
+ # The name of the FHIR store where resources have been imported, in the
+ # format
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # fhirStores/`fhir_store_id``.
+ # Corresponds to the JSON property `fhirStore`
+ # @return [String]
+ attr_accessor :fhir_store
+
+ # The total number of resources included in the source data. This is the sum
+ # of the success and error counts.
+ # Corresponds to the JSON property `inputSize`
+ # @return [Fixnum]
+ attr_accessor :input_size
+
+ # The number of resources that have been imported.
+ # Corresponds to the JSON property `successCount`
+ # @return [Fixnum]
+ attr_accessor :success_count
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @error_count = args[:error_count] if args.key?(:error_count)
+ @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
+ @input_size = args[:input_size] if args.key?(:input_size)
+ @success_count = args[:success_count] if args.key?(:success_count)
+ end
+ end
+
+ # Final response of importing resources.
+ # This structure will be included in the
+ # response to describe the detailed
+ # outcome. It will only be included when the operation finishes successfully.
+ class GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse
+ include Google::Apis::Core::Hashable
+
+ # The name of the FHIR store where the resources have been imported, in the
+ # format
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # fhirStores/`fhir_store_id``.
+ # Corresponds to the JSON property `fhirStore`
+ # @return [String]
+ attr_accessor :fhir_store
+
+ # The total number of resources included in the source data.
+ # Corresponds to the JSON property `inputSize`
+ # @return [Fixnum]
+ attr_accessor :input_size
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
+ @input_size = args[:input_size] if args.key?(:input_size)
+ end
+ end
+
+ # Represents an HL7v2 store.
+ class Hl7V2Store
+ include Google::Apis::Core::Hashable
+
+ # User-supplied key-value pairs used to organize HL7v2 stores.
+ # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
+ # of maximum 128 bytes, and must conform to the
+ # following PCRE regular expression:
+ # \p`Ll`\p`Lo``0,62`
+ # Label values are optional, must be between 1 and 63 characters long, have
+ # a UTF-8 encoding of maximum 128 bytes, and must conform to the
+ # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
+ # No more than 64 labels can be associated with a given store.
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # Output only. Resource name of the HL7v2 store, of the form
+ # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Specifies where notifications should be sent upon changes to a data store.
+ # Corresponds to the JSON property `notificationConfig`
+ # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
+ attr_accessor :notification_config
+
+ # The configuration for the parser. It determines how the server parses the
+ # messages.
+ # Corresponds to the JSON property `parserConfig`
+ # @return [Google::Apis::HealthcareV1beta1::ParserConfig]
+ attr_accessor :parser_config
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @labels = args[:labels] if args.key?(:labels)
+ @name = args[:name] if args.key?(:name)
+ @notification_config = args[:notification_config] if args.key?(:notification_config)
+ @parser_config = args[:parser_config] if args.key?(:parser_config)
+ end
+ end
+
+ # Message that represents an arbitrary HTTP body. It should only be used for
+ # payload formats that can't be represented as JSON, such as raw binary or
+ # an HTML page.
+ # This message can be used both in streaming and non-streaming API methods in
+ # the request as well as the response.
+ # It can be used as a top-level request field, which is convenient if one
+ # wants to extract parameters from either the URL or HTTP template into the
+ # request fields and also want access to the raw HTTP body.
+ # Example:
+ # message GetResourceRequest `
+ # // A unique request id.
+ # string request_id = 1;
+ # // The raw HTTP body is bound to this field.
+ # google.api.HttpBody http_body = 2;
+ # `
+ # service ResourceService `
+ # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
+ # rpc UpdateResource(google.api.HttpBody) returns
+ # (google.protobuf.Empty);
+ # `
+ # Example with streaming methods:
+ # service CaldavService `
+ # rpc GetCalendar(stream google.api.HttpBody)
+ # returns (stream google.api.HttpBody);
+ # rpc UpdateCalendar(stream google.api.HttpBody)
+ # returns (stream google.api.HttpBody);
+ # `
+ # Use of this type only changes how the request and response bodies are
+ # handled, all other features will continue to work unchanged.
+ class HttpBody
+ include Google::Apis::Core::Hashable
+
+ # The HTTP Content-Type header value specifying the content type of the body.
+ # Corresponds to the JSON property `contentType`
+ # @return [String]
+ attr_accessor :content_type
+
+ # The HTTP request/response body as raw binary.
+ # Corresponds to the JSON property `data`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :data
+
+ # Application specific response metadata. Must be set in the first response
+ # for streaming APIs.
+ # Corresponds to the JSON property `extensions`
+ # @return [Array>]
+ attr_accessor :extensions
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @content_type = args[:content_type] if args.key?(:content_type)
+ @data = args[:data] if args.key?(:data)
+ @extensions = args[:extensions] if args.key?(:extensions)
+ end
+ end
+
+ # Specifies how de-identification of image pixel should be handled.
+ class ImageConfig
+ include Google::Apis::Core::Hashable
+
+ # Determines how to redact text from image.
+ # Corresponds to the JSON property `textRedactionMode`
+ # @return [String]
+ attr_accessor :text_redaction_mode
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
+ end
+ end
+
+ # Returns the errors encountered during DICOM store import.
+ class ImportDicomDataErrorDetails
+ include Google::Apis::Core::Hashable
+
+ # Deprecated. Use only for debugging purposes.
+ # Contains sample errors encountered in imports of individual resources
+ # (for example, a Cloud Storage object).
+ # Corresponds to the JSON property `sampleErrors`
+ # @return [Array]
+ attr_accessor :sample_errors
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @sample_errors = args[:sample_errors] if args.key?(:sample_errors)
+ end
+ end
+
+ # Imports data into the specified DICOM store.
+ # Returns an error if any of the files to import are not DICOM files. This
+ # API will accept duplicate DICOM instances, by simply ignoring the newly
+ # pushed instance (it will not overwrite).
+ class ImportDicomDataRequest
+ include Google::Apis::Core::Hashable
+
+ # Specifies the configuration for importing data from Cloud Storage.
+ # Corresponds to the JSON property `gcsSource`
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsSource]
+ attr_accessor :gcs_source
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
+ end
+ end
+
+ # Request to import resources.
+ class ImportResourcesRequest
+ include Google::Apis::Core::Hashable
+
+ # The content structure in the source location. The default is
+ # BUNDLE.
+ # Corresponds to the JSON property `contentStructure`
+ # @return [String]
+ attr_accessor :content_structure
+
+ # Specifies the configuration for importing data from Cloud Storage.
+ # Corresponds to the JSON property `gcsSource`
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsSource]
+ attr_accessor :gcs_source
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @content_structure = args[:content_structure] if args.key?(:content_structure)
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
+ end
+ end
+
+ # A transformation to apply to text that is identified as a specific
+ # info_type.
+ class InfoTypeTransformation
+ include Google::Apis::Core::Hashable
+
+ # Mask a string by replacing its characters with a fixed character.
+ # Corresponds to the JSON property `characterMaskConfig`
+ # @return [Google::Apis::HealthcareV1beta1::CharacterMaskConfig]
+ attr_accessor :character_mask_config
+
+ # Pseudonymization method that generates surrogates via cryptographic hashing.
+ # Uses SHA-256.
+ # Outputs a base64-encoded representation of the hashed output
+ # (for example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`).
+ # Corresponds to the JSON property `cryptoHashConfig`
+ # @return [Google::Apis::HealthcareV1beta1::CryptoHashConfig]
+ attr_accessor :crypto_hash_config
+
+ # Shift a date forward or backward in time by a random amount which is
+ # consistent for a given patient and crypto key combination.
+ # Corresponds to the JSON property `dateShiftConfig`
+ # @return [Google::Apis::HealthcareV1beta1::DateShiftConfig]
+ attr_accessor :date_shift_config
+
+ # InfoTypes to apply this transformation to. If this is not specified, the
+ # transformation applies to any info_type.
+ # Corresponds to the JSON property `infoTypes`
+ # @return [Array]
+ attr_accessor :info_types
+
+ # Define how to redact sensitive values. Default behaviour is erase,
+ # e.g. "My name is Jake." becomes "My name is ."
+ # Corresponds to the JSON property `redactConfig`
+ # @return [Google::Apis::HealthcareV1beta1::RedactConfig]
+ attr_accessor :redact_config
+
+ # When using the INSPECT_AND_TRANSFORM action, each match is replaced with
+ # the name of the info_type. For example, "My name is Jake" becomes "My name is
+ # [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
+ # Corresponds to the JSON property `replaceWithInfoTypeConfig`
+ # @return [Google::Apis::HealthcareV1beta1::ReplaceWithInfoTypeConfig]
+ attr_accessor :replace_with_info_type_config
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @character_mask_config = args[:character_mask_config] if args.key?(:character_mask_config)
+ @crypto_hash_config = args[:crypto_hash_config] if args.key?(:crypto_hash_config)
+ @date_shift_config = args[:date_shift_config] if args.key?(:date_shift_config)
+ @info_types = args[:info_types] if args.key?(:info_types)
+ @redact_config = args[:redact_config] if args.key?(:redact_config)
+ @replace_with_info_type_config = args[:replace_with_info_type_config] if args.key?(:replace_with_info_type_config)
+ end
+ end
+
+ # Ingests a message into the specified HL7v2 store.
+ class IngestMessageRequest
+ include Google::Apis::Core::Hashable
+
+ # A complete HL7v2 message.
+ # See http://www.hl7.org/implement/standards/index.cfm?ref=common for details
+ # on the standard.
+ # Corresponds to the JSON property `message`
+ # @return [Google::Apis::HealthcareV1beta1::Message]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @message = args[:message] if args.key?(:message)
+ end
+ end
+
+ # Acknowledges that a message has been ingested into the specified
+ # HL7v2 store.
+ class IngestMessageResponse
+ include Google::Apis::Core::Hashable
+
+ # HL7v2 ACK message.
+ # Corresponds to the JSON property `hl7Ack`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :hl7_ack
+
+ # A complete HL7v2 message.
+ # See http://www.hl7.org/implement/standards/index.cfm?ref=common for details
+ # on the standard.
+ # Corresponds to the JSON property `message`
+ # @return [Google::Apis::HealthcareV1beta1::Message]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @hl7_ack = args[:hl7_ack] if args.key?(:hl7_ack)
+ @message = args[:message] if args.key?(:message)
+ end
+ end
+
+ # Lists the available datasets.
+ class ListDatasetsResponse
+ include Google::Apis::Core::Hashable
+
+ # The first page of datasets.
+ # Corresponds to the JSON property `datasets`
+ # @return [Array]
+ attr_accessor :datasets
+
+ # Token to retrieve the next page of results, or empty if there are no
+ # more results in the list.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @datasets = args[:datasets] if args.key?(:datasets)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
+ # Lists the DICOM stores in the given dataset.
+ class ListDicomStoresResponse
+ include Google::Apis::Core::Hashable
+
+ # The returned DICOM stores. Won't be more DICOM stores than the value of
+ # page_size in the request.
+ # Corresponds to the JSON property `dicomStores`
+ # @return [Array]
+ attr_accessor :dicom_stores
+
+ # Token to retrieve the next page of results or empty if there are no more
+ # results in the list.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @dicom_stores = args[:dicom_stores] if args.key?(:dicom_stores)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
+ # Lists the FHIR stores in the given dataset.
+ class ListFhirStoresResponse
+ include Google::Apis::Core::Hashable
+
+ # The returned FHIR stores. Won't be more FHIR stores than the value of
+ # page_size in the request.
+ # Corresponds to the JSON property `fhirStores`
+ # @return [Array]
+ attr_accessor :fhir_stores
+
+ # Token to retrieve the next page of results or empty if there are no more
+ # results in the list.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @fhir_stores = args[:fhir_stores] if args.key?(:fhir_stores)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
+ # Lists the HL7v2 stores in the given dataset.
+ class ListHl7V2StoresResponse
+ include Google::Apis::Core::Hashable
+
+ # The returned HL7v2 stores. Won't be more HL7v2 stores than the value of
+ # page_size in the request.
+ # Corresponds to the JSON property `hl7V2Stores`
+ # @return [Array]
+ attr_accessor :hl7_v2_stores
+
+ # Token to retrieve the next page of results or empty if there are no more
+ # results in the list.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @hl7_v2_stores = args[:hl7_v2_stores] if args.key?(:hl7_v2_stores)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
+ # The response message for Locations.ListLocations.
+ class ListLocationsResponse
+ include Google::Apis::Core::Hashable
+
+ # A list of locations that matches the specified filter in the request.
+ # Corresponds to the JSON property `locations`
+ # @return [Array]
+ attr_accessor :locations
+
+ # The standard List next-page token.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @locations = args[:locations] if args.key?(:locations)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
+ # Lists the messages in the specified HL7v2 store.
+ class ListMessagesResponse
+ include Google::Apis::Core::Hashable
+
+ # The returned message names. Won't be more values than the value of
+ # page_size in the request.
+ # Corresponds to the JSON property `messages`
+ # @return [Array]
+ attr_accessor :messages
+
+ # Token to retrieve the next page of results or empty if there are no more
+ # results in the list.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @messages = args[:messages] if args.key?(:messages)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ end
+ end
+
+ # The response message for Operations.ListOperations.
+ class ListOperationsResponse
+ include Google::Apis::Core::Hashable
+
+ # The standard List next-page token.
+ # Corresponds to the JSON property `nextPageToken`
+ # @return [String]
+ attr_accessor :next_page_token
+
+ # A list of operations that matches the specified filter in the request.
+ # Corresponds to the JSON property `operations`
+ # @return [Array]
+ attr_accessor :operations
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+ @operations = args[:operations] if args.key?(:operations)
+ end
+ end
+
+ # A resource that represents Google Cloud Platform location.
+ class Location
+ include Google::Apis::Core::Hashable
+
+ # The friendly name for this location, typically a nearby city name.
+ # For example, "Tokyo".
+ # Corresponds to the JSON property `displayName`
+ # @return [String]
+ attr_accessor :display_name
+
+ # Cross-service attributes for the location. For example
+ # `"cloud.googleapis.com/region": "us-east1"`
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # The canonical id for this location. For example: `"us-east1"`.
+ # Corresponds to the JSON property `locationId`
+ # @return [String]
+ attr_accessor :location_id
+
+ # Service-specific metadata. For example the available capacity at the given
+ # location.
+ # Corresponds to the JSON property `metadata`
+ # @return [Hash]
+ attr_accessor :metadata
+
+ # Resource name for the location, which may vary between implementations.
+ # For example: `"projects/example-project/locations/us-east1"`
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @display_name = args[:display_name] if args.key?(:display_name)
+ @labels = args[:labels] if args.key?(:labels)
+ @location_id = args[:location_id] if args.key?(:location_id)
+ @metadata = args[:metadata] if args.key?(:metadata)
+ @name = args[:name] if args.key?(:name)
+ end
+ end
+
+ # A complete HL7v2 message.
+ # See http://www.hl7.org/implement/standards/index.cfm?ref=common for details
+ # on the standard.
+ class Message
+ include Google::Apis::Core::Hashable
+
+ # The datetime when the message was created. Set by the server.
+ # Corresponds to the JSON property `createTime`
+ # @return [String]
+ attr_accessor :create_time
+
+ # Raw message bytes.
+ # Corresponds to the JSON property `data`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :data
+
+ # User-supplied key-value pairs used to organize HL7v2 stores.
+ # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
+ # of maximum 128 bytes, and must conform to the
+ # following PCRE regular expression:
+ # \p`Ll`\p`Lo``0,62`
+ # Label values are optional, must be between 1 and 63 characters long, have
+ # a UTF-8 encoding of maximum 128 bytes, and must conform to the
+ # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
+ # No more than 64 labels can be associated with a given store.
+ # Corresponds to the JSON property `labels`
+ # @return [Hash]
+ attr_accessor :labels
+
+ # The message type and trigger event for this message. MSH-9.
+ # Corresponds to the JSON property `messageType`
+ # @return [String]
+ attr_accessor :message_type
+
+ # Resource name of the Message, of the form
+ # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/
+ # messages/`message_id``.
+ # Assigned by the server.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # The content of a HL7v2 message in a structured format.
+ # Corresponds to the JSON property `parsedData`
+ # @return [Google::Apis::HealthcareV1beta1::ParsedData]
+ attr_accessor :parsed_data
+
+ # All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this
+ # message.
+ # Corresponds to the JSON property `patientIds`
+ # @return [Array]
+ attr_accessor :patient_ids
+
+ # The hospital that this message came from. MSH-4.
+ # Corresponds to the JSON property `sendFacility`
+ # @return [String]
+ attr_accessor :send_facility
+
+ # The datetime the sending application sent this message. MSH-7.
+ # Corresponds to the JSON property `sendTime`
+ # @return [String]
+ attr_accessor :send_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)
+ @data = args[:data] if args.key?(:data)
+ @labels = args[:labels] if args.key?(:labels)
+ @message_type = args[:message_type] if args.key?(:message_type)
+ @name = args[:name] if args.key?(:name)
+ @parsed_data = args[:parsed_data] if args.key?(:parsed_data)
+ @patient_ids = args[:patient_ids] if args.key?(:patient_ids)
+ @send_facility = args[:send_facility] if args.key?(:send_facility)
+ @send_time = args[:send_time] if args.key?(:send_time)
+ end
+ end
+
+ # Specifies where notifications should be sent upon changes to a data store.
+ class NotificationConfig
+ include Google::Apis::Core::Hashable
+
+ # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
+ # notifications of changes are published on. Supplied by the client.
+ # PubsubMessage.Data will contain the resource name.
+ # PubsubMessage.MessageId is the ID of this message. It is guaranteed to be
+ # unique within the topic.
+ # PubsubMessage.PublishTime is the time at which the message was published.
+ # Notifications are only sent if the topic is
+ # non-empty. [Topic
+ # names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped
+ # to a project. cloud-healthcare@system.gserviceaccount.com must have
+ # publisher permissions on the given Cloud Pub/Sub topic. Not having adequate
+ # permissions will cause the calls that send notifications to fail.
+ # Corresponds to the JSON property `pubsubTopic`
+ # @return [String]
+ attr_accessor :pubsub_topic
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
+ end
+ end
+
+ # This resource represents a long-running operation that is the result of a
+ # network API call.
+ class Operation
+ include Google::Apis::Core::Hashable
+
+ # If the value is `false`, it means the operation is still in progress.
+ # If `true`, the operation is completed, and either `error` or `response` is
+ # available.
+ # Corresponds to the JSON property `done`
+ # @return [Boolean]
+ attr_accessor :done
+ alias_method :done?, :done
+
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
+ # - Simple to use and understand for most users
+ # - Flexible enough to meet unexpected needs
+ # # Overview
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
+ # google.rpc.Code, but it may accept additional error codes if needed. The
+ # error message should be a developer-facing English message that helps
+ # developers *understand* and *resolve* the error. If a localized user-facing
+ # error message is needed, put the localized message in the error details or
+ # localize it in the client. The optional error details may contain arbitrary
+ # information about the error. There is a predefined set of error detail types
+ # in the package `google.rpc` that can be used for common error conditions.
+ # # Language mapping
+ # The `Status` message is the logical representation of the error model, but it
+ # is not necessarily the actual wire format. When the `Status` message is
+ # exposed in different client libraries and different wire protocols, it can be
+ # mapped differently. For example, it will likely be mapped to some exceptions
+ # in Java, but more likely mapped to some error codes in C.
+ # # Other uses
+ # The error model and the `Status` message can be used in a variety of
+ # environments, either with or without APIs, to provide a
+ # consistent developer experience across different environments.
+ # Example uses of this error model include:
+ # - Partial errors. If a service needs to return partial errors to the client,
+ # it may embed the `Status` in the normal response to indicate the partial
+ # errors.
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
+ # have a `Status` message for error reporting.
+ # - Batch operations. If a client uses batch request and batch response, the
+ # `Status` message should be used directly inside batch response, one for
+ # each error sub-response.
+ # - Asynchronous operations. If an API call embeds asynchronous operation
+ # results in its response, the status of those operations should be
+ # represented directly using the `Status` message.
+ # - Logging. If some API errors are stored in logs, the message `Status` could
+ # be used directly after any stripping needed for security/privacy reasons.
+ # Corresponds to the JSON property `error`
+ # @return [Google::Apis::HealthcareV1beta1::Status]
+ attr_accessor :error
+
+ # Service-specific metadata associated with the operation. It typically
+ # contains progress information and common metadata such as create time.
+ # Some services might not provide such metadata. Any method that returns a
+ # long-running operation should document the metadata type, if any.
+ # Corresponds to the JSON property `metadata`
+ # @return [Hash]
+ attr_accessor :metadata
+
+ # The server-assigned name, which is only unique within the same service that
+ # originally returns it. If you use the default HTTP mapping, the
+ # `name` should have the format of `operations/some/unique/name`.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ # Corresponds to the JSON property `response`
+ # @return [Hash]
+ attr_accessor :response
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @done = args[:done] if args.key?(:done)
+ @error = args[:error] if args.key?(:error)
+ @metadata = args[:metadata] if args.key?(:metadata)
+ @name = args[:name] if args.key?(:name)
+ @response = args[:response] if args.key?(:response)
+ end
+ end
+
+ # OperationMetadata provides information about the operation execution.
+ # Returned in the long-running operation's metadata field.
+ class OperationMetadata
+ include Google::Apis::Core::Hashable
+
+ # The name of the API method that initiated the operation.
+ # Corresponds to the JSON property `apiMethodName`
+ # @return [String]
+ attr_accessor :api_method_name
+
+ # ProgressCounter provides counters to describe an operation's progress.
+ # Corresponds to the JSON property `counter`
+ # @return [Google::Apis::HealthcareV1beta1::ProgressCounter]
+ attr_accessor :counter
+
+ # The time at which the operation was created by the API.
+ # Corresponds to the JSON property `createTime`
+ # @return [String]
+ attr_accessor :create_time
+
+ # The time at which execution was completed.
+ # Corresponds to the JSON property `endTime`
+ # @return [String]
+ attr_accessor :end_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @api_method_name = args[:api_method_name] if args.key?(:api_method_name)
+ @counter = args[:counter] if args.key?(:counter)
+ @create_time = args[:create_time] if args.key?(:create_time)
+ @end_time = args[:end_time] if args.key?(:end_time)
+ end
+ end
+
+ # The content of a HL7v2 message in a structured format.
+ class ParsedData
+ include Google::Apis::Core::Hashable
+
+ #
+ # Corresponds to the JSON property `segments`
+ # @return [Array]
+ attr_accessor :segments
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @segments = args[:segments] if args.key?(:segments)
+ end
+ end
+
+ # The configuration for the parser. It determines how the server parses the
+ # messages.
+ class ParserConfig
+ include Google::Apis::Core::Hashable
+
+ # Determines whether messages with no header are allowed.
+ # Corresponds to the JSON property `allowNullHeader`
+ # @return [Boolean]
+ attr_accessor :allow_null_header
+ alias_method :allow_null_header?, :allow_null_header
+
+ # Byte(s) to be used as the segment terminator. If this is unset, '\r' will
+ # be used as segment terminator.
+ # Corresponds to the JSON property `segmentTerminator`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :segment_terminator
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
+ @segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
+ end
+ end
+
+ # A patient identifier and associated type.
+ class PatientId
+ include Google::Apis::Core::Hashable
+
+ # ID type, e.g. MRN or NHS.
+ # Corresponds to the JSON property `type`
+ # @return [String]
+ attr_accessor :type
+
+ # The patient's unique identifier.
+ # Corresponds to the JSON property `value`
+ # @return [String]
+ attr_accessor :value
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @type = args[:type] if args.key?(:type)
+ @value = args[:value] if args.key?(:value)
+ end
+ end
+
+ # Defines an Identity and Access Management (IAM) policy. It is used to
+ # specify access control policies for Cloud Platform resources.
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
+ # `members` to a `role`, where the members can be user accounts, Google groups,
+ # Google domains, and service accounts. A `role` is a named list of permissions
+ # defined by IAM.
+ # **JSON Example**
+ # `
+ # "bindings": [
+ # `
+ # "role": "roles/owner",
+ # "members": [
+ # "user:mike@example.com",
+ # "group:admins@example.com",
+ # "domain:google.com",
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
+ # ]
+ # `,
+ # `
+ # "role": "roles/viewer",
+ # "members": ["user:sean@example.com"]
+ # `
+ # ]
+ # `
+ # **YAML Example**
+ # bindings:
+ # - members:
+ # - user:mike@example.com
+ # - group:admins@example.com
+ # - domain:google.com
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
+ # role: roles/owner
+ # - members:
+ # - user:sean@example.com
+ # role: roles/viewer
+ # For a description of IAM and its features, see the
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
+ class Policy
+ include Google::Apis::Core::Hashable
+
+ # Specifies cloud audit logging configuration for this policy.
+ # Corresponds to the JSON property `auditConfigs`
+ # @return [Array]
+ attr_accessor :audit_configs
+
+ # Associates a list of `members` to a `role`.
+ # `bindings` with no members will result in an error.
+ # Corresponds to the JSON property `bindings`
+ # @return [Array]
+ attr_accessor :bindings
+
+ # `etag` is used for optimistic concurrency control as a way to help
+ # prevent simultaneous updates of a policy from overwriting each other.
+ # It is strongly suggested that systems make use of the `etag` in the
+ # read-modify-write cycle to perform policy updates in order to avoid race
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
+ # systems are expected to put that etag in the request to `setIamPolicy` to
+ # ensure that their change will be applied to the same version of the policy.
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
+ # policy is overwritten blindly.
+ # Corresponds to the JSON property `etag`
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
+ # @return [String]
+ attr_accessor :etag
+
+ # Deprecated.
+ # Corresponds to the JSON property `version`
+ # @return [Fixnum]
+ attr_accessor :version
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
+ @bindings = args[:bindings] if args.key?(:bindings)
+ @etag = args[:etag] if args.key?(:etag)
+ @version = args[:version] if args.key?(:version)
+ end
+ end
+
+ # ProgressCounter provides counters to describe an operation's progress.
+ class ProgressCounter
+ include Google::Apis::Core::Hashable
+
+ # The number of units that failed in the operation.
+ # Corresponds to the JSON property `failure`
+ # @return [Fixnum]
+ attr_accessor :failure
+
+ # The number of units that are pending in the operation.
+ # Corresponds to the JSON property `pending`
+ # @return [Fixnum]
+ attr_accessor :pending
+
+ # The number of units that succeeded in the operation.
+ # Corresponds to the JSON property `success`
+ # @return [Fixnum]
+ attr_accessor :success
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @failure = args[:failure] if args.key?(:failure)
+ @pending = args[:pending] if args.key?(:pending)
+ @success = args[:success] if args.key?(:success)
+ end
+ end
+
+ # Define how to redact sensitive values. Default behaviour is erase,
+ # e.g. "My name is Jake." becomes "My name is ."
+ class RedactConfig
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # When using the INSPECT_AND_TRANSFORM action, each match is replaced with
+ # the name of the info_type. For example, "My name is Jake" becomes "My name is
+ # [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
+ class ReplaceWithInfoTypeConfig
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # Configuration for the FHIR BigQuery schema. Determines how the server
+ # generates the schema.
+ class SchemaConfig
+ include Google::Apis::Core::Hashable
+
+ # The depth for all recursive structures in the output analytics
+ # schema. For example, `concept` in the CodeSystem resource is a recursive
+ # structure; when the depth is 2, the CodeSystem table will have a column
+ # called `concept.concept` but not `concept.concept.concept`. If not
+ # specified or set to 0, the server will use the default value 2.
+ # Corresponds to the JSON property `recursiveStructureDepth`
+ # @return [Fixnum]
+ attr_accessor :recursive_structure_depth
+
+ # Specifies the output schema type. If unspecified, the default is
+ # `LOSSLESS`.
+ # Corresponds to the JSON property `schemaType`
+ # @return [String]
+ attr_accessor :schema_type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @recursive_structure_depth = args[:recursive_structure_depth] if args.key?(:recursive_structure_depth)
+ @schema_type = args[:schema_type] if args.key?(:schema_type)
+ end
+ end
+
+ # Request to search the resources in the specified FHIR store.
+ class SearchResourcesRequest
+ include Google::Apis::Core::Hashable
+
+ # The type of the resource to search.
+ # Corresponds to the JSON property `resourceType`
+ # @return [String]
+ attr_accessor :resource_type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
+ end
+ end
+
+ # A segment in a structured format.
+ class Segment
+ include Google::Apis::Core::Hashable
+
+ # A mapping from the positional location to the value.
+ # The key string uses zero-based indexes separated by dots to identify
+ # Fields, components and sub-components. A bracket notation is also used to
+ # identify different instances of a repeated field.
+ # Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)?
+ # Examples of (key, value) pairs:
+ # - (0.1, "foo"): Component 1 of Field 0 has the value "foo".
+ # - (1.1.2, "bar"): Sub-component 2 of Component 1 of field 1 has the value
+ # "bar".
+ # - (1[2].1, "baz"): Component 1 of Instance 2 of Field 1, which is repeated,
+ # has the value "baz".
+ # Corresponds to the JSON property `fields`
+ # @return [Hash]
+ attr_accessor :fields
+
+ # A string that indicates the type of segment, e.g., EVN, PID.
+ # Corresponds to the JSON property `segmentId`
+ # @return [String]
+ attr_accessor :segment_id
+
+ # Set ID for segments that can be in a set. This can be empty if it is
+ # missing or it is not applicable.
+ # Corresponds to the JSON property `setId`
+ # @return [String]
+ attr_accessor :set_id
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @fields = args[:fields] if args.key?(:fields)
+ @segment_id = args[:segment_id] if args.key?(:segment_id)
+ @set_id = args[:set_id] if args.key?(:set_id)
+ end
+ end
+
+ # Request message for `SetIamPolicy` method.
+ class SetIamPolicyRequest
+ include Google::Apis::Core::Hashable
+
+ # Defines an Identity and Access Management (IAM) policy. It is used to
+ # specify access control policies for Cloud Platform resources.
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
+ # `members` to a `role`, where the members can be user accounts, Google groups,
+ # Google domains, and service accounts. A `role` is a named list of permissions
+ # defined by IAM.
+ # **JSON Example**
+ # `
+ # "bindings": [
+ # `
+ # "role": "roles/owner",
+ # "members": [
+ # "user:mike@example.com",
+ # "group:admins@example.com",
+ # "domain:google.com",
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
+ # ]
+ # `,
+ # `
+ # "role": "roles/viewer",
+ # "members": ["user:sean@example.com"]
+ # `
+ # ]
+ # `
+ # **YAML Example**
+ # bindings:
+ # - members:
+ # - user:mike@example.com
+ # - group:admins@example.com
+ # - domain:google.com
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
+ # role: roles/owner
+ # - members:
+ # - user:sean@example.com
+ # role: roles/viewer
+ # For a description of IAM and its features, see the
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
+ # Corresponds to the JSON property `policy`
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
+ attr_accessor :policy
+
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
+ # the fields in the mask will be modified. If no mask is provided, the
+ # following default mask is used:
+ # paths: "bindings, etag"
+ # This field is only used by Cloud IAM.
+ # Corresponds to the JSON property `updateMask`
+ # @return [String]
+ attr_accessor :update_mask
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @policy = args[:policy] if args.key?(:policy)
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
+ end
+ end
+
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
+ # - Simple to use and understand for most users
+ # - Flexible enough to meet unexpected needs
+ # # Overview
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
+ # google.rpc.Code, but it may accept additional error codes if needed. The
+ # error message should be a developer-facing English message that helps
+ # developers *understand* and *resolve* the error. If a localized user-facing
+ # error message is needed, put the localized message in the error details or
+ # localize it in the client. The optional error details may contain arbitrary
+ # information about the error. There is a predefined set of error detail types
+ # in the package `google.rpc` that can be used for common error conditions.
+ # # Language mapping
+ # The `Status` message is the logical representation of the error model, but it
+ # is not necessarily the actual wire format. When the `Status` message is
+ # exposed in different client libraries and different wire protocols, it can be
+ # mapped differently. For example, it will likely be mapped to some exceptions
+ # in Java, but more likely mapped to some error codes in C.
+ # # Other uses
+ # The error model and the `Status` message can be used in a variety of
+ # environments, either with or without APIs, to provide a
+ # consistent developer experience across different environments.
+ # Example uses of this error model include:
+ # - Partial errors. If a service needs to return partial errors to the client,
+ # it may embed the `Status` in the normal response to indicate the partial
+ # errors.
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
+ # have a `Status` message for error reporting.
+ # - Batch operations. If a client uses batch request and batch response, the
+ # `Status` message should be used directly inside batch response, one for
+ # each error sub-response.
+ # - Asynchronous operations. If an API call embeds asynchronous operation
+ # results in its response, the status of those operations should be
+ # represented directly using the `Status` message.
+ # - Logging. If some API errors are stored in logs, the message `Status` could
+ # be used directly after any stripping needed for security/privacy reasons.
+ class Status
+ include Google::Apis::Core::Hashable
+
+ # The status code, which should be an enum value of google.rpc.Code.
+ # Corresponds to the JSON property `code`
+ # @return [Fixnum]
+ attr_accessor :code
+
+ # A list of messages that carry the error details. There is a common set of
+ # message types for APIs to use.
+ # Corresponds to the JSON property `details`
+ # @return [Array>]
+ attr_accessor :details
+
+ # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
+ # Corresponds to the JSON property `message`
+ # @return [String]
+ attr_accessor :message
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @code = args[:code] if args.key?(:code)
+ @details = args[:details] if args.key?(:details)
+ @message = args[:message] if args.key?(:message)
+ end
+ end
+
+ # List of tags to be filtered.
+ class TagFilterList
+ include Google::Apis::Core::Hashable
+
+ # Tags to be filtered. Tags must be DICOM Data Elements, File Meta
+ # Elements, or Directory Structuring Elements, as defined at:
+ # http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,.
+ # They may be provided by "Keyword" or "Tag". For example "PatientID",
+ # "00100010".
+ # Corresponds to the JSON property `tags`
+ # @return [Array]
+ attr_accessor :tags
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @tags = args[:tags] if args.key?(:tags)
+ end
+ end
+
+ # Request message for `TestIamPermissions` method.
+ class TestIamPermissionsRequest
+ include Google::Apis::Core::Hashable
+
+ # The set of permissions to check for the `resource`. Permissions with
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
+ # information see
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
+ # Corresponds to the JSON property `permissions`
+ # @return [Array]
+ attr_accessor :permissions
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @permissions = args[:permissions] if args.key?(:permissions)
+ end
+ end
+
+ # Response message for `TestIamPermissions` method.
+ class TestIamPermissionsResponse
+ include Google::Apis::Core::Hashable
+
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
+ # allowed.
+ # Corresponds to the JSON property `permissions`
+ # @return [Array]
+ attr_accessor :permissions
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @permissions = args[:permissions] if args.key?(:permissions)
+ end
+ end
+
+ #
+ class TextConfig
+ include Google::Apis::Core::Hashable
+
+ # The transformations to apply to the detected data.
+ # Corresponds to the JSON property `transformations`
+ # @return [Array]
+ attr_accessor :transformations
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @transformations = args[:transformations] if args.key?(:transformations)
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/healthcare_v1beta1/representations.rb b/generated/google/apis/healthcare_v1beta1/representations.rb
new file mode 100644
index 000000000..590e59f94
--- /dev/null
+++ b/generated/google/apis/healthcare_v1beta1/representations.rb
@@ -0,0 +1,1042 @@
+# 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 HealthcareV1beta1
+
+ class AuditConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AuditLogConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Binding
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class CharacterMaskConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class CreateMessageRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class CryptoHashConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Dataset
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DateShiftConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DeidentifyConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DeidentifyDatasetRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DeidentifyErrorDetails
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DeidentifySummary
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DicomConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DicomStore
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Empty
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ErrorDetail
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ExportDicomDataRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ExportResourcesRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Expr
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class FhirConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class FhirStore
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class FieldMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudHealthcareV1beta1DicomGcsDestination
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudHealthcareV1beta1DicomGcsSource
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirBigQueryDestination
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestGcsDestination
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestGcsSource
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Hl7V2Store
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class HttpBody
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ImageConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ImportDicomDataErrorDetails
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ImportDicomDataRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ImportResourcesRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class InfoTypeTransformation
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class IngestMessageRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class IngestMessageResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListDatasetsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListDicomStoresResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListFhirStoresResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListHl7V2StoresResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListLocationsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListMessagesResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ListOperationsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Location
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Message
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class NotificationConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Operation
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class OperationMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ParsedData
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ParserConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class PatientId
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Policy
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ProgressCounter
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class RedactConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class ReplaceWithInfoTypeConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SchemaConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SearchResourcesRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Segment
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SetIamPolicyRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Status
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class TagFilterList
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class TestIamPermissionsRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class TestIamPermissionsResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class TextConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class AuditConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::HealthcareV1beta1::AuditLogConfig, decorator: Google::Apis::HealthcareV1beta1::AuditLogConfig::Representation
+
+ property :service, as: 'service'
+ end
+ end
+
+ class AuditLogConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :exempted_members, as: 'exemptedMembers'
+ property :log_type, as: 'logType'
+ end
+ end
+
+ class Binding
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :condition, as: 'condition', class: Google::Apis::HealthcareV1beta1::Expr, decorator: Google::Apis::HealthcareV1beta1::Expr::Representation
+
+ collection :members, as: 'members'
+ property :role, as: 'role'
+ end
+ end
+
+ class CharacterMaskConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :masking_character, as: 'maskingCharacter'
+ end
+ end
+
+ class CreateMessageRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :message, as: 'message', class: Google::Apis::HealthcareV1beta1::Message, decorator: Google::Apis::HealthcareV1beta1::Message::Representation
+
+ end
+ end
+
+ class CryptoHashConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :crypto_key, :base64 => true, as: 'cryptoKey'
+ end
+ end
+
+ class Dataset
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :name, as: 'name'
+ property :time_zone, as: 'timeZone'
+ end
+ end
+
+ class DateShiftConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :crypto_key, :base64 => true, as: 'cryptoKey'
+ end
+ end
+
+ class DeidentifyConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :dicom, as: 'dicom', class: Google::Apis::HealthcareV1beta1::DicomConfig, decorator: Google::Apis::HealthcareV1beta1::DicomConfig::Representation
+
+ property :fhir, as: 'fhir', class: Google::Apis::HealthcareV1beta1::FhirConfig, decorator: Google::Apis::HealthcareV1beta1::FhirConfig::Representation
+
+ property :image, as: 'image', class: Google::Apis::HealthcareV1beta1::ImageConfig, decorator: Google::Apis::HealthcareV1beta1::ImageConfig::Representation
+
+ property :text, as: 'text', class: Google::Apis::HealthcareV1beta1::TextConfig, decorator: Google::Apis::HealthcareV1beta1::TextConfig::Representation
+
+ end
+ end
+
+ class DeidentifyDatasetRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :config, as: 'config', class: Google::Apis::HealthcareV1beta1::DeidentifyConfig, decorator: Google::Apis::HealthcareV1beta1::DeidentifyConfig::Representation
+
+ property :destination_dataset, as: 'destinationDataset'
+ end
+ end
+
+ class DeidentifyErrorDetails
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :failure_resource_count, :numeric_string => true, as: 'failureResourceCount'
+ property :failure_store_count, :numeric_string => true, as: 'failureStoreCount'
+ property :success_resource_count, :numeric_string => true, as: 'successResourceCount'
+ property :success_store_count, :numeric_string => true, as: 'successStoreCount'
+ end
+ end
+
+ class DeidentifySummary
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :success_resource_count, :numeric_string => true, as: 'successResourceCount'
+ property :success_store_count, :numeric_string => true, as: 'successStoreCount'
+ end
+ end
+
+ class DicomConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :filter_profile, as: 'filterProfile'
+ property :keep_list, as: 'keepList', class: Google::Apis::HealthcareV1beta1::TagFilterList, decorator: Google::Apis::HealthcareV1beta1::TagFilterList::Representation
+
+ property :remove_list, as: 'removeList', class: Google::Apis::HealthcareV1beta1::TagFilterList, decorator: Google::Apis::HealthcareV1beta1::TagFilterList::Representation
+
+ end
+ end
+
+ class DicomStore
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ hash :labels, as: 'labels'
+ property :name, as: 'name'
+ property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1beta1::NotificationConfig, decorator: Google::Apis::HealthcareV1beta1::NotificationConfig::Representation
+
+ end
+ end
+
+ class Empty
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class ErrorDetail
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :error, as: 'error', class: Google::Apis::HealthcareV1beta1::Status, decorator: Google::Apis::HealthcareV1beta1::Status::Representation
+
+ property :resource, as: 'resource'
+ end
+ end
+
+ class ExportDicomDataRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomBigQueryDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomBigQueryDestination::Representation
+
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsDestination::Representation
+
+ end
+ end
+
+ class ExportResourcesRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination::Representation
+
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsDestination::Representation
+
+ end
+ end
+
+ class Expr
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :description, as: 'description'
+ property :expression, as: 'expression'
+ property :location, as: 'location'
+ property :title, as: 'title'
+ end
+ end
+
+ class FhirConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :field_metadata_list, as: 'fieldMetadataList', class: Google::Apis::HealthcareV1beta1::FieldMetadata, decorator: Google::Apis::HealthcareV1beta1::FieldMetadata::Representation
+
+ end
+ end
+
+ class FhirStore
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :disable_referential_integrity, as: 'disableReferentialIntegrity'
+ property :disable_resource_versioning, as: 'disableResourceVersioning'
+ property :enable_history_import, as: 'enableHistoryImport'
+ property :enable_update_create, as: 'enableUpdateCreate'
+ hash :labels, as: 'labels'
+ property :name, as: 'name'
+ property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1beta1::NotificationConfig, decorator: Google::Apis::HealthcareV1beta1::NotificationConfig::Representation
+
+ end
+ end
+
+ class FieldMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :action, as: 'action'
+ collection :paths, as: 'paths'
+ end
+ end
+
+ class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :force, as: 'force'
+ property :table_uri, as: 'tableUri'
+ end
+ end
+
+ class GoogleCloudHealthcareV1beta1DicomGcsDestination
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :mime_type, as: 'mimeType'
+ property :uri_prefix, as: 'uriPrefix'
+ end
+ end
+
+ class GoogleCloudHealthcareV1beta1DicomGcsSource
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :uri, as: 'uri'
+ end
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirBigQueryDestination
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :dataset_uri, as: 'datasetUri'
+ property :schema_config, as: 'schemaConfig', class: Google::Apis::HealthcareV1beta1::SchemaConfig, decorator: Google::Apis::HealthcareV1beta1::SchemaConfig::Representation
+
+ end
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :fhir_store, as: 'fhirStore'
+ property :resource_count, :numeric_string => true, as: 'resourceCount'
+ end
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestGcsDestination
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :uri_prefix, as: 'uriPrefix'
+ end
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestGcsSource
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :uri, as: 'uri'
+ end
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :error_count, :numeric_string => true, as: 'errorCount'
+ property :fhir_store, as: 'fhirStore'
+ property :input_size, :numeric_string => true, as: 'inputSize'
+ property :success_count, :numeric_string => true, as: 'successCount'
+ end
+ end
+
+ class GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :fhir_store, as: 'fhirStore'
+ property :input_size, :numeric_string => true, as: 'inputSize'
+ end
+ end
+
+ class Hl7V2Store
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ hash :labels, as: 'labels'
+ property :name, as: 'name'
+ property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1beta1::NotificationConfig, decorator: Google::Apis::HealthcareV1beta1::NotificationConfig::Representation
+
+ property :parser_config, as: 'parserConfig', class: Google::Apis::HealthcareV1beta1::ParserConfig, decorator: Google::Apis::HealthcareV1beta1::ParserConfig::Representation
+
+ end
+ end
+
+ class HttpBody
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :content_type, as: 'contentType'
+ property :data, :base64 => true, as: 'data'
+ collection :extensions, as: 'extensions'
+ end
+ end
+
+ class ImageConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :text_redaction_mode, as: 'textRedactionMode'
+ end
+ end
+
+ class ImportDicomDataErrorDetails
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :sample_errors, as: 'sampleErrors', class: Google::Apis::HealthcareV1beta1::ErrorDetail, decorator: Google::Apis::HealthcareV1beta1::ErrorDetail::Representation
+
+ end
+ end
+
+ class ImportDicomDataRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsSource, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsSource::Representation
+
+ end
+ end
+
+ class ImportResourcesRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :content_structure, as: 'contentStructure'
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsSource, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsSource::Representation
+
+ end
+ end
+
+ class InfoTypeTransformation
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :character_mask_config, as: 'characterMaskConfig', class: Google::Apis::HealthcareV1beta1::CharacterMaskConfig, decorator: Google::Apis::HealthcareV1beta1::CharacterMaskConfig::Representation
+
+ property :crypto_hash_config, as: 'cryptoHashConfig', class: Google::Apis::HealthcareV1beta1::CryptoHashConfig, decorator: Google::Apis::HealthcareV1beta1::CryptoHashConfig::Representation
+
+ property :date_shift_config, as: 'dateShiftConfig', class: Google::Apis::HealthcareV1beta1::DateShiftConfig, decorator: Google::Apis::HealthcareV1beta1::DateShiftConfig::Representation
+
+ collection :info_types, as: 'infoTypes'
+ property :redact_config, as: 'redactConfig', class: Google::Apis::HealthcareV1beta1::RedactConfig, decorator: Google::Apis::HealthcareV1beta1::RedactConfig::Representation
+
+ property :replace_with_info_type_config, as: 'replaceWithInfoTypeConfig', class: Google::Apis::HealthcareV1beta1::ReplaceWithInfoTypeConfig, decorator: Google::Apis::HealthcareV1beta1::ReplaceWithInfoTypeConfig::Representation
+
+ end
+ end
+
+ class IngestMessageRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :message, as: 'message', class: Google::Apis::HealthcareV1beta1::Message, decorator: Google::Apis::HealthcareV1beta1::Message::Representation
+
+ end
+ end
+
+ class IngestMessageResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :hl7_ack, :base64 => true, as: 'hl7Ack'
+ property :message, as: 'message', class: Google::Apis::HealthcareV1beta1::Message, decorator: Google::Apis::HealthcareV1beta1::Message::Representation
+
+ end
+ end
+
+ class ListDatasetsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :datasets, as: 'datasets', class: Google::Apis::HealthcareV1beta1::Dataset, decorator: Google::Apis::HealthcareV1beta1::Dataset::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class ListDicomStoresResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :dicom_stores, as: 'dicomStores', class: Google::Apis::HealthcareV1beta1::DicomStore, decorator: Google::Apis::HealthcareV1beta1::DicomStore::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class ListFhirStoresResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :fhir_stores, as: 'fhirStores', class: Google::Apis::HealthcareV1beta1::FhirStore, decorator: Google::Apis::HealthcareV1beta1::FhirStore::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class ListHl7V2StoresResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :hl7_v2_stores, as: 'hl7V2Stores', class: Google::Apis::HealthcareV1beta1::Hl7V2Store, decorator: Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class ListLocationsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :locations, as: 'locations', class: Google::Apis::HealthcareV1beta1::Location, decorator: Google::Apis::HealthcareV1beta1::Location::Representation
+
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class ListMessagesResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :messages, as: 'messages'
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class ListOperationsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :next_page_token, as: 'nextPageToken'
+ collection :operations, as: 'operations', class: Google::Apis::HealthcareV1beta1::Operation, decorator: Google::Apis::HealthcareV1beta1::Operation::Representation
+
+ end
+ end
+
+ class Location
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :display_name, as: 'displayName'
+ hash :labels, as: 'labels'
+ property :location_id, as: 'locationId'
+ hash :metadata, as: 'metadata'
+ property :name, as: 'name'
+ end
+ end
+
+ class Message
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :create_time, as: 'createTime'
+ property :data, :base64 => true, as: 'data'
+ hash :labels, as: 'labels'
+ property :message_type, as: 'messageType'
+ property :name, as: 'name'
+ property :parsed_data, as: 'parsedData', class: Google::Apis::HealthcareV1beta1::ParsedData, decorator: Google::Apis::HealthcareV1beta1::ParsedData::Representation
+
+ collection :patient_ids, as: 'patientIds', class: Google::Apis::HealthcareV1beta1::PatientId, decorator: Google::Apis::HealthcareV1beta1::PatientId::Representation
+
+ property :send_facility, as: 'sendFacility'
+ property :send_time, as: 'sendTime'
+ end
+ end
+
+ class NotificationConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :pubsub_topic, as: 'pubsubTopic'
+ end
+ end
+
+ class Operation
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :done, as: 'done'
+ property :error, as: 'error', class: Google::Apis::HealthcareV1beta1::Status, decorator: Google::Apis::HealthcareV1beta1::Status::Representation
+
+ hash :metadata, as: 'metadata'
+ property :name, as: 'name'
+ hash :response, as: 'response'
+ end
+ end
+
+ class OperationMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :api_method_name, as: 'apiMethodName'
+ property :counter, as: 'counter', class: Google::Apis::HealthcareV1beta1::ProgressCounter, decorator: Google::Apis::HealthcareV1beta1::ProgressCounter::Representation
+
+ property :create_time, as: 'createTime'
+ property :end_time, as: 'endTime'
+ end
+ end
+
+ class ParsedData
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :segments, as: 'segments', class: Google::Apis::HealthcareV1beta1::Segment, decorator: Google::Apis::HealthcareV1beta1::Segment::Representation
+
+ end
+ end
+
+ class ParserConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :allow_null_header, as: 'allowNullHeader'
+ property :segment_terminator, :base64 => true, as: 'segmentTerminator'
+ end
+ end
+
+ class PatientId
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :type, as: 'type'
+ property :value, as: 'value'
+ end
+ end
+
+ class Policy
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::HealthcareV1beta1::AuditConfig, decorator: Google::Apis::HealthcareV1beta1::AuditConfig::Representation
+
+ collection :bindings, as: 'bindings', class: Google::Apis::HealthcareV1beta1::Binding, decorator: Google::Apis::HealthcareV1beta1::Binding::Representation
+
+ property :etag, :base64 => true, as: 'etag'
+ property :version, as: 'version'
+ end
+ end
+
+ class ProgressCounter
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :failure, :numeric_string => true, as: 'failure'
+ property :pending, :numeric_string => true, as: 'pending'
+ property :success, :numeric_string => true, as: 'success'
+ end
+ end
+
+ class RedactConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class ReplaceWithInfoTypeConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ end
+ end
+
+ class SchemaConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :recursive_structure_depth, :numeric_string => true, as: 'recursiveStructureDepth'
+ property :schema_type, as: 'schemaType'
+ end
+ end
+
+ class SearchResourcesRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :resource_type, as: 'resourceType'
+ end
+ end
+
+ class Segment
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ hash :fields, as: 'fields'
+ property :segment_id, as: 'segmentId'
+ property :set_id, as: 'setId'
+ end
+ end
+
+ class SetIamPolicyRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :policy, as: 'policy', class: Google::Apis::HealthcareV1beta1::Policy, decorator: Google::Apis::HealthcareV1beta1::Policy::Representation
+
+ property :update_mask, as: 'updateMask'
+ end
+ end
+
+ class Status
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :code, as: 'code'
+ collection :details, as: 'details'
+ property :message, as: 'message'
+ end
+ end
+
+ class TagFilterList
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :tags, as: 'tags'
+ end
+ end
+
+ class TestIamPermissionsRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :permissions, as: 'permissions'
+ end
+ end
+
+ class TestIamPermissionsResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :permissions, as: 'permissions'
+ end
+ end
+
+ class TextConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :transformations, as: 'transformations', class: Google::Apis::HealthcareV1beta1::InfoTypeTransformation, decorator: Google::Apis::HealthcareV1beta1::InfoTypeTransformation::Representation
+
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/healthcare_v1beta1/service.rb b/generated/google/apis/healthcare_v1beta1/service.rb
new file mode 100644
index 000000000..50977570a
--- /dev/null
+++ b/generated/google/apis/healthcare_v1beta1/service.rb
@@ -0,0 +1,3403 @@
+# Copyright 2015 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+require 'google/apis/core/base_service'
+require 'google/apis/core/json_representation'
+require 'google/apis/core/hashable'
+require 'google/apis/errors'
+
+module Google
+ module Apis
+ module HealthcareV1beta1
+ # Cloud Healthcare API
+ #
+ # Manage, store, and access healthcare data in Google Cloud Platform.
+ #
+ # @example
+ # require 'google/apis/healthcare_v1beta1'
+ #
+ # Healthcare = Google::Apis::HealthcareV1beta1 # Alias the module
+ # service = Healthcare::CloudHealthcareService.new
+ #
+ # @see https://cloud.google.com/healthcare
+ class CloudHealthcareService < Google::Apis::Core::BaseService
+ # @return [String]
+ # API key. Your API key identifies your project and provides you with API access,
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
+ attr_accessor :key
+
+ # @return [String]
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ attr_accessor :quota_user
+
+ def initialize
+ super('https://healthcare.googleapis.com/', '')
+ @batch_path = 'batch'
+ end
+
+ # Gets information about a location.
+ # @param [String] name
+ # Resource name for the location.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Location] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Location]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Location::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Location
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists information about the supported locations for this service.
+ # @param [String] name
+ # The resource that owns the locations collection, if applicable.
+ # @param [String] filter
+ # The standard list filter.
+ # @param [Fixnum] page_size
+ # The standard list page size.
+ # @param [String] page_token
+ # The standard list page token.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::ListLocationsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::ListLocationsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::ListLocationsResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::ListLocationsResponse
+ command.params['name'] = name unless name.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a new health dataset. Results are returned through the
+ # Operation interface which returns either an
+ # `Operation.response` which contains a Dataset or
+ # `Operation.error`. The metadata
+ # field type is OperationMetadata.
+ # @param [String] parent
+ # The name of the project in which the dataset should be created (e.g.,
+ # `projects/`project_id`/locations/`location_id``).
+ # @param [Google::Apis::HealthcareV1beta1::Dataset] dataset_object
+ # @param [String] dataset_id
+ # The ID of the dataset that is being created.
+ # The string must match the following regex: `[\p`L`\p`N`_\-\.]`1,256``.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def create_project_location_dataset(parent, dataset_object = nil, dataset_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/datasets', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::Dataset::Representation
+ command.request_object = dataset_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
+ command.params['parent'] = parent unless parent.nil?
+ command.query['datasetId'] = dataset_id unless dataset_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a new dataset containing de-identified data from the source
+ # dataset. The metadata field type
+ # is OperationMetadata.
+ # If the request is successful, the
+ # response field type is
+ # DeidentifySummary.
+ # If errors occur,
+ # details field type is
+ # DeidentifyErrorDetails.
+ # @param [String] source_dataset
+ # Source dataset resource name. (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``).
+ # @param [Google::Apis::HealthcareV1beta1::DeidentifyDatasetRequest] deidentify_dataset_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def deidentify_dataset(source_dataset, deidentify_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+sourceDataset}:deidentify', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyDatasetRequest::Representation
+ command.request_object = deidentify_dataset_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
+ command.params['sourceDataset'] = source_dataset unless source_dataset.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes the specified health dataset and all data contained in the dataset.
+ # Deleting a dataset does not affect the sources from which the dataset was
+ # imported (if any).
+ # @param [String] name
+ # The name of the dataset to delete (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_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::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::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 any metadata associated with a dataset.
+ # @param [String] name
+ # The name of the dataset to read (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_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::HealthcareV1beta1::Dataset] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Dataset]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Dataset::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Dataset
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the access control policy for a resource.
+ # Returns an empty policy if the resource exists and does not have a policy
+ # set.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location_dataset_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists the health datasets in the current project.
+ # @param [String] parent
+ # The name of the project whose datasets should be listed (e.g.,
+ # `projects/`project_id`/locations/`location_id``).
+ # @param [Fixnum] page_size
+ # The maximum number of items to return. Capped to 100 if not specified.
+ # May not be larger than 1000.
+ # @param [String] page_token
+ # The next_page_token value returned from a previous List request, if any.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::ListDatasetsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::ListDatasetsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_project_location_datasets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/datasets', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::ListDatasetsResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::ListDatasetsResponse
+ 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 dataset metadata.
+ # @param [String] name
+ # Output only. Resource name of the dataset, of the form
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
+ # @param [Google::Apis::HealthcareV1beta1::Dataset] dataset_object
+ # @param [String] update_mask
+ # The update mask applies to the resource. For the `FieldMask` definition,
+ # see
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
+ # fieldmask
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Dataset] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Dataset]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patch_project_location_dataset(name, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::Dataset::Representation
+ command.request_object = dataset_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Dataset::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Dataset
+ 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
+
+ # Sets the access control policy on the specified resource. Replaces any
+ # existing policy.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being specified.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
+ command.request_object = set_iam_policy_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns permissions that a caller has on the specified resource.
+ # If the resource does not exist, this will return an empty set of
+ # permissions, not a NOT_FOUND error.
+ # Note: This operation is designed to be used for building permission-aware
+ # UIs and command-line tools, not for authorization checking. This operation
+ # may "fail open" without warning.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy detail is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
+ command.request_object = test_iam_permissions_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a new DICOM store within the parent dataset.
+ # @param [String] parent
+ # The name of the dataset this DICOM store belongs to.
+ # @param [Google::Apis::HealthcareV1beta1::DicomStore] dicom_store_object
+ # @param [String] dicom_store_id
+ # The ID of the DICOM store that is being created.
+ # Any string value up to 256 characters in length.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::DicomStore] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::DicomStore]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_dicom_store(parent, dicom_store_object = nil, dicom_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/dicomStores', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation
+ command.request_object = dicom_store_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::DicomStore
+ command.params['parent'] = parent unless parent.nil?
+ command.query['dicomStoreId'] = dicom_store_id unless dicom_store_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes the specified DICOM store and removes all images that are contained
+ # within it.
+ # @param [String] name
+ # The resource name of the DICOM store to delete.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::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
+
+ # Exports data to the specified destination by copying it from the DICOM
+ # store.
+ # The metadata field type is
+ # OperationMetadata.
+ # @param [String] name
+ # The DICOM store resource name from which the data should be exported (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [Google::Apis::HealthcareV1beta1::ExportDicomDataRequest] export_dicom_data_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::HealthcareV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def export_dicom_store_dicom_data(name, export_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:export', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::ExportDicomDataRequest::Representation
+ command.request_object = export_dicom_data_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the specified DICOM store.
+ # @param [String] name
+ # The resource name of the DICOM store to get.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::DicomStore] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::DicomStore]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::DicomStore
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the access control policy for a resource.
+ # Returns an empty policy if the resource exists and does not have a policy
+ # set.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location_dataset_dicom_store_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Imports data into the DICOM store by copying it from the specified source.
+ # For errors, the Operation will be populated with error details (in the form
+ # of ImportDicomDataErrorDetails in error.details), which will hold
+ # finer-grained error information.
+ # The metadata field type is
+ # OperationMetadata.
+ # @param [String] name
+ # The name of the DICOM store resource into which the data is imported (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [Google::Apis::HealthcareV1beta1::ImportDicomDataRequest] import_dicom_data_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::HealthcareV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def import_dicom_store_dicom_data(name, import_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:import', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::ImportDicomDataRequest::Representation
+ command.request_object = import_dicom_data_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists the DICOM stores in the given dataset.
+ # @param [String] parent
+ # Name of the dataset.
+ # @param [String] filter
+ # Restricts stores returned to those matching a filter. Syntax:
+ # https://cloud.google.com/appengine/docs/standard/python/search/query_strings
+ # Only filtering on labels is supported, for example `labels.key=value`.
+ # @param [Fixnum] page_size
+ # Limit on the number of DICOM stores to return in a single response.
+ # If zero the default page size of 100 is used.
+ # @param [String] page_token
+ # The next_page_token value returned from the previous List request, if any.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::ListDicomStoresResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::ListDicomStoresResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_dataset_dicom_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomStores', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::ListDicomStoresResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::ListDicomStoresResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates the specified DICOM store.
+ # @param [String] name
+ # Output only. Resource name of the DICOM store, of the form
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``.
+ # @param [Google::Apis::HealthcareV1beta1::DicomStore] dicom_store_object
+ # @param [String] update_mask
+ # The update mask applies to the resource. For the `FieldMask` definition,
+ # see
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
+ # fieldmask
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::DicomStore] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::DicomStore]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_dicom_store(name, dicom_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation
+ command.request_object = dicom_store_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::DicomStore
+ 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
+
+ # SearchForInstances returns a list of matching instances. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.7
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `instances`).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def search_project_location_dataset_dicom_store_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # SearchForSeries returns a list of matching series. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.7
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `series`).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def search_project_location_dataset_dicom_store_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # SearchForStudies returns a list of matching studies. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.7
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `studies`).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def search_project_location_dataset_dicom_store_for_studies(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Sets the access control policy on the specified resource. Replaces any
+ # existing policy.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being specified.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def set_dicom_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
+ command.request_object = set_iam_policy_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # StoreInstances stores DICOM instances associated with study instance unique
+ # identifiers (SUID). See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.6.1.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g., `studies/`study_id``).
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def store_project_location_dataset_dicom_store_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.request_object = http_body_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns permissions that a caller has on the specified resource.
+ # If the resource does not exist, this will return an empty set of
+ # permissions, not a NOT_FOUND error.
+ # Note: This operation is designed to be used for building permission-aware
+ # UIs and command-line tools, not for authorization checking. This operation
+ # may "fail open" without warning.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy detail is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def test_dicom_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
+ command.request_object = test_iam_permissions_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # DeleteStudy deletes all instances within the given study. Delete requests
+ # are equivalent to the GET requests specified in the WADO-RS standard.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g., `studies/`study_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::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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_dataset_dicom_store_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Empty
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # RetrieveStudyMetadata returns instance associated with the given study
+ # presented as metadata with the bulk data removed. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.6.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g., `studies/`study_id`/metadata`.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def retrieve_project_location_dataset_dicom_store_study_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # RetrieveStudy returns all instances within the given study. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.1.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g., `studies/`study_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::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def retrieve_project_location_dataset_dicom_store_study_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # SearchForInstances returns a list of matching instances. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.7
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `instances`).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def search_project_location_dataset_dicom_store_study_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # SearchForSeries returns a list of matching series. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.7
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `series`).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def search_project_location_dataset_dicom_store_study_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # StoreInstances stores DICOM instances associated with study instance unique
+ # identifiers (SUID). See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.6.1.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g., `studies/`study_id``).
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def store_project_location_dataset_dicom_store_study_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.request_object = http_body_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # DeleteSeries deletes all instances within the given study and series.
+ # Delete requests are equivalent to the GET requests specified in the WADO-RS
+ # standard.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g., `studies/`study_id`/series/`series_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::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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_dataset_dicom_store_study_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Empty
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # RetrieveSeriesMetadata returns instance associated with the given study and
+ # series, presented as metadata with the bulk data removed. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.6.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g., `studies/`study_id`/series/`series_id`/metadata`.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def retrieve_project_location_dataset_dicom_store_study_series_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # RetrieveSeries returns all instances within the given study and series. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.2.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g., `studies/`study_id`/series/`series_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::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def retrieve_project_location_dataset_dicom_store_study_series_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # SearchForInstances returns a list of matching instances. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.7
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `instances`).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def search_project_location_dataset_dicom_store_study_series_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # DeleteInstance deletes an instance associated with the given study, series,
+ # and SOP Instance UID. Delete requests are equivalent to the GET requests
+ # specified in the WADO-RS standard.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `studies/`study_id`/series/`series_id`/instances/`instance_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::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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_dataset_dicom_store_study_series_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Empty
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # RetrieveInstance returns instance associated with the given study, series,
+ # and SOP Instance UID. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.3.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `studies/`study_id`/series/`series_id`/instance/`instance_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::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def retrieve_project_location_dataset_dicom_store_study_series_instance_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # RetrieveInstanceMetadata returns instance associated with the given study,
+ # series, and SOP Instance UID presented as metadata with the bulk data
+ # removed. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.6.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `studies/`study_id`/series/`series_id`/instances/`instance_id`/metadata`).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def retrieve_project_location_dataset_dicom_store_study_series_instance_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # RetrieveRenderedInstance returns instance associated with the given study,
+ # series, and SOP Instance UID in an acceptable Rendered Media Type. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.8.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `studies/`study_id`/series/`series_id`/instance/`instance_id`/rendered`).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def retrieve_project_location_dataset_dicom_store_study_series_instance_rendered(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # RetrieveFrames returns instances associated with the given study, series,
+ # SOP Instance UID and frame numbers. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.4.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `studies/`study_id`/series/`series_id`/instance/`instance_id`/frames/`
+ # frame_list``).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def retrieve_project_location_dataset_dicom_store_study_series_instance_frame_frames(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # RetrieveRenderedFrames returns instances associated with the given study,
+ # series, SOP Instance UID and frame numbers in an acceptable Rendered Media
+ # Type. See
+ # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.8.
+ # @param [String] parent
+ # The name of the DICOM store that is being accessed (e.g.,
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # dicomStores/`dicom_store_id``).
+ # @param [String] dicom_web_path
+ # The path of the DICOMweb request, as specified in the STOW-RS, WADO-RS, or
+ # QIDO-RS standard (e.g.,
+ # `studies/`study_id`/series/`series_id`/instance/`instance_id`/frames/`
+ # frame_list`/rendered`).
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def retrieve_project_location_dataset_dicom_store_study_series_instance_frame_rendered(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a new FHIR store within the parent dataset.
+ # @param [String] parent
+ # The name of the dataset this FHIR store belongs to.
+ # @param [Google::Apis::HealthcareV1beta1::FhirStore] fhir_store_object
+ # @param [String] fhir_store_id
+ # The ID of the FHIR store that is being created.
+ # The string must match the following regex: `[\p`L`\p`N`_\-\.]`1,256``.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::FhirStore] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::FhirStore]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_fhir_store(parent, fhir_store_object = nil, fhir_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/fhirStores', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation
+ command.request_object = fhir_store_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::FhirStore
+ command.params['parent'] = parent unless parent.nil?
+ command.query['fhirStoreId'] = fhir_store_id unless fhir_store_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes the specified FHIR store and removes all resources within it.
+ # @param [String] name
+ # The resource name of the FHIR store to delete.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::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
+
+ # Export resources from the FHIR store to the specified destination.
+ # This method returns an Operation that can
+ # be used to track the status of the export by calling
+ # GetOperation.
+ # Immediate fatal errors appear in the
+ # error field.
+ # Otherwise, when the operation finishes, a detailed response of type
+ # ExportResourcesResponse is returned in the
+ # response field.
+ # The metadata field type for this
+ # operation is OperationMetadata.
+ # @param [String] name
+ # The name of the FHIR store to export resource from. The name should be in
+ # the format of
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # fhirStores/`fhir_store_id``.
+ # @param [Google::Apis::HealthcareV1beta1::ExportResourcesRequest] export_resources_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::HealthcareV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def export_fhir_store_resources(name, export_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:export', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::ExportResourcesRequest::Representation
+ command.request_object = export_resources_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the configuration of the specified FHIR store.
+ # @param [String] name
+ # The resource name of the FHIR store to get.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::FhirStore] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::FhirStore]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::FhirStore
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the access control policy for a resource.
+ # Returns an empty policy if the resource exists and does not have a policy
+ # set.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location_dataset_fhir_store_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Import resources to the FHIR store by loading data from the specified
+ # sources. Each resource must have a client-supplied ID, which is retained
+ # by the server.
+ # The import operation is idempotent. Upon retry, the most recent data
+ # (matching the client-supplied ID) is overwritten, without creating a new
+ # resource version. If partial failures occur during the import, successful
+ # changes are not rolled back.
+ # If history imports are enabled
+ # (enable_history_import is set in the
+ # FHIR store's configuration), you can import historical versions of a
+ # resource by supplying a bundle of type `history`. The historical versions
+ # in the bundle must have `lastUpdated` timestamps. If a current or
+ # historical version with the supplied resource ID already exists, the
+ # bundle is rejected.
+ # This method returns an Operation that can
+ # be used to track the status of the import by calling
+ # GetOperation.
+ # Immediate fatal errors appear in the
+ # error field.
+ # Otherwise, when the operation finishes, a detailed response of type
+ # ImportResourcesResponse is returned in the
+ # response field.
+ # The metadata field type for this
+ # operation is OperationMetadata.
+ # @param [String] name
+ # The name of the FHIR store to import FHIR resources to. The name should be
+ # in the format of
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
+ # fhirStores/`fhir_store_id``.
+ # @param [Google::Apis::HealthcareV1beta1::ImportResourcesRequest] import_resources_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::HealthcareV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def import_fhir_store_resources(name, import_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+name}:import', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::ImportResourcesRequest::Representation
+ command.request_object = import_resources_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists the FHIR stores in the given dataset.
+ # @param [String] parent
+ # Name of the dataset.
+ # @param [String] filter
+ # Restricts stores returned to those matching a filter. Syntax:
+ # https://cloud.google.com/appengine/docs/standard/python/search/query_strings
+ # Only filtering on labels is supported, for example `labels.key=value`.
+ # @param [Fixnum] page_size
+ # Limit on the number of FHIR stores to return in a single response. If zero
+ # the default page size of 100 is used.
+ # @param [String] page_token
+ # The next_page_token value returned from the previous List request, if any.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::ListFhirStoresResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::ListFhirStoresResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_dataset_fhir_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/fhirStores', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::ListFhirStoresResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::ListFhirStoresResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates the configuration of the specified FHIR store.
+ # @param [String] name
+ # Output only. Resource name of the FHIR store, of the form
+ # `projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
+ # @param [Google::Apis::HealthcareV1beta1::FhirStore] fhir_store_object
+ # @param [String] update_mask
+ # The update mask applies to the resource. For the `FieldMask` definition,
+ # see
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
+ # fieldmask
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::FhirStore] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::FhirStore]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_fhir_store(name, fhir_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation
+ command.request_object = fhir_store_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::FhirStore
+ 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
+
+ # Sets the access control policy on the specified resource. Replaces any
+ # existing policy.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being specified.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def set_fhir_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
+ command.request_object = set_iam_policy_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns permissions that a caller has on the specified resource.
+ # If the resource does not exist, this will return an empty set of
+ # permissions, not a NOT_FOUND error.
+ # Note: This operation is designed to be used for building permission-aware
+ # UIs and command-line tools, not for authorization checking. This operation
+ # may "fail open" without warning.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy detail is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def test_fhir_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
+ command.request_object = test_iam_permissions_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Retrieves the N most recent `Observation` resources for a subject matching
+ # search criteria specified as query parameters, grouped by
+ # `Observation.code`, sorted from most recent to oldest.
+ # Implements the FHIR extended operation
+ # [Observation-lastn](http://hl7.org/implement/standards/fhir/STU3/observation-
+ # operations.html#lastn).
+ # Search terms are provided as query parameters following the same pattern as
+ # the search method. This operation accepts an additional
+ # query parameter `max`, which specifies N, the maximum number of
+ # Observations to return from each group, with a default of 1.
+ # On success, the response body will contain a JSON-encoded representation
+ # of a `Bundle` resource of type `searchset`, containing the results of the
+ # operation.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] parent
+ # Name of the FHIR store to retrieve resources from.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def observation_project_location_dataset_fhir_store_fhir_lastn(parent, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/fhir/Observation/$lastn', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ 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
+
+ # Retrieves all the resources in the patient compartment for a `Patient`
+ # resource.
+ # Implements the FHIR extended operation
+ # [Patient-everything](http://hl7.org/implement/standards/fhir/STU3/patient-
+ # operations.html#everything).
+ # On success, the response body will contain a JSON-encoded representation
+ # of a `Bundle` resource of type `searchset`, containing the results of the
+ # operation.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] name
+ # Name of the `Patient` resource for which the information is required.
+ # @param [String] end_
+ # The response includes records prior to the end date. If no end date is
+ # provided, all records subsequent to the start date are in scope.
+ # @param [String] start
+ # The response includes records subsequent to the start date. If no start
+ # date is provided, all records prior to the end date are in scope.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def patient_project_location_dataset_fhir_store_fhir_everything(name, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}/$everything', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['name'] = name unless name.nil?
+ command.query['end'] = end_ unless end_.nil?
+ command.query['start'] = start unless start.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 historical versions of a resource (excluding the current
+ # version) from the FHIR store. To remove all versions of a resource, first
+ # delete the current version and then call this method.
+ # This is not a FHIR standard operation.
+ # @param [String] name
+ # The name of the resource to purge.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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 resource_project_location_dataset_fhir_store_fhir_purge(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+name}/$purge', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Empty
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the FHIR [capability
+ # statement](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.
+ # html)
+ # for the store, which contains a description of functionality supported by
+ # the server.
+ # Implements the FHIR standard [capabilities
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
+ # capabilities).
+ # On success, the response body will contain a JSON-encoded representation
+ # of a `CapabilityStatement` resource.
+ # @param [String] name
+ # Name of the FHIR store to retrieve the capabilities for.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def capabilities_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}/fhir/metadata', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes FHIR resources that match a search query.
+ # Implements the FHIR standard [conditional delete
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.13.
+ # 1).
+ # If multiple resources match, all of them will be deleted.
+ # Search terms are provided as query parameters following the same pattern as
+ # the search method.
+ # Note: Unless resource versioning is disabled by setting the
+ # disable_resource_versioning flag
+ # on the FHIR store, the deleted resources will be moved to a history
+ # repository that can still be retrieved through vread
+ # and related methods, unless they are removed by the
+ # purge method.
+ # @param [String] parent
+ # The name of the FHIR store this resource belongs to.
+ # @param [String] type
+ # The type of the resource to delete.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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 conditional_project_location_dataset_fhir_store_fhir_delete(parent, type, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+parent}/fhir/{+type}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Empty
+ command.params['parent'] = parent unless parent.nil?
+ command.params['type'] = type unless type.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # If a resource is found based on the search criteria specified in the query
+ # parameters, updates part of that resource by applying the operations
+ # specified in a [JSON Patch](http://jsonpatch.com/) document.
+ # Implements the FHIR standard [conditional patch
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
+ # Search terms are provided as query parameters following the same pattern as
+ # the search method.
+ # If the search criteria identify more than one match, the request will
+ # return a `412 Precondition Failed` error.
+ # The request body must contain a JSON Patch document, and the request
+ # headers must contain `Content-Type: application/json-patch+json`.
+ # On success, the response body will contain a JSON-encoded representation
+ # of the updated resource, including the server-assigned version ID.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] parent
+ # The name of the FHIR store this resource belongs to.
+ # @param [String] type
+ # The type of the resource to update.
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def conditional_project_location_dataset_fhir_store_fhir_patch(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+parent}/fhir/{+type}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.request_object = http_body_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['type'] = type unless type.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # If a resource is found based on the search criteria specified in the query
+ # parameters, updates the entire contents of that resource.
+ # Implements the FHIR standard [conditional update
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cond-
+ # update).
+ # Search terms are provided as query parameters following the same pattern as
+ # the search method.
+ # If the search criteria identify more than one match, the request will
+ # return a `412 Precondition Failed` error.
+ # If the search criteria identify zero matches, and the supplied resource
+ # body contains an `id`, and the FHIR store has
+ # [enable_update_create](FhirStore.enable_update_create) set, creates the
+ # resource with the client-specified ID. If the search criteria identify zero
+ # matches, and the supplied resource body does not contain an `id`, the
+ # resource will be created with a server-assigned ID as per the
+ # create method.
+ # The request body must contain a JSON-encoded FHIR resource, and the request
+ # headers must contain `Content-Type: application/fhir+json`.
+ # On success, the response body will contain a JSON-encoded representation
+ # of the updated resource, including the server-assigned version ID.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] parent
+ # The name of the FHIR store this resource belongs to.
+ # @param [String] type
+ # The type of the resource to update.
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def conditional_project_location_dataset_fhir_store_fhir_update(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:put, 'v1beta1/{+parent}/fhir/{+type}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.request_object = http_body_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['type'] = type unless type.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a FHIR resource.
+ # Implements the FHIR standard [create
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#create),
+ # which creates a new resource with a server-assigned resource ID.
+ # Also supports the FHIR standard [conditional create
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#ccreate),
+ # specified by supplying an `If-None-Exist` header containing a FHIR search
+ # query. If no resources match this search query, the server processes the
+ # create operation as normal.
+ # The request body must contain a JSON-encoded FHIR resource, and the request
+ # headers must contain `Content-Type: application/fhir+json`.
+ # On success, the response body will contain a JSON-encoded representation
+ # of the resource as it was created on the server, including the
+ # server-assigned resource ID and version ID.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] parent
+ # The name of the FHIR store this resource belongs to.
+ # @param [String] type
+ # The type of the resource to create.
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_fhir_store_fhir(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/fhir/{+type}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.request_object = http_body_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.params['type'] = type unless type.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes a FHIR resource.
+ # Implements the FHIR standard [delete
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#delete).
+ # Note: Unless resource versioning is disabled by setting the
+ # disable_resource_versioning flag
+ # on the FHIR store, the deleted resources will be moved to a history
+ # repository that can still be retrieved through vread
+ # and related methods, unless they are removed by the
+ # purge method.
+ # @param [String] name
+ # The name of the resource to delete.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Executes all the requests in the given Bundle.
+ # Implements the FHIR standard [batch/transaction
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
+ # transaction).
+ # Supports all interactions within a bundle, except search. This method
+ # accepts Bundles of type `batch` and `transaction`, processing them
+ # according to the [batch processing
+ # rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1)
+ # and [transaction processing
+ # rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2).
+ # The request body must contain a JSON-encoded FHIR `Bundle` resource, and
+ # the request headers must contain `Content-Type: application/fhir+json`.
+ # For a batch bundle or a successful transaction the response body will
+ # contain a JSON-encoded representation of a `Bundle` resource of type
+ # `batch-response` or `transaction-response` containing one entry for each
+ # entry in the request, with the outcome of processing the entry. In the
+ # case of an error for a transaction bundle, the response body will contain
+ # a JSON-encoded `OperationOutcome` resource describing the reason for the
+ # error. If the request cannot be mapped to a valid API method on a FHIR
+ # store, a generic GCP error might be returned instead.
+ # @param [String] parent
+ # Name of the FHIR store in which this bundle will be executed.
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def execute_project_location_dataset_fhir_store_fhir_bundle(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/fhir', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.request_object = http_body_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['parent'] = parent unless parent.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists all the versions of a resource (including the current version and
+ # deleted versions) from the FHIR store.
+ # Implements the per-resource form of the FHIR standard [history
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#history).
+ # On success, the response body will contain a JSON-encoded representation
+ # of a `Bundle` resource of type `history`, containing the version history
+ # sorted from most recent to oldest versions.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] name
+ # The name of the resource to retrieve.
+ # @param [String] at
+ # Only include resource versions that were current at some point during the
+ # time period specified in the date time value. The date parameter format is
+ # yyyy-mm-ddThh:mm:ss[Z|(+|-)hh:mm]
+ # Clients may specify any of the following:
+ # * An entire year: `_at=2019`
+ # * An entire month: `_at=2019-01`
+ # * A specific day: `_at=2019-01-20`
+ # * A specific second: `_at=2018-12-31T23:59:58Z`
+ # @param [Fixnum] count
+ # The maximum number of search results on a page. Defaults to 1000.
+ # @param [String] page
+ # Used to retrieve the first, previous, next, or last page of resource
+ # versions when using pagination. Value should be set to the value of the
+ # `link.url` field returned in the response to the previous request, where
+ # `link.relation` is "first", "previous", "next" or "last".
+ # Omit `page` if no previous request has been made.
+ # @param [String] since
+ # Only include resource versions that were created at or after the given
+ # instant in time. The instant in time uses the format
+ # YYYY-MM-DDThh:mm:ss.sss+zz:zz (for example 2015-02-07T13:28:17.239+02:00 or
+ # 2017-01-01T00:00:00Z). The time must be specified to the second and
+ # include a time zone.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def history_project_location_dataset_fhir_store_fhir(name, at: nil, count: nil, page: nil, since: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}/_history', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['name'] = name unless name.nil?
+ command.query['at'] = at unless at.nil?
+ command.query['count'] = count unless count.nil?
+ command.query['page'] = page unless page.nil?
+ command.query['since'] = since unless since.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 part of an existing resource by applying the operations specified
+ # in a [JSON Patch](http://jsonpatch.com/) document.
+ # Implements the FHIR standard [patch
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
+ # The request body must contain a JSON Patch document, and the request
+ # headers must contain `Content-Type: application/json-patch+json`.
+ # On success, the response body will contain a JSON-encoded representation
+ # of the updated resource, including the server-assigned version ID.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] name
+ # The name of the resource to update.
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.request_object = http_body_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the contents of a FHIR resource.
+ # Implements the FHIR standard [read
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#read).
+ # Also supports the FHIR standard [conditional read
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cread)
+ # specified by supplying an `If-Modified-Since` header with a date/time value
+ # or an `If-None-Match` header with an ETag value.
+ # On success, the response body will contain a JSON-encoded representation
+ # of the resource.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] name
+ # The name of the resource to retrieve.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def read_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ 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
+
+ # Searches for resources in the given FHIR store according to criteria
+ # specified as query parameters.
+ # Implements the FHIR standard [search
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#search)
+ # using the search semantics described in the [FHIR Search
+ # specification](http://hl7.org/implement/standards/fhir/STU3/search.html).
+ # Supports three methods of search defined by the specification:
+ # * `GET [base]?[parameters]` to search across all resources.
+ # * `GET [base]/[type]?[parameters]` to search resources of a specified
+ # type.
+ # * `POST [base]/[type]/_search?[parameters]` as an alternate form having
+ # the same semantics as the `GET` method.
+ # The `GET` methods do not support compartment searches. The `POST` method
+ # does not support `application/x-www-form-urlencoded` search parameters.
+ # On success, the response body will contain a JSON-encoded representation
+ # of a `Bundle` resource of type `searchset`, containing the results of the
+ # search.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # # Search Parameters
+ # The server's capability statement, retrieved through
+ # capabilities, indicates what search parameters
+ # are supported on each FHIR resource. A list of all search parameters
+ # defined by the specification can be found in the [FHIR Search Parameter
+ # Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter-
+ # registry.html).
+ # # Search Modifiers
+ # Modifier | Supported
+ # ----------- | ---------
+ # `:missing` | Yes
+ # `:exact` | Yes
+ # `:contains` | Yes
+ # `:text` | Yes
+ # `:in` | Yes
+ # `:not-in` | Yes
+ # `:above` | Yes
+ # `:below` | Yes
+ # `:[type]` | Yes
+ # `:not` | Yes
+ # `:recurse` | No
+ # @param [String] parent
+ # Name of the FHIR store to retrieve resources from.
+ # @param [Google::Apis::HealthcareV1beta1::SearchResourcesRequest] search_resources_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::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def search_fhir_resources(parent, search_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/fhir/_search', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::SearchResourcesRequest::Representation
+ command.request_object = search_resources_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ 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
+
+ # Updates the entire contents of a resource.
+ # Implements the FHIR standard [update
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#update).
+ # If the specified resource does
+ # not exist and the FHIR store has
+ # [enable_update_create](FhirStore.enable_update_create) set, creates the
+ # resource with the client-specified ID.
+ # The request body must contain a JSON-encoded FHIR resource, and the request
+ # headers must contain `Content-Type: application/fhir+json`. The resource
+ # must contain an `id` element having an identical value to the ID in the
+ # REST path of the request.
+ # On success, the response body will contain a JSON-encoded representation
+ # of the updated resource, including the server-assigned version ID.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] name
+ # The name of the resource to update.
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def update_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:put, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.request_object = http_body_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the contents of a version (current or historical) of a FHIR resource
+ # by version ID.
+ # Implements the FHIR standard [vread
+ # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#vread).
+ # On success, the response body will contain a JSON-encoded representation
+ # of the resource.
+ # Errors generated by the FHIR store will contain a JSON-encoded
+ # `OperationOutcome` resource describing the reason for the error. If the
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
+ # GCP error might be returned instead.
+ # @param [String] name
+ # The name of the resource version to retrieve.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def vread_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
+ 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 HL7v2 store within the parent dataset.
+ # @param [String] parent
+ # The name of the dataset this HL7v2 store belongs to.
+ # @param [Google::Apis::HealthcareV1beta1::Hl7V2Store] hl7_v2_store_object
+ # @param [String] hl7_v2_store_id
+ # The ID of the HL7v2 store that is being created.
+ # The string must match the following regex: `[\p`L`\p`N`_\-\.]`1,256``.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Hl7V2Store] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Hl7V2Store]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_hl7_v2_store(parent, hl7_v2_store_object = nil, hl7_v2_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/hl7V2Stores', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation
+ command.request_object = hl7_v2_store_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Hl7V2Store
+ command.params['parent'] = parent unless parent.nil?
+ command.query['hl7V2StoreId'] = hl7_v2_store_id unless hl7_v2_store_id.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes the specified HL7v2 store and removes all messages that are
+ # contained within it.
+ # @param [String] name
+ # The resource name of the HL7v2 store to delete.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Empty
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the specified HL7v2 store.
+ # @param [String] name
+ # The resource name of the HL7v2 store to get.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Hl7V2Store] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Hl7V2Store]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Hl7V2Store
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the access control policy for a resource.
+ # Returns an empty policy if the resource exists and does not have a policy
+ # set.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location_dataset_hl7_v2_store_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists the HL7v2 stores in the given dataset.
+ # @param [String] parent
+ # Name of the dataset.
+ # @param [String] filter
+ # Restricts stores returned to those matching a filter. Syntax:
+ # https://cloud.google.com/appengine/docs/standard/python/search/query_strings
+ # Only filtering on labels is supported, for example `labels.key=value`.
+ # @param [Fixnum] page_size
+ # Limit on the number of HL7v2 stores to return in a single response.
+ # If zero the default page size of 100 is used.
+ # @param [String] page_token
+ # The next_page_token value returned from the previous List request, if any.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::ListHl7V2StoresResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::ListHl7V2StoresResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_dataset_hl7_v2_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/hl7V2Stores', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::ListHl7V2StoresResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::ListHl7V2StoresResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Updates the HL7v2 store.
+ # @param [String] name
+ # Output only. Resource name of the HL7v2 store, of the form
+ # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
+ # @param [Google::Apis::HealthcareV1beta1::Hl7V2Store] hl7_v2_store_object
+ # @param [String] update_mask
+ # The update mask applies to the resource. For the `FieldMask` definition,
+ # see
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
+ # fieldmask
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Hl7V2Store] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Hl7V2Store]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_hl7_v2_store(name, hl7_v2_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation
+ command.request_object = hl7_v2_store_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Hl7V2Store
+ 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
+
+ # Sets the access control policy on the specified resource. Replaces any
+ # existing policy.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy is being specified.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def set_hl7_v2_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
+ command.request_object = set_iam_policy_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Returns permissions that a caller has on the specified resource.
+ # If the resource does not exist, this will return an empty set of
+ # permissions, not a NOT_FOUND error.
+ # Note: This operation is designed to be used for building permission-aware
+ # UIs and command-line tools, not for authorization checking. This operation
+ # may "fail open" without warning.
+ # @param [String] resource
+ # REQUIRED: The resource for which the policy detail is being requested.
+ # See the operation documentation for the appropriate value for this field.
+ # @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def test_hl7_v2_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
+ command.request_object = test_iam_permissions_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
+ command.params['resource'] = resource unless resource.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Creates a message and sends a notification to the Cloud Pub/Sub topic. If
+ # configured, the MLLP adapter listens to messages created by this method and
+ # sends those back to the hospital. A successful response indicates the
+ # message has been persisted to storage and a Cloud Pub/Sub notification has
+ # been sent. Sending to the hospital by the MLLP adapter happens
+ # asynchronously.
+ # @param [String] parent
+ # The name of the dataset this message belongs to.
+ # @param [Google::Apis::HealthcareV1beta1::CreateMessageRequest] create_message_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Message] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Message]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_message(parent, create_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/messages', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::CreateMessageRequest::Representation
+ command.request_object = create_message_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Message::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Message
+ command.params['parent'] = parent unless parent.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Deletes an HL7v2 message.
+ # @param [String] name
+ # The resource name of the HL7v2 message to delete.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::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_dataset_hl7_v2_store_message(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::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 an HL7v2 message.
+ # @param [String] name
+ # The resource name of the HL7v2 message to retrieve.
+ # @param [String] view
+ # Specifies which parts of the Message resource should be returned
+ # in the response.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Message] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Message]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_dataset_hl7_v2_store_message(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Message::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Message
+ command.params['name'] = name unless name.nil?
+ command.query['view'] = view unless view.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Ingests a new HL7v2 message from the hospital and sends a notification to
+ # the Cloud Pub/Sub topic. Return is an HL7v2 ACK message if the message was
+ # successfully stored. Otherwise an error is returned. If an identical
+ # HL7v2 message is created twice only one resource is created on the server
+ # and no error is reported.
+ # @param [String] parent
+ # The name of the HL7v2 store this message belongs to.
+ # @param [Google::Apis::HealthcareV1beta1::IngestMessageRequest] ingest_message_request_object
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::IngestMessageResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::IngestMessageResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def ingest_message(parent, ingest_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:post, 'v1beta1/{+parent}/messages:ingest', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::IngestMessageRequest::Representation
+ command.request_object = ingest_message_request_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::IngestMessageResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::IngestMessageResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists all the messages in the given HL7v2 store with support for filtering.
+ # @param [String] parent
+ # Name of the HL7v2 store to retrieve messages from.
+ # @param [String] filter
+ # Restricts messages returned to those matching a filter. Syntax:
+ # https://cloud.google.com/appengine/docs/standard/python/search/query_strings
+ # Fields/functions available for filtering are:
+ # * `message_type`, from the MSH-9 segment; for example
+ # `NOT message_type = "ADT"`
+ # * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in
+ # the dataset's time_zone, from the MSH-7 segment; for example
+ # `send_date < "2017-01-02"`
+ # * `send_time`, the timestamp of when the message was sent, using the
+ # RFC3339 time format for comparisons, from the MSH-7 segment; for example
+ # `send_time < "2017-01-02T00:00:00-05:00"`
+ # * `send_facility`, the care center that the message came from, from the
+ # MSH-4 segment; for example `send_facility = "ABC"`
+ # * `HL7RegExp(expr)`, which does regular expression matching of `expr`
+ # against the message payload using re2 (http://code.google.com/p/re2/)
+ # syntax; for example `HL7RegExp("^.*\|.*\|EMERG")`
+ # * `PatientId(value, type)`, which matches if the message lists a patient
+ # having an ID of the given value and type in the PID-2, PID-3, or PID-4
+ # segments; for example `PatientId("123456", "MRN")`
+ # * `labels.x`, a string value of the label with key `x` as set using the
+ # Message.labels
+ # map, for example `labels."priority"="high"`. The operator `:*` can be used
+ # to assert the existence of a label, for example `labels."priority":*`.
+ # Limitations on conjunctions:
+ # * Negation on the patient ID function or the labels field is not
+ # supported, for example these queries are invalid:
+ # `NOT PatientId("123456", "MRN")`, `NOT labels."tag1":*`,
+ # `NOT labels."tag2"="val2"`.
+ # * Conjunction of multiple patient ID functions is not supported, for
+ # example this query is invalid:
+ # `PatientId("123456", "MRN") AND PatientId("456789", "MRN")`.
+ # * Conjunction of multiple labels fields is also not supported, for
+ # example this query is invalid: `labels."tag1":* AND labels."tag2"="val2"`.
+ # * Conjunction of one patient ID function, one labels field and conditions
+ # on other fields is supported, for example this query is valid:
+ # `PatientId("123456", "MRN") AND labels."tag1":* AND message_type = "ADT"`.
+ # @param [String] order_by
+ # Orders messages returned by the specified order_by clause.
+ # Syntax: https://cloud.google.com/apis/design/design_patterns#sorting_order
+ # Fields available for ordering are:
+ # * `send_time`
+ # @param [Fixnum] page_size
+ # Limit on the number of messages to return in a single response.
+ # If zero the default page size of 100 is used.
+ # @param [String] page_token
+ # The next_page_token value returned from the previous List request, if any.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::ListMessagesResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::ListMessagesResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @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_dataset_hl7_v2_store_messages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+parent}/messages', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::ListMessagesResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::ListMessagesResponse
+ command.params['parent'] = parent unless parent.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['orderBy'] = order_by unless order_by.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Update the message.
+ # @param [String] name
+ # Resource name of the Message, of the form
+ # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/
+ # messages/`message_id``.
+ # Assigned by the server.
+ # @param [Google::Apis::HealthcareV1beta1::Message] message_object
+ # @param [String] update_mask
+ # The update mask applies to the resource. For the `FieldMask` definition,
+ # see
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
+ # fieldmask
+ # Only the `labels` field is allowed to be updated.
+ # The labels in the request will be merged with the existing set of labels.
+ # Existing labels with the same keys will be updated.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Message] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Message]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_dataset_hl7_v2_store_message(name, message_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
+ command.request_representation = Google::Apis::HealthcareV1beta1::Message::Representation
+ command.request_object = message_object
+ command.response_representation = Google::Apis::HealthcareV1beta1::Message::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Message
+ command.params['name'] = name unless name.nil?
+ command.query['updateMask'] = update_mask unless update_mask.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Gets the latest state of a long-running operation. Clients can use this
+ # method to poll the operation result at intervals as recommended by the API
+ # service.
+ # @param [String] name
+ # The name of the operation resource.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def get_project_location_dataset_operation(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ # Lists operations that match the specified filter in the request. If the
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
+ # NOTE: the `name` binding allows API services to override the binding
+ # to use different resource name schemes, such as `users/*/operations`. To
+ # override the binding, API services can add a binding such as
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
+ # For backwards compatibility, the default name includes the operations
+ # collection id, however overriding users must ensure the name binding
+ # is the parent resource, without the operations collection id.
+ # @param [String] name
+ # The name of the operation's parent resource.
+ # @param [String] filter
+ # The standard list filter.
+ # @param [Fixnum] page_size
+ # The standard list page size.
+ # @param [String] page_token
+ # The standard list page token.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::ListOperationsResponse] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::HealthcareV1beta1::ListOperationsResponse]
+ #
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
+ def list_project_location_dataset_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
+ command.response_representation = Google::Apis::HealthcareV1beta1::ListOperationsResponse::Representation
+ command.response_class = Google::Apis::HealthcareV1beta1::ListOperationsResponse
+ command.params['name'] = name unless name.nil?
+ command.query['filter'] = filter unless filter.nil?
+ command.query['pageSize'] = page_size unless page_size.nil?
+ command.query['pageToken'] = page_token unless page_token.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
+ protected
+
+ def apply_command_defaults(command)
+ command.query['key'] = key unless key.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ end
+ end
+ end
+ end
+end
diff --git a/generated/google/apis/iap_v1.rb b/generated/google/apis/iap_v1.rb
index e463748ae..2d4c7bcbb 100644
--- a/generated/google/apis/iap_v1.rb
+++ b/generated/google/apis/iap_v1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iap
module IapV1
VERSION = 'V1'
- REVISION = '20190323'
+ REVISION = '20190410'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/iap_v1beta1.rb b/generated/google/apis/iap_v1beta1.rb
index c9bd397f8..5924c5e65 100644
--- a/generated/google/apis/iap_v1beta1.rb
+++ b/generated/google/apis/iap_v1beta1.rb
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iap
module IapV1beta1
VERSION = 'V1beta1'
- REVISION = '20190323'
+ REVISION = '20190410'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/jobs_v3.rb b/generated/google/apis/jobs_v3.rb
index cc3995a55..e9c3d1f52 100644
--- a/generated/google/apis/jobs_v3.rb
+++ b/generated/google/apis/jobs_v3.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3
VERSION = 'V3'
- REVISION = '20190306'
+ REVISION = '20190406'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/jobs_v3/classes.rb b/generated/google/apis/jobs_v3/classes.rb
index 2b85bfb1f..4bb12e0b3 100644
--- a/generated/google/apis/jobs_v3/classes.rb
+++ b/generated/google/apis/jobs_v3/classes.rb
@@ -225,11 +225,15 @@ module Google
include Google::Apis::Core::Hashable
# Optional.
- # If `true`, jobs without street level addresses may also be returned.
- # For city level addresses, the city center is used. For state and coarser
- # level addresses, text matching is used.
- # If this field is set to `false` or is not specified, only jobs that include
- # street level addresses will be returned by commute search.
+ # If true, jobs without "precise" addresses (street level addresses or GPS
+ # coordinates) might also be returned. For city and coarser level addresses,
+ # text matching is used. If this field is set to false or is not specified,
+ # only jobs that include precise addresses are returned by Commute
+ # Search.
+ # Note: If `allow_imprecise_addresses` is set to true, Commute Search is not
+ # able to calculate accurate commute times to jobs with city level and
+ # coarser address information. Jobs with imprecise addresses will return a
+ # `travel_duration` time of 0 regardless of distance from the job seeker.
# Corresponds to the JSON property `allowImpreciseAddresses`
# @return [Boolean]
attr_accessor :allow_imprecise_addresses
diff --git a/generated/google/apis/jobs_v3/service.rb b/generated/google/apis/jobs_v3/service.rb
index 7dc9a9aa8..6e5756ba9 100644
--- a/generated/google/apis/jobs_v3/service.rb
+++ b/generated/google/apis/jobs_v3/service.rb
@@ -144,8 +144,7 @@ module Google
# [self service
# tools](https://console.cloud.google.com/talent-solution/overview).
# [Learn
- # more](https://cloud.google.com/talent-solution/job-search/docs/management-
- # tools)
+ # more](https://cloud.google.com/talent-solution/docs/management-tools)
# about self service tools.
# @param [String] parent
# Parent project name.
diff --git a/generated/google/apis/jobs_v3p1beta1.rb b/generated/google/apis/jobs_v3p1beta1.rb
index 05b624ed1..de9189e2d 100644
--- a/generated/google/apis/jobs_v3p1beta1.rb
+++ b/generated/google/apis/jobs_v3p1beta1.rb
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3p1beta1
VERSION = 'V3p1beta1'
- REVISION = '20190322'
+ REVISION = '20190406'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/jobs_v3p1beta1/classes.rb b/generated/google/apis/jobs_v3p1beta1/classes.rb
index c5881616e..0c53975f7 100644
--- a/generated/google/apis/jobs_v3p1beta1/classes.rb
+++ b/generated/google/apis/jobs_v3p1beta1/classes.rb
@@ -225,11 +225,15 @@ module Google
include Google::Apis::Core::Hashable
# Optional.
- # If `true`, jobs without street level addresses may also be returned.
- # For city level addresses, the city center is used. For state and coarser
- # level addresses, text matching is used.
- # If this field is set to `false` or is not specified, only jobs that include
- # street level addresses will be returned by commute search.
+ # If true, jobs without "precise" addresses (street level addresses or GPS
+ # coordinates) might also be returned. For city and coarser level addresses,
+ # text matching is used. If this field is set to false or is not specified,
+ # only jobs that include precise addresses are returned by Commute
+ # Search.
+ # Note: If `allow_imprecise_addresses` is set to true, Commute Search is not
+ # able to calculate accurate commute times to jobs with city level and
+ # coarser address information. Jobs with imprecise addresses will return a
+ # `travel_duration` time of 0 regardless of distance from the job seeker.
# Corresponds to the JSON property `allowImpreciseAddresses`
# @return [Boolean]
attr_accessor :allow_imprecise_addresses
diff --git a/generated/google/apis/jobs_v3p1beta1/service.rb b/generated/google/apis/jobs_v3p1beta1/service.rb
index 32bfd8333..18b12d1f6 100644
--- a/generated/google/apis/jobs_v3p1beta1/service.rb
+++ b/generated/google/apis/jobs_v3p1beta1/service.rb
@@ -144,8 +144,7 @@ module Google
# [self service
# tools](https://console.cloud.google.com/talent-solution/overview).
# [Learn
- # more](https://cloud.google.com/talent-solution/job-search/docs/management-
- # tools)
+ # more](https://cloud.google.com/talent-solution/docs/management-tools)
# about self service tools.
# @param [String] parent
# Parent project name.
diff --git a/generated/google/apis/language_v1.rb b/generated/google/apis/language_v1.rb
index 0868d99e7..ab1f117a7 100644
--- a/generated/google/apis/language_v1.rb
+++ b/generated/google/apis/language_v1.rb
@@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/natural-language/
module LanguageV1
VERSION = 'V1'
- REVISION = '20190308'
+ REVISION = '20190423'
# Apply machine learning models to reveal the structure and meaning of text
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
diff --git a/generated/google/apis/language_v1/classes.rb b/generated/google/apis/language_v1/classes.rb
index 1c1a3618b..dafea4249 100644
--- a/generated/google/apis/language_v1/classes.rb
+++ b/generated/google/apis/language_v1/classes.rb
@@ -498,8 +498,9 @@ module Google
attr_accessor :mentions
# Metadata associated with the entity.
- # Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
- # available. The associated keys are "wikipedia_url" and "mid", respectively.
+ # For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+ # and Knowledge Graph MID (`mid`), if they are available. For the metadata
+ # associated with other entity types, see the Type table below.
# Corresponds to the JSON property `metadata`
# @return [Hash]
attr_accessor :metadata
diff --git a/generated/google/apis/language_v1beta2.rb b/generated/google/apis/language_v1beta2.rb
index e57085e5a..79a148950 100644
--- a/generated/google/apis/language_v1beta2.rb
+++ b/generated/google/apis/language_v1beta2.rb
@@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/natural-language/
module LanguageV1beta2
VERSION = 'V1beta2'
- REVISION = '20190308'
+ REVISION = '20190423'
# Apply machine learning models to reveal the structure and meaning of text
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
diff --git a/generated/google/apis/language_v1beta2/classes.rb b/generated/google/apis/language_v1beta2/classes.rb
index e7f15a467..13278c498 100644
--- a/generated/google/apis/language_v1beta2/classes.rb
+++ b/generated/google/apis/language_v1beta2/classes.rb
@@ -500,8 +500,9 @@ module Google
attr_accessor :mentions
# Metadata associated with the entity.
- # Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
- # available. The associated keys are "wikipedia_url" and "mid", respectively.
+ # For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+ # and Knowledge Graph MID (`mid`), if they are available. For the metadata
+ # associated with other entity types, see the Type table below.
# Corresponds to the JSON property `metadata`
# @return [Hash]
attr_accessor :metadata
diff --git a/generated/google/apis/logging_v2beta1.rb b/generated/google/apis/logging_v2beta1.rb
deleted file mode 100644
index a91b920c8..000000000
--- a/generated/google/apis/logging_v2beta1.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-# 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/logging_v2beta1/service.rb'
-require 'google/apis/logging_v2beta1/classes.rb'
-require 'google/apis/logging_v2beta1/representations.rb'
-
-module Google
- module Apis
- # Stackdriver Logging API
- #
- # Writes log entries and manages your Logging configuration.
- #
- # @see https://cloud.google.com/logging/docs/
- module LoggingV2beta1
- VERSION = 'V2beta1'
- REVISION = '20190316'
-
- # View and manage your data across Google Cloud Platform services
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
-
- # View your data across Google Cloud Platform services
- AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
-
- # Administrate log data for your projects
- AUTH_LOGGING_ADMIN = 'https://www.googleapis.com/auth/logging.admin'
-
- # View log data for your projects
- AUTH_LOGGING_READ = 'https://www.googleapis.com/auth/logging.read'
-
- # Submit log data for your projects
- AUTH_LOGGING_WRITE = 'https://www.googleapis.com/auth/logging.write'
- end
- end
-end
diff --git a/generated/google/apis/logging_v2beta1/classes.rb b/generated/google/apis/logging_v2beta1/classes.rb
deleted file mode 100644
index cab215928..000000000
--- a/generated/google/apis/logging_v2beta1/classes.rb
+++ /dev/null
@@ -1,1764 +0,0 @@
-# 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 LoggingV2beta1
-
- # BucketOptions describes the bucket boundaries used to create a histogram for
- # the distribution. The buckets can be in a linear sequence, an exponential
- # sequence, or each bucket can be specified explicitly. BucketOptions does not
- # include the number of values in each bucket.A bucket has an inclusive lower
- # bound and exclusive upper bound for the values that are counted for that
- # bucket. The upper bound of a bucket must be strictly greater than the lower
- # bound. The sequence of N buckets for a distribution consists of an underflow
- # bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an
- # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
- # bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
- # span the whole range of finite values: lower bound of the underflow bucket is -
- # infinity and the upper bound of the overflow bucket is +infinity. The finite
- # buckets are so-called because both bounds are finite.
- class BucketOptions
- include Google::Apis::Core::Hashable
-
- # Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
- # N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
- # boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
- # least one element. If bounds has only one element, then there are no finite
- # buckets, and that single element is the common boundary of the overflow and
- # underflow buckets.
- # Corresponds to the JSON property `explicitBuckets`
- # @return [Google::Apis::LoggingV2beta1::Explicit]
- attr_accessor :explicit_buckets
-
- # Specifies an exponential sequence of buckets that have a width that is
- # proportional to the value of the lower bound. Each bucket represents a
- # constant relative uncertainty on a specific value in the bucket.There are
- # num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
- # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
- # N): scale * (growth_factor ^ (i - 1)).
- # Corresponds to the JSON property `exponentialBuckets`
- # @return [Google::Apis::LoggingV2beta1::Exponential]
- attr_accessor :exponential_buckets
-
- # Specifies a linear sequence of buckets that all have the same width (except
- # overflow and underflow). Each bucket represents a constant absolute
- # uncertainty on the specific value in the bucket.There are num_finite_buckets +
- # 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
- # 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
- # .
- # Corresponds to the JSON property `linearBuckets`
- # @return [Google::Apis::LoggingV2beta1::Linear]
- attr_accessor :linear_buckets
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets)
- @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
- @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets)
- end
- end
-
- # A generic empty message that you can re-use to avoid defining duplicated empty
- # messages in your APIs. A typical example is to use it as the request or the
- # response type of an API method. For instance:
- # service Foo `
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
- # `
- # The JSON representation for Empty is empty JSON object ``.
- class Empty
- include Google::Apis::Core::Hashable
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- end
- end
-
- # Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
- # N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
- # boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
- # least one element. If bounds has only one element, then there are no finite
- # buckets, and that single element is the common boundary of the overflow and
- # underflow buckets.
- class Explicit
- include Google::Apis::Core::Hashable
-
- # The values must be monotonically increasing.
- # Corresponds to the JSON property `bounds`
- # @return [Array]
- attr_accessor :bounds
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @bounds = args[:bounds] if args.key?(:bounds)
- end
- end
-
- # Specifies an exponential sequence of buckets that have a width that is
- # proportional to the value of the lower bound. Each bucket represents a
- # constant relative uncertainty on a specific value in the bucket.There are
- # num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
- # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
- # N): scale * (growth_factor ^ (i - 1)).
- class Exponential
- include Google::Apis::Core::Hashable
-
- # Must be greater than 1.
- # Corresponds to the JSON property `growthFactor`
- # @return [Float]
- attr_accessor :growth_factor
-
- # Must be greater than 0.
- # Corresponds to the JSON property `numFiniteBuckets`
- # @return [Fixnum]
- attr_accessor :num_finite_buckets
-
- # Must be greater than 0.
- # Corresponds to the JSON property `scale`
- # @return [Float]
- attr_accessor :scale
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @growth_factor = args[:growth_factor] if args.key?(:growth_factor)
- @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
- @scale = args[:scale] if args.key?(:scale)
- end
- end
-
- # A common proto for logging HTTP requests. Only contains semantics defined by
- # the HTTP specification. Product-specific logging information MUST be defined
- # in a separate message.
- class HttpRequest
- include Google::Apis::Core::Hashable
-
- # The number of HTTP response bytes inserted into cache. Set only when a cache
- # fill was attempted.
- # Corresponds to the JSON property `cacheFillBytes`
- # @return [Fixnum]
- attr_accessor :cache_fill_bytes
-
- # Whether or not an entity was served from cache (with or without validation).
- # Corresponds to the JSON property `cacheHit`
- # @return [Boolean]
- attr_accessor :cache_hit
- alias_method :cache_hit?, :cache_hit
-
- # Whether or not a cache lookup was attempted.
- # Corresponds to the JSON property `cacheLookup`
- # @return [Boolean]
- attr_accessor :cache_lookup
- alias_method :cache_lookup?, :cache_lookup
-
- # Whether or not the response was validated with the origin server before being
- # served from cache. This field is only meaningful if cache_hit is True.
- # Corresponds to the JSON property `cacheValidatedWithOriginServer`
- # @return [Boolean]
- attr_accessor :cache_validated_with_origin_server
- alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
-
- # The request processing latency on the server, from the time the request was
- # received until the response was sent.
- # Corresponds to the JSON property `latency`
- # @return [String]
- attr_accessor :latency
-
- # Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
- # Corresponds to the JSON property `protocol`
- # @return [String]
- attr_accessor :protocol
-
- # The referer URL of the request, as defined in HTTP/1.1 Header Field
- # Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
- # Corresponds to the JSON property `referer`
- # @return [String]
- attr_accessor :referer
-
- # The IP address (IPv4 or IPv6) of the client that issued the HTTP request.
- # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329".
- # Corresponds to the JSON property `remoteIp`
- # @return [String]
- attr_accessor :remote_ip
-
- # The request method. Examples: "GET", "HEAD", "PUT", "POST".
- # Corresponds to the JSON property `requestMethod`
- # @return [String]
- attr_accessor :request_method
-
- # The size of the HTTP request message in bytes, including the request headers
- # and the request body.
- # Corresponds to the JSON property `requestSize`
- # @return [Fixnum]
- attr_accessor :request_size
-
- # The scheme (http, https), the host name, the path and the query portion of the
- # URL that was requested. Example: "http://example.com/some/info?color=red".
- # Corresponds to the JSON property `requestUrl`
- # @return [String]
- attr_accessor :request_url
-
- # The size of the HTTP response message sent back to the client, in bytes,
- # including the response headers and the response body.
- # Corresponds to the JSON property `responseSize`
- # @return [Fixnum]
- attr_accessor :response_size
-
- # The IP address (IPv4 or IPv6) of the origin server that the request was sent
- # to.
- # Corresponds to the JSON property `serverIp`
- # @return [String]
- attr_accessor :server_ip
-
- # The response code indicating the status of response. Examples: 200, 404.
- # Corresponds to the JSON property `status`
- # @return [Fixnum]
- attr_accessor :status
-
- # The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0;
- # Windows 98; Q312461; .NET
- # CLR 1.0.3705)".
- # Corresponds to the JSON property `userAgent`
- # @return [String]
- attr_accessor :user_agent
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
- @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
- @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
- @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
- @latency = args[:latency] if args.key?(:latency)
- @protocol = args[:protocol] if args.key?(:protocol)
- @referer = args[:referer] if args.key?(:referer)
- @remote_ip = args[:remote_ip] if args.key?(:remote_ip)
- @request_method = args[:request_method] if args.key?(:request_method)
- @request_size = args[:request_size] if args.key?(:request_size)
- @request_url = args[:request_url] if args.key?(:request_url)
- @response_size = args[:response_size] if args.key?(:response_size)
- @server_ip = args[:server_ip] if args.key?(:server_ip)
- @status = args[:status] if args.key?(:status)
- @user_agent = args[:user_agent] if args.key?(:user_agent)
- end
- end
-
- # A description of a label.
- class LabelDescriptor
- include Google::Apis::Core::Hashable
-
- # A human-readable description for the label.
- # Corresponds to the JSON property `description`
- # @return [String]
- attr_accessor :description
-
- # The label key.
- # Corresponds to the JSON property `key`
- # @return [String]
- attr_accessor :key
-
- # The type of data that can be assigned to the label.
- # Corresponds to the JSON property `valueType`
- # @return [String]
- attr_accessor :value_type
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @description = args[:description] if args.key?(:description)
- @key = args[:key] if args.key?(:key)
- @value_type = args[:value_type] if args.key?(:value_type)
- end
- end
-
- # Specifies a linear sequence of buckets that all have the same width (except
- # overflow and underflow). Each bucket represents a constant absolute
- # uncertainty on the specific value in the bucket.There are num_finite_buckets +
- # 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
- # 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
- # .
- class Linear
- include Google::Apis::Core::Hashable
-
- # Must be greater than 0.
- # Corresponds to the JSON property `numFiniteBuckets`
- # @return [Fixnum]
- attr_accessor :num_finite_buckets
-
- # Lower bound of the first bucket.
- # Corresponds to the JSON property `offset`
- # @return [Float]
- attr_accessor :offset
-
- # Must be greater than 0.
- # Corresponds to the JSON property `width`
- # @return [Float]
- attr_accessor :width
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
- @offset = args[:offset] if args.key?(:offset)
- @width = args[:width] if args.key?(:width)
- end
- end
-
- # The parameters to ListLogEntries.
- class ListLogEntriesRequest
- include Google::Apis::Core::Hashable
-
- # Optional. A filter that chooses which log entries to return. See Advanced Logs
- # Filters. Only log entries that match the filter are returned. An empty filter
- # matches all log entries in the resources listed in resource_names. Referencing
- # a parent resource that is not listed in resource_names will cause the filter
- # to return no results. The maximum length of the filter is 20000 characters.
- # Corresponds to the JSON property `filter`
- # @return [String]
- attr_accessor :filter
-
- # Optional. How the results should be sorted. Presently, the only permitted
- # values are "timestamp asc" (default) and "timestamp desc". The first option
- # returns entries in order of increasing values of LogEntry.timestamp (oldest
- # first), and the second option returns entries in order of decreasing
- # timestamps (newest first). Entries with equal timestamps are returned in order
- # of their insert_id values.
- # Corresponds to the JSON property `orderBy`
- # @return [String]
- attr_accessor :order_by
-
- # Optional. The maximum number of results to return from this request. Non-
- # positive values are ignored. The presence of next_page_token in the response
- # indicates that more results might be available.
- # Corresponds to the JSON property `pageSize`
- # @return [Fixnum]
- attr_accessor :page_size
-
- # Optional. If present, then retrieve the next batch of results from the
- # preceding call to this method. page_token must be the value of next_page_token
- # from the previous response. The values of other method parameters should be
- # identical to those in the previous call.
- # Corresponds to the JSON property `pageToken`
- # @return [String]
- attr_accessor :page_token
-
- # Deprecated. Use resource_names instead. One or more project identifiers or
- # project numbers from which to retrieve log entries. Example: "my-project-1A".
- # Corresponds to the JSON property `projectIds`
- # @return [Array]
- attr_accessor :project_ids
-
- # Required. Names of one or more parent resources from which to retrieve log
- # entries:
- # "projects/[PROJECT_ID]"
- # "organizations/[ORGANIZATION_ID]"
- # "billingAccounts/[BILLING_ACCOUNT_ID]"
- # "folders/[FOLDER_ID]"
- # Projects listed in the project_ids field are added to this list.
- # Corresponds to the JSON property `resourceNames`
- # @return [Array]
- attr_accessor :resource_names
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @filter = args[:filter] if args.key?(:filter)
- @order_by = args[:order_by] if args.key?(:order_by)
- @page_size = args[:page_size] if args.key?(:page_size)
- @page_token = args[:page_token] if args.key?(:page_token)
- @project_ids = args[:project_ids] if args.key?(:project_ids)
- @resource_names = args[:resource_names] if args.key?(:resource_names)
- end
- end
-
- # Result returned from ListLogEntries.
- class ListLogEntriesResponse
- include Google::Apis::Core::Hashable
-
- # A list of log entries. If entries is empty, nextPageToken may still be
- # returned, indicating that more entries may exist. See nextPageToken for more
- # information.
- # Corresponds to the JSON property `entries`
- # @return [Array]
- attr_accessor :entries
-
- # If there might be more results than those appearing in this response, then
- # nextPageToken is included. To get the next set of results, call this method
- # again using the value of nextPageToken as pageToken.If a value for
- # next_page_token appears and the entries field is empty, it means that the
- # search found no log entries so far but it did not have time to search all the
- # possible log entries. Retry the method with this value for page_token to
- # continue the search. Alternatively, consider speeding up the search by
- # changing your filter to specify a single log name or resource type, or to
- # narrow the time range of the search.
- # Corresponds to the JSON property `nextPageToken`
- # @return [String]
- attr_accessor :next_page_token
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @entries = args[:entries] if args.key?(:entries)
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
- end
- end
-
- # Result returned from ListLogMetrics.
- class ListLogMetricsResponse
- include Google::Apis::Core::Hashable
-
- # A list of logs-based metrics.
- # Corresponds to the JSON property `metrics`
- # @return [Array]
- attr_accessor :metrics
-
- # If there might be more results than appear in this response, then
- # nextPageToken is included. To get the next set of results, call this method
- # again using the value of nextPageToken as pageToken.
- # Corresponds to the JSON property `nextPageToken`
- # @return [String]
- attr_accessor :next_page_token
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @metrics = args[:metrics] if args.key?(:metrics)
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
- end
- end
-
- # Result returned from ListMonitoredResourceDescriptors.
- class ListMonitoredResourceDescriptorsResponse
- include Google::Apis::Core::Hashable
-
- # If there might be more results than those appearing in this response, then
- # nextPageToken is included. To get the next set of results, call this method
- # again using the value of nextPageToken as pageToken.
- # Corresponds to the JSON property `nextPageToken`
- # @return [String]
- attr_accessor :next_page_token
-
- # A list of resource descriptors.
- # Corresponds to the JSON property `resourceDescriptors`
- # @return [Array]
- attr_accessor :resource_descriptors
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
- @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
- end
- end
-
- # Result returned from ListSinks.
- class ListSinksResponse
- include Google::Apis::Core::Hashable
-
- # 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 sinks.
- # Corresponds to the JSON property `sinks`
- # @return [Array