diff --git a/api_names_out.yaml b/api_names_out.yaml index 9c6c0761b..decd69c64 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -152,6 +152,8 @@ "/adexchangebuyer2:v2beta1/FilterSet/environment": environment "/adexchangebuyer2:v2beta1/FilterSet/filterSetId": filter_set_id "/adexchangebuyer2:v2beta1/FilterSet/format": format +"/adexchangebuyer2:v2beta1/FilterSet/formats": formats +"/adexchangebuyer2:v2beta1/FilterSet/formats/format": format "/adexchangebuyer2:v2beta1/FilterSet/name": name "/adexchangebuyer2:v2beta1/FilterSet/ownerAccountId": owner_account_id "/adexchangebuyer2:v2beta1/FilterSet/platforms": platforms @@ -6202,6 +6204,7 @@ "/androidmanagement:v1/Status/details/detail/detail": detail "/androidmanagement:v1/Status/message": message "/androidmanagement:v1/StatusReportingSettings": status_reporting_settings +"/androidmanagement:v1/StatusReportingSettings/deviceSettingsEnabled": device_settings_enabled "/androidmanagement:v1/StatusReportingSettings/displayInfoEnabled": display_info_enabled "/androidmanagement:v1/StatusReportingSettings/hardwareStatusEnabled": hardware_status_enabled "/androidmanagement:v1/StatusReportingSettings/memoryInfoEnabled": memory_info_enabled @@ -11037,6 +11040,7 @@ "/calendar:v3/AclRule/scope/type": type "/calendar:v3/AclRule/scope/value": value "/calendar:v3/Calendar": calendar +"/calendar:v3/Calendar/conferenceProperties": conference_properties "/calendar:v3/Calendar/description": description "/calendar:v3/Calendar/etag": etag "/calendar:v3/Calendar/id": id @@ -11055,6 +11059,7 @@ "/calendar:v3/CalendarListEntry/accessRole": access_role "/calendar:v3/CalendarListEntry/backgroundColor": background_color "/calendar:v3/CalendarListEntry/colorId": color_id +"/calendar:v3/CalendarListEntry/conferenceProperties": conference_properties "/calendar:v3/CalendarListEntry/defaultReminders": default_reminders "/calendar:v3/CalendarListEntry/defaultReminders/default_reminder": default_reminder "/calendar:v3/CalendarListEntry/deleted": deleted @@ -11098,6 +11103,28 @@ "/calendar:v3/Colors/event/event": event "/calendar:v3/Colors/kind": kind "/calendar:v3/Colors/updated": updated +"/calendar:v3/ConferenceData": conference_data +"/calendar:v3/ConferenceData/conferenceId": conference_id +"/calendar:v3/ConferenceData/conferenceSolution": conference_solution +"/calendar:v3/ConferenceData/createRequest": create_request +"/calendar:v3/ConferenceData/entryPoints": entry_points +"/calendar:v3/ConferenceData/entryPoints/entry_point": entry_point +"/calendar:v3/ConferenceData/signature": signature +"/calendar:v3/ConferenceProperties": conference_properties +"/calendar:v3/ConferenceProperties/allowedConferenceSolutionTypes": allowed_conference_solution_types +"/calendar:v3/ConferenceProperties/allowedConferenceSolutionTypes/allowed_conference_solution_type": allowed_conference_solution_type +"/calendar:v3/ConferenceRequestStatus": conference_request_status +"/calendar:v3/ConferenceRequestStatus/statusCode": status_code +"/calendar:v3/ConferenceSolution": conference_solution +"/calendar:v3/ConferenceSolution/iconUri": icon_uri +"/calendar:v3/ConferenceSolution/key": key +"/calendar:v3/ConferenceSolution/name": name +"/calendar:v3/ConferenceSolutionKey": conference_solution_key +"/calendar:v3/ConferenceSolutionKey/type": type +"/calendar:v3/CreateConferenceRequest": create_conference_request +"/calendar:v3/CreateConferenceRequest/conferenceSolutionKey": conference_solution_key +"/calendar:v3/CreateConferenceRequest/requestId": request_id +"/calendar:v3/CreateConferenceRequest/status": status "/calendar:v3/DeepLinkData": deep_link_data "/calendar:v3/DeepLinkData/links": links "/calendar:v3/DeepLinkData/links/link": link @@ -11108,6 +11135,15 @@ "/calendar:v3/DisplayInfo/appTitle": app_title "/calendar:v3/DisplayInfo/linkShortTitle": link_short_title "/calendar:v3/DisplayInfo/linkTitle": link_title +"/calendar:v3/EntryPoint": entry_point +"/calendar:v3/EntryPoint/accessCode": access_code +"/calendar:v3/EntryPoint/entryPointType": entry_point_type +"/calendar:v3/EntryPoint/label": label +"/calendar:v3/EntryPoint/meetingCode": meeting_code +"/calendar:v3/EntryPoint/passcode": passcode +"/calendar:v3/EntryPoint/password": password +"/calendar:v3/EntryPoint/pin": pin +"/calendar:v3/EntryPoint/uri": uri "/calendar:v3/Error": error "/calendar:v3/Error/domain": domain "/calendar:v3/Error/reason": reason @@ -11119,6 +11155,7 @@ "/calendar:v3/Event/attendees/attendee": attendee "/calendar:v3/Event/attendeesOmitted": attendees_omitted "/calendar:v3/Event/colorId": color_id +"/calendar:v3/Event/conferenceData": conference_data "/calendar:v3/Event/created": created "/calendar:v3/Event/creator": creator "/calendar:v3/Event/creator/displayName": display_name @@ -11357,9 +11394,11 @@ "/calendar:v3/calendar.events.get/timeZone": time_zone "/calendar:v3/calendar.events.import": import_event "/calendar:v3/calendar.events.import/calendarId": calendar_id +"/calendar:v3/calendar.events.import/conferenceDataVersion": conference_data_version "/calendar:v3/calendar.events.import/supportsAttachments": supports_attachments "/calendar:v3/calendar.events.insert": insert_event "/calendar:v3/calendar.events.insert/calendarId": calendar_id +"/calendar:v3/calendar.events.insert/conferenceDataVersion": conference_data_version "/calendar:v3/calendar.events.insert/maxAttendees": max_attendees "/calendar:v3/calendar.events.insert/sendNotifications": send_notifications "/calendar:v3/calendar.events.insert/supportsAttachments": supports_attachments @@ -11402,6 +11441,7 @@ "/calendar:v3/calendar.events.patch": patch_event "/calendar:v3/calendar.events.patch/alwaysIncludeEmail": always_include_email "/calendar:v3/calendar.events.patch/calendarId": calendar_id +"/calendar:v3/calendar.events.patch/conferenceDataVersion": conference_data_version "/calendar:v3/calendar.events.patch/eventId": event_id "/calendar:v3/calendar.events.patch/maxAttendees": max_attendees "/calendar:v3/calendar.events.patch/sendNotifications": send_notifications @@ -11413,6 +11453,7 @@ "/calendar:v3/calendar.events.update": update_event "/calendar:v3/calendar.events.update/alwaysIncludeEmail": always_include_email "/calendar:v3/calendar.events.update/calendarId": calendar_id +"/calendar:v3/calendar.events.update/conferenceDataVersion": conference_data_version "/calendar:v3/calendar.events.update/eventId": event_id "/calendar:v3/calendar.events.update/maxAttendees": max_attendees "/calendar:v3/calendar.events.update/sendNotifications": send_notifications @@ -14275,6 +14316,7 @@ "/cloudtasks:v2beta2/Task/pullMessage": pull_message "/cloudtasks:v2beta2/Task/pullTaskTarget": pull_task_target "/cloudtasks:v2beta2/Task/scheduleTime": schedule_time +"/cloudtasks:v2beta2/Task/status": status "/cloudtasks:v2beta2/Task/taskStatus": task_status "/cloudtasks:v2beta2/Task/view": view "/cloudtasks:v2beta2/TaskStatus": task_status @@ -43885,6 +43927,753 @@ "/dlp:v2beta1/fields": fields "/dlp:v2beta1/key": key "/dlp:v2beta1/quotaUser": quota_user +"/dlp:v2beta2/GooglePrivacyDlpV2beta1AuxiliaryTable": google_privacy_dlp_v2beta1_auxiliary_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta1AuxiliaryTable/quasiIds": quasi_ids +"/dlp:v2beta2/GooglePrivacyDlpV2beta1AuxiliaryTable/quasiIds/quasi_id": quasi_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1AuxiliaryTable/relativeFrequency": relative_frequency +"/dlp:v2beta2/GooglePrivacyDlpV2beta1AuxiliaryTable/table": table +"/dlp:v2beta2/GooglePrivacyDlpV2beta1BigQueryOptions": google_privacy_dlp_v2beta1_big_query_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta1BigQueryOptions/identifyingFields": identifying_fields +"/dlp:v2beta2/GooglePrivacyDlpV2beta1BigQueryOptions/identifyingFields/identifying_field": identifying_field +"/dlp:v2beta2/GooglePrivacyDlpV2beta1BigQueryOptions/tableReference": table_reference +"/dlp:v2beta2/GooglePrivacyDlpV2beta1BigQueryTable": google_privacy_dlp_v2beta1_big_query_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta1BigQueryTable/datasetId": dataset_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1BigQueryTable/projectId": project_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1BigQueryTable/tableId": table_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsConfig": google_privacy_dlp_v2beta1_categorical_stats_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsConfig/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket": google_privacy_dlp_v2beta1_categorical_stats_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/valueFrequencyLowerBound": value_frequency_lower_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket/valueFrequencyUpperBound": value_frequency_upper_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsResult": google_privacy_dlp_v2beta1_categorical_stats_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsResult/valueFrequencyHistogramBuckets": value_frequency_histogram_buckets +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CategoricalStatsResult/valueFrequencyHistogramBuckets/value_frequency_histogram_bucket": value_frequency_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CloudStorageOptions": google_privacy_dlp_v2beta1_cloud_storage_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CloudStorageOptions/fileSet": file_set +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CloudStoragePath": google_privacy_dlp_v2beta1_cloud_storage_path +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CloudStoragePath/path": path +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CustomInfoType": google_privacy_dlp_v2beta1_custom_info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CustomInfoType/dictionary": dictionary +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CustomInfoType/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1CustomInfoType/surrogateType": surrogate_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1DatastoreOptions": google_privacy_dlp_v2beta1_datastore_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta1DatastoreOptions/kind": kind +"/dlp:v2beta2/GooglePrivacyDlpV2beta1DatastoreOptions/partitionId": partition_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1DatastoreOptions/projection": projection +"/dlp:v2beta2/GooglePrivacyDlpV2beta1DatastoreOptions/projection/projection": projection +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Dictionary": google_privacy_dlp_v2beta1_dictionary +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Dictionary/wordList": word_list +"/dlp:v2beta2/GooglePrivacyDlpV2beta1EntityId": google_privacy_dlp_v2beta1_entity_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1EntityId/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta1FieldId": google_privacy_dlp_v2beta1_field_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1FieldId/columnName": column_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta1FileSet": google_privacy_dlp_v2beta1_file_set +"/dlp:v2beta2/GooglePrivacyDlpV2beta1FileSet/url": url +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InfoType": google_privacy_dlp_v2beta1_info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InfoType/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InfoTypeLimit": google_privacy_dlp_v2beta1_info_type_limit +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InfoTypeLimit/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InfoTypeLimit/maxFindings": max_findings +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InfoTypeStatistics": google_privacy_dlp_v2beta1_info_type_statistics +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InfoTypeStatistics/count": count +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InfoTypeStatistics/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig": google_privacy_dlp_v2beta1_inspect_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/customInfoTypes": custom_info_types +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/customInfoTypes/custom_info_type": custom_info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/excludeTypes": exclude_types +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/includeQuote": include_quote +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/infoTypeLimits": info_type_limits +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/infoTypeLimits/info_type_limit": info_type_limit +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/infoTypes": info_types +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/infoTypes/info_type": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/maxFindings": max_findings +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectConfig/minLikelihood": min_likelihood +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationMetadata": google_privacy_dlp_v2beta1_inspect_operation_metadata +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationMetadata/createTime": create_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationMetadata/infoTypeStats": info_type_stats +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationMetadata/infoTypeStats/info_type_stat": info_type_stat +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationMetadata/processedBytes": processed_bytes +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationMetadata/requestInspectConfig": request_inspect_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationMetadata/requestOutputConfig": request_output_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationMetadata/requestStorageConfig": request_storage_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationMetadata/totalEstimatedBytes": total_estimated_bytes +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationResult": google_privacy_dlp_v2beta1_inspect_operation_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1InspectOperationResult/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityConfig": google_privacy_dlp_v2beta1_k_anonymity_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityConfig/entityId": entity_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityConfig/quasiIds": quasi_ids +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityConfig/quasiIds/quasi_id": quasi_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass": google_privacy_dlp_v2beta1_k_anonymity_equivalence_class +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass/equivalenceClassSize": equivalence_class_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass/quasiIdsValues": quasi_ids_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass/quasiIdsValues/quasi_ids_value": quasi_ids_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket": google_privacy_dlp_v2beta1_k_anonymity_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/equivalenceClassSizeLowerBound": equivalence_class_size_lower_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityHistogramBucket/equivalenceClassSizeUpperBound": equivalence_class_size_upper_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityResult": google_privacy_dlp_v2beta1_k_anonymity_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityResult/equivalenceClassHistogramBuckets": equivalence_class_histogram_buckets +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KAnonymityResult/equivalenceClassHistogramBuckets/equivalence_class_histogram_bucket": equivalence_class_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationConfig": google_privacy_dlp_v2beta1_k_map_estimation_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationConfig/auxiliaryTables": auxiliary_tables +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationConfig/auxiliaryTables/auxiliary_table": auxiliary_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationConfig/quasiIds": quasi_ids +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationConfig/quasiIds/quasi_id": quasi_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationConfig/regionCode": region_code +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket": google_privacy_dlp_v2beta1_k_map_estimation_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket/maxAnonymity": max_anonymity +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket/minAnonymity": min_anonymity +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues": google_privacy_dlp_v2beta1_k_map_estimation_quasi_id_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues/estimatedAnonymity": estimated_anonymity +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues/quasiIdsValues": quasi_ids_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues/quasiIdsValues/quasi_ids_value": quasi_ids_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationResult": google_privacy_dlp_v2beta1_k_map_estimation_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationResult/kMapEstimationHistogram": k_map_estimation_histogram +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KMapEstimationResult/kMapEstimationHistogram/k_map_estimation_histogram": k_map_estimation_histogram +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KindExpression": google_privacy_dlp_v2beta1_kind_expression +"/dlp:v2beta2/GooglePrivacyDlpV2beta1KindExpression/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityConfig": google_privacy_dlp_v2beta1_l_diversity_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityConfig/quasiIds": quasi_ids +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityConfig/quasiIds/quasi_id": quasi_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityConfig/sensitiveAttribute": sensitive_attribute +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass": google_privacy_dlp_v2beta1_l_diversity_equivalence_class +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/equivalenceClassSize": equivalence_class_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/numDistinctSensitiveValues": num_distinct_sensitive_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/quasiIdsValues": quasi_ids_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/quasiIdsValues/quasi_ids_value": quasi_ids_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/topSensitiveValues": top_sensitive_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityEquivalenceClass/topSensitiveValues/top_sensitive_value": top_sensitive_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityHistogramBucket": google_privacy_dlp_v2beta1_l_diversity_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/sensitiveValueFrequencyLowerBound": sensitive_value_frequency_lower_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityHistogramBucket/sensitiveValueFrequencyUpperBound": sensitive_value_frequency_upper_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityResult": google_privacy_dlp_v2beta1_l_diversity_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityResult/sensitiveValueFrequencyHistogramBuckets": sensitive_value_frequency_histogram_buckets +? "/dlp:v2beta2/GooglePrivacyDlpV2beta1LDiversityResult/sensitiveValueFrequencyHistogramBuckets/sensitive_value_frequency_histogram_bucket" +: sensitive_value_frequency_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta1NumericalStatsConfig": google_privacy_dlp_v2beta1_numerical_stats_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1NumericalStatsConfig/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta1NumericalStatsResult": google_privacy_dlp_v2beta1_numerical_stats_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1NumericalStatsResult/maxValue": max_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1NumericalStatsResult/minValue": min_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1NumericalStatsResult/quantileValues": quantile_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta1NumericalStatsResult/quantileValues/quantile_value": quantile_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1OutputStorageConfig": google_privacy_dlp_v2beta1_output_storage_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1OutputStorageConfig/storagePath": storage_path +"/dlp:v2beta2/GooglePrivacyDlpV2beta1OutputStorageConfig/table": table +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PartitionId": google_privacy_dlp_v2beta1_partition_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PartitionId/namespaceId": namespace_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PartitionId/projectId": project_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PrivacyMetric": google_privacy_dlp_v2beta1_privacy_metric +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PrivacyMetric/categoricalStatsConfig": categorical_stats_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PrivacyMetric/kAnonymityConfig": k_anonymity_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PrivacyMetric/kMapEstimationConfig": k_map_estimation_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PrivacyMetric/lDiversityConfig": l_diversity_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PrivacyMetric/numericalStatsConfig": numerical_stats_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Projection": google_privacy_dlp_v2beta1_projection +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Projection/property": property +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PropertyReference": google_privacy_dlp_v2beta1_property_reference +"/dlp:v2beta2/GooglePrivacyDlpV2beta1PropertyReference/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta1QuasiIdField": google_privacy_dlp_v2beta1_quasi_id_field +"/dlp:v2beta2/GooglePrivacyDlpV2beta1QuasiIdField/customTag": custom_tag +"/dlp:v2beta2/GooglePrivacyDlpV2beta1QuasiIdField/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata": google_privacy_dlp_v2beta1_risk_analysis_operation_metadata +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata/createTime": create_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata/requestedPrivacyMetric": requested_privacy_metric +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata/requestedSourceTable": requested_source_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult": google_privacy_dlp_v2beta1_risk_analysis_operation_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult/categoricalStatsResult": categorical_stats_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult/kAnonymityResult": k_anonymity_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult/kMapEstimationResult": k_map_estimation_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult/lDiversityResult": l_diversity_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1RiskAnalysisOperationResult/numericalStatsResult": numerical_stats_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta1StorageConfig": google_privacy_dlp_v2beta1_storage_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta1StorageConfig/bigQueryOptions": big_query_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta1StorageConfig/cloudStorageOptions": cloud_storage_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta1StorageConfig/datastoreOptions": datastore_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta1SurrogateType": google_privacy_dlp_v2beta1_surrogate_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1TaggedField": google_privacy_dlp_v2beta1_tagged_field +"/dlp:v2beta2/GooglePrivacyDlpV2beta1TaggedField/customTag": custom_tag +"/dlp:v2beta2/GooglePrivacyDlpV2beta1TaggedField/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta1TaggedField/inferred": inferred +"/dlp:v2beta2/GooglePrivacyDlpV2beta1TaggedField/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Value": google_privacy_dlp_v2beta1_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Value/booleanValue": boolean_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Value/dateValue": date_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Value/floatValue": float_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Value/integerValue": integer_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Value/stringValue": string_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Value/timeValue": time_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1Value/timestampValue": timestamp_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1ValueFrequency": google_privacy_dlp_v2beta1_value_frequency +"/dlp:v2beta2/GooglePrivacyDlpV2beta1ValueFrequency/count": count +"/dlp:v2beta2/GooglePrivacyDlpV2beta1ValueFrequency/value": value +"/dlp:v2beta2/GooglePrivacyDlpV2beta1WordList": google_privacy_dlp_v2beta1_word_list +"/dlp:v2beta2/GooglePrivacyDlpV2beta1WordList/words": words +"/dlp:v2beta2/GooglePrivacyDlpV2beta1WordList/words/word": word +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails": google_privacy_dlp_v2beta2_analyze_data_source_risk_details +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails/categoricalStatsResult": categorical_stats_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails/kAnonymityResult": k_anonymity_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails/kMapEstimationResult": k_map_estimation_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails/lDiversityResult": l_diversity_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails/numericalStatsResult": numerical_stats_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails/requestedPrivacyMetric": requested_privacy_metric +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails/requestedSourceTable": requested_source_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest": google_privacy_dlp_v2beta2_analyze_data_source_risk_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest/jobConfig": job_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AuxiliaryTable": google_privacy_dlp_v2beta2_auxiliary_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AuxiliaryTable/quasiIds": quasi_ids +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AuxiliaryTable/quasiIds/quasi_id": quasi_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AuxiliaryTable/relativeFrequency": relative_frequency +"/dlp:v2beta2/GooglePrivacyDlpV2beta2AuxiliaryTable/table": table +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BigQueryOptions": google_privacy_dlp_v2beta2_big_query_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BigQueryOptions/identifyingFields": identifying_fields +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BigQueryOptions/identifyingFields/identifying_field": identifying_field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BigQueryOptions/tableReference": table_reference +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BigQueryTable": google_privacy_dlp_v2beta2_big_query_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BigQueryTable/datasetId": dataset_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BigQueryTable/projectId": project_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BigQueryTable/tableId": table_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Bucket": google_privacy_dlp_v2beta2_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Bucket/max": max +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Bucket/min": min +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Bucket/replacementValue": replacement_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BucketingConfig": google_privacy_dlp_v2beta2_bucketing_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BucketingConfig/buckets": buckets +"/dlp:v2beta2/GooglePrivacyDlpV2beta2BucketingConfig/buckets/bucket": bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CancelDlpJobRequest": google_privacy_dlp_v2beta2_cancel_dlp_job_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsConfig": google_privacy_dlp_v2beta2_categorical_stats_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsConfig/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket": google_privacy_dlp_v2beta2_categorical_stats_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket/valueFrequencyLowerBound": value_frequency_lower_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket/valueFrequencyUpperBound": value_frequency_upper_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsResult": google_privacy_dlp_v2beta2_categorical_stats_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsResult/valueFrequencyHistogramBuckets": value_frequency_histogram_buckets +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CategoricalStatsResult/valueFrequencyHistogramBuckets/value_frequency_histogram_bucket": value_frequency_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CharacterMaskConfig": google_privacy_dlp_v2beta2_character_mask_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CharacterMaskConfig/charactersToIgnore": characters_to_ignore +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CharacterMaskConfig/charactersToIgnore/characters_to_ignore": characters_to_ignore +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CharacterMaskConfig/maskingCharacter": masking_character +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CharacterMaskConfig/numberToMask": number_to_mask +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CharacterMaskConfig/reverseOrder": reverse_order +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CharsToIgnore": google_privacy_dlp_v2beta2_chars_to_ignore +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CharsToIgnore/charactersToSkip": characters_to_skip +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CharsToIgnore/commonCharactersToIgnore": common_characters_to_ignore +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CloudStorageKey": google_privacy_dlp_v2beta2_cloud_storage_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CloudStorageKey/filePath": file_path +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CloudStorageKey/startOffset": start_offset +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CloudStorageOptions": google_privacy_dlp_v2beta2_cloud_storage_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CloudStorageOptions/fileSet": file_set +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Color": google_privacy_dlp_v2beta2_color +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Color/blue": blue +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Color/green": green +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Color/red": red +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Condition": google_privacy_dlp_v2beta2_condition +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Condition/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Condition/operator": operator +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Condition/value": value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Conditions": google_privacy_dlp_v2beta2_conditions +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Conditions/conditions": conditions +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Conditions/conditions/condition": condition +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ContentItem": google_privacy_dlp_v2beta2_content_item +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ContentItem/data": data +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ContentItem/table": table +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ContentItem/type": type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ContentItem/value": value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest": google_privacy_dlp_v2beta2_create_deidentify_template_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest/deidentifyTemplate": deidentify_template +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest/templateId": template_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CreateInspectTemplateRequest": google_privacy_dlp_v2beta2_create_inspect_template_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CreateInspectTemplateRequest/inspectTemplate": inspect_template +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CreateInspectTemplateRequest/templateId": template_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoHashConfig": google_privacy_dlp_v2beta2_crypto_hash_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoHashConfig/cryptoKey": crypto_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoKey": google_privacy_dlp_v2beta2_crypto_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoKey/kmsWrapped": kms_wrapped +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoKey/transient": transient +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoKey/unwrapped": unwrapped +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig": google_privacy_dlp_v2beta2_crypto_replace_ffx_fpe_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig/commonAlphabet": common_alphabet +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig/context": context +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig/cryptoKey": crypto_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig/customAlphabet": custom_alphabet +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig/radix": radix +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig/surrogateInfoType": surrogate_info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType": google_privacy_dlp_v2beta2_custom_info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType/dictionary": dictionary +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType/surrogateType": surrogate_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DatastoreKey": google_privacy_dlp_v2beta2_datastore_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DatastoreKey/entityKey": entity_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DatastoreOptions": google_privacy_dlp_v2beta2_datastore_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DatastoreOptions/kind": kind +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DatastoreOptions/partitionId": partition_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyConfig": google_privacy_dlp_v2beta2_deidentify_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyConfig/infoTypeTransformations": info_type_transformations +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyConfig/recordTransformations": record_transformations +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyContentRequest": google_privacy_dlp_v2beta2_deidentify_content_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyContentRequest/deidentifyConfig": deidentify_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyContentRequest/deidentifyTemplateName": deidentify_template_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyContentRequest/inspectConfig": inspect_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyContentRequest/inspectTemplateName": inspect_template_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyContentRequest/item": item +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyContentResponse": google_privacy_dlp_v2beta2_deidentify_content_response +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyContentResponse/item": item +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyContentResponse/overview": overview +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate": google_privacy_dlp_v2beta2_deidentify_template +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate/createTime": create_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate/deidentifyConfig": deidentify_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate/description": description +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate/displayName": display_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate/updateTime": update_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Dictionary": google_privacy_dlp_v2beta2_dictionary +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Dictionary/wordList": word_list +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob": google_privacy_dlp_v2beta2_dlp_job +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/createTime": create_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/endTime": end_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/errorResults": error_results +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/errorResults/error_result": error_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/inspectDetails": inspect_details +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/riskDetails": risk_details +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/startTime": start_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/state": state +"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/type": type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2EntityId": google_privacy_dlp_v2beta2_entity_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2EntityId/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Expressions": google_privacy_dlp_v2beta2_expressions +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Expressions/conditions": conditions +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Expressions/logicalOperator": logical_operator +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FieldId": google_privacy_dlp_v2beta2_field_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FieldId/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FieldTransformation": google_privacy_dlp_v2beta2_field_transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FieldTransformation/condition": condition +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FieldTransformation/fields": fields +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FieldTransformation/fields/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FieldTransformation/infoTypeTransformations": info_type_transformations +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FieldTransformation/primitiveTransformation": primitive_transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FileSet": google_privacy_dlp_v2beta2_file_set +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FileSet/url": url +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Finding": google_privacy_dlp_v2beta2_finding +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Finding/createTime": create_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Finding/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Finding/likelihood": likelihood +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Finding/location": location +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Finding/quote": quote +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FindingLimits": google_privacy_dlp_v2beta2_finding_limits +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FindingLimits/maxFindingsPerInfoType": max_findings_per_info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FindingLimits/maxFindingsPerInfoType/max_findings_per_info_type": max_findings_per_info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FindingLimits/maxFindingsPerItem": max_findings_per_item +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FindingLimits/maxFindingsPerRequest": max_findings_per_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FixedSizeBucketingConfig": google_privacy_dlp_v2beta2_fixed_size_bucketing_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FixedSizeBucketingConfig/bucketSize": bucket_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FixedSizeBucketingConfig/lowerBound": lower_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta2FixedSizeBucketingConfig/upperBound": upper_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageLocation": google_privacy_dlp_v2beta2_image_location +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageLocation/height": height +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageLocation/left": left +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageLocation/top": top +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageLocation/width": width +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageRedactionConfig": google_privacy_dlp_v2beta2_image_redaction_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageRedactionConfig/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageRedactionConfig/redactAllText": redact_all_text +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageRedactionConfig/redactionColor": redaction_color +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoType": google_privacy_dlp_v2beta2_info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoType/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeDescription": google_privacy_dlp_v2beta2_info_type_description +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeDescription/displayName": display_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeDescription/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeLimit": google_privacy_dlp_v2beta2_info_type_limit +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeLimit/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeLimit/maxFindings": max_findings +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeStatistics": google_privacy_dlp_v2beta2_info_type_statistics +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeStatistics/count": count +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeStatistics/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeTransformation": google_privacy_dlp_v2beta2_info_type_transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeTransformation/infoTypes": info_types +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeTransformation/infoTypes/info_type": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeTransformation/primitiveTransformation": primitive_transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeTransformations": google_privacy_dlp_v2beta2_info_type_transformations +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeTransformations/transformations": transformations +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InfoTypeTransformations/transformations/transformation": transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectConfig": google_privacy_dlp_v2beta2_inspect_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectConfig/customInfoTypes": custom_info_types +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectConfig/customInfoTypes/custom_info_type": custom_info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectConfig/excludeInfoTypes": exclude_info_types +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectConfig/includeQuote": include_quote +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectConfig/infoTypes": info_types +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectConfig/infoTypes/info_type": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectConfig/limits": limits +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectConfig/minLikelihood": min_likelihood +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectContentRequest": google_privacy_dlp_v2beta2_inspect_content_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectContentRequest/inspectConfig": inspect_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectContentRequest/inspectTemplateName": inspect_template_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectContentRequest/item": item +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectContentResponse": google_privacy_dlp_v2beta2_inspect_content_response +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectContentResponse/result": result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectDataSourceDetails": google_privacy_dlp_v2beta2_inspect_data_source_details +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectDataSourceDetails/requestedOptions": requested_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectDataSourceDetails/result": result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectDataSourceRequest": google_privacy_dlp_v2beta2_inspect_data_source_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectDataSourceRequest/jobConfig": job_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig": google_privacy_dlp_v2beta2_inspect_job_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig/inspectConfig": inspect_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig/inspectTemplateName": inspect_template_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig/outputConfig": output_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig/storageConfig": storage_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectResult": google_privacy_dlp_v2beta2_inspect_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectResult/findings": findings +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectResult/findings/finding": finding +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectResult/findingsTruncated": findings_truncated +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate": google_privacy_dlp_v2beta2_inspect_template +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate/createTime": create_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate/description": description +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate/displayName": display_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate/inspectConfig": inspect_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate/updateTime": update_time +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityConfig": google_privacy_dlp_v2beta2_k_anonymity_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityConfig/entityId": entity_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityConfig/quasiIds": quasi_ids +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityConfig/quasiIds/quasi_id": quasi_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass": google_privacy_dlp_v2beta2_k_anonymity_equivalence_class +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass/equivalenceClassSize": equivalence_class_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass/quasiIdsValues": quasi_ids_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass/quasiIdsValues/quasi_ids_value": quasi_ids_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityHistogramBucket": google_privacy_dlp_v2beta2_k_anonymity_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityHistogramBucket/equivalenceClassSizeLowerBound": equivalence_class_size_lower_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityHistogramBucket/equivalenceClassSizeUpperBound": equivalence_class_size_upper_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityResult": google_privacy_dlp_v2beta2_k_anonymity_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityResult/equivalenceClassHistogramBuckets": equivalence_class_histogram_buckets +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KAnonymityResult/equivalenceClassHistogramBuckets/equivalence_class_histogram_bucket": equivalence_class_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationConfig": google_privacy_dlp_v2beta2_k_map_estimation_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationConfig/auxiliaryTables": auxiliary_tables +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationConfig/auxiliaryTables/auxiliary_table": auxiliary_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationConfig/quasiIds": quasi_ids +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationConfig/quasiIds/quasi_id": quasi_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationConfig/regionCode": region_code +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket": google_privacy_dlp_v2beta2_k_map_estimation_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket/maxAnonymity": max_anonymity +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket/minAnonymity": min_anonymity +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationQuasiIdValues": google_privacy_dlp_v2beta2_k_map_estimation_quasi_id_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationQuasiIdValues/estimatedAnonymity": estimated_anonymity +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationQuasiIdValues/quasiIdsValues": quasi_ids_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationQuasiIdValues/quasiIdsValues/quasi_ids_value": quasi_ids_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationResult": google_privacy_dlp_v2beta2_k_map_estimation_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationResult/kMapEstimationHistogram": k_map_estimation_histogram +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KMapEstimationResult/kMapEstimationHistogram/k_map_estimation_histogram": k_map_estimation_histogram +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Key": google_privacy_dlp_v2beta2_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Key/partitionId": partition_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Key/path": path +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Key/path/path": path +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KindExpression": google_privacy_dlp_v2beta2_kind_expression +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KindExpression/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KmsWrappedCryptoKey": google_privacy_dlp_v2beta2_kms_wrapped_crypto_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KmsWrappedCryptoKey/cryptoKeyName": crypto_key_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2KmsWrappedCryptoKey/wrappedKey": wrapped_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityConfig": google_privacy_dlp_v2beta2_l_diversity_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityConfig/quasiIds": quasi_ids +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityConfig/quasiIds/quasi_id": quasi_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityConfig/sensitiveAttribute": sensitive_attribute +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityEquivalenceClass": google_privacy_dlp_v2beta2_l_diversity_equivalence_class +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityEquivalenceClass/equivalenceClassSize": equivalence_class_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityEquivalenceClass/numDistinctSensitiveValues": num_distinct_sensitive_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityEquivalenceClass/quasiIdsValues": quasi_ids_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityEquivalenceClass/quasiIdsValues/quasi_ids_value": quasi_ids_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityEquivalenceClass/topSensitiveValues": top_sensitive_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityEquivalenceClass/topSensitiveValues/top_sensitive_value": top_sensitive_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityHistogramBucket": google_privacy_dlp_v2beta2_l_diversity_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityHistogramBucket/bucketSize": bucket_size +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityHistogramBucket/bucketValues": bucket_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityHistogramBucket/sensitiveValueFrequencyLowerBound": sensitive_value_frequency_lower_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityHistogramBucket/sensitiveValueFrequencyUpperBound": sensitive_value_frequency_upper_bound +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityResult": google_privacy_dlp_v2beta2_l_diversity_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityResult/sensitiveValueFrequencyHistogramBuckets": sensitive_value_frequency_histogram_buckets +? "/dlp:v2beta2/GooglePrivacyDlpV2beta2LDiversityResult/sensitiveValueFrequencyHistogramBuckets/sensitive_value_frequency_histogram_bucket" +: sensitive_value_frequency_histogram_bucket +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse": google_privacy_dlp_v2beta2_list_deidentify_templates_response +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse/deidentifyTemplates": deidentify_templates +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse/deidentifyTemplates/deidentify_template": deidentify_template +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse/nextPageToken": next_page_token +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListDlpJobsResponse": google_privacy_dlp_v2beta2_list_dlp_jobs_response +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListDlpJobsResponse/jobs": jobs +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListDlpJobsResponse/jobs/job": job +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListDlpJobsResponse/nextPageToken": next_page_token +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInfoTypesResponse": google_privacy_dlp_v2beta2_list_info_types_response +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInfoTypesResponse/infoTypes": info_types +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInfoTypesResponse/infoTypes/info_type": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInspectTemplatesResponse": google_privacy_dlp_v2beta2_list_inspect_templates_response +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInspectTemplatesResponse/inspectTemplates": inspect_templates +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInspectTemplatesResponse/inspectTemplates/inspect_template": inspect_template +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInspectTemplatesResponse/nextPageToken": next_page_token +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location": google_privacy_dlp_v2beta2_location +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location/byteRange": byte_range +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location/codepointRange": codepoint_range +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location/fieldId": field_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location/imageBoxes": image_boxes +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location/imageBoxes/image_box": image_box +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location/recordKey": record_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location/tableLocation": table_location +"/dlp:v2beta2/GooglePrivacyDlpV2beta2NumericalStatsConfig": google_privacy_dlp_v2beta2_numerical_stats_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2NumericalStatsConfig/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2NumericalStatsResult": google_privacy_dlp_v2beta2_numerical_stats_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2NumericalStatsResult/maxValue": max_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2NumericalStatsResult/minValue": min_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2NumericalStatsResult/quantileValues": quantile_values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2NumericalStatsResult/quantileValues/quantile_value": quantile_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2OutputStorageConfig": google_privacy_dlp_v2beta2_output_storage_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2OutputStorageConfig/table": table +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PartitionId": google_privacy_dlp_v2beta2_partition_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PartitionId/namespaceId": namespace_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PartitionId/projectId": project_id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PathElement": google_privacy_dlp_v2beta2_path_element +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PathElement/id": id +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PathElement/kind": kind +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PathElement/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation": google_privacy_dlp_v2beta2_primitive_transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation/bucketingConfig": bucketing_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation/characterMaskConfig": character_mask_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation/cryptoHashConfig": crypto_hash_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation/cryptoReplaceFfxFpeConfig": crypto_replace_ffx_fpe_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation/fixedSizeBucketingConfig": fixed_size_bucketing_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation/redactConfig": redact_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation/replaceConfig": replace_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation/replaceWithInfoTypeConfig": replace_with_info_type_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrimitiveTransformation/timePartConfig": time_part_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrivacyMetric": google_privacy_dlp_v2beta2_privacy_metric +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrivacyMetric/categoricalStatsConfig": categorical_stats_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrivacyMetric/kAnonymityConfig": k_anonymity_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrivacyMetric/kMapEstimationConfig": k_map_estimation_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrivacyMetric/lDiversityConfig": l_diversity_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrivacyMetric/numericalStatsConfig": numerical_stats_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2QuasiIdField": google_privacy_dlp_v2beta2_quasi_id_field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2QuasiIdField/customTag": custom_tag +"/dlp:v2beta2/GooglePrivacyDlpV2beta2QuasiIdField/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Range": google_privacy_dlp_v2beta2_range +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Range/end": end +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Range/start": start +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordCondition": google_privacy_dlp_v2beta2_record_condition +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordCondition/expressions": expressions +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordKey": google_privacy_dlp_v2beta2_record_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordKey/cloudStorageKey": cloud_storage_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordKey/datastoreKey": datastore_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordSuppression": google_privacy_dlp_v2beta2_record_suppression +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordSuppression/condition": condition +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordTransformations": google_privacy_dlp_v2beta2_record_transformations +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordTransformations/fieldTransformations": field_transformations +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordTransformations/fieldTransformations/field_transformation": field_transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordTransformations/recordSuppressions": record_suppressions +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RecordTransformations/recordSuppressions/record_suppression": record_suppression +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactConfig": google_privacy_dlp_v2beta2_redact_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageRequest": google_privacy_dlp_v2beta2_redact_image_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageRequest/imageData": image_data +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageRequest/imageRedactionConfigs": image_redaction_configs +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageRequest/imageRedactionConfigs/image_redaction_config": image_redaction_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageRequest/imageType": image_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageRequest/inspectConfig": inspect_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageResponse": google_privacy_dlp_v2beta2_redact_image_response +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageResponse/extractedText": extracted_text +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageResponse/redactedImage": redacted_image +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentRequest": google_privacy_dlp_v2beta2_reidentify_content_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentRequest/inspectConfig": inspect_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentRequest/inspectTemplateName": inspect_template_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentRequest/item": item +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentRequest/reidentifyConfig": reidentify_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentRequest/reidentifyTemplateName": reidentify_template_name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentResponse": google_privacy_dlp_v2beta2_reidentify_content_response +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentResponse/item": item +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentResponse/overview": overview +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReplaceValueConfig": google_privacy_dlp_v2beta2_replace_value_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReplaceValueConfig/newValue": new_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReplaceWithInfoTypeConfig": google_privacy_dlp_v2beta2_replace_with_info_type_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RequestedOptions": google_privacy_dlp_v2beta2_requested_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RequestedOptions/jobConfig": job_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RequestedOptions/snapshotInspectTemplate": snapshot_inspect_template +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Result": google_privacy_dlp_v2beta2_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Result/infoTypeStats": info_type_stats +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Result/infoTypeStats/info_type_stat": info_type_stat +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Result/processedBytes": processed_bytes +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Result/totalEstimatedBytes": total_estimated_bytes +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RiskAnalysisJobConfig": google_privacy_dlp_v2beta2_risk_analysis_job_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RiskAnalysisJobConfig/privacyMetric": privacy_metric +"/dlp:v2beta2/GooglePrivacyDlpV2beta2RiskAnalysisJobConfig/sourceTable": source_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Row": google_privacy_dlp_v2beta2_row +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Row/values": values +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Row/values/value": value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2StorageConfig": google_privacy_dlp_v2beta2_storage_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2StorageConfig/bigQueryOptions": big_query_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta2StorageConfig/cloudStorageOptions": cloud_storage_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta2StorageConfig/datastoreOptions": datastore_options +"/dlp:v2beta2/GooglePrivacyDlpV2beta2SummaryResult": google_privacy_dlp_v2beta2_summary_result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2SummaryResult/code": code +"/dlp:v2beta2/GooglePrivacyDlpV2beta2SummaryResult/count": count +"/dlp:v2beta2/GooglePrivacyDlpV2beta2SummaryResult/details": details +"/dlp:v2beta2/GooglePrivacyDlpV2beta2SurrogateType": google_privacy_dlp_v2beta2_surrogate_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Table": google_privacy_dlp_v2beta2_table +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Table/headers": headers +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Table/headers/header": header +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Table/rows": rows +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Table/rows/row": row +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TableLocation": google_privacy_dlp_v2beta2_table_location +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TableLocation/rowIndex": row_index +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TaggedField": google_privacy_dlp_v2beta2_tagged_field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TaggedField/customTag": custom_tag +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TaggedField/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TaggedField/inferred": inferred +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TaggedField/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TimePartConfig": google_privacy_dlp_v2beta2_time_part_config +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TimePartConfig/partToExtract": part_to_extract +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationOverview": google_privacy_dlp_v2beta2_transformation_overview +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationOverview/transformationSummaries": transformation_summaries +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationOverview/transformationSummaries/transformation_summary": transformation_summary +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationOverview/transformedBytes": transformed_bytes +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary": google_privacy_dlp_v2beta2_transformation_summary +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/field": field +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/fieldTransformations": field_transformations +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/fieldTransformations/field_transformation": field_transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/infoType": info_type +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/recordSuppress": record_suppress +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/results": results +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/results/result": result +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/transformation": transformation +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransientCryptoKey": google_privacy_dlp_v2beta2_transient_crypto_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransientCryptoKey/name": name +"/dlp:v2beta2/GooglePrivacyDlpV2beta2UnwrappedCryptoKey": google_privacy_dlp_v2beta2_unwrapped_crypto_key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2UnwrappedCryptoKey/key": key +"/dlp:v2beta2/GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest": google_privacy_dlp_v2beta2_update_deidentify_template_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest/deidentifyTemplate": deidentify_template +"/dlp:v2beta2/GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest/updateMask": update_mask +"/dlp:v2beta2/GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest": google_privacy_dlp_v2beta2_update_inspect_template_request +"/dlp:v2beta2/GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest/inspectTemplate": inspect_template +"/dlp:v2beta2/GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest/updateMask": update_mask +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value": google_privacy_dlp_v2beta2_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value/booleanValue": boolean_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value/dateValue": date_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value/floatValue": float_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value/integerValue": integer_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value/stringValue": string_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value/timeValue": time_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value/timestampValue": timestamp_value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ValueFrequency": google_privacy_dlp_v2beta2_value_frequency +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ValueFrequency/count": count +"/dlp:v2beta2/GooglePrivacyDlpV2beta2ValueFrequency/value": value +"/dlp:v2beta2/GooglePrivacyDlpV2beta2WordList": google_privacy_dlp_v2beta2_word_list +"/dlp:v2beta2/GooglePrivacyDlpV2beta2WordList/words": words +"/dlp:v2beta2/GooglePrivacyDlpV2beta2WordList/words/word": word +"/dlp:v2beta2/GoogleProtobufEmpty": google_protobuf_empty +"/dlp:v2beta2/GoogleRpcStatus": google_rpc_status +"/dlp:v2beta2/GoogleRpcStatus/code": code +"/dlp:v2beta2/GoogleRpcStatus/details": details +"/dlp:v2beta2/GoogleRpcStatus/details/detail": detail +"/dlp:v2beta2/GoogleRpcStatus/details/detail/detail": detail +"/dlp:v2beta2/GoogleRpcStatus/message": message +"/dlp:v2beta2/GoogleTypeDate": google_type_date +"/dlp:v2beta2/GoogleTypeDate/day": day +"/dlp:v2beta2/GoogleTypeDate/month": month +"/dlp:v2beta2/GoogleTypeDate/year": year +"/dlp:v2beta2/GoogleTypeTimeOfDay": google_type_time_of_day +"/dlp:v2beta2/GoogleTypeTimeOfDay/hours": hours +"/dlp:v2beta2/GoogleTypeTimeOfDay/minutes": minutes +"/dlp:v2beta2/GoogleTypeTimeOfDay/nanos": nanos +"/dlp:v2beta2/GoogleTypeTimeOfDay/seconds": seconds +"/dlp:v2beta2/dlp.infoTypes.list": list_info_types +"/dlp:v2beta2/dlp.infoTypes.list/languageCode": language_code +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.create": create_organization_deidentify_template +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.create/parent": parent +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.delete": delete_organization_deidentify_template +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.delete/name": name +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.get": get_organization_deidentify_template +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.get/name": name +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.list": list_organization_deidentify_templates +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.list/pageSize": page_size +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.list/pageToken": page_token +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.list/parent": parent +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.patch": patch_organization_deidentify_template +"/dlp:v2beta2/dlp.organizations.deidentifyTemplates.patch/name": name +"/dlp:v2beta2/dlp.organizations.inspectTemplates.create": create_organization_inspect_template +"/dlp:v2beta2/dlp.organizations.inspectTemplates.create/parent": parent +"/dlp:v2beta2/dlp.organizations.inspectTemplates.delete": delete_organization_inspect_template +"/dlp:v2beta2/dlp.organizations.inspectTemplates.delete/name": name +"/dlp:v2beta2/dlp.organizations.inspectTemplates.get": get_organization_inspect_template +"/dlp:v2beta2/dlp.organizations.inspectTemplates.get/name": name +"/dlp:v2beta2/dlp.organizations.inspectTemplates.list": list_organization_inspect_templates +"/dlp:v2beta2/dlp.organizations.inspectTemplates.list/pageSize": page_size +"/dlp:v2beta2/dlp.organizations.inspectTemplates.list/pageToken": page_token +"/dlp:v2beta2/dlp.organizations.inspectTemplates.list/parent": parent +"/dlp:v2beta2/dlp.organizations.inspectTemplates.patch": patch_organization_inspect_template +"/dlp:v2beta2/dlp.organizations.inspectTemplates.patch/name": name +"/dlp:v2beta2/dlp.projects.content.deidentify": deidentify_project_content +"/dlp:v2beta2/dlp.projects.content.deidentify/parent": parent +"/dlp:v2beta2/dlp.projects.content.inspect": inspect_project_content +"/dlp:v2beta2/dlp.projects.content.inspect/parent": parent +"/dlp:v2beta2/dlp.projects.content.reidentify": reidentify_project_content +"/dlp:v2beta2/dlp.projects.content.reidentify/parent": parent +"/dlp:v2beta2/dlp.projects.dataSource.analyze": analyze_project_data_source +"/dlp:v2beta2/dlp.projects.dataSource.analyze/parent": parent +"/dlp:v2beta2/dlp.projects.dataSource.inspect": inspect_project_data_source +"/dlp:v2beta2/dlp.projects.dataSource.inspect/parent": parent +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.create": create_project_deidentify_template +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.create/parent": parent +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.delete": delete_project_deidentify_template +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.delete/name": name +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.get": get_project_deidentify_template +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.get/name": name +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.list": list_project_deidentify_templates +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.list/pageSize": page_size +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.list/pageToken": page_token +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.list/parent": parent +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.patch": patch_project_deidentify_template +"/dlp:v2beta2/dlp.projects.deidentifyTemplates.patch/name": name +"/dlp:v2beta2/dlp.projects.dlpJobs.cancel": cancel_project_dlp_job +"/dlp:v2beta2/dlp.projects.dlpJobs.cancel/name": name +"/dlp:v2beta2/dlp.projects.dlpJobs.delete": delete_project_dlp_job +"/dlp:v2beta2/dlp.projects.dlpJobs.delete/name": name +"/dlp:v2beta2/dlp.projects.dlpJobs.get": get_project_dlp_job +"/dlp:v2beta2/dlp.projects.dlpJobs.get/name": name +"/dlp:v2beta2/dlp.projects.dlpJobs.list": list_project_dlp_jobs +"/dlp:v2beta2/dlp.projects.dlpJobs.list/filter": filter +"/dlp:v2beta2/dlp.projects.dlpJobs.list/pageSize": page_size +"/dlp:v2beta2/dlp.projects.dlpJobs.list/pageToken": page_token +"/dlp:v2beta2/dlp.projects.dlpJobs.list/parent": parent +"/dlp:v2beta2/dlp.projects.dlpJobs.list/type": type +"/dlp:v2beta2/dlp.projects.image.redact": redact_project_image +"/dlp:v2beta2/dlp.projects.image.redact/parent": parent +"/dlp:v2beta2/dlp.projects.inspectTemplates.create": create_project_inspect_template +"/dlp:v2beta2/dlp.projects.inspectTemplates.create/parent": parent +"/dlp:v2beta2/dlp.projects.inspectTemplates.delete": delete_project_inspect_template +"/dlp:v2beta2/dlp.projects.inspectTemplates.delete/name": name +"/dlp:v2beta2/dlp.projects.inspectTemplates.get": get_project_inspect_template +"/dlp:v2beta2/dlp.projects.inspectTemplates.get/name": name +"/dlp:v2beta2/dlp.projects.inspectTemplates.list": list_project_inspect_templates +"/dlp:v2beta2/dlp.projects.inspectTemplates.list/pageSize": page_size +"/dlp:v2beta2/dlp.projects.inspectTemplates.list/pageToken": page_token +"/dlp:v2beta2/dlp.projects.inspectTemplates.list/parent": parent +"/dlp:v2beta2/dlp.projects.inspectTemplates.patch": patch_project_inspect_template +"/dlp:v2beta2/dlp.projects.inspectTemplates.patch/name": name +"/dlp:v2beta2/fields": fields +"/dlp:v2beta2/key": key +"/dlp:v2beta2/quotaUser": quota_user "/dns:v1/Change": change "/dns:v1/Change/additions": additions "/dns:v1/Change/additions/addition": addition diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index ee5e5236d..6b45fd012 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20171201' + REVISION = '20171208' # 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 6bf3d1195..7c1edcf34 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -871,11 +871,19 @@ module Google # @return [String] attr_accessor :environment + # DEPRECATED: use repeated formats field instead. # The format on which to filter; optional. # Corresponds to the JSON property `format` # @return [String] attr_accessor :format + # The list of formats on which to filter; may be empty. The filters + # represented by multiple formats are ORed together (i.e. if non-empty, + # results must match any one of the formats). + # Corresponds to the JSON property `formats` + # @return [Array] + attr_accessor :formats + # A user-defined name of the filter set. Filter set names must be unique # globally and match one of the patterns: # - `bidders/*/filterSets/*` (for accessing bidder-level troubleshooting @@ -939,6 +947,7 @@ module Google @deal_id = args[:deal_id] if args.key?(:deal_id) @environment = args[:environment] if args.key?(:environment) @format = args[:format] if args.key?(:format) + @formats = args[:formats] if args.key?(:formats) @name = args[:name] if args.key?(:name) @platforms = args[:platforms] if args.key?(:platforms) @realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range) diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb index 2e18f9bd4..d9e0653cf 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb @@ -571,6 +571,7 @@ module Google property :deal_id, :numeric_string => true, as: 'dealId' property :environment, as: 'environment' property :format, as: 'format' + collection :formats, as: 'formats' property :name, as: 'name' collection :platforms, as: 'platforms' property :realtime_time_range, as: 'realtimeTimeRange', class: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange::Representation diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb index 759e52465..24e896b4a 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 = '20171127' + REVISION = '20171204' # 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 11282ea57..15cbc8e92 100644 --- a/generated/google/apis/androidmanagement_v1/classes.rb +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -2191,6 +2191,12 @@ module Google class StatusReportingSettings include Google::Apis::Core::Hashable + # Whether device settings reporting is enabled. + # Corresponds to the JSON property `deviceSettingsEnabled` + # @return [Boolean] + attr_accessor :device_settings_enabled + alias_method :device_settings_enabled?, :device_settings_enabled + # Whether displays reporting is enabled. # Corresponds to the JSON property `displayInfoEnabled` # @return [Boolean] @@ -2233,6 +2239,7 @@ module Google # Update properties of this object def update!(**args) + @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) @hardware_status_enabled = args[:hardware_status_enabled] if args.key?(:hardware_status_enabled) @memory_info_enabled = args[:memory_info_enabled] if args.key?(:memory_info_enabled) diff --git a/generated/google/apis/androidmanagement_v1/representations.rb b/generated/google/apis/androidmanagement_v1/representations.rb index 60b5cf149..24dc9e56f 100644 --- a/generated/google/apis/androidmanagement_v1/representations.rb +++ b/generated/google/apis/androidmanagement_v1/representations.rb @@ -740,6 +740,7 @@ module Google class StatusReportingSettings # @private class Representation < Google::Apis::Core::JsonRepresentation + property :device_settings_enabled, as: 'deviceSettingsEnabled' property :display_info_enabled, as: 'displayInfoEnabled' property :hardware_status_enabled, as: 'hardwareStatusEnabled' property :memory_info_enabled, as: 'memoryInfoEnabled' diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index 46900ed3d..c1102779e 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20171203' + REVISION = '20171210' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index 71f0b3fef..916258f0a 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -126,7 +126,7 @@ module Google attr_accessor :manual_runs_disabled alias_method :manual_runs_disabled?, :manual_runs_disabled - # The minimum interval between two consecutive scheduled runs. + # The minimum interval for scheduler to schedule runs. # Corresponds to the JSON property `minimumScheduleInterval` # @return [String] attr_accessor :minimum_schedule_interval @@ -788,7 +788,7 @@ module Google end # Represents a data transfer run. - # Next id: 25 + # Next id: 27 class TransferRun include Google::Apis::Core::Hashable diff --git a/generated/google/apis/calendar_v3.rb b/generated/google/apis/calendar_v3.rb index 743df5a1e..0115d820e 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 = '20171010' + REVISION = '20171210' # Manage your calendars AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' diff --git a/generated/google/apis/calendar_v3/classes.rb b/generated/google/apis/calendar_v3/classes.rb index 6b50d4c3f..5b422b42d 100644 --- a/generated/google/apis/calendar_v3/classes.rb +++ b/generated/google/apis/calendar_v3/classes.rb @@ -155,6 +155,12 @@ module Google class Calendar include Google::Apis::Core::Hashable + # Conferencing properties for this calendar, for example what types of + # conferences are allowed. + # Corresponds to the JSON property `conferenceProperties` + # @return [Google::Apis::CalendarV3::ConferenceProperties] + attr_accessor :conference_properties + # Description of the calendar. Optional. # Corresponds to the JSON property `description` # @return [String] @@ -198,6 +204,7 @@ module Google # Update properties of this object def update!(**args) + @conference_properties = args[:conference_properties] if args.key?(:conference_properties) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @@ -288,6 +295,12 @@ module Google # @return [String] attr_accessor :color_id + # Conferencing properties for this calendar, for example what types of + # conferences are allowed. + # Corresponds to the JSON property `conferenceProperties` + # @return [Google::Apis::CalendarV3::ConferenceProperties] + attr_accessor :conference_properties + # The default reminders that the authenticated user has for this calendar. # Corresponds to the JSON property `defaultReminders` # @return [Array] @@ -383,6 +396,7 @@ module Google @access_role = args[:access_role] if args.key?(:access_role) @background_color = args[:background_color] if args.key?(:background_color) @color_id = args[:color_id] if args.key?(:color_id) + @conference_properties = args[:conference_properties] if args.key?(:conference_properties) @default_reminders = args[:default_reminders] if args.key?(:default_reminders) @deleted = args[:deleted] if args.key?(:deleted) @description = args[:description] if args.key?(:description) @@ -599,6 +613,311 @@ module Google end end + # + class ConferenceData + include Google::Apis::Core::Hashable + + # The ID of the conference. + # Can be used by developers to keep track of conferences, should not be + # displayed to users. + # Values for solution types: + # - "eventHangout": unset + # - "eventNamedHangout": the name of the Hangout. + # - "hangoutsMeet": the 10-letter meeting code, for example "aaa-bbbb-ccc". + # Optional. + # Corresponds to the JSON property `conferenceId` + # @return [String] + attr_accessor :conference_id + + # The conference solution, such as Hangouts or Hangouts Meet. + # Unset for a conference with failed create request. + # Either conferenceSolution and at least one entryPoint, or createRequest is + # required. + # Corresponds to the JSON property `conferenceSolution` + # @return [Google::Apis::CalendarV3::ConferenceSolution] + attr_accessor :conference_solution + + # A request to generate a new conference and attach it to the event. The data is + # generated asynchronously. To see whether the data is present check the status + # field. + # Either conferenceSolution and at least one entryPoint, or createRequest is + # required. + # Corresponds to the JSON property `createRequest` + # @return [Google::Apis::CalendarV3::CreateConferenceRequest] + attr_accessor :create_request + + # Information about individual conference entry points, such as URLs or phone + # numbers. + # All of them must belong to the same conference. + # Either conferenceSolution and at least one entryPoint, or createRequest is + # required. + # Corresponds to the JSON property `entryPoints` + # @return [Array] + attr_accessor :entry_points + + # The signature of the conference data. + # Genereated on server side. Must be preserved while copying the conference data + # between events, otherwise the conference data will not be copied. + # Unset for a conference with failed create request. + # Optional for a conference with a pending create request. + # Corresponds to the JSON property `signature` + # @return [String] + attr_accessor :signature + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conference_id = args[:conference_id] if args.key?(:conference_id) + @conference_solution = args[:conference_solution] if args.key?(:conference_solution) + @create_request = args[:create_request] if args.key?(:create_request) + @entry_points = args[:entry_points] if args.key?(:entry_points) + @signature = args[:signature] if args.key?(:signature) + end + end + + # + class ConferenceProperties + include Google::Apis::Core::Hashable + + # The types of conference solutions that are supported for this calendar. + # The possible values are: + # - "eventHangout" + # - "eventNamedHangout" + # - "hangoutsMeet" Optional. + # Corresponds to the JSON property `allowedConferenceSolutionTypes` + # @return [Array] + attr_accessor :allowed_conference_solution_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allowed_conference_solution_types = args[:allowed_conference_solution_types] if args.key?(:allowed_conference_solution_types) + end + end + + # + class ConferenceRequestStatus + include Google::Apis::Core::Hashable + + # The current status of the conference create request. Read-only. + # The possible values are: + # - "pending": the conference create request is still being processed. + # - "success": the conference create request succeeded, the entry points are + # populated. + # - "failure": the conference create request failed, there are no entry points. + # Corresponds to the JSON property `statusCode` + # @return [String] + attr_accessor :status_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status_code = args[:status_code] if args.key?(:status_code) + end + end + + # + class ConferenceSolution + include Google::Apis::Core::Hashable + + # The user-visible icon for this solution. Read-only. + # Corresponds to the JSON property `iconUri` + # @return [String] + attr_accessor :icon_uri + + # The key which can uniquely identify the conference solution for this event. + # Corresponds to the JSON property `key` + # @return [Google::Apis::CalendarV3::ConferenceSolutionKey] + attr_accessor :key + + # The user-visible name of this solution. Not localized. Read-only. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @icon_uri = args[:icon_uri] if args.key?(:icon_uri) + @key = args[:key] if args.key?(:key) + @name = args[:name] if args.key?(:name) + end + end + + # + class ConferenceSolutionKey + include Google::Apis::Core::Hashable + + # The conference solution type. + # If a client encounters an unfamiliar or empty type, it should still be able to + # display the entry points. However, it should disallow modifications. + # The possible values are: + # - "eventHangout" + # - "eventNamedHangout" + # - "hangoutsMeet" + # 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 + + # + class CreateConferenceRequest + include Google::Apis::Core::Hashable + + # The conference solution, such as Hangouts or Hangouts Meet. + # Corresponds to the JSON property `conferenceSolutionKey` + # @return [Google::Apis::CalendarV3::ConferenceSolutionKey] + attr_accessor :conference_solution_key + + # The client-generated unique ID for this request. + # Clients should regenerate this ID for every new request. If an ID provided is + # the same as for the previous request, the request is ignored. + # Corresponds to the JSON property `requestId` + # @return [String] + attr_accessor :request_id + + # The status of the conference create request. + # Corresponds to the JSON property `status` + # @return [Google::Apis::CalendarV3::ConferenceRequestStatus] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conference_solution_key = args[:conference_solution_key] if args.key?(:conference_solution_key) + @request_id = args[:request_id] if args.key?(:request_id) + @status = args[:status] if args.key?(:status) + end + end + + # + class EntryPoint + include Google::Apis::Core::Hashable + + # The Access Code to access the conference. The maximum length is 128 characters. + # When creating new conference data, populate only the subset of `meetingCode, + # accessCode, passcode, password, pin` fields that match the terminology that + # the conference provider uses. Only the populated fields should be displayed. + # Optional. + # Corresponds to the JSON property `accessCode` + # @return [String] + attr_accessor :access_code + + # The type of the conference entry point. + # Possible values are: + # - "video" - joining a conference over HTTP. A conference can have zero or one + # video entry point. + # - "phone" - joining a conference by dialing a phone number. A conference can + # have zero or more phone entry points. + # - "sip" - joining a conference over SIP. A conference can have zero or one sip + # entry point. + # - "more" - further conference joining instructions, for example additional + # phone numbers. A conference can have zero or one more entry point. A + # conference with only a more entry point is not a valid conference. + # Corresponds to the JSON property `entryPointType` + # @return [String] + attr_accessor :entry_point_type + + # The label for the URI.Visible to end users. Not localized. The maximum length + # is 512 characters. + # Examples: + # - for video: meet.google.com/aaa-bbbb-ccc + # - for phone: +1 123 268 2601 + # - for sip: sip:12345678@myprovider.com + # - for more: should not be filled + # Optional. + # Corresponds to the JSON property `label` + # @return [String] + attr_accessor :label + + # The Meeting Code to access the conference. The maximum length is 128 + # characters. + # When creating new conference data, populate only the subset of `meetingCode, + # accessCode, passcode, password, pin` fields that match the terminology that + # the conference provider uses. Only the populated fields should be displayed. + # Optional. + # Corresponds to the JSON property `meetingCode` + # @return [String] + attr_accessor :meeting_code + + # The Passcode to access the conference. The maximum length is 128 characters. + # When creating new conference data, populate only the subset of `meetingCode, + # accessCode, passcode, password, pin` fields that match the terminology that + # the conference provider uses. Only the populated fields should be displayed. + # Corresponds to the JSON property `passcode` + # @return [String] + attr_accessor :passcode + + # The Password to access the conference. The maximum length is 128 characters. + # When creating new conference data, populate only the subset of `meetingCode, + # accessCode, passcode, password, pin` fields that match the terminology that + # the conference provider uses. Only the populated fields should be displayed. + # Optional. + # Corresponds to the JSON property `password` + # @return [String] + attr_accessor :password + + # The PIN to access the conference. The maximum length is 128 characters. + # When creating new conference data, populate only the subset of `meetingCode, + # accessCode, passcode, password, pin` fields that match the terminology that + # the conference provider uses. Only the populated fields should be displayed. + # Optional. + # Corresponds to the JSON property `pin` + # @return [String] + attr_accessor :pin + + # The "URI" of the entry point. The maximum length is 1300 characters. + # Format: + # - for video, http: or https: schema is required. + # - for phone, tel: schema is required. The URI should include the entire dial + # sequence (e.g., tel:+12345678900,,,123456789;1234). + # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com. + # - for more, http: or https: schema is required. + # 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) + @access_code = args[:access_code] if args.key?(:access_code) + @entry_point_type = args[:entry_point_type] if args.key?(:entry_point_type) + @label = args[:label] if args.key?(:label) + @meeting_code = args[:meeting_code] if args.key?(:meeting_code) + @passcode = args[:passcode] if args.key?(:passcode) + @password = args[:password] if args.key?(:password) + @pin = args[:pin] if args.key?(:pin) + @uri = args[:uri] if args.key?(:uri) + end + end + # class Error include Google::Apis::Core::Hashable @@ -673,6 +992,12 @@ module Google # @return [String] attr_accessor :color_id + # The conference-related information, such as details of a Hangouts Meet + # conference. To create new conference details use the createRequest field. + # Corresponds to the JSON property `conferenceData` + # @return [Google::Apis::CalendarV3::ConferenceData] + attr_accessor :conference_data + # Creation time of the event (as a RFC3339 timestamp). Read-only. # Corresponds to the JSON property `created` # @return [DateTime] @@ -906,6 +1231,7 @@ module Google @attendees = args[:attendees] if args.key?(:attendees) @attendees_omitted = args[:attendees_omitted] if args.key?(:attendees_omitted) @color_id = args[:color_id] if args.key?(:color_id) + @conference_data = args[:conference_data] if args.key?(:conference_data) @created = args[:created] if args.key?(:created) @creator = args[:creator] if args.key?(:creator) @description = args[:description] if args.key?(:description) diff --git a/generated/google/apis/calendar_v3/representations.rb b/generated/google/apis/calendar_v3/representations.rb index dae8dbfd2..a1fb6f653 100644 --- a/generated/google/apis/calendar_v3/representations.rb +++ b/generated/google/apis/calendar_v3/representations.rb @@ -88,6 +88,48 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ConferenceData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConferenceProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConferenceRequestStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConferenceSolution + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConferenceSolutionKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateConferenceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EntryPoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Error class Representation < Google::Apis::Core::JsonRepresentation; end @@ -249,6 +291,8 @@ module Google class Calendar # @private class Representation < Google::Apis::Core::JsonRepresentation + property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation + property :description, as: 'description' property :etag, as: 'etag' property :id, as: 'id' @@ -277,6 +321,8 @@ module Google property :access_role, as: 'accessRole' property :background_color, as: 'backgroundColor' property :color_id, as: 'colorId' + property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation + collection :default_reminders, as: 'defaultReminders', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation property :deleted, as: 'deleted' @@ -350,6 +396,76 @@ module Google end end + class ConferenceData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conference_id, as: 'conferenceId' + property :conference_solution, as: 'conferenceSolution', class: Google::Apis::CalendarV3::ConferenceSolution, decorator: Google::Apis::CalendarV3::ConferenceSolution::Representation + + property :create_request, as: 'createRequest', class: Google::Apis::CalendarV3::CreateConferenceRequest, decorator: Google::Apis::CalendarV3::CreateConferenceRequest::Representation + + collection :entry_points, as: 'entryPoints', class: Google::Apis::CalendarV3::EntryPoint, decorator: Google::Apis::CalendarV3::EntryPoint::Representation + + property :signature, as: 'signature' + end + end + + class ConferenceProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :allowed_conference_solution_types, as: 'allowedConferenceSolutionTypes' + end + end + + class ConferenceRequestStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status_code, as: 'statusCode' + end + end + + class ConferenceSolution + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :icon_uri, as: 'iconUri' + property :key, as: 'key', class: Google::Apis::CalendarV3::ConferenceSolutionKey, decorator: Google::Apis::CalendarV3::ConferenceSolutionKey::Representation + + property :name, as: 'name' + end + end + + class ConferenceSolutionKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + end + end + + class CreateConferenceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conference_solution_key, as: 'conferenceSolutionKey', class: Google::Apis::CalendarV3::ConferenceSolutionKey, decorator: Google::Apis::CalendarV3::ConferenceSolutionKey::Representation + + property :request_id, as: 'requestId' + property :status, as: 'status', class: Google::Apis::CalendarV3::ConferenceRequestStatus, decorator: Google::Apis::CalendarV3::ConferenceRequestStatus::Representation + + end + end + + class EntryPoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :access_code, as: 'accessCode' + property :entry_point_type, as: 'entryPointType' + property :label, as: 'label' + property :meeting_code, as: 'meetingCode' + property :passcode, as: 'passcode' + property :password, as: 'password' + property :pin, as: 'pin' + property :uri, as: 'uri' + end + end + class Error # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -368,6 +484,8 @@ module Google property :attendees_omitted, as: 'attendeesOmitted' property :color_id, as: 'colorId' + property :conference_data, as: 'conferenceData', class: Google::Apis::CalendarV3::ConferenceData, decorator: Google::Apis::CalendarV3::ConferenceData::Representation + property :created, as: 'created', type: DateTime property :creator, as: 'creator', class: Google::Apis::CalendarV3::Event::Creator, decorator: Google::Apis::CalendarV3::Event::Creator::Representation diff --git a/generated/google/apis/calendar_v3/service.rb b/generated/google/apis/calendar_v3/service.rb index 4ce621ab6..e72454efc 100644 --- a/generated/google/apis/calendar_v3/service.rb +++ b/generated/google/apis/calendar_v3/service.rb @@ -1129,6 +1129,11 @@ module Google # method. If you want to access the primary calendar of the currently logged in # user, use the "primary" keyword. # @param [Google::Apis::CalendarV3::Event] event_object + # @param [Fixnum] conference_data_version + # Version number of conference data supported by the API client. Version 0 + # assumes no conference data support and ignores conference data in the event's + # body. Version 1 enables support for copying of ConferenceData as well as for + # creating new conferences using the CreateConferenceRequest. The default is 0. # @param [Boolean] supports_attachments # Whether API client performing operation supports event attachments. Optional. # The default is False. @@ -1153,13 +1158,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 import_event(calendar_id, event_object = nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def import_event(calendar_id, event_object = nil, conference_data_version: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'calendars/{calendarId}/events/import', options) command.request_representation = Google::Apis::CalendarV3::Event::Representation command.request_object = event_object command.response_representation = Google::Apis::CalendarV3::Event::Representation command.response_class = Google::Apis::CalendarV3::Event command.params['calendarId'] = calendar_id unless calendar_id.nil? + command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil? command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1173,6 +1179,11 @@ module Google # method. If you want to access the primary calendar of the currently logged in # user, use the "primary" keyword. # @param [Google::Apis::CalendarV3::Event] event_object + # @param [Fixnum] conference_data_version + # Version number of conference data supported by the API client. Version 0 + # assumes no conference data support and ignores conference data in the event's + # body. Version 1 enables support for copying of ConferenceData as well as for + # creating new conferences using the CreateConferenceRequest. The default is 0. # @param [Fixnum] max_attendees # The maximum number of attendees to include in the response. If there are more # than the specified number of attendees, only the participant is returned. @@ -1204,13 +1215,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_event(calendar_id, event_object = nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_event(calendar_id, event_object = nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'calendars/{calendarId}/events', options) command.request_representation = Google::Apis::CalendarV3::Event::Representation command.request_object = event_object command.response_representation = Google::Apis::CalendarV3::Event::Representation command.response_class = Google::Apis::CalendarV3::Event command.params['calendarId'] = calendar_id unless calendar_id.nil? + command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil? command.query['maxAttendees'] = max_attendees unless max_attendees.nil? command.query['sendNotifications'] = send_notifications unless send_notifications.nil? command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil? @@ -1504,6 +1516,11 @@ module Google # non-working value will be provided). The use of this option is discouraged and # should only be used by clients which cannot handle the absence of an email # address value in the mentioned places. Optional. The default is False. + # @param [Fixnum] conference_data_version + # Version number of conference data supported by the API client. Version 0 + # assumes no conference data support and ignores conference data in the event's + # body. Version 1 enables support for copying of ConferenceData as well as for + # creating new conferences using the CreateConferenceRequest. The default is 0. # @param [Fixnum] max_attendees # The maximum number of attendees to include in the response. If there are more # than the specified number of attendees, only the participant is returned. @@ -1535,7 +1552,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_event(calendar_id, event_id, event_object = nil, always_include_email: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'calendars/{calendarId}/events/{eventId}', options) command.request_representation = Google::Apis::CalendarV3::Event::Representation command.request_object = event_object @@ -1544,6 +1561,7 @@ module Google command.params['calendarId'] = calendar_id unless calendar_id.nil? command.params['eventId'] = event_id unless event_id.nil? command.query['alwaysIncludeEmail'] = always_include_email unless always_include_email.nil? + command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil? command.query['maxAttendees'] = max_attendees unless max_attendees.nil? command.query['sendNotifications'] = send_notifications unless send_notifications.nil? command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil? @@ -1611,6 +1629,11 @@ module Google # non-working value will be provided). The use of this option is discouraged and # should only be used by clients which cannot handle the absence of an email # address value in the mentioned places. Optional. The default is False. + # @param [Fixnum] conference_data_version + # Version number of conference data supported by the API client. Version 0 + # assumes no conference data support and ignores conference data in the event's + # body. Version 1 enables support for copying of ConferenceData as well as for + # creating new conferences using the CreateConferenceRequest. The default is 0. # @param [Fixnum] max_attendees # The maximum number of attendees to include in the response. If there are more # than the specified number of attendees, only the participant is returned. @@ -1642,7 +1665,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_event(calendar_id, event_id, event_object = nil, always_include_email: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'calendars/{calendarId}/events/{eventId}', options) command.request_representation = Google::Apis::CalendarV3::Event::Representation command.request_object = event_object @@ -1651,6 +1674,7 @@ module Google command.params['calendarId'] = calendar_id unless calendar_id.nil? command.params['eventId'] = event_id unless event_id.nil? command.query['alwaysIncludeEmail'] = always_include_email unless always_include_email.nil? + command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil? command.query['maxAttendees'] = max_attendees unless max_attendees.nil? command.query['sendNotifications'] = send_notifications unless send_notifications.nil? command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil? diff --git a/generated/google/apis/cloudresourcemanager_v1beta1.rb b/generated/google/apis/cloudresourcemanager_v1beta1.rb index 21cc231ec..23c2bb3a9 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 = '20170821' + REVISION = '20171211' # 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 6b43a1c94..f521a674b 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb @@ -468,7 +468,10 @@ module Google # Lists Projects that are visible to the user and satisfy the # specified filter. This method returns Projects in an unspecified order. - # New Projects do not necessarily appear at the end of the list. + # This method is eventually consistent with project mutations; this means + # that a newly created project may not appear in the results or recent + # updates to an existing project may not be reflected in the results. To + # retrieve the latest state of a project, use the GetProjectmethod. # @param [String] filter # An expression for filtering the results of the request. Filter rules are # case insensitive. The fields eligible for filtering are: @@ -533,7 +536,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the IAM access control policy for the specified Project. Replaces + # Sets the IAM access control policy for the specified Project. Overwrites # any existing policy. # The following constraints apply when using `setIamPolicy()`: # + Project does not support `allUsers` and `allAuthenticatedUsers` as @@ -556,7 +559,8 @@ module Google # projects that no longer have owners who have accepted the ToS. Edits to # IAM policies will be rejected until the lack of a ToS-accepting owner is # rectified. - # + Calling this method requires enabling the App Engine Admin API. + # + This method will replace the existing policy, and cannot be used to + # append additional IAM settings. # Note: Removing service accounts from policies or changing their roles # can render services completely inoperable. It is important to understand # how the service account is being used before removing or updating its diff --git a/generated/google/apis/cloudresourcemanager_v2beta1.rb b/generated/google/apis/cloudresourcemanager_v2beta1.rb index 80946a8fc..540e70fee 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 = '20170828' + REVISION = '20171211' # 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/classes.rb b/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb index 107aa5b1a..ecf2894f3 100644 --- a/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb @@ -202,7 +202,8 @@ module Google # Output only. The lifecycle state of the folder. # Updates to the lifecycle_state must be performed via - # [DeleteFolder] and [UndeleteFolder]. + # DeleteFolder and + # UndeleteFolder. # Corresponds to the JSON property `lifecycleState` # @return [String] attr_accessor :lifecycle_state @@ -214,7 +215,8 @@ module Google attr_accessor :name # The Folder’s parent's resource name. - # Updates to the folder's parent must be performed via [MoveFolders]. + # Updates to the folder's parent must be performed via + # MoveFolder. # Corresponds to the JSON property `parent` # @return [String] attr_accessor :parent @@ -583,13 +585,13 @@ module Google # lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR` # can be used along with the suffix wildcard symbol `*`. # Some example queries are: - # |Query|Description| - # |------|-----------| + # |Query | Description| + # |----- | -----------| # |displayName=Test*|Folders whose display name starts with "Test".| # |lifecycleState=ACTIVE|Folders whose lifecycleState is ACTIVE.| # |parent=folders/123|Folders whose parent is "folders/123".| - # |parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose - # parent is "folders/123".| + # |parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose parent is " + # folders/123".| # Corresponds to the JSON property `query` # @return [String] attr_accessor :query diff --git a/generated/google/apis/cloudresourcemanager_v2beta1/service.rb b/generated/google/apis/cloudresourcemanager_v2beta1/service.rb index 52b0b4855..3eddeb983 100644 --- a/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v2beta1/service.rb @@ -105,10 +105,12 @@ module Google end # Requests deletion of a Folder. The Folder is moved into the - # [DELETE_REQUESTED] state immediately, and is deleted approximately 30 days - # later. This method may only be called on an empty Folder in the [ACTIVE] - # state, where a Folder is empty if it doesn't contain any Folders or - # Projects in the [ACTIVE] state. + # DELETE_REQUESTED state + # immediately, and is deleted approximately 30 days later. This method may + # only be called on an empty Folder in the + # ACTIVE state, where a Folder is empty if + # it doesn't contain any Folders or Projects in the + # ACTIVE state. # The caller must have `resourcemanager.folders.delete` permission on the # identified folder. # @param [String] name @@ -235,8 +237,9 @@ module Google # Access to this method is controlled by checking the # `resourcemanager.folders.list` permission on the `parent`. # @param [Boolean] show_deleted - # Controls whether Folders in the [DELETE_REQUESTED` state should - # be returned. + # Controls whether Folders in the + # DELETE_REQUESTED + # state should be returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -280,7 +283,8 @@ module Google # In addition, the Operation.metadata field will be populated with a # FolderOperation message as an aid to stateless clients. # Folder moves will be rejected if they violate either the naming, height - # or fanout constraints described in the [CreateFolder] documentation. + # or fanout constraints described in the + # CreateFolder documentation. # The caller must have `resourcemanager.folders.move` permission on the # folder's current and proposed new parent. # @param [String] name @@ -318,9 +322,9 @@ module Google # Updates a Folder, changing its display_name. # Changes to the folder display_name will be rejected if they violate either - # the display_name formatting rules or naming constraints described in - # the [CreateFolder] documentation. - # + The Folder's display name must start and end with a letter or digit, + # the display_name formatting rules or naming constraints described in the + # CreateFolder documentation. + # The Folder's display name must start and end with a letter or digit, # may contain letters, digits, spaces, hyphens and underscores and can be # no longer than 30 characters. This is captured by the regular expression: # [\p`L`\p`N`](`\p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?. @@ -476,11 +480,13 @@ module Google end # Cancels the deletion request for a Folder. This method may only be - # called on a Folder in the [DELETE_REQUESTED] state. - # In order to succeed, the Folder's parent must be in the [ACTIVE] state. + # called on a Folder in the + # DELETE_REQUESTED state. + # In order to succeed, the Folder's parent must be in the + # ACTIVE state. # In addition, reintroducing the folder into the tree must not violate # folder naming, height and fanout constraints described in the - # [CreateFolder] documentation. + # CreateFolder documentation. # The caller must have `resourcemanager.folders.undelete` permission on the # identified folder. # @param [String] name diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb index c5a2dfd98..c95d7740b 100644 --- a/generated/google/apis/cloudtasks_v2beta2.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/cloud-tasks/ module CloudtasksV2beta2 VERSION = 'V2beta2' - REVISION = '20171208' + REVISION = '20171213' # 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/classes.rb b/generated/google/apis/cloudtasks_v2beta2/classes.rb index 0c4e97258..76f9a5b18 100644 --- a/generated/google/apis/cloudtasks_v2beta2/classes.rb +++ b/generated/google/apis/cloudtasks_v2beta2/classes.rb @@ -30,8 +30,8 @@ module Google # Required. # The task's current schedule time, available in the Task.schedule_time # returned in PullTasksResponse.tasks or - # CloudTasks.RenewLease. This restriction is to check that - # the caller is acknowledging the correct task. + # CloudTasks.RenewLease. This restriction is to ensure that your task + # worker currently holds the lease. # Corresponds to the JSON property `scheduleTime` # @return [String] attr_accessor :schedule_time @@ -465,8 +465,8 @@ module Google # Required. # The task's current schedule time, available in the Task.schedule_time # returned in PullTasksResponse.tasks or - # CloudTasks.RenewLease. This restriction is to check that - # the caller is canceling the correct task. + # CloudTasks.RenewLease. This restriction is to ensure that your task + # worker currently holds the lease. # Corresponds to the JSON property `scheduleTime` # @return [String] attr_accessor :schedule_time @@ -830,12 +830,12 @@ module Google # PullTasksResponse is leased -- that task will not be # returned in a different PullTasksResponse before the # Task.schedule_time. - # After the lease holder has successfully finished the work - # associated with the task, the lease holder must call + # After the pull worker has successfully finished the work + # associated with the task, the pull worker must call # CloudTasks.AcknowledgeTask. If the task is not acknowledged # via CloudTasks.AcknowledgeTask before the # Task.schedule_time then it will be returned in a later - # PullTasksResponse so that another lease holder can process + # PullTasksResponse so that another pull worker can process # it. # The maximum lease duration is 1 week. # `lease_duration` will be truncated to the nearest second. @@ -1101,8 +1101,8 @@ module Google # Required. # The task's current schedule time, available in the Task.schedule_time # returned in PullTasksResponse.tasks or - # CloudTasks.RenewLease. This restriction is to check that - # the caller is renewing the correct task. + # CloudTasks.RenewLease. This restriction is to ensure that your task + # worker currently holds the lease. # Corresponds to the JSON property `scheduleTime` # @return [String] attr_accessor :schedule_time @@ -1457,20 +1457,20 @@ module Google attr_accessor :pull_message # The time when the task is scheduled to be attempted. + # For App Engine queues, this is when the task will be attempted or retried. # For pull queues, this is the time when the task is available to # be leased; if a task is currently leased, this is the time when # the current lease expires, that is, the time that the task was # leased plus the PullTasksRequest.lease_duration. - # For App Engine queues, this is when the task will be attempted or retried. # `schedule_time` will be truncated to the nearest microsecond. # Corresponds to the JSON property `scheduleTime` # @return [String] attr_accessor :schedule_time # Status of the task. - # Corresponds to the JSON property `taskStatus` + # Corresponds to the JSON property `status` # @return [Google::Apis::CloudtasksV2beta2::TaskStatus] - attr_accessor :task_status + attr_accessor :status # Output only. The view specifies which subset of the Task has # been returned. @@ -1489,7 +1489,7 @@ module Google @name = args[:name] if args.key?(:name) @pull_message = args[:pull_message] if args.key?(:pull_message) @schedule_time = args[:schedule_time] if args.key?(:schedule_time) - @task_status = args[:task_status] if args.key?(:task_status) + @status = args[:status] if args.key?(:status) @view = args[:view] if args.key?(:view) end end diff --git a/generated/google/apis/cloudtasks_v2beta2/representations.rb b/generated/google/apis/cloudtasks_v2beta2/representations.rb index 7e4bc52b2..a7b1fea37 100644 --- a/generated/google/apis/cloudtasks_v2beta2/representations.rb +++ b/generated/google/apis/cloudtasks_v2beta2/representations.rb @@ -483,7 +483,7 @@ module Google property :pull_message, as: 'pullMessage', class: Google::Apis::CloudtasksV2beta2::PullMessage, decorator: Google::Apis::CloudtasksV2beta2::PullMessage::Representation property :schedule_time, as: 'scheduleTime' - property :task_status, as: 'taskStatus', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation + property :status, as: 'status', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation property :view, as: 'view' end diff --git a/generated/google/apis/cloudtasks_v2beta2/service.rb b/generated/google/apis/cloudtasks_v2beta2/service.rb index 83981e49b..11546a226 100644 --- a/generated/google/apis/cloudtasks_v2beta2/service.rb +++ b/generated/google/apis/cloudtasks_v2beta2/service.rb @@ -593,10 +593,10 @@ module Google end # Acknowledges a pull task. - # The lease holder, that is, the entity that received this task in + # The pull worker, that is, the entity that received this task in # a PullTasksResponse, must call this method to indicate that # the work associated with the task has finished. - # The lease holder must acknowledge a task within the + # The pull worker must acknowledge a task within the # PullTasksRequest.lease_duration or the lease will expire and # the task will become ready to be returned in a different # PullTasksResponse. After the task is acknowledged, it will @@ -641,7 +641,7 @@ module Google end # Cancel a pull task's lease. - # The lease holder can use this method to cancel a task's lease + # The pull worker can use this method to cancel a task's lease # by setting Task.schedule_time to now. This will make the task # available to be leased to the next caller of CloudTasks.PullTasks. # @param [String] name @@ -874,11 +874,11 @@ module Google # Pulls tasks from a pull queue and acquires a lease on them for a # specified PullTasksRequest.lease_duration. - # This method is invoked by the lease holder to obtain the - # lease. The lease holder must acknowledge the task via + # This method is invoked by the pull worker to obtain the + # lease. The pull worker must acknowledge the task via # CloudTasks.AcknowledgeTask after they have performed the work # associated with the task. - # The payload is intended to store data that the lease holder needs + # The payload is intended to store data that the pull worker needs # to perform the work associated with the task. To return the # payloads in the PullTasksResponse, set # PullTasksRequest.response_view to Task.View.FULL. @@ -921,7 +921,7 @@ module Google end # Renew the current lease of a pull task. - # The lease holder can use this method to extend the lease by a new + # The pull worker can use this method to extend the lease by a new # duration, starting from now. The new task lease will be # returned in Task.schedule_time. # @param [String] name @@ -966,7 +966,7 @@ module Google # When this method is called, Cloud Tasks will dispatch the task to its # target, even if the queue is Queue.State.PAUSED. # The dispatched task is returned. That is, the task that is returned - # contains the Task.task_status after the task is dispatched but + # contains the Task.status after the task is dispatched but # before the task is received by its target. # If Cloud Tasks receives a successful response from the task's # handler, then the task will be deleted; otherwise the task's diff --git a/generated/google/apis/dlp_v2beta2.rb b/generated/google/apis/dlp_v2beta2.rb new file mode 100644 index 000000000..9cc2fea00 --- /dev/null +++ b/generated/google/apis/dlp_v2beta2.rb @@ -0,0 +1,36 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/dlp_v2beta2/service.rb' +require 'google/apis/dlp_v2beta2/classes.rb' +require 'google/apis/dlp_v2beta2/representations.rb' + +module Google + module Apis + # DLP API + # + # The Google Data Loss Prevention API provides methods for detection of privacy- + # sensitive fragments in text, images, and Google Cloud Platform storage + # repositories. + # + # @see https://cloud.google.com/dlp/docs/ + module DlpV2beta2 + VERSION = 'V2beta2' + REVISION = '20171212' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + end + end +end diff --git a/generated/google/apis/dlp_v2beta2/classes.rb b/generated/google/apis/dlp_v2beta2/classes.rb new file mode 100644 index 000000000..f8bb99031 --- /dev/null +++ b/generated/google/apis/dlp_v2beta2/classes.rb @@ -0,0 +1,5475 @@ +# 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 DlpV2beta2 + + # An auxiliary table contains statistical information on the relative + # frequency of different quasi-identifiers values. It has one or several + # quasi-identifiers columns, and one column that indicates the relative + # frequency of each quasi-identifier tuple. + # If a tuple is present in the data but not in the auxiliary table, the + # corresponding relative frequency is assumed to be zero (and thus, the + # tuple is highly reidentifiable). + class GooglePrivacyDlpV2beta1AuxiliaryTable + include Google::Apis::Core::Hashable + + # Quasi-identifier columns. [required] + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `relativeFrequency` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :relative_frequency + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `table` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable] + attr_accessor :table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + @relative_frequency = args[:relative_frequency] if args.key?(:relative_frequency) + @table = args[:table] if args.key?(:table) + end + end + + # Options defining BigQuery table and row identifiers. + class GooglePrivacyDlpV2beta1BigQueryOptions + include Google::Apis::Core::Hashable + + # References to fields uniquely identifying rows within the table. + # Nested fields in the format, like `person.birthdate.year`, are allowed. + # Corresponds to the JSON property `identifyingFields` + # @return [Array] + attr_accessor :identifying_fields + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `tableReference` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable] + attr_accessor :table_reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields) + @table_reference = args[:table_reference] if args.key?(:table_reference) + end + end + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + class GooglePrivacyDlpV2beta1BigQueryTable + include Google::Apis::Core::Hashable + + # Dataset ID of the table. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The Google Cloud Platform project ID of the project containing the table. + # If omitted, project ID is inferred from the API call. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Name of the table. + # Corresponds to the JSON property `tableId` + # @return [String] + attr_accessor :table_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @project_id = args[:project_id] if args.key?(:project_id) + @table_id = args[:table_id] if args.key?(:table_id) + end + end + + # Compute numerical stats over an individual column, including + # number of distinct values and value count distribution. + class GooglePrivacyDlpV2beta1CategoricalStatsConfig + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + end + end + + # Histogram bucket of value frequencies in the column. + class GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket + include Google::Apis::Core::Hashable + + # Total number of records in this bucket. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of value frequencies in this bucket. The total number of + # values returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Lower bound on the value frequency of the values in this bucket. + # Corresponds to the JSON property `valueFrequencyLowerBound` + # @return [Fixnum] + attr_accessor :value_frequency_lower_bound + + # Upper bound on the value frequency of the values in this bucket. + # Corresponds to the JSON property `valueFrequencyUpperBound` + # @return [Fixnum] + attr_accessor :value_frequency_upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @value_frequency_lower_bound = args[:value_frequency_lower_bound] if args.key?(:value_frequency_lower_bound) + @value_frequency_upper_bound = args[:value_frequency_upper_bound] if args.key?(:value_frequency_upper_bound) + end + end + + # Result of the categorical stats computation. + class GooglePrivacyDlpV2beta1CategoricalStatsResult + include Google::Apis::Core::Hashable + + # Histogram of value frequencies in the column. + # Corresponds to the JSON property `valueFrequencyHistogramBuckets` + # @return [Array] + attr_accessor :value_frequency_histogram_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value_frequency_histogram_buckets = args[:value_frequency_histogram_buckets] if args.key?(:value_frequency_histogram_buckets) + end + end + + # Options defining a file or a set of files (path ending with *) within + # a Google Cloud Storage bucket. + class GooglePrivacyDlpV2beta1CloudStorageOptions + include Google::Apis::Core::Hashable + + # Set of files to scan. + # Corresponds to the JSON property `fileSet` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FileSet] + attr_accessor :file_set + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_set = args[:file_set] if args.key?(:file_set) + end + end + + # A location in Cloud Storage. + class GooglePrivacyDlpV2beta1CloudStoragePath + include Google::Apis::Core::Hashable + + # The url, in the format of `gs://bucket/`. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @path = args[:path] if args.key?(:path) + end + end + + # Custom information type provided by the user. Used to find domain-specific + # sensitive information configurable to the data in question. + class GooglePrivacyDlpV2beta1CustomInfoType + include Google::Apis::Core::Hashable + + # Custom information type based on a dictionary of words or phrases. This can + # be used to match sensitive information specific to the data, such as a list + # of employee IDs or job titles. + # Dictionary words are case-insensitive and all characters other than letters + # and digits in the unicode [Basic Multilingual + # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29# + # Basic_Multilingual_Plane) + # will be replaced with whitespace when scanning for matches, so the + # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", + # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters + # surrounding any match must be of a different type than the adjacent + # characters within the word, so letters must be next to non-letters and + # digits next to non-digits. For example, the dictionary word "jen" will + # match the first three letters of the text "jen123" but will return no + # matches for "jennifer". + # Dictionary words containing a large number of characters that are not + # letters or digits may result in unexpected findings because such characters + # are treated as whitespace. + # Corresponds to the JSON property `dictionary` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Dictionary] + attr_accessor :dictionary + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + # Message for detecting output from deidentification transformations + # such as + # [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/content/ + # deidentify#CryptoReplaceFfxFpeConfig). + # These types of transformations are + # those that perform pseudonymization, thereby producing a "surrogate" as + # output. This should be used in conjunction with a field on the + # transformation such as `surrogate_info_type`. + # Corresponds to the JSON property `surrogateType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1SurrogateType] + attr_accessor :surrogate_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dictionary = args[:dictionary] if args.key?(:dictionary) + @info_type = args[:info_type] if args.key?(:info_type) + @surrogate_type = args[:surrogate_type] if args.key?(:surrogate_type) + end + end + + # Options defining a data set within Google Cloud Datastore. + class GooglePrivacyDlpV2beta1DatastoreOptions + include Google::Apis::Core::Hashable + + # A representation of a Datastore kind. + # Corresponds to the JSON property `kind` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KindExpression] + attr_accessor :kind + + # Datastore partition ID. + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PartitionId] + attr_accessor :partition_id + + # Properties to scan. If none are specified, all properties will be scanned + # by default. + # Corresponds to the JSON property `projection` + # @return [Array] + attr_accessor :projection + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @partition_id = args[:partition_id] if args.key?(:partition_id) + @projection = args[:projection] if args.key?(:projection) + end + end + + # Custom information type based on a dictionary of words or phrases. This can + # be used to match sensitive information specific to the data, such as a list + # of employee IDs or job titles. + # Dictionary words are case-insensitive and all characters other than letters + # and digits in the unicode [Basic Multilingual + # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29# + # Basic_Multilingual_Plane) + # will be replaced with whitespace when scanning for matches, so the + # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", + # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters + # surrounding any match must be of a different type than the adjacent + # characters within the word, so letters must be next to non-letters and + # digits next to non-digits. For example, the dictionary word "jen" will + # match the first three letters of the text "jen123" but will return no + # matches for "jennifer". + # Dictionary words containing a large number of characters that are not + # letters or digits may result in unexpected findings because such characters + # are treated as whitespace. + class GooglePrivacyDlpV2beta1Dictionary + include Google::Apis::Core::Hashable + + # Message defining a list of words or phrases to search for in the data. + # Corresponds to the JSON property `wordList` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1WordList] + attr_accessor :word_list + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @word_list = args[:word_list] if args.key?(:word_list) + end + end + + # An entity in a dataset is a field or set of fields that correspond to a + # single person. For example, in medical records the `EntityId` might be + # a patient identifier, or for financial records it might be an account + # identifier. This message is used when generalizations or analysis must be + # consistent across multiple rows pertaining to the same entity. + class GooglePrivacyDlpV2beta1EntityId + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + end + end + + # General identifier of a data field in a storage service. + class GooglePrivacyDlpV2beta1FieldId + include Google::Apis::Core::Hashable + + # Name describing the field. + # Corresponds to the JSON property `columnName` + # @return [String] + attr_accessor :column_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_name = args[:column_name] if args.key?(:column_name) + end + end + + # Set of files to scan. + class GooglePrivacyDlpV2beta1FileSet + include Google::Apis::Core::Hashable + + # The url, in the format `gs:///`. Trailing wildcard in the + # path is allowed. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + end + end + + # Type of information detected by the API. + class GooglePrivacyDlpV2beta1InfoType + include Google::Apis::Core::Hashable + + # Name of the information type. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # Max findings configuration per info type, per content item or long running + # operation. + class GooglePrivacyDlpV2beta1InfoTypeLimit + include Google::Apis::Core::Hashable + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + # Max findings limit for the given infoType. + # Corresponds to the JSON property `maxFindings` + # @return [Fixnum] + attr_accessor :max_findings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_type = args[:info_type] if args.key?(:info_type) + @max_findings = args[:max_findings] if args.key?(:max_findings) + end + end + + # Statistics regarding a specific InfoType. + class GooglePrivacyDlpV2beta1InfoTypeStatistics + include Google::Apis::Core::Hashable + + # Number of findings for this info type. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @info_type = args[:info_type] if args.key?(:info_type) + end + end + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + class GooglePrivacyDlpV2beta1InspectConfig + include Google::Apis::Core::Hashable + + # Custom info types provided by the user. + # Corresponds to the JSON property `customInfoTypes` + # @return [Array] + attr_accessor :custom_info_types + + # When true, excludes type information of the findings. + # Corresponds to the JSON property `excludeTypes` + # @return [Boolean] + attr_accessor :exclude_types + alias_method :exclude_types?, :exclude_types + + # When true, a contextual quote from the data that triggered a finding is + # included in the response; see Finding.quote. + # Corresponds to the JSON property `includeQuote` + # @return [Boolean] + attr_accessor :include_quote + alias_method :include_quote?, :include_quote + + # Configuration of findings limit given for specified info types. + # Corresponds to the JSON property `infoTypeLimits` + # @return [Array] + attr_accessor :info_type_limits + + # Restricts what info_types to look for. The values must correspond to + # InfoType values returned by ListInfoTypes or found in documentation. + # Empty info_types runs all enabled detectors. + # Corresponds to the JSON property `infoTypes` + # @return [Array] + attr_accessor :info_types + + # Limits the number of findings per content item or long running operation. + # Corresponds to the JSON property `maxFindings` + # @return [Fixnum] + attr_accessor :max_findings + + # Only returns findings equal or above this threshold. + # Corresponds to the JSON property `minLikelihood` + # @return [String] + attr_accessor :min_likelihood + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_info_types = args[:custom_info_types] if args.key?(:custom_info_types) + @exclude_types = args[:exclude_types] if args.key?(:exclude_types) + @include_quote = args[:include_quote] if args.key?(:include_quote) + @info_type_limits = args[:info_type_limits] if args.key?(:info_type_limits) + @info_types = args[:info_types] if args.key?(:info_types) + @max_findings = args[:max_findings] if args.key?(:max_findings) + @min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood) + end + end + + # Metadata returned within GetOperation for an inspect request. + class GooglePrivacyDlpV2beta1InspectOperationMetadata + include Google::Apis::Core::Hashable + + # The time which this request was started. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # + # Corresponds to the JSON property `infoTypeStats` + # @return [Array] + attr_accessor :info_type_stats + + # Total size in bytes that were processed. + # Corresponds to the JSON property `processedBytes` + # @return [Fixnum] + attr_accessor :processed_bytes + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `requestInspectConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InspectConfig] + attr_accessor :request_inspect_config + + # Cloud repository for storing output. + # Corresponds to the JSON property `requestOutputConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1OutputStorageConfig] + attr_accessor :request_output_config + + # Shared message indicating Cloud storage type. + # Corresponds to the JSON property `requestStorageConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1StorageConfig] + attr_accessor :request_storage_config + + # Estimate of the number of bytes to process. + # Corresponds to the JSON property `totalEstimatedBytes` + # @return [Fixnum] + attr_accessor :total_estimated_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @info_type_stats = args[:info_type_stats] if args.key?(:info_type_stats) + @processed_bytes = args[:processed_bytes] if args.key?(:processed_bytes) + @request_inspect_config = args[:request_inspect_config] if args.key?(:request_inspect_config) + @request_output_config = args[:request_output_config] if args.key?(:request_output_config) + @request_storage_config = args[:request_storage_config] if args.key?(:request_storage_config) + @total_estimated_bytes = args[:total_estimated_bytes] if args.key?(:total_estimated_bytes) + end + end + + # The operational data. + class GooglePrivacyDlpV2beta1InspectOperationResult + include Google::Apis::Core::Hashable + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the + # `name` should have the format of `inspect/results/`id``. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # k-anonymity metric, used for analysis of reidentification risk. + class GooglePrivacyDlpV2beta1KAnonymityConfig + include Google::Apis::Core::Hashable + + # An entity in a dataset is a field or set of fields that correspond to a + # single person. For example, in medical records the `EntityId` might be + # a patient identifier, or for financial records it might be an account + # identifier. This message is used when generalizations or analysis must be + # consistent across multiple rows pertaining to the same entity. + # Corresponds to the JSON property `entityId` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1EntityId] + attr_accessor :entity_id + + # Set of fields to compute k-anonymity over. When multiple fields are + # specified, they are considered a single composite key. Structs and + # repeated data types are not supported; however, nested fields are + # supported so long as they are not structs themselves or nested within + # a repeated field. + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_id = args[:entity_id] if args.key?(:entity_id) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + end + end + + # The set of columns' values that share the same k-anonymity value. + class GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass + include Google::Apis::Core::Hashable + + # Size of the equivalence class, for example number of rows with the + # above set of values. + # Corresponds to the JSON property `equivalenceClassSize` + # @return [Fixnum] + attr_accessor :equivalence_class_size + + # Set of values defining the equivalence class. One value per + # quasi-identifier column in the original KAnonymity metric message. + # The order is always the same as the original request. + # Corresponds to the JSON property `quasiIdsValues` + # @return [Array] + attr_accessor :quasi_ids_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @equivalence_class_size = args[:equivalence_class_size] if args.key?(:equivalence_class_size) + @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) + end + end + + # Histogram bucket of equivalence class sizes in the table. + class GooglePrivacyDlpV2beta1KAnonymityHistogramBucket + include Google::Apis::Core::Hashable + + # Total number of records in this bucket. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of equivalence classes in this bucket. The total number of + # classes returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Lower bound on the size of the equivalence classes in this bucket. + # Corresponds to the JSON property `equivalenceClassSizeLowerBound` + # @return [Fixnum] + attr_accessor :equivalence_class_size_lower_bound + + # Upper bound on the size of the equivalence classes in this bucket. + # Corresponds to the JSON property `equivalenceClassSizeUpperBound` + # @return [Fixnum] + attr_accessor :equivalence_class_size_upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @equivalence_class_size_lower_bound = args[:equivalence_class_size_lower_bound] if args.key?(:equivalence_class_size_lower_bound) + @equivalence_class_size_upper_bound = args[:equivalence_class_size_upper_bound] if args.key?(:equivalence_class_size_upper_bound) + end + end + + # Result of the k-anonymity computation. + class GooglePrivacyDlpV2beta1KAnonymityResult + include Google::Apis::Core::Hashable + + # Histogram of k-anonymity equivalence classes. + # Corresponds to the JSON property `equivalenceClassHistogramBuckets` + # @return [Array] + attr_accessor :equivalence_class_histogram_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @equivalence_class_histogram_buckets = args[:equivalence_class_histogram_buckets] if args.key?(:equivalence_class_histogram_buckets) + end + end + + # Reidentifiability metric. This corresponds to a risk model similar to what + # is called "journalist risk" in the literature, except the attack dataset is + # statistically modeled instead of being perfectly known. This can be done + # using publicly available data (like the US Census), or using a custom + # statistical model (indicated as one or several BigQuery tables), or by + # extrapolating from the distribution of values in the input dataset. + class GooglePrivacyDlpV2beta1KMapEstimationConfig + include Google::Apis::Core::Hashable + + # Several auxiliary tables can be used in the analysis. Each custom_tag + # used to tag a quasi-identifiers column must appear in exactly one column + # of one auxiliary table. + # Corresponds to the JSON property `auxiliaryTables` + # @return [Array] + attr_accessor :auxiliary_tables + + # Fields considered to be quasi-identifiers. No two columns can have the + # same tag. [required] + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + # ISO 3166-1 alpha-2 region code to use in the statistical modeling. + # Required if no column is tagged with a region-specific InfoType (like + # US_ZIP_5) or a region code. + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auxiliary_tables = args[:auxiliary_tables] if args.key?(:auxiliary_tables) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + @region_code = args[:region_code] if args.key?(:region_code) + end + end + + # A KMapEstimationHistogramBucket message with the following values: + # min_anonymity: 3 + # max_anonymity: 5 + # frequency: 42 + # means that there are 42 records whose quasi-identifier values correspond + # to 3, 4 or 5 people in the overlying population. An important particular + # case is when min_anonymity = max_anonymity = 1: the frequency field then + # corresponds to the number of uniquely identifiable records. + class GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket + include Google::Apis::Core::Hashable + + # Number of records within these anonymity bounds. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of quasi-identifier tuple values in this bucket. The total + # number of classes returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Always greater than or equal to min_anonymity. + # Corresponds to the JSON property `maxAnonymity` + # @return [Fixnum] + attr_accessor :max_anonymity + + # Always positive. + # Corresponds to the JSON property `minAnonymity` + # @return [Fixnum] + attr_accessor :min_anonymity + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @max_anonymity = args[:max_anonymity] if args.key?(:max_anonymity) + @min_anonymity = args[:min_anonymity] if args.key?(:min_anonymity) + end + end + + # A tuple of values for the quasi-identifier columns. + class GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues + include Google::Apis::Core::Hashable + + # The estimated anonymity for these quasi-identifier values. + # Corresponds to the JSON property `estimatedAnonymity` + # @return [Fixnum] + attr_accessor :estimated_anonymity + + # The quasi-identifier values. + # Corresponds to the JSON property `quasiIdsValues` + # @return [Array] + attr_accessor :quasi_ids_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @estimated_anonymity = args[:estimated_anonymity] if args.key?(:estimated_anonymity) + @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) + end + end + + # Result of the reidentifiability analysis. Note that these results are an + # estimation, not exact values. + class GooglePrivacyDlpV2beta1KMapEstimationResult + include Google::Apis::Core::Hashable + + # The intervals [min_anonymity, max_anonymity] do not overlap. If a value + # doesn't correspond to any such interval, the associated frequency is + # zero. For example, the following records: + # `min_anonymity: 1, max_anonymity: 1, frequency: 17` + # `min_anonymity: 2, max_anonymity: 3, frequency: 42` + # `min_anonymity: 5, max_anonymity: 10, frequency: 99` + # mean that there are no record with an estimated anonymity of 4, 5, or + # larger than 10. + # Corresponds to the JSON property `kMapEstimationHistogram` + # @return [Array] + attr_accessor :k_map_estimation_histogram + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @k_map_estimation_histogram = args[:k_map_estimation_histogram] if args.key?(:k_map_estimation_histogram) + end + end + + # A representation of a Datastore kind. + class GooglePrivacyDlpV2beta1KindExpression + include Google::Apis::Core::Hashable + + # The name of the kind. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # l-diversity metric, used for analysis of reidentification risk. + class GooglePrivacyDlpV2beta1LDiversityConfig + include Google::Apis::Core::Hashable + + # Set of quasi-identifiers indicating how equivalence classes are + # defined for the l-diversity computation. When multiple fields are + # specified, they are considered a single composite key. + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `sensitiveAttribute` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :sensitive_attribute + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + @sensitive_attribute = args[:sensitive_attribute] if args.key?(:sensitive_attribute) + end + end + + # The set of columns' values that share the same l-diversity value. + class GooglePrivacyDlpV2beta1LDiversityEquivalenceClass + include Google::Apis::Core::Hashable + + # Size of the k-anonymity equivalence class. + # Corresponds to the JSON property `equivalenceClassSize` + # @return [Fixnum] + attr_accessor :equivalence_class_size + + # Number of distinct sensitive values in this equivalence class. + # Corresponds to the JSON property `numDistinctSensitiveValues` + # @return [Fixnum] + attr_accessor :num_distinct_sensitive_values + + # Quasi-identifier values defining the k-anonymity equivalence + # class. The order is always the same as the original request. + # Corresponds to the JSON property `quasiIdsValues` + # @return [Array] + attr_accessor :quasi_ids_values + + # Estimated frequencies of top sensitive values. + # Corresponds to the JSON property `topSensitiveValues` + # @return [Array] + attr_accessor :top_sensitive_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @equivalence_class_size = args[:equivalence_class_size] if args.key?(:equivalence_class_size) + @num_distinct_sensitive_values = args[:num_distinct_sensitive_values] if args.key?(:num_distinct_sensitive_values) + @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) + @top_sensitive_values = args[:top_sensitive_values] if args.key?(:top_sensitive_values) + end + end + + # Histogram bucket of sensitive value frequencies in the table. + class GooglePrivacyDlpV2beta1LDiversityHistogramBucket + include Google::Apis::Core::Hashable + + # Total number of records in this bucket. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of equivalence classes in this bucket. The total number of + # classes returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Lower bound on the sensitive value frequencies of the equivalence + # classes in this bucket. + # Corresponds to the JSON property `sensitiveValueFrequencyLowerBound` + # @return [Fixnum] + attr_accessor :sensitive_value_frequency_lower_bound + + # Upper bound on the sensitive value frequencies of the equivalence + # classes in this bucket. + # Corresponds to the JSON property `sensitiveValueFrequencyUpperBound` + # @return [Fixnum] + attr_accessor :sensitive_value_frequency_upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @sensitive_value_frequency_lower_bound = args[:sensitive_value_frequency_lower_bound] if args.key?(:sensitive_value_frequency_lower_bound) + @sensitive_value_frequency_upper_bound = args[:sensitive_value_frequency_upper_bound] if args.key?(:sensitive_value_frequency_upper_bound) + end + end + + # Result of the l-diversity computation. + class GooglePrivacyDlpV2beta1LDiversityResult + include Google::Apis::Core::Hashable + + # Histogram of l-diversity equivalence class sensitive value frequencies. + # Corresponds to the JSON property `sensitiveValueFrequencyHistogramBuckets` + # @return [Array] + attr_accessor :sensitive_value_frequency_histogram_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sensitive_value_frequency_histogram_buckets = args[:sensitive_value_frequency_histogram_buckets] if args.key?(:sensitive_value_frequency_histogram_buckets) + end + end + + # Compute numerical stats over an individual column, including + # min, max, and quantiles. + class GooglePrivacyDlpV2beta1NumericalStatsConfig + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + end + end + + # Result of the numerical stats computation. + class GooglePrivacyDlpV2beta1NumericalStatsResult + include Google::Apis::Core::Hashable + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `maxValue` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value] + attr_accessor :max_value + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `minValue` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value] + attr_accessor :min_value + + # List of 99 values that partition the set of field values into 100 equal + # sized buckets. + # Corresponds to the JSON property `quantileValues` + # @return [Array] + attr_accessor :quantile_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_value = args[:max_value] if args.key?(:max_value) + @min_value = args[:min_value] if args.key?(:min_value) + @quantile_values = args[:quantile_values] if args.key?(:quantile_values) + end + end + + # Cloud repository for storing output. + class GooglePrivacyDlpV2beta1OutputStorageConfig + include Google::Apis::Core::Hashable + + # A location in Cloud Storage. + # Corresponds to the JSON property `storagePath` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CloudStoragePath] + attr_accessor :storage_path + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `table` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable] + attr_accessor :table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @storage_path = args[:storage_path] if args.key?(:storage_path) + @table = args[:table] if args.key?(:table) + end + end + + # Datastore partition ID. + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + class GooglePrivacyDlpV2beta1PartitionId + include Google::Apis::Core::Hashable + + # If not empty, the ID of the namespace to which the entities belong. + # Corresponds to the JSON property `namespaceId` + # @return [String] + attr_accessor :namespace_id + + # The ID of the project to which the entities belong. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespace_id = args[:namespace_id] if args.key?(:namespace_id) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # Privacy metric to compute for reidentification risk analysis. + class GooglePrivacyDlpV2beta1PrivacyMetric + include Google::Apis::Core::Hashable + + # Compute numerical stats over an individual column, including + # number of distinct values and value count distribution. + # Corresponds to the JSON property `categoricalStatsConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CategoricalStatsConfig] + attr_accessor :categorical_stats_config + + # k-anonymity metric, used for analysis of reidentification risk. + # Corresponds to the JSON property `kAnonymityConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityConfig] + attr_accessor :k_anonymity_config + + # Reidentifiability metric. This corresponds to a risk model similar to what + # is called "journalist risk" in the literature, except the attack dataset is + # statistically modeled instead of being perfectly known. This can be done + # using publicly available data (like the US Census), or using a custom + # statistical model (indicated as one or several BigQuery tables), or by + # extrapolating from the distribution of values in the input dataset. + # Corresponds to the JSON property `kMapEstimationConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationConfig] + attr_accessor :k_map_estimation_config + + # l-diversity metric, used for analysis of reidentification risk. + # Corresponds to the JSON property `lDiversityConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityConfig] + attr_accessor :l_diversity_config + + # Compute numerical stats over an individual column, including + # min, max, and quantiles. + # Corresponds to the JSON property `numericalStatsConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1NumericalStatsConfig] + attr_accessor :numerical_stats_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @categorical_stats_config = args[:categorical_stats_config] if args.key?(:categorical_stats_config) + @k_anonymity_config = args[:k_anonymity_config] if args.key?(:k_anonymity_config) + @k_map_estimation_config = args[:k_map_estimation_config] if args.key?(:k_map_estimation_config) + @l_diversity_config = args[:l_diversity_config] if args.key?(:l_diversity_config) + @numerical_stats_config = args[:numerical_stats_config] if args.key?(:numerical_stats_config) + end + end + + # A representation of a Datastore property in a projection. + class GooglePrivacyDlpV2beta1Projection + include Google::Apis::Core::Hashable + + # A reference to a property relative to the Datastore kind expressions. + # Corresponds to the JSON property `property` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PropertyReference] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property = args[:property] if args.key?(:property) + end + end + + # A reference to a property relative to the Datastore kind expressions. + class GooglePrivacyDlpV2beta1PropertyReference + include Google::Apis::Core::Hashable + + # The name of the property. + # If name includes "."s, it may be interpreted as a property name path. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # A quasi-identifier column has a custom_tag, used to know which column + # in the data corresponds to which column in the statistical model. + class GooglePrivacyDlpV2beta1QuasiIdField + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `customTag` + # @return [String] + attr_accessor :custom_tag + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_tag = args[:custom_tag] if args.key?(:custom_tag) + @field = args[:field] if args.key?(:field) + end + end + + # Metadata returned within the + # [`riskAnalysis.operations.get`](/dlp/docs/reference/rest/v2beta1/riskAnalysis. + # operations/get) + # for risk analysis. + class GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata + include Google::Apis::Core::Hashable + + # The time which this request was started. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Privacy metric to compute for reidentification risk analysis. + # Corresponds to the JSON property `requestedPrivacyMetric` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PrivacyMetric] + attr_accessor :requested_privacy_metric + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `requestedSourceTable` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable] + attr_accessor :requested_source_table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @requested_privacy_metric = args[:requested_privacy_metric] if args.key?(:requested_privacy_metric) + @requested_source_table = args[:requested_source_table] if args.key?(:requested_source_table) + end + end + + # Result of a risk analysis + # [`Operation`](/dlp/docs/reference/rest/v2beta1/inspect.operations) + # request. + class GooglePrivacyDlpV2beta1RiskAnalysisOperationResult + include Google::Apis::Core::Hashable + + # Result of the categorical stats computation. + # Corresponds to the JSON property `categoricalStatsResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CategoricalStatsResult] + attr_accessor :categorical_stats_result + + # Result of the k-anonymity computation. + # Corresponds to the JSON property `kAnonymityResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityResult] + attr_accessor :k_anonymity_result + + # Result of the reidentifiability analysis. Note that these results are an + # estimation, not exact values. + # Corresponds to the JSON property `kMapEstimationResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationResult] + attr_accessor :k_map_estimation_result + + # Result of the l-diversity computation. + # Corresponds to the JSON property `lDiversityResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityResult] + attr_accessor :l_diversity_result + + # Result of the numerical stats computation. + # Corresponds to the JSON property `numericalStatsResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1NumericalStatsResult] + attr_accessor :numerical_stats_result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @categorical_stats_result = args[:categorical_stats_result] if args.key?(:categorical_stats_result) + @k_anonymity_result = args[:k_anonymity_result] if args.key?(:k_anonymity_result) + @k_map_estimation_result = args[:k_map_estimation_result] if args.key?(:k_map_estimation_result) + @l_diversity_result = args[:l_diversity_result] if args.key?(:l_diversity_result) + @numerical_stats_result = args[:numerical_stats_result] if args.key?(:numerical_stats_result) + end + end + + # Shared message indicating Cloud storage type. + class GooglePrivacyDlpV2beta1StorageConfig + include Google::Apis::Core::Hashable + + # Options defining BigQuery table and row identifiers. + # Corresponds to the JSON property `bigQueryOptions` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryOptions] + attr_accessor :big_query_options + + # Options defining a file or a set of files (path ending with *) within + # a Google Cloud Storage bucket. + # Corresponds to the JSON property `cloudStorageOptions` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CloudStorageOptions] + attr_accessor :cloud_storage_options + + # Options defining a data set within Google Cloud Datastore. + # Corresponds to the JSON property `datastoreOptions` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1DatastoreOptions] + attr_accessor :datastore_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @big_query_options = args[:big_query_options] if args.key?(:big_query_options) + @cloud_storage_options = args[:cloud_storage_options] if args.key?(:cloud_storage_options) + @datastore_options = args[:datastore_options] if args.key?(:datastore_options) + end + end + + # Message for detecting output from deidentification transformations + # such as + # [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/content/ + # deidentify#CryptoReplaceFfxFpeConfig). + # These types of transformations are + # those that perform pseudonymization, thereby producing a "surrogate" as + # output. This should be used in conjunction with a field on the + # transformation such as `surrogate_info_type`. + class GooglePrivacyDlpV2beta1SurrogateType + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A column with a semantic tag attached. + class GooglePrivacyDlpV2beta1TaggedField + include Google::Apis::Core::Hashable + + # A column can be tagged with a custom tag. In this case, the user must + # indicate an auxiliary table that contains statistical information on + # the possible values of this column (below). + # Corresponds to the JSON property `customTag` + # @return [String] + attr_accessor :custom_tag + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + # Corresponds to the JSON property `inferred` + # @return [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] + attr_accessor :inferred + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_tag = args[:custom_tag] if args.key?(:custom_tag) + @field = args[:field] if args.key?(:field) + @inferred = args[:inferred] if args.key?(:inferred) + @info_type = args[:info_type] if args.key?(:info_type) + end + end + + # Set of primitive values supported by the system. + class GooglePrivacyDlpV2beta1Value + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `booleanValue` + # @return [Boolean] + attr_accessor :boolean_value + alias_method :boolean_value?, :boolean_value + + # Represents a whole calendar date, e.g. date of birth. The time of day and + # time zone are either specified elsewhere or are not significant. The date + # is relative to the Proleptic Gregorian Calendar. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `dateValue` + # @return [Google::Apis::DlpV2beta2::GoogleTypeDate] + attr_accessor :date_value + + # + # Corresponds to the JSON property `floatValue` + # @return [Float] + attr_accessor :float_value + + # + # Corresponds to the JSON property `integerValue` + # @return [Fixnum] + attr_accessor :integer_value + + # + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + # Represents a time of day. The date and time zone are either not significant + # or are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `timeValue` + # @return [Google::Apis::DlpV2beta2::GoogleTypeTimeOfDay] + attr_accessor :time_value + + # + # Corresponds to the JSON property `timestampValue` + # @return [String] + attr_accessor :timestamp_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boolean_value = args[:boolean_value] if args.key?(:boolean_value) + @date_value = args[:date_value] if args.key?(:date_value) + @float_value = args[:float_value] if args.key?(:float_value) + @integer_value = args[:integer_value] if args.key?(:integer_value) + @string_value = args[:string_value] if args.key?(:string_value) + @time_value = args[:time_value] if args.key?(:time_value) + @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) + end + end + + # A value of a field, including its frequency. + class GooglePrivacyDlpV2beta1ValueFrequency + include Google::Apis::Core::Hashable + + # How many times the value is contained in the field. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @value = args[:value] if args.key?(:value) + end + end + + # Message defining a list of words or phrases to search for in the data. + class GooglePrivacyDlpV2beta1WordList + include Google::Apis::Core::Hashable + + # Words or phrases defining the dictionary. The dictionary must contain + # at least one phrase and every phrase must contain at least 2 characters + # that are letters or digits. [required] + # Corresponds to the JSON property `words` + # @return [Array] + attr_accessor :words + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @words = args[:words] if args.key?(:words) + end + end + + # Result of a risk analysis operation request. + class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails + include Google::Apis::Core::Hashable + + # Result of the categorical stats computation. + # Corresponds to the JSON property `categoricalStatsResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CategoricalStatsResult] + attr_accessor :categorical_stats_result + + # Result of the k-anonymity computation. + # Corresponds to the JSON property `kAnonymityResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityResult] + attr_accessor :k_anonymity_result + + # Result of the reidentifiability analysis. Note that these results are an + # estimation, not exact values. + # Corresponds to the JSON property `kMapEstimationResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationResult] + attr_accessor :k_map_estimation_result + + # Result of the l-diversity computation. + # Corresponds to the JSON property `lDiversityResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityResult] + attr_accessor :l_diversity_result + + # Result of the numerical stats computation. + # Corresponds to the JSON property `numericalStatsResult` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2NumericalStatsResult] + attr_accessor :numerical_stats_result + + # Privacy metric to compute for reidentification risk analysis. + # Corresponds to the JSON property `requestedPrivacyMetric` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrivacyMetric] + attr_accessor :requested_privacy_metric + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `requestedSourceTable` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable] + attr_accessor :requested_source_table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @categorical_stats_result = args[:categorical_stats_result] if args.key?(:categorical_stats_result) + @k_anonymity_result = args[:k_anonymity_result] if args.key?(:k_anonymity_result) + @k_map_estimation_result = args[:k_map_estimation_result] if args.key?(:k_map_estimation_result) + @l_diversity_result = args[:l_diversity_result] if args.key?(:l_diversity_result) + @numerical_stats_result = args[:numerical_stats_result] if args.key?(:numerical_stats_result) + @requested_privacy_metric = args[:requested_privacy_metric] if args.key?(:requested_privacy_metric) + @requested_source_table = args[:requested_source_table] if args.key?(:requested_source_table) + end + end + + # Request for creating a risk analysis DlpJob. + class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest + include Google::Apis::Core::Hashable + + # Configuration for a risk analysis job. + # Corresponds to the JSON property `jobConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig] + attr_accessor :job_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_config = args[:job_config] if args.key?(:job_config) + end + end + + # An auxiliary table contains statistical information on the relative + # frequency of different quasi-identifiers values. It has one or several + # quasi-identifiers columns, and one column that indicates the relative + # frequency of each quasi-identifier tuple. + # If a tuple is present in the data but not in the auxiliary table, the + # corresponding relative frequency is assumed to be zero (and thus, the + # tuple is highly reidentifiable). + class GooglePrivacyDlpV2beta2AuxiliaryTable + include Google::Apis::Core::Hashable + + # Quasi-identifier columns. [required] + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `relativeFrequency` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :relative_frequency + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `table` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable] + attr_accessor :table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + @relative_frequency = args[:relative_frequency] if args.key?(:relative_frequency) + @table = args[:table] if args.key?(:table) + end + end + + # Options defining BigQuery table and row identifiers. + class GooglePrivacyDlpV2beta2BigQueryOptions + include Google::Apis::Core::Hashable + + # References to fields uniquely identifying rows within the table. + # Nested fields in the format, like `person.birthdate.year`, are allowed. + # Corresponds to the JSON property `identifyingFields` + # @return [Array] + attr_accessor :identifying_fields + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `tableReference` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable] + attr_accessor :table_reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields) + @table_reference = args[:table_reference] if args.key?(:table_reference) + end + end + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + class GooglePrivacyDlpV2beta2BigQueryTable + include Google::Apis::Core::Hashable + + # Dataset ID of the table. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The Google Cloud Platform project ID of the project containing the table. + # If omitted, project ID is inferred from the API call. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Name of the table. + # Corresponds to the JSON property `tableId` + # @return [String] + attr_accessor :table_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @project_id = args[:project_id] if args.key?(:project_id) + @table_id = args[:table_id] if args.key?(:table_id) + end + end + + # Buckets represented as ranges, along with replacement values. Ranges must + # be non-overlapping. + class GooglePrivacyDlpV2beta2Bucket + include Google::Apis::Core::Hashable + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `max` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :max + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `min` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :min + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `replacementValue` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :replacement_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max = args[:max] if args.key?(:max) + @min = args[:min] if args.key?(:min) + @replacement_value = args[:replacement_value] if args.key?(:replacement_value) + end + end + + # Generalization function that buckets values based on ranges. The ranges and + # replacement values are dynamically provided by the user for custom behavior, + # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH + # This can be used on + # data of type: number, long, string, timestamp. + # If the bound `Value` type differs from the type of data being transformed, we + # will first attempt converting the type of the data to be transformed to match + # the type of the bound before comparing. + class GooglePrivacyDlpV2beta2BucketingConfig + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `buckets` + # @return [Array] + attr_accessor :buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @buckets = args[:buckets] if args.key?(:buckets) + end + end + + # The request message for canceling a DLP job. + class GooglePrivacyDlpV2beta2CancelDlpJobRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Compute numerical stats over an individual column, including + # number of distinct values and value count distribution. + class GooglePrivacyDlpV2beta2CategoricalStatsConfig + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + end + end + + # + class GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket + include Google::Apis::Core::Hashable + + # Total number of values in this bucket. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of value frequencies in this bucket. The total number of + # values returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Lower bound on the value frequency of the values in this bucket. + # Corresponds to the JSON property `valueFrequencyLowerBound` + # @return [Fixnum] + attr_accessor :value_frequency_lower_bound + + # Upper bound on the value frequency of the values in this bucket. + # Corresponds to the JSON property `valueFrequencyUpperBound` + # @return [Fixnum] + attr_accessor :value_frequency_upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @value_frequency_lower_bound = args[:value_frequency_lower_bound] if args.key?(:value_frequency_lower_bound) + @value_frequency_upper_bound = args[:value_frequency_upper_bound] if args.key?(:value_frequency_upper_bound) + end + end + + # Result of the categorical stats computation. + class GooglePrivacyDlpV2beta2CategoricalStatsResult + include Google::Apis::Core::Hashable + + # Histogram of value frequencies in the column. + # Corresponds to the JSON property `valueFrequencyHistogramBuckets` + # @return [Array] + attr_accessor :value_frequency_histogram_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value_frequency_histogram_buckets = args[:value_frequency_histogram_buckets] if args.key?(:value_frequency_histogram_buckets) + end + end + + # Partially mask a string by replacing a given number of characters with a + # fixed character. Masking can start from the beginning or end of the string. + # This can be used on data of any type (numbers, longs, and so on) and when + # de-identifying structured data we'll attempt to preserve the original data's + # type. (This allows you to take a long like 123 and modify it to a string like + # **3. + class GooglePrivacyDlpV2beta2CharacterMaskConfig + include Google::Apis::Core::Hashable + + # When masking a string, items in this list will be skipped when replacing. + # For example, if your string is 555-555-5555 and you ask us to skip `-` and + # mask 5 chars with * we would produce ***-*55-5555. + # Corresponds to the JSON property `charactersToIgnore` + # @return [Array] + attr_accessor :characters_to_ignore + + # Character to mask the sensitive values—for example, "*" for an + # alphabetic string such as name, or "0" for a numeric string such as ZIP + # code or credit card number. String must have length 1. If not supplied, we + # will default to "*" for strings, 0 for digits. + # Corresponds to the JSON property `maskingCharacter` + # @return [String] + attr_accessor :masking_character + + # Number of characters to mask. If not set, all matching chars will be + # masked. Skipped characters do not count towards this tally. + # Corresponds to the JSON property `numberToMask` + # @return [Fixnum] + attr_accessor :number_to_mask + + # Mask characters in reverse order. For example, if `masking_character` is + # '0', number_to_mask is 14, and `reverse_order` is false, then + # 1234-5678-9012-3456 -> 00000000000000-3456 + # If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order` + # is true, then 12345 -> 12*** + # Corresponds to the JSON property `reverseOrder` + # @return [Boolean] + attr_accessor :reverse_order + alias_method :reverse_order?, :reverse_order + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @characters_to_ignore = args[:characters_to_ignore] if args.key?(:characters_to_ignore) + @masking_character = args[:masking_character] if args.key?(:masking_character) + @number_to_mask = args[:number_to_mask] if args.key?(:number_to_mask) + @reverse_order = args[:reverse_order] if args.key?(:reverse_order) + end + end + + # Characters to skip when doing deidentification of a value. These will be left + # alone and skipped. + class GooglePrivacyDlpV2beta2CharsToIgnore + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `charactersToSkip` + # @return [String] + attr_accessor :characters_to_skip + + # + # Corresponds to the JSON property `commonCharactersToIgnore` + # @return [String] + attr_accessor :common_characters_to_ignore + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @characters_to_skip = args[:characters_to_skip] if args.key?(:characters_to_skip) + @common_characters_to_ignore = args[:common_characters_to_ignore] if args.key?(:common_characters_to_ignore) + end + end + + # Record key for a finding in a Cloud Storage file. + class GooglePrivacyDlpV2beta2CloudStorageKey + include Google::Apis::Core::Hashable + + # Path to the file. + # Corresponds to the JSON property `filePath` + # @return [String] + attr_accessor :file_path + + # Byte offset of the referenced data in the file. + # Corresponds to the JSON property `startOffset` + # @return [Fixnum] + attr_accessor :start_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_path = args[:file_path] if args.key?(:file_path) + @start_offset = args[:start_offset] if args.key?(:start_offset) + end + end + + # Options defining a file or a set of files (path ending with *) within + # a Google Cloud Storage bucket. + class GooglePrivacyDlpV2beta2CloudStorageOptions + include Google::Apis::Core::Hashable + + # Set of files to scan. + # Corresponds to the JSON property `fileSet` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet] + attr_accessor :file_set + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_set = args[:file_set] if args.key?(:file_set) + end + end + + # Represents a color in the RGB color space. + class GooglePrivacyDlpV2beta2Color + include Google::Apis::Core::Hashable + + # The amount of blue in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `blue` + # @return [Float] + attr_accessor :blue + + # The amount of green in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `green` + # @return [Float] + attr_accessor :green + + # The amount of red in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blue = args[:blue] if args.key?(:blue) + @green = args[:green] if args.key?(:green) + @red = args[:red] if args.key?(:red) + end + end + + # The field type of `value` and `field` do not need to match to be + # considered equal, but not all comparisons are possible. + # A `value` of type: + # - `string` can be compared against all other types + # - `boolean` can only be compared against other booleans + # - `integer` can be compared against doubles or a string if the string value + # can be parsed as an integer. + # - `double` can be compared against integers or a string if the string can + # be parsed as a double. + # - `Timestamp` can be compared against strings in RFC 3339 date string + # format. + # - `TimeOfDay` can be compared against timestamps and strings in the format + # of 'HH:mm:ss'. + # If we fail to compare do to type mismatch, a warning will be given and + # the condition will evaluate to false. + class GooglePrivacyDlpV2beta2Condition + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :field + + # Operator used to compare the field or info type to the value. [required] + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @operator = args[:operator] if args.key?(:operator) + @value = args[:value] if args.key?(:value) + end + end + + # + class GooglePrivacyDlpV2beta2Conditions + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conditions = args[:conditions] if args.key?(:conditions) + end + end + + # Container structure for the content to inspect. + class GooglePrivacyDlpV2beta2ContentItem + include Google::Apis::Core::Hashable + + # Content data to inspect or redact. + # Corresponds to the JSON property `data` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :data + + # Structured content to inspect. Up to 50,000 `Value`s per request allowed. + # Corresponds to the JSON property `table` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Table] + attr_accessor :table + + # Type of the content, as defined in Content-Type HTTP header. + # Supported types are: all "text" types, octet streams, PNG images, + # JPEG images. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # String data to inspect or redact. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + @table = args[:table] if args.key?(:table) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + + # Request message for CreateDeidentifyTemplate. + class GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest + include Google::Apis::Core::Hashable + + # The DeidentifyTemplates contains instructions on how to deidentify content. + # Corresponds to the JSON property `deidentifyTemplate` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] + attr_accessor :deidentify_template + + # The template id can contain uppercase and lowercase letters, + # numbers, and hyphens; that is, it must match the regular + # expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + # characters. Can be empty to allow the system to generate one. + # Corresponds to the JSON property `templateId` + # @return [String] + attr_accessor :template_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template) + @template_id = args[:template_id] if args.key?(:template_id) + end + end + + # Request message for CreateInspectTemplate. + class GooglePrivacyDlpV2beta2CreateInspectTemplateRequest + include Google::Apis::Core::Hashable + + # The inspectTemplate contains a configuration (set of types of sensitive data + # to be detected) to be used anywhere you otherwise would normally specify + # InspectConfig. + # Corresponds to the JSON property `inspectTemplate` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] + attr_accessor :inspect_template + + # The template id can contain uppercase and lowercase letters, + # numbers, and hyphens; that is, it must match the regular + # expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + # characters. Can be empty to allow the system to generate one. + # Corresponds to the JSON property `templateId` + # @return [String] + attr_accessor :template_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inspect_template = args[:inspect_template] if args.key?(:inspect_template) + @template_id = args[:template_id] if args.key?(:template_id) + end + end + + # Pseudonymization method that generates surrogates via cryptographic hashing. + # Uses SHA-256. + # The key size must be either 32 or 64 bytes. + # Outputs a 32 byte digest as an uppercase hex string + # (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). + # Currently, only string and integer values can be hashed. + class GooglePrivacyDlpV2beta2CryptoHashConfig + include Google::Apis::Core::Hashable + + # This is a data encryption key (DEK) (as opposed to + # a key encryption key (KEK) stored by KMS). + # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate + # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot + # unwrap the data crypto key. + # Corresponds to the JSON property `cryptoKey` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoKey] + 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 + + # This is a data encryption key (DEK) (as opposed to + # a key encryption key (KEK) stored by KMS). + # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate + # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot + # unwrap the data crypto key. + class GooglePrivacyDlpV2beta2CryptoKey + include Google::Apis::Core::Hashable + + # Include to use an existing data crypto key wrapped by KMS. + # Authorization requires the following IAM permissions when sending a request + # to perform a crypto transformation using a kms-wrapped crypto key: + # dlp.kms.encrypt + # Corresponds to the JSON property `kmsWrapped` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KmsWrappedCryptoKey] + attr_accessor :kms_wrapped + + # Use this to have a random data crypto key generated. + # It will be discarded after the request finishes. + # Corresponds to the JSON property `transient` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransientCryptoKey] + attr_accessor :transient + + # Using raw keys is prone to security risks due to accidentally + # leaking the key. Choose another type of key if possible. + # Corresponds to the JSON property `unwrapped` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UnwrappedCryptoKey] + attr_accessor :unwrapped + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kms_wrapped = args[:kms_wrapped] if args.key?(:kms_wrapped) + @transient = args[:transient] if args.key?(:transient) + @unwrapped = args[:unwrapped] if args.key?(:unwrapped) + end + end + + # Replaces an identifier with a surrogate using 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. + class GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `commonAlphabet` + # @return [String] + attr_accessor :common_alphabet + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `context` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :context + + # This is a data encryption key (DEK) (as opposed to + # a key encryption key (KEK) stored by KMS). + # When using KMS to wrap/unwrap DEKs, be sure to set an appropriate + # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot + # unwrap the data crypto key. + # Corresponds to the JSON property `cryptoKey` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoKey] + attr_accessor :crypto_key + + # This is supported by mapping these to the alphanumeric characters + # that the FFX mode natively supports. This happens before/after + # encryption/decryption. + # Each character listed must appear only once. + # Number of characters must be in the range [2, 62]. + # This must be encoded as ASCII. + # The order of characters does not matter. + # Corresponds to the JSON property `customAlphabet` + # @return [String] + attr_accessor :custom_alphabet + + # The native way to select the alphabet. Must be in the range [2, 62]. + # Corresponds to the JSON property `radix` + # @return [Fixnum] + attr_accessor :radix + + # Type of information detected by the API. + # Corresponds to the JSON property `surrogateInfoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType] + attr_accessor :surrogate_info_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @common_alphabet = args[:common_alphabet] if args.key?(:common_alphabet) + @context = args[:context] if args.key?(:context) + @crypto_key = args[:crypto_key] if args.key?(:crypto_key) + @custom_alphabet = args[:custom_alphabet] if args.key?(:custom_alphabet) + @radix = args[:radix] if args.key?(:radix) + @surrogate_info_type = args[:surrogate_info_type] if args.key?(:surrogate_info_type) + end + end + + # Custom information type provided by the user. Used to find domain-specific + # sensitive information configurable to the data in question. + class GooglePrivacyDlpV2beta2CustomInfoType + include Google::Apis::Core::Hashable + + # Custom information type based on a dictionary of words or phrases. This can + # be used to match sensitive information specific to the data, such as a list + # of employee IDs or job titles. + # Dictionary words are case-insensitive and all characters other than letters + # and digits in the unicode [Basic Multilingual + # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29# + # Basic_Multilingual_Plane) + # will be replaced with whitespace when scanning for matches, so the + # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", + # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters + # surrounding any match must be of a different type than the adjacent + # characters within the word, so letters must be next to non-letters and + # digits next to non-digits. For example, the dictionary word "jen" will + # match the first three letters of the text "jen123" but will return no + # matches for "jennifer". + # Dictionary words containing a large number of characters that are not + # letters or digits may result in unexpected findings because such characters + # are treated as whitespace. + # Corresponds to the JSON property `dictionary` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Dictionary] + attr_accessor :dictionary + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType] + attr_accessor :info_type + + # Message for detecting output from deidentification transformations + # such as + # [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/content/ + # deidentify#CryptoReplaceFfxFpeConfig). + # These types of transformations are + # those that perform pseudonymization, thereby producing a "surrogate" as + # output. This should be used in conjunction with a field on the + # transformation such as `surrogate_info_type`. + # Corresponds to the JSON property `surrogateType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SurrogateType] + attr_accessor :surrogate_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dictionary = args[:dictionary] if args.key?(:dictionary) + @info_type = args[:info_type] if args.key?(:info_type) + @surrogate_type = args[:surrogate_type] if args.key?(:surrogate_type) + end + end + + # Record key for a finding in Cloud Datastore. + class GooglePrivacyDlpV2beta2DatastoreKey + include Google::Apis::Core::Hashable + + # A unique identifier for a Datastore entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + # Corresponds to the JSON property `entityKey` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Key] + attr_accessor :entity_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_key = args[:entity_key] if args.key?(:entity_key) + end + end + + # Options defining a data set within Google Cloud Datastore. + class GooglePrivacyDlpV2beta2DatastoreOptions + include Google::Apis::Core::Hashable + + # A representation of a Datastore kind. + # Corresponds to the JSON property `kind` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KindExpression] + attr_accessor :kind + + # Datastore partition ID. + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PartitionId] + attr_accessor :partition_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @partition_id = args[:partition_id] if args.key?(:partition_id) + end + end + + # The configuration that controls how the data will change. + class GooglePrivacyDlpV2beta2DeidentifyConfig + include Google::Apis::Core::Hashable + + # A type of transformation that will scan unstructured text and + # apply various `PrimitiveTransformation`s to each finding, where the + # transformation is applied to only values that were identified as a specific + # info_type. + # Corresponds to the JSON property `infoTypeTransformations` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformations] + attr_accessor :info_type_transformations + + # A type of transformation that is applied over structured data such as a + # table. + # Corresponds to the JSON property `recordTransformations` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordTransformations] + attr_accessor :record_transformations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_type_transformations = args[:info_type_transformations] if args.key?(:info_type_transformations) + @record_transformations = args[:record_transformations] if args.key?(:record_transformations) + end + end + + # Request to de-identify a list of items. + class GooglePrivacyDlpV2beta2DeidentifyContentRequest + include Google::Apis::Core::Hashable + + # The configuration that controls how the data will change. + # Corresponds to the JSON property `deidentifyConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig] + attr_accessor :deidentify_config + + # Optional template to use. Any configuration directly specified in + # deidentify_config will override those set in the template. Singular fields + # that are set in this request will replace their corresponding fields in the + # template. Repeated fields are appended. Singular sub-messages and groups + # are recursively merged. + # Corresponds to the JSON property `deidentifyTemplateName` + # @return [String] + attr_accessor :deidentify_template_name + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig] + attr_accessor :inspect_config + + # Optional template to use. Any configuration directly specified in + # inspect_config will override those set in the template. Singular fields + # that are set in this request will replace their corresponding fields in the + # template. Repeated fields are appended. Singular sub-messages and groups + # are recursively merged. + # Corresponds to the JSON property `inspectTemplateName` + # @return [String] + attr_accessor :inspect_template_name + + # Container structure for the content to inspect. + # Corresponds to the JSON property `item` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem] + attr_accessor :item + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deidentify_config = args[:deidentify_config] if args.key?(:deidentify_config) + @deidentify_template_name = args[:deidentify_template_name] if args.key?(:deidentify_template_name) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @inspect_template_name = args[:inspect_template_name] if args.key?(:inspect_template_name) + @item = args[:item] if args.key?(:item) + end + end + + # Results of de-identifying a ContentItem. + class GooglePrivacyDlpV2beta2DeidentifyContentResponse + include Google::Apis::Core::Hashable + + # Container structure for the content to inspect. + # Corresponds to the JSON property `item` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem] + attr_accessor :item + + # Overview of the modifications that occurred. + # Corresponds to the JSON property `overview` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransformationOverview] + attr_accessor :overview + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @item = args[:item] if args.key?(:item) + @overview = args[:overview] if args.key?(:overview) + end + end + + # The DeidentifyTemplates contains instructions on how to deidentify content. + class GooglePrivacyDlpV2beta2DeidentifyTemplate + include Google::Apis::Core::Hashable + + # The creation timestamp of a inspectTemplate, output only field. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The configuration that controls how the data will change. + # Corresponds to the JSON property `deidentifyConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig] + attr_accessor :deidentify_config + + # Short description (max 256 chars). + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Display name (max 256 chars). + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The template name. Output only. + # The template will have one of the following formats: + # `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR + # `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The last update timestamp of a inspectTemplate, output only field. + # 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) + @deidentify_config = args[:deidentify_config] if args.key?(:deidentify_config) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Custom information type based on a dictionary of words or phrases. This can + # be used to match sensitive information specific to the data, such as a list + # of employee IDs or job titles. + # Dictionary words are case-insensitive and all characters other than letters + # and digits in the unicode [Basic Multilingual + # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29# + # Basic_Multilingual_Plane) + # will be replaced with whitespace when scanning for matches, so the + # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", + # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters + # surrounding any match must be of a different type than the adjacent + # characters within the word, so letters must be next to non-letters and + # digits next to non-digits. For example, the dictionary word "jen" will + # match the first three letters of the text "jen123" but will return no + # matches for "jennifer". + # Dictionary words containing a large number of characters that are not + # letters or digits may result in unexpected findings because such characters + # are treated as whitespace. + class GooglePrivacyDlpV2beta2Dictionary + include Google::Apis::Core::Hashable + + # Message defining a list of words or phrases to search for in the data. + # Corresponds to the JSON property `wordList` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2WordList] + attr_accessor :word_list + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @word_list = args[:word_list] if args.key?(:word_list) + end + end + + # Combines all of the information about a DLP job. + class GooglePrivacyDlpV2beta2DlpJob + include Google::Apis::Core::Hashable + + # Time when the job was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Time when the job finished. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # A stream of errors encountered running the job. + # Corresponds to the JSON property `errorResults` + # @return [Array] + attr_accessor :error_results + + # The results of an inspect DataSource job. + # Corresponds to the JSON property `inspectDetails` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceDetails] + attr_accessor :inspect_details + + # The server-assigned name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Result of a risk analysis operation request. + # Corresponds to the JSON property `riskDetails` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails] + attr_accessor :risk_details + + # Time when the job started. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # The type of job. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @end_time = args[:end_time] if args.key?(:end_time) + @error_results = args[:error_results] if args.key?(:error_results) + @inspect_details = args[:inspect_details] if args.key?(:inspect_details) + @name = args[:name] if args.key?(:name) + @risk_details = args[:risk_details] if args.key?(:risk_details) + @start_time = args[:start_time] if args.key?(:start_time) + @state = args[:state] if args.key?(:state) + @type = args[:type] if args.key?(:type) + end + end + + # An entity in a dataset is a field or set of fields that correspond to a + # single person. For example, in medical records the `EntityId` might be + # a patient identifier, or for financial records it might be an account + # identifier. This message is used when generalizations or analysis must be + # consistent across multiple rows pertaining to the same entity. + class GooglePrivacyDlpV2beta2EntityId + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + end + end + + # A collection of expressions + class GooglePrivacyDlpV2beta2Expressions + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `conditions` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Conditions] + attr_accessor :conditions + + # The operator to apply to the result of conditions. Default and currently + # only supported value is `AND`. + # Corresponds to the JSON property `logicalOperator` + # @return [String] + attr_accessor :logical_operator + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conditions = args[:conditions] if args.key?(:conditions) + @logical_operator = args[:logical_operator] if args.key?(:logical_operator) + end + end + + # General identifier of a data field in a storage service. + class GooglePrivacyDlpV2beta2FieldId + include Google::Apis::Core::Hashable + + # Name describing the field. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # The transformation to apply to the field. + class GooglePrivacyDlpV2beta2FieldTransformation + include Google::Apis::Core::Hashable + + # A condition for determining whether a transformation should be applied to + # a field. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordCondition] + attr_accessor :condition + + # Input field(s) to apply the transformation to. [required] + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + # A type of transformation that will scan unstructured text and + # apply various `PrimitiveTransformation`s to each finding, where the + # transformation is applied to only values that were identified as a specific + # info_type. + # Corresponds to the JSON property `infoTypeTransformations` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformations] + attr_accessor :info_type_transformations + + # A rule for transforming a value. + # Corresponds to the JSON property `primitiveTransformation` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation] + attr_accessor :primitive_transformation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @fields = args[:fields] if args.key?(:fields) + @info_type_transformations = args[:info_type_transformations] if args.key?(:info_type_transformations) + @primitive_transformation = args[:primitive_transformation] if args.key?(:primitive_transformation) + end + end + + # Set of files to scan. + class GooglePrivacyDlpV2beta2FileSet + include Google::Apis::Core::Hashable + + # The url, in the format `gs:///`. Trailing wildcard in the + # path is allowed. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + end + end + + # Container structure describing a single finding within a string or image. + class GooglePrivacyDlpV2beta2Finding + include Google::Apis::Core::Hashable + + # Timestamp when finding was detected. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType] + attr_accessor :info_type + + # Estimate of how likely it is that the info_type is correct. + # Corresponds to the JSON property `likelihood` + # @return [String] + attr_accessor :likelihood + + # Specifies the location of a finding within its source item. + # Corresponds to the JSON property `location` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Location] + attr_accessor :location + + # The specific string that may be potentially sensitive info. + # Corresponds to the JSON property `quote` + # @return [String] + attr_accessor :quote + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @info_type = args[:info_type] if args.key?(:info_type) + @likelihood = args[:likelihood] if args.key?(:likelihood) + @location = args[:location] if args.key?(:location) + @quote = args[:quote] if args.key?(:quote) + end + end + + # + class GooglePrivacyDlpV2beta2FindingLimits + include Google::Apis::Core::Hashable + + # Configuration of findings limit given for specified info types. + # Corresponds to the JSON property `maxFindingsPerInfoType` + # @return [Array] + attr_accessor :max_findings_per_info_type + + # Max number of findings that will be returned for each item scanned. + # Corresponds to the JSON property `maxFindingsPerItem` + # @return [Fixnum] + attr_accessor :max_findings_per_item + + # Max total number of findings that will be returned per request/job. + # Corresponds to the JSON property `maxFindingsPerRequest` + # @return [Fixnum] + attr_accessor :max_findings_per_request + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_findings_per_info_type = args[:max_findings_per_info_type] if args.key?(:max_findings_per_info_type) + @max_findings_per_item = args[:max_findings_per_item] if args.key?(:max_findings_per_item) + @max_findings_per_request = args[:max_findings_per_request] if args.key?(:max_findings_per_request) + end + end + + # Buckets values based on fixed size ranges. The + # Bucketing transformation can provide all of this functionality, + # but requires more configuration. This message is provided as a convenience to + # the user for simple bucketing strategies. + # The transformed value will be a hyphenated string of + # -, i.e if lower_bound = 10 and upper_bound = 20 + # all values that are within this bucket will be replaced with "10-20". + # This can be used on data of type: double, long. + # If the bound Value type differs from the type of data + # being transformed, we will first attempt converting the type of the data to + # be transformed to match the type of the bound before comparing. + class GooglePrivacyDlpV2beta2FixedSizeBucketingConfig + include Google::Apis::Core::Hashable + + # Size of each bucket (except for minimum and maximum buckets). So if + # `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the + # following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, + # 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. [Required]. + # Corresponds to the JSON property `bucketSize` + # @return [Float] + attr_accessor :bucket_size + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `lowerBound` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :lower_bound + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `upperBound` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @lower_bound = args[:lower_bound] if args.key?(:lower_bound) + @upper_bound = args[:upper_bound] if args.key?(:upper_bound) + end + end + + # Bounding box encompassing detected text within an image. + class GooglePrivacyDlpV2beta2ImageLocation + include Google::Apis::Core::Hashable + + # Height of the bounding box in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # Left coordinate of the bounding box. (0,0) is upper left. + # Corresponds to the JSON property `left` + # @return [Fixnum] + attr_accessor :left + + # Top coordinate of the bounding box. (0,0) is upper left. + # Corresponds to the JSON property `top` + # @return [Fixnum] + attr_accessor :top + + # Width of the bounding box in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @left = args[:left] if args.key?(:left) + @top = args[:top] if args.key?(:top) + @width = args[:width] if args.key?(:width) + end + end + + # Configuration for determining how redaction of images should occur. + class GooglePrivacyDlpV2beta2ImageRedactionConfig + include Google::Apis::Core::Hashable + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType] + attr_accessor :info_type + + # If true, all text found in the image, regardless whether it matches an + # info_type, is redacted. + # Corresponds to the JSON property `redactAllText` + # @return [Boolean] + attr_accessor :redact_all_text + alias_method :redact_all_text?, :redact_all_text + + # Represents a color in the RGB color space. + # Corresponds to the JSON property `redactionColor` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Color] + attr_accessor :redaction_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_type = args[:info_type] if args.key?(:info_type) + @redact_all_text = args[:redact_all_text] if args.key?(:redact_all_text) + @redaction_color = args[:redaction_color] if args.key?(:redaction_color) + end + end + + # Type of information detected by the API. + class GooglePrivacyDlpV2beta2InfoType + include Google::Apis::Core::Hashable + + # Name of the information type. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # Info type description. + class GooglePrivacyDlpV2beta2InfoTypeDescription + include Google::Apis::Core::Hashable + + # Human readable form of the info type name. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Internal name of the info type. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + end + end + + # Max findings configuration per info type, per content item or long + # running DlpJob. + class GooglePrivacyDlpV2beta2InfoTypeLimit + include Google::Apis::Core::Hashable + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType] + attr_accessor :info_type + + # Max findings limit for the given infoType. + # Corresponds to the JSON property `maxFindings` + # @return [Fixnum] + attr_accessor :max_findings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_type = args[:info_type] if args.key?(:info_type) + @max_findings = args[:max_findings] if args.key?(:max_findings) + end + end + + # Statistics regarding a specific InfoType. + class GooglePrivacyDlpV2beta2InfoTypeStatistics + include Google::Apis::Core::Hashable + + # Number of findings for this info type. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType] + attr_accessor :info_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @info_type = args[:info_type] if args.key?(:info_type) + end + end + + # A transformation to apply to text that is identified as a specific + # info_type. + class GooglePrivacyDlpV2beta2InfoTypeTransformation + include Google::Apis::Core::Hashable + + # Info types to apply the transformation to. Empty list will match all + # available info types for this transformation. + # Corresponds to the JSON property `infoTypes` + # @return [Array] + attr_accessor :info_types + + # A rule for transforming a value. + # Corresponds to the JSON property `primitiveTransformation` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation] + attr_accessor :primitive_transformation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_types = args[:info_types] if args.key?(:info_types) + @primitive_transformation = args[:primitive_transformation] if args.key?(:primitive_transformation) + end + end + + # A type of transformation that will scan unstructured text and + # apply various `PrimitiveTransformation`s to each finding, where the + # transformation is applied to only values that were identified as a specific + # info_type. + class GooglePrivacyDlpV2beta2InfoTypeTransformations + include Google::Apis::Core::Hashable + + # Transformation for each info type. Cannot specify more than one + # for a given info type. [required] + # 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 + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + class GooglePrivacyDlpV2beta2InspectConfig + include Google::Apis::Core::Hashable + + # Custom info types provided by the user. + # Corresponds to the JSON property `customInfoTypes` + # @return [Array] + attr_accessor :custom_info_types + + # When true, excludes type information of the findings. + # Corresponds to the JSON property `excludeInfoTypes` + # @return [Boolean] + attr_accessor :exclude_info_types + alias_method :exclude_info_types?, :exclude_info_types + + # When true, a contextual quote from the data that triggered a finding is + # included in the response; see Finding.quote. + # Corresponds to the JSON property `includeQuote` + # @return [Boolean] + attr_accessor :include_quote + alias_method :include_quote?, :include_quote + + # Restricts what info_types to look for. The values must correspond to + # InfoType values returned by ListInfoTypes or found in documentation. + # Empty info_types runs all enabled detectors. + # Corresponds to the JSON property `infoTypes` + # @return [Array] + attr_accessor :info_types + + # + # Corresponds to the JSON property `limits` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FindingLimits] + attr_accessor :limits + + # Only returns findings equal or above this threshold. The default is + # POSSIBLE. + # Corresponds to the JSON property `minLikelihood` + # @return [String] + attr_accessor :min_likelihood + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_info_types = args[:custom_info_types] if args.key?(:custom_info_types) + @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types) + @include_quote = args[:include_quote] if args.key?(:include_quote) + @info_types = args[:info_types] if args.key?(:info_types) + @limits = args[:limits] if args.key?(:limits) + @min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood) + end + end + + # Request to search for potentially sensitive info in a ContentItem. + class GooglePrivacyDlpV2beta2InspectContentRequest + include Google::Apis::Core::Hashable + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig] + attr_accessor :inspect_config + + # Optional template to use. Any configuration directly specified in + # inspect_config will override those set in the template. Singular fields + # that are set in this request will replace their corresponding fields in the + # template. Repeated fields are appended. Singular sub-messages and groups + # are recursively merged. + # Corresponds to the JSON property `inspectTemplateName` + # @return [String] + attr_accessor :inspect_template_name + + # Container structure for the content to inspect. + # Corresponds to the JSON property `item` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem] + attr_accessor :item + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @inspect_template_name = args[:inspect_template_name] if args.key?(:inspect_template_name) + @item = args[:item] if args.key?(:item) + end + end + + # Results of inspecting an item. + class GooglePrivacyDlpV2beta2InspectContentResponse + include Google::Apis::Core::Hashable + + # All the findings for a single scanned item. + # Corresponds to the JSON property `result` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectResult] + attr_accessor :result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @result = args[:result] if args.key?(:result) + end + end + + # The results of an inspect DataSource job. + class GooglePrivacyDlpV2beta2InspectDataSourceDetails + include Google::Apis::Core::Hashable + + # The configuration used for this job. + # Corresponds to the JSON property `requestedOptions` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RequestedOptions] + attr_accessor :requested_options + + # A summary of the outcome of this inspect job. + # Corresponds to the JSON property `result` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Result] + attr_accessor :result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requested_options = args[:requested_options] if args.key?(:requested_options) + @result = args[:result] if args.key?(:result) + end + end + + # Request for scheduling a scan of a data subset from a Google Platform data + # repository. + class GooglePrivacyDlpV2beta2InspectDataSourceRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `jobConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig] + attr_accessor :job_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_config = args[:job_config] if args.key?(:job_config) + end + end + + # + class GooglePrivacyDlpV2beta2InspectJobConfig + include Google::Apis::Core::Hashable + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig] + attr_accessor :inspect_config + + # If provided, will be used as the default for all values in InspectConfig. + # `inspect_config` will be merged into the values persisted as part of the + # template. + # Corresponds to the JSON property `inspectTemplateName` + # @return [String] + attr_accessor :inspect_template_name + + # Cloud repository for storing output. + # Corresponds to the JSON property `outputConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2OutputStorageConfig] + attr_accessor :output_config + + # Shared message indicating Cloud storage type. + # Corresponds to the JSON property `storageConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2StorageConfig] + attr_accessor :storage_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @inspect_template_name = args[:inspect_template_name] if args.key?(:inspect_template_name) + @output_config = args[:output_config] if args.key?(:output_config) + @storage_config = args[:storage_config] if args.key?(:storage_config) + end + end + + # All the findings for a single scanned item. + class GooglePrivacyDlpV2beta2InspectResult + include Google::Apis::Core::Hashable + + # List of findings for an item. + # Corresponds to the JSON property `findings` + # @return [Array] + attr_accessor :findings + + # If true, then this item might have more findings than were returned, + # and the findings returned are an arbitrary subset of all findings. + # The findings list might be truncated because the input items were too + # large, or because the server reached the maximum amount of resources + # allowed for a single API call. For best results, divide the input into + # smaller batches. + # Corresponds to the JSON property `findingsTruncated` + # @return [Boolean] + attr_accessor :findings_truncated + alias_method :findings_truncated?, :findings_truncated + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @findings = args[:findings] if args.key?(:findings) + @findings_truncated = args[:findings_truncated] if args.key?(:findings_truncated) + end + end + + # The inspectTemplate contains a configuration (set of types of sensitive data + # to be detected) to be used anywhere you otherwise would normally specify + # InspectConfig. + class GooglePrivacyDlpV2beta2InspectTemplate + include Google::Apis::Core::Hashable + + # The creation timestamp of a inspectTemplate, output only field. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Short description (max 256 chars). + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Display name (max 256 chars). + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig] + attr_accessor :inspect_config + + # The template name. Output only. + # The template will have one of the following formats: + # `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR + # `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The last update timestamp of a inspectTemplate, output only field. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @name = args[:name] if args.key?(:name) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # k-anonymity metric, used for analysis of reidentification risk. + class GooglePrivacyDlpV2beta2KAnonymityConfig + include Google::Apis::Core::Hashable + + # An entity in a dataset is a field or set of fields that correspond to a + # single person. For example, in medical records the `EntityId` might be + # a patient identifier, or for financial records it might be an account + # identifier. This message is used when generalizations or analysis must be + # consistent across multiple rows pertaining to the same entity. + # Corresponds to the JSON property `entityId` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2EntityId] + attr_accessor :entity_id + + # Set of fields to compute k-anonymity over. When multiple fields are + # specified, they are considered a single composite key. Structs and + # repeated data types are not supported; however, nested fields are + # supported so long as they are not structs themselves or nested within + # a repeated field. + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_id = args[:entity_id] if args.key?(:entity_id) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + end + end + + # The set of columns' values that share the same ldiversity value + class GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass + include Google::Apis::Core::Hashable + + # Size of the equivalence class, for example number of rows with the + # above set of values. + # Corresponds to the JSON property `equivalenceClassSize` + # @return [Fixnum] + attr_accessor :equivalence_class_size + + # Set of values defining the equivalence class. One value per + # quasi-identifier column in the original KAnonymity metric message. + # The order is always the same as the original request. + # Corresponds to the JSON property `quasiIdsValues` + # @return [Array] + attr_accessor :quasi_ids_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @equivalence_class_size = args[:equivalence_class_size] if args.key?(:equivalence_class_size) + @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) + end + end + + # + class GooglePrivacyDlpV2beta2KAnonymityHistogramBucket + include Google::Apis::Core::Hashable + + # Total number of equivalence classes in this bucket. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of equivalence classes in this bucket. The total number of + # classes returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Lower bound on the size of the equivalence classes in this bucket. + # Corresponds to the JSON property `equivalenceClassSizeLowerBound` + # @return [Fixnum] + attr_accessor :equivalence_class_size_lower_bound + + # Upper bound on the size of the equivalence classes in this bucket. + # Corresponds to the JSON property `equivalenceClassSizeUpperBound` + # @return [Fixnum] + attr_accessor :equivalence_class_size_upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @equivalence_class_size_lower_bound = args[:equivalence_class_size_lower_bound] if args.key?(:equivalence_class_size_lower_bound) + @equivalence_class_size_upper_bound = args[:equivalence_class_size_upper_bound] if args.key?(:equivalence_class_size_upper_bound) + end + end + + # Result of the k-anonymity computation. + class GooglePrivacyDlpV2beta2KAnonymityResult + include Google::Apis::Core::Hashable + + # Histogram of k-anonymity equivalence classes. + # Corresponds to the JSON property `equivalenceClassHistogramBuckets` + # @return [Array] + attr_accessor :equivalence_class_histogram_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @equivalence_class_histogram_buckets = args[:equivalence_class_histogram_buckets] if args.key?(:equivalence_class_histogram_buckets) + end + end + + # Reidentifiability metric. This corresponds to a risk model similar to what + # is called "journalist risk" in the literature, except the attack dataset is + # statistically modeled instead of being perfectly known. This can be done + # using publicly available data (like the US Census), or using a custom + # statistical model (indicated as one or several BigQuery tables), or by + # extrapolating from the distribution of values in the input dataset. + class GooglePrivacyDlpV2beta2KMapEstimationConfig + include Google::Apis::Core::Hashable + + # Several auxiliary tables can be used in the analysis. Each custom_tag + # used to tag a quasi-identifiers column must appear in exactly one column + # of one auxiliary table. + # Corresponds to the JSON property `auxiliaryTables` + # @return [Array] + attr_accessor :auxiliary_tables + + # Fields considered to be quasi-identifiers. No two columns can have the + # same tag. [required] + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + # ISO 3166-1 alpha-2 region code to use in the statistical modeling. + # Required if no column is tagged with a region-specific InfoType (like + # US_ZIP_5) or a region code. + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auxiliary_tables = args[:auxiliary_tables] if args.key?(:auxiliary_tables) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + @region_code = args[:region_code] if args.key?(:region_code) + end + end + + # A KMapEstimationHistogramBucket message with the following values: + # min_anonymity: 3 + # max_anonymity: 5 + # frequency: 42 + # means that there are 42 records whose quasi-identifier values correspond + # to 3, 4 or 5 people in the overlying population. An important particular + # case is when min_anonymity = max_anonymity = 1: the frequency field then + # corresponds to the number of uniquely identifiable records. + class GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket + include Google::Apis::Core::Hashable + + # Number of records within these anonymity bounds. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of quasi-identifier tuple values in this bucket. The total + # number of classes returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Always greater than or equal to min_anonymity. + # Corresponds to the JSON property `maxAnonymity` + # @return [Fixnum] + attr_accessor :max_anonymity + + # Always positive. + # Corresponds to the JSON property `minAnonymity` + # @return [Fixnum] + attr_accessor :min_anonymity + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @max_anonymity = args[:max_anonymity] if args.key?(:max_anonymity) + @min_anonymity = args[:min_anonymity] if args.key?(:min_anonymity) + end + end + + # A tuple of values for the quasi-identifier columns. + class GooglePrivacyDlpV2beta2KMapEstimationQuasiIdValues + include Google::Apis::Core::Hashable + + # The estimated anonymity for these quasi-identifier values. + # Corresponds to the JSON property `estimatedAnonymity` + # @return [Fixnum] + attr_accessor :estimated_anonymity + + # The quasi-identifier values. + # Corresponds to the JSON property `quasiIdsValues` + # @return [Array] + attr_accessor :quasi_ids_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @estimated_anonymity = args[:estimated_anonymity] if args.key?(:estimated_anonymity) + @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) + end + end + + # Result of the reidentifiability analysis. Note that these results are an + # estimation, not exact values. + class GooglePrivacyDlpV2beta2KMapEstimationResult + include Google::Apis::Core::Hashable + + # The intervals [min_anonymity, max_anonymity] do not overlap. If a value + # doesn't correspond to any such interval, the associated frequency is + # zero. For example, the following records: + # `min_anonymity: 1, max_anonymity: 1, frequency: 17` + # `min_anonymity: 2, max_anonymity: 3, frequency: 42` + # `min_anonymity: 5, max_anonymity: 10, frequency: 99` + # mean that there are no record with an estimated anonymity of 4, 5, or + # larger than 10. + # Corresponds to the JSON property `kMapEstimationHistogram` + # @return [Array] + attr_accessor :k_map_estimation_histogram + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @k_map_estimation_histogram = args[:k_map_estimation_histogram] if args.key?(:k_map_estimation_histogram) + end + end + + # A unique identifier for a Datastore entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + class GooglePrivacyDlpV2beta2Key + include Google::Apis::Core::Hashable + + # Datastore partition ID. + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PartitionId] + attr_accessor :partition_id + + # The entity path. + # An entity path consists of one or more elements composed of a kind and a + # string or numerical identifier, which identify entities. The first + # element identifies a _root entity_, the second element identifies + # a _child_ of the root entity, the third element identifies a child of the + # second entity, and so forth. The entities identified by all prefixes of + # the path are called the element's _ancestors_. + # A path can never be empty, and a path can have at most 100 elements. + # Corresponds to the JSON property `path` + # @return [Array] + attr_accessor :path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @partition_id = args[:partition_id] if args.key?(:partition_id) + @path = args[:path] if args.key?(:path) + end + end + + # A representation of a Datastore kind. + class GooglePrivacyDlpV2beta2KindExpression + include Google::Apis::Core::Hashable + + # The name of the kind. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # Include to use an existing data crypto key wrapped by KMS. + # Authorization requires the following IAM permissions when sending a request + # to perform a crypto transformation using a kms-wrapped crypto key: + # dlp.kms.encrypt + class GooglePrivacyDlpV2beta2KmsWrappedCryptoKey + include Google::Apis::Core::Hashable + + # The resource name of the KMS CryptoKey to use for unwrapping. [required] + # Corresponds to the JSON property `cryptoKeyName` + # @return [String] + attr_accessor :crypto_key_name + + # The wrapped data crypto key. [required] + # Corresponds to the JSON property `wrappedKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :wrapped_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name) + @wrapped_key = args[:wrapped_key] if args.key?(:wrapped_key) + end + end + + # l-diversity metric, used for analysis of reidentification risk. + class GooglePrivacyDlpV2beta2LDiversityConfig + include Google::Apis::Core::Hashable + + # Set of quasi-identifiers indicating how equivalence classes are + # defined for the l-diversity computation. When multiple fields are + # specified, they are considered a single composite key. + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `sensitiveAttribute` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :sensitive_attribute + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + @sensitive_attribute = args[:sensitive_attribute] if args.key?(:sensitive_attribute) + end + end + + # The set of columns' values that share the same ldiversity value. + class GooglePrivacyDlpV2beta2LDiversityEquivalenceClass + include Google::Apis::Core::Hashable + + # Size of the k-anonymity equivalence class. + # Corresponds to the JSON property `equivalenceClassSize` + # @return [Fixnum] + attr_accessor :equivalence_class_size + + # Number of distinct sensitive values in this equivalence class. + # Corresponds to the JSON property `numDistinctSensitiveValues` + # @return [Fixnum] + attr_accessor :num_distinct_sensitive_values + + # Quasi-identifier values defining the k-anonymity equivalence + # class. The order is always the same as the original request. + # Corresponds to the JSON property `quasiIdsValues` + # @return [Array] + attr_accessor :quasi_ids_values + + # Estimated frequencies of top sensitive values. + # Corresponds to the JSON property `topSensitiveValues` + # @return [Array] + attr_accessor :top_sensitive_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @equivalence_class_size = args[:equivalence_class_size] if args.key?(:equivalence_class_size) + @num_distinct_sensitive_values = args[:num_distinct_sensitive_values] if args.key?(:num_distinct_sensitive_values) + @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) + @top_sensitive_values = args[:top_sensitive_values] if args.key?(:top_sensitive_values) + end + end + + # + class GooglePrivacyDlpV2beta2LDiversityHistogramBucket + include Google::Apis::Core::Hashable + + # Total number of equivalence classes in this bucket. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Sample of equivalence classes in this bucket. The total number of + # classes returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Lower bound on the sensitive value frequencies of the equivalence + # classes in this bucket. + # Corresponds to the JSON property `sensitiveValueFrequencyLowerBound` + # @return [Fixnum] + attr_accessor :sensitive_value_frequency_lower_bound + + # Upper bound on the sensitive value frequencies of the equivalence + # classes in this bucket. + # Corresponds to the JSON property `sensitiveValueFrequencyUpperBound` + # @return [Fixnum] + attr_accessor :sensitive_value_frequency_upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @sensitive_value_frequency_lower_bound = args[:sensitive_value_frequency_lower_bound] if args.key?(:sensitive_value_frequency_lower_bound) + @sensitive_value_frequency_upper_bound = args[:sensitive_value_frequency_upper_bound] if args.key?(:sensitive_value_frequency_upper_bound) + end + end + + # Result of the l-diversity computation. + class GooglePrivacyDlpV2beta2LDiversityResult + include Google::Apis::Core::Hashable + + # Histogram of l-diversity equivalence class sensitive value frequencies. + # Corresponds to the JSON property `sensitiveValueFrequencyHistogramBuckets` + # @return [Array] + attr_accessor :sensitive_value_frequency_histogram_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sensitive_value_frequency_histogram_buckets = args[:sensitive_value_frequency_histogram_buckets] if args.key?(:sensitive_value_frequency_histogram_buckets) + end + end + + # Response message for ListDeidentifyTemplates. + class GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse + include Google::Apis::Core::Hashable + + # List of deidentifyTemplates, up to page_size in + # ListDeidentifyTemplatesRequest. + # Corresponds to the JSON property `deidentifyTemplates` + # @return [Array] + attr_accessor :deidentify_templates + + # If the next page is available then the next page token to be used + # in following ListDeidentifyTemplates request. + # 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) + @deidentify_templates = args[:deidentify_templates] if args.key?(:deidentify_templates) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for listing DLP jobs. + class GooglePrivacyDlpV2beta2ListDlpJobsResponse + include Google::Apis::Core::Hashable + + # A list of DlpJobs that matches the specified filter in the request. + # Corresponds to the JSON property `jobs` + # @return [Array] + attr_accessor :jobs + + # 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) + @jobs = args[:jobs] if args.key?(:jobs) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response to the ListInfoTypes request. + class GooglePrivacyDlpV2beta2ListInfoTypesResponse + include Google::Apis::Core::Hashable + + # Set of sensitive info types. + # Corresponds to the JSON property `infoTypes` + # @return [Array] + attr_accessor :info_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_types = args[:info_types] if args.key?(:info_types) + end + end + + # Response message for ListInspectTemplates. + class GooglePrivacyDlpV2beta2ListInspectTemplatesResponse + include Google::Apis::Core::Hashable + + # List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. + # Corresponds to the JSON property `inspectTemplates` + # @return [Array] + attr_accessor :inspect_templates + + # If the next page is available then the next page token to be used + # in following ListInspectTemplates request. + # 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) + @inspect_templates = args[:inspect_templates] if args.key?(:inspect_templates) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Specifies the location of a finding within its source item. + class GooglePrivacyDlpV2beta2Location + include Google::Apis::Core::Hashable + + # Generic half-open interval [start, end) + # Corresponds to the JSON property `byteRange` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range] + attr_accessor :byte_range + + # Generic half-open interval [start, end) + # Corresponds to the JSON property `codepointRange` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range] + attr_accessor :codepoint_range + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `fieldId` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :field_id + + # Location within an image's pixels. + # Corresponds to the JSON property `imageBoxes` + # @return [Array] + attr_accessor :image_boxes + + # Message for a unique key indicating a record that contains a finding. + # Corresponds to the JSON property `recordKey` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordKey] + attr_accessor :record_key + + # Location of a finding within a `ContentItem.Table`. + # Corresponds to the JSON property `tableLocation` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TableLocation] + attr_accessor :table_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @byte_range = args[:byte_range] if args.key?(:byte_range) + @codepoint_range = args[:codepoint_range] if args.key?(:codepoint_range) + @field_id = args[:field_id] if args.key?(:field_id) + @image_boxes = args[:image_boxes] if args.key?(:image_boxes) + @record_key = args[:record_key] if args.key?(:record_key) + @table_location = args[:table_location] if args.key?(:table_location) + end + end + + # Compute numerical stats over an individual column, including + # min, max, and quantiles. + class GooglePrivacyDlpV2beta2NumericalStatsConfig + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + end + end + + # Result of the numerical stats computation. + class GooglePrivacyDlpV2beta2NumericalStatsResult + include Google::Apis::Core::Hashable + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `maxValue` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :max_value + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `minValue` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :min_value + + # List of 99 values that partition the set of field values into 100 equal + # sized buckets. + # Corresponds to the JSON property `quantileValues` + # @return [Array] + attr_accessor :quantile_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_value = args[:max_value] if args.key?(:max_value) + @min_value = args[:min_value] if args.key?(:min_value) + @quantile_values = args[:quantile_values] if args.key?(:quantile_values) + end + end + + # Cloud repository for storing output. + class GooglePrivacyDlpV2beta2OutputStorageConfig + include Google::Apis::Core::Hashable + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `table` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable] + attr_accessor :table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table = args[:table] if args.key?(:table) + end + end + + # Datastore partition ID. + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + class GooglePrivacyDlpV2beta2PartitionId + include Google::Apis::Core::Hashable + + # If not empty, the ID of the namespace to which the entities belong. + # Corresponds to the JSON property `namespaceId` + # @return [String] + attr_accessor :namespace_id + + # The ID of the project to which the entities belong. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespace_id = args[:namespace_id] if args.key?(:namespace_id) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # A (kind, ID/name) pair used to construct a key path. + # If either name or ID is set, the element is complete. + # If neither is set, the element is incomplete. + class GooglePrivacyDlpV2beta2PathElement + include Google::Apis::Core::Hashable + + # The auto-allocated ID of the entity. + # Never equal to zero. Values less than zero are discouraged and may not + # be supported in the future. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # The kind of the entity. + # A kind matching regex `__.*__` is reserved/read-only. + # A kind must not contain more than 1500 bytes when UTF-8 encoded. + # Cannot be `""`. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name of the entity. + # A name matching regex `__.*__` is reserved/read-only. + # A name must not be more than 1500 bytes when UTF-8 encoded. + # Cannot be `""`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # A rule for transforming a value. + class GooglePrivacyDlpV2beta2PrimitiveTransformation + include Google::Apis::Core::Hashable + + # Generalization function that buckets values based on ranges. The ranges and + # replacement values are dynamically provided by the user for custom behavior, + # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH + # This can be used on + # data of type: number, long, string, timestamp. + # If the bound `Value` type differs from the type of data being transformed, we + # will first attempt converting the type of the data to be transformed to match + # the type of the bound before comparing. + # Corresponds to the JSON property `bucketingConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BucketingConfig] + attr_accessor :bucketing_config + + # Partially mask a string by replacing a given number of characters with a + # fixed character. Masking can start from the beginning or end of the string. + # This can be used on data of any type (numbers, longs, and so on) and when + # de-identifying structured data we'll attempt to preserve the original data's + # type. (This allows you to take a long like 123 and modify it to a string like + # **3. + # Corresponds to the JSON property `characterMaskConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CharacterMaskConfig] + attr_accessor :character_mask_config + + # Pseudonymization method that generates surrogates via cryptographic hashing. + # Uses SHA-256. + # The key size must be either 32 or 64 bytes. + # Outputs a 32 byte digest as an uppercase hex string + # (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). + # Currently, only string and integer values can be hashed. + # Corresponds to the JSON property `cryptoHashConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoHashConfig] + attr_accessor :crypto_hash_config + + # Replaces an identifier with a surrogate using 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. + # Corresponds to the JSON property `cryptoReplaceFfxFpeConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig] + attr_accessor :crypto_replace_ffx_fpe_config + + # Buckets values based on fixed size ranges. The + # Bucketing transformation can provide all of this functionality, + # but requires more configuration. This message is provided as a convenience to + # the user for simple bucketing strategies. + # The transformed value will be a hyphenated string of + # -, i.e if lower_bound = 10 and upper_bound = 20 + # all values that are within this bucket will be replaced with "10-20". + # This can be used on data of type: double, long. + # If the bound Value type differs from the type of data + # being transformed, we will first attempt converting the type of the data to + # be transformed to match the type of the bound before comparing. + # Corresponds to the JSON property `fixedSizeBucketingConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FixedSizeBucketingConfig] + attr_accessor :fixed_size_bucketing_config + + # Redact a given value. For example, if used with an `InfoTypeTransformation` + # transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the + # output would be 'My phone number is '. + # Corresponds to the JSON property `redactConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RedactConfig] + attr_accessor :redact_config + + # Replace each input value with a given `Value`. + # Corresponds to the JSON property `replaceConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReplaceValueConfig] + attr_accessor :replace_config + + # Replace each matching finding with the name of the info_type. + # Corresponds to the JSON property `replaceWithInfoTypeConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReplaceWithInfoTypeConfig] + attr_accessor :replace_with_info_type_config + + # For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a + # portion of the value. + # Corresponds to the JSON property `timePartConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimePartConfig] + attr_accessor :time_part_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucketing_config = args[:bucketing_config] if args.key?(:bucketing_config) + @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) + @crypto_replace_ffx_fpe_config = args[:crypto_replace_ffx_fpe_config] if args.key?(:crypto_replace_ffx_fpe_config) + @fixed_size_bucketing_config = args[:fixed_size_bucketing_config] if args.key?(:fixed_size_bucketing_config) + @redact_config = args[:redact_config] if args.key?(:redact_config) + @replace_config = args[:replace_config] if args.key?(:replace_config) + @replace_with_info_type_config = args[:replace_with_info_type_config] if args.key?(:replace_with_info_type_config) + @time_part_config = args[:time_part_config] if args.key?(:time_part_config) + end + end + + # Privacy metric to compute for reidentification risk analysis. + class GooglePrivacyDlpV2beta2PrivacyMetric + include Google::Apis::Core::Hashable + + # Compute numerical stats over an individual column, including + # number of distinct values and value count distribution. + # Corresponds to the JSON property `categoricalStatsConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CategoricalStatsConfig] + attr_accessor :categorical_stats_config + + # k-anonymity metric, used for analysis of reidentification risk. + # Corresponds to the JSON property `kAnonymityConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityConfig] + attr_accessor :k_anonymity_config + + # Reidentifiability metric. This corresponds to a risk model similar to what + # is called "journalist risk" in the literature, except the attack dataset is + # statistically modeled instead of being perfectly known. This can be done + # using publicly available data (like the US Census), or using a custom + # statistical model (indicated as one or several BigQuery tables), or by + # extrapolating from the distribution of values in the input dataset. + # Corresponds to the JSON property `kMapEstimationConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationConfig] + attr_accessor :k_map_estimation_config + + # l-diversity metric, used for analysis of reidentification risk. + # Corresponds to the JSON property `lDiversityConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityConfig] + attr_accessor :l_diversity_config + + # Compute numerical stats over an individual column, including + # min, max, and quantiles. + # Corresponds to the JSON property `numericalStatsConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2NumericalStatsConfig] + attr_accessor :numerical_stats_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @categorical_stats_config = args[:categorical_stats_config] if args.key?(:categorical_stats_config) + @k_anonymity_config = args[:k_anonymity_config] if args.key?(:k_anonymity_config) + @k_map_estimation_config = args[:k_map_estimation_config] if args.key?(:k_map_estimation_config) + @l_diversity_config = args[:l_diversity_config] if args.key?(:l_diversity_config) + @numerical_stats_config = args[:numerical_stats_config] if args.key?(:numerical_stats_config) + end + end + + # A quasi-identifier column has a custom_tag, used to know which column + # in the data corresponds to which column in the statistical model. + class GooglePrivacyDlpV2beta2QuasiIdField + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `customTag` + # @return [String] + attr_accessor :custom_tag + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_tag = args[:custom_tag] if args.key?(:custom_tag) + @field = args[:field] if args.key?(:field) + end + end + + # Generic half-open interval [start, end) + class GooglePrivacyDlpV2beta2Range + include Google::Apis::Core::Hashable + + # Index of the last character of the range (exclusive). + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # Index of the first character of the range (inclusive). + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end = args[:end] if args.key?(:end) + @start = args[:start] if args.key?(:start) + end + end + + # A condition for determining whether a transformation should be applied to + # a field. + class GooglePrivacyDlpV2beta2RecordCondition + include Google::Apis::Core::Hashable + + # A collection of expressions + # Corresponds to the JSON property `expressions` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Expressions] + attr_accessor :expressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expressions = args[:expressions] if args.key?(:expressions) + end + end + + # Message for a unique key indicating a record that contains a finding. + class GooglePrivacyDlpV2beta2RecordKey + include Google::Apis::Core::Hashable + + # Record key for a finding in a Cloud Storage file. + # Corresponds to the JSON property `cloudStorageKey` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageKey] + attr_accessor :cloud_storage_key + + # Record key for a finding in Cloud Datastore. + # Corresponds to the JSON property `datastoreKey` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreKey] + attr_accessor :datastore_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_storage_key = args[:cloud_storage_key] if args.key?(:cloud_storage_key) + @datastore_key = args[:datastore_key] if args.key?(:datastore_key) + end + end + + # Configuration to suppress records whose suppression conditions evaluate to + # true. + class GooglePrivacyDlpV2beta2RecordSuppression + include Google::Apis::Core::Hashable + + # A condition for determining whether a transformation should be applied to + # a field. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordCondition] + attr_accessor :condition + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + end + end + + # A type of transformation that is applied over structured data such as a + # table. + class GooglePrivacyDlpV2beta2RecordTransformations + include Google::Apis::Core::Hashable + + # Transform the record by applying various field transformations. + # Corresponds to the JSON property `fieldTransformations` + # @return [Array] + attr_accessor :field_transformations + + # Configuration defining which records get suppressed entirely. Records that + # match any suppression rule are omitted from the output [optional]. + # Corresponds to the JSON property `recordSuppressions` + # @return [Array] + attr_accessor :record_suppressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field_transformations = args[:field_transformations] if args.key?(:field_transformations) + @record_suppressions = args[:record_suppressions] if args.key?(:record_suppressions) + end + end + + # Redact a given value. For example, if used with an `InfoTypeTransformation` + # transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the + # output would be 'My phone number is '. + class GooglePrivacyDlpV2beta2RedactConfig + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request to search for potentially sensitive info in a list of items + # and replace it with a default or provided content. + class GooglePrivacyDlpV2beta2RedactImageRequest + include Google::Apis::Core::Hashable + + # The bytes of the image to redact. + # Corresponds to the JSON property `imageData` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :image_data + + # The configuration for specifying what content to redact from images. + # Corresponds to the JSON property `imageRedactionConfigs` + # @return [Array] + attr_accessor :image_redaction_configs + + # Type of the content, as defined in Content-Type HTTP header. + # Supported types are: PNG, JPEG, SVG, & BMP. + # Corresponds to the JSON property `imageType` + # @return [String] + attr_accessor :image_type + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig] + attr_accessor :inspect_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_data = args[:image_data] if args.key?(:image_data) + @image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs) + @image_type = args[:image_type] if args.key?(:image_type) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + end + end + + # Results of redacting an image. + class GooglePrivacyDlpV2beta2RedactImageResponse + include Google::Apis::Core::Hashable + + # If an image was being inspected and the InspectConfig's include_quote was + # set to true, then this field will include all text, if any, that was found + # in the image. + # Corresponds to the JSON property `extractedText` + # @return [String] + attr_accessor :extracted_text + + # The redacted image. The type will be the same as the original image. + # Corresponds to the JSON property `redactedImage` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :redacted_image + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @extracted_text = args[:extracted_text] if args.key?(:extracted_text) + @redacted_image = args[:redacted_image] if args.key?(:redacted_image) + end + end + + # Request to re-identify an item. + class GooglePrivacyDlpV2beta2ReidentifyContentRequest + include Google::Apis::Core::Hashable + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig] + attr_accessor :inspect_config + + # Optional template to use. Any configuration directly specified in + # `inspect_config` will override those set in the template. Singular fields + # that are set in this request will replace their corresponding fields in the + # template. Repeated fields are appended. Singular sub-messages and groups + # are recursively merged. + # Corresponds to the JSON property `inspectTemplateName` + # @return [String] + attr_accessor :inspect_template_name + + # Container structure for the content to inspect. + # Corresponds to the JSON property `item` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem] + attr_accessor :item + + # The configuration that controls how the data will change. + # Corresponds to the JSON property `reidentifyConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig] + attr_accessor :reidentify_config + + # Optional template to use. References an instance of `DeidentifyTemplate`. + # Any configuration directly specified in `reidentify_config` or + # `inspect_config` will override those set in the template. Singular fields + # that are set in this request will replace their corresponding fields in the + # template. Repeated fields are appended. Singular sub-messages and groups + # are recursively merged. + # Corresponds to the JSON property `reidentifyTemplateName` + # @return [String] + attr_accessor :reidentify_template_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @inspect_template_name = args[:inspect_template_name] if args.key?(:inspect_template_name) + @item = args[:item] if args.key?(:item) + @reidentify_config = args[:reidentify_config] if args.key?(:reidentify_config) + @reidentify_template_name = args[:reidentify_template_name] if args.key?(:reidentify_template_name) + end + end + + # Results of re-identifying a item. + class GooglePrivacyDlpV2beta2ReidentifyContentResponse + include Google::Apis::Core::Hashable + + # Container structure for the content to inspect. + # Corresponds to the JSON property `item` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem] + attr_accessor :item + + # Overview of the modifications that occurred. + # Corresponds to the JSON property `overview` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransformationOverview] + attr_accessor :overview + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @item = args[:item] if args.key?(:item) + @overview = args[:overview] if args.key?(:overview) + end + end + + # Replace each input value with a given `Value`. + class GooglePrivacyDlpV2beta2ReplaceValueConfig + include Google::Apis::Core::Hashable + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `newValue` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :new_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_value = args[:new_value] if args.key?(:new_value) + end + end + + # Replace each matching finding with the name of the info_type. + class GooglePrivacyDlpV2beta2ReplaceWithInfoTypeConfig + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # + class GooglePrivacyDlpV2beta2RequestedOptions + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `jobConfig` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig] + attr_accessor :job_config + + # The inspectTemplate contains a configuration (set of types of sensitive data + # to be detected) to be used anywhere you otherwise would normally specify + # InspectConfig. + # Corresponds to the JSON property `snapshotInspectTemplate` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] + attr_accessor :snapshot_inspect_template + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_config = args[:job_config] if args.key?(:job_config) + @snapshot_inspect_template = args[:snapshot_inspect_template] if args.key?(:snapshot_inspect_template) + end + end + + # + class GooglePrivacyDlpV2beta2Result + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `infoTypeStats` + # @return [Array] + attr_accessor :info_type_stats + + # Total size in bytes that were processed. + # Corresponds to the JSON property `processedBytes` + # @return [Fixnum] + attr_accessor :processed_bytes + + # Estimate of the number of bytes to process. + # Corresponds to the JSON property `totalEstimatedBytes` + # @return [Fixnum] + attr_accessor :total_estimated_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_type_stats = args[:info_type_stats] if args.key?(:info_type_stats) + @processed_bytes = args[:processed_bytes] if args.key?(:processed_bytes) + @total_estimated_bytes = args[:total_estimated_bytes] if args.key?(:total_estimated_bytes) + end + end + + # Configuration for a risk analysis job. + class GooglePrivacyDlpV2beta2RiskAnalysisJobConfig + include Google::Apis::Core::Hashable + + # Privacy metric to compute for reidentification risk analysis. + # Corresponds to the JSON property `privacyMetric` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrivacyMetric] + attr_accessor :privacy_metric + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `sourceTable` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable] + attr_accessor :source_table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @privacy_metric = args[:privacy_metric] if args.key?(:privacy_metric) + @source_table = args[:source_table] if args.key?(:source_table) + end + end + + # + class GooglePrivacyDlpV2beta2Row + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @values = args[:values] if args.key?(:values) + end + end + + # Shared message indicating Cloud storage type. + class GooglePrivacyDlpV2beta2StorageConfig + include Google::Apis::Core::Hashable + + # Options defining BigQuery table and row identifiers. + # Corresponds to the JSON property `bigQueryOptions` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryOptions] + attr_accessor :big_query_options + + # Options defining a file or a set of files (path ending with *) within + # a Google Cloud Storage bucket. + # Corresponds to the JSON property `cloudStorageOptions` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageOptions] + attr_accessor :cloud_storage_options + + # Options defining a data set within Google Cloud Datastore. + # Corresponds to the JSON property `datastoreOptions` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions] + attr_accessor :datastore_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @big_query_options = args[:big_query_options] if args.key?(:big_query_options) + @cloud_storage_options = args[:cloud_storage_options] if args.key?(:cloud_storage_options) + @datastore_options = args[:datastore_options] if args.key?(:datastore_options) + end + end + + # A collection that informs the user the number of times a particular + # `TransformationResultCode` and error details occurred. + class GooglePrivacyDlpV2beta2SummaryResult + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # A place for warnings or errors to show up if a transformation didn't + # work as expected. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @count = args[:count] if args.key?(:count) + @details = args[:details] if args.key?(:details) + end + end + + # Message for detecting output from deidentification transformations + # such as + # [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/content/ + # deidentify#CryptoReplaceFfxFpeConfig). + # These types of transformations are + # those that perform pseudonymization, thereby producing a "surrogate" as + # output. This should be used in conjunction with a field on the + # transformation such as `surrogate_info_type`. + class GooglePrivacyDlpV2beta2SurrogateType + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Structured content to inspect. Up to 50,000 `Value`s per request allowed. + class GooglePrivacyDlpV2beta2Table + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `headers` + # @return [Array] + attr_accessor :headers + + # + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @headers = args[:headers] if args.key?(:headers) + @rows = args[:rows] if args.key?(:rows) + end + end + + # Location of a finding within a `ContentItem.Table`. + class GooglePrivacyDlpV2beta2TableLocation + include Google::Apis::Core::Hashable + + # The zero-based index of the row where the finding is located. + # Corresponds to the JSON property `rowIndex` + # @return [Fixnum] + attr_accessor :row_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_index = args[:row_index] if args.key?(:row_index) + end + end + + # A column with a semantic tag attached. + class GooglePrivacyDlpV2beta2TaggedField + include Google::Apis::Core::Hashable + + # A column can be tagged with a custom tag. In this case, the user must + # indicate an auxiliary table that contains statistical information on + # the possible values of this column (below). + # Corresponds to the JSON property `customTag` + # @return [String] + attr_accessor :custom_tag + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :field + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + # Corresponds to the JSON property `inferred` + # @return [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] + attr_accessor :inferred + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType] + attr_accessor :info_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_tag = args[:custom_tag] if args.key?(:custom_tag) + @field = args[:field] if args.key?(:field) + @inferred = args[:inferred] if args.key?(:inferred) + @info_type = args[:info_type] if args.key?(:info_type) + end + end + + # For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a + # portion of the value. + class GooglePrivacyDlpV2beta2TimePartConfig + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `partToExtract` + # @return [String] + attr_accessor :part_to_extract + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @part_to_extract = args[:part_to_extract] if args.key?(:part_to_extract) + end + end + + # Overview of the modifications that occurred. + class GooglePrivacyDlpV2beta2TransformationOverview + include Google::Apis::Core::Hashable + + # Transformations applied to the dataset. + # Corresponds to the JSON property `transformationSummaries` + # @return [Array] + attr_accessor :transformation_summaries + + # Total size in bytes that were transformed in some way. + # Corresponds to the JSON property `transformedBytes` + # @return [Fixnum] + attr_accessor :transformed_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transformation_summaries = args[:transformation_summaries] if args.key?(:transformation_summaries) + @transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes) + end + end + + # Summary of a single tranformation. + class GooglePrivacyDlpV2beta2TransformationSummary + include Google::Apis::Core::Hashable + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId] + attr_accessor :field + + # The field transformation that was applied. This list will contain + # multiple entries only in the case of errors. + # Corresponds to the JSON property `fieldTransformations` + # @return [Array] + attr_accessor :field_transformations + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType] + attr_accessor :info_type + + # Configuration to suppress records whose suppression conditions evaluate to + # true. + # Corresponds to the JSON property `recordSuppress` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordSuppression] + attr_accessor :record_suppress + + # + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + # A rule for transforming a value. + # Corresponds to the JSON property `transformation` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation] + attr_accessor :transformation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @field_transformations = args[:field_transformations] if args.key?(:field_transformations) + @info_type = args[:info_type] if args.key?(:info_type) + @record_suppress = args[:record_suppress] if args.key?(:record_suppress) + @results = args[:results] if args.key?(:results) + @transformation = args[:transformation] if args.key?(:transformation) + end + end + + # Use this to have a random data crypto key generated. + # It will be discarded after the request finishes. + class GooglePrivacyDlpV2beta2TransientCryptoKey + include Google::Apis::Core::Hashable + + # Name of the key. [required] + # This is an arbitrary string used to differentiate different keys. + # A unique key is generated per name: two separate `TransientCryptoKey` + # protos share the same generated key if their names are the same. + # When the data crypto key is generated, this name is not used in any way + # (repeating the api call will result in a different key being generated). + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # Using raw keys is prone to security risks due to accidentally + # leaking the key. Choose another type of key if possible. + class GooglePrivacyDlpV2beta2UnwrappedCryptoKey + include Google::Apis::Core::Hashable + + # The AES 128/192/256 bit key. [required] + # Corresponds to the JSON property `key` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + end + end + + # Request message for UpdateDeidentifyTemplate. + class GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest + include Google::Apis::Core::Hashable + + # The DeidentifyTemplates contains instructions on how to deidentify content. + # Corresponds to the JSON property `deidentifyTemplate` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] + attr_accessor :deidentify_template + + # Mask to control which fields get updated. + # 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) + @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template) + @update_mask = args[:update_mask] if args.key?(:update_mask) + end + end + + # Request message for UpdateInspectTemplate. + class GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest + include Google::Apis::Core::Hashable + + # The inspectTemplate contains a configuration (set of types of sensitive data + # to be detected) to be used anywhere you otherwise would normally specify + # InspectConfig. + # Corresponds to the JSON property `inspectTemplate` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] + attr_accessor :inspect_template + + # Mask to control which fields get updated. + # 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) + @inspect_template = args[:inspect_template] if args.key?(:inspect_template) + @update_mask = args[:update_mask] if args.key?(:update_mask) + end + end + + # Set of primitive values supported by the system. + class GooglePrivacyDlpV2beta2Value + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `booleanValue` + # @return [Boolean] + attr_accessor :boolean_value + alias_method :boolean_value?, :boolean_value + + # Represents a whole calendar date, e.g. date of birth. The time of day and + # time zone are either specified elsewhere or are not significant. The date + # is relative to the Proleptic Gregorian Calendar. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `dateValue` + # @return [Google::Apis::DlpV2beta2::GoogleTypeDate] + attr_accessor :date_value + + # + # Corresponds to the JSON property `floatValue` + # @return [Float] + attr_accessor :float_value + + # + # Corresponds to the JSON property `integerValue` + # @return [Fixnum] + attr_accessor :integer_value + + # + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + # Represents a time of day. The date and time zone are either not significant + # or are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `timeValue` + # @return [Google::Apis::DlpV2beta2::GoogleTypeTimeOfDay] + attr_accessor :time_value + + # + # Corresponds to the JSON property `timestampValue` + # @return [String] + attr_accessor :timestamp_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boolean_value = args[:boolean_value] if args.key?(:boolean_value) + @date_value = args[:date_value] if args.key?(:date_value) + @float_value = args[:float_value] if args.key?(:float_value) + @integer_value = args[:integer_value] if args.key?(:integer_value) + @string_value = args[:string_value] if args.key?(:string_value) + @time_value = args[:time_value] if args.key?(:time_value) + @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) + end + end + + # A value of a field, including its frequency. + class GooglePrivacyDlpV2beta2ValueFrequency + include Google::Apis::Core::Hashable + + # How many times the value is contained in the field. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Set of primitive values supported by the system. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @value = args[:value] if args.key?(:value) + end + end + + # Message defining a list of words or phrases to search for in the data. + class GooglePrivacyDlpV2beta2WordList + include Google::Apis::Core::Hashable + + # Words or phrases defining the dictionary. The dictionary must contain + # at least one phrase and every phrase must contain at least 2 characters + # that are letters or digits. [required] + # Corresponds to the JSON property `words` + # @return [Array] + attr_accessor :words + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @words = args[:words] if args.key?(:words) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class GoogleProtobufEmpty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by + # [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error message, + # and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` that can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + class GoogleRpcStatus + include Google::Apis::Core::Hashable + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) + end + end + + # Represents a whole calendar date, e.g. date of birth. The time of day and + # time zone are either specified elsewhere or are not significant. The date + # is relative to the Proleptic Gregorian Calendar. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + class GoogleTypeDate + include Google::Apis::Core::Hashable + + # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + # if specifying a year/month where the day is not significant. + # Corresponds to the JSON property `day` + # @return [Fixnum] + attr_accessor :day + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without + # a year. + # Corresponds to the JSON property `year` + # @return [Fixnum] + attr_accessor :year + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) + end + end + + # Represents a time of day. The date and time zone are either not significant + # or are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + class GoogleTypeTimeOfDay + include Google::Apis::Core::Hashable + + # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose + # to allow the value "24:00:00" for scenarios like business closing time. + # Corresponds to the JSON property `hours` + # @return [Fixnum] + attr_accessor :hours + + # Minutes of hour of day. Must be from 0 to 59. + # Corresponds to the JSON property `minutes` + # @return [Fixnum] + attr_accessor :minutes + + # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # Seconds of minutes of the time. Must normally be from 0 to 59. An API may + # allow the value 60 if it allows leap-seconds. + # Corresponds to the JSON property `seconds` + # @return [Fixnum] + attr_accessor :seconds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hours = args[:hours] if args.key?(:hours) + @minutes = args[:minutes] if args.key?(:minutes) + @nanos = args[:nanos] if args.key?(:nanos) + @seconds = args[:seconds] if args.key?(:seconds) + end + end + end + end +end diff --git a/generated/google/apis/dlp_v2beta2/representations.rb b/generated/google/apis/dlp_v2beta2/representations.rb new file mode 100644 index 000000000..b78cb5946 --- /dev/null +++ b/generated/google/apis/dlp_v2beta2/representations.rb @@ -0,0 +1,2734 @@ +# 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 DlpV2beta2 + + class GooglePrivacyDlpV2beta1AuxiliaryTable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1BigQueryOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1BigQueryTable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CategoricalStatsConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CategoricalStatsResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CloudStorageOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CloudStoragePath + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CustomInfoType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1DatastoreOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Dictionary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1EntityId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1FieldId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1FileSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InfoType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InfoTypeLimit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InfoTypeStatistics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InspectConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InspectOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InspectOperationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KAnonymityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KAnonymityHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KAnonymityResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KMapEstimationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KMapEstimationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KindExpression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1LDiversityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1LDiversityEquivalenceClass + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1LDiversityHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1LDiversityResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1NumericalStatsConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1NumericalStatsResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1OutputStorageConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1PartitionId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1PrivacyMetric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Projection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1PropertyReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1QuasiIdField + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1RiskAnalysisOperationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1StorageConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1SurrogateType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1TaggedField + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Value + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1ValueFrequency + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1WordList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2AuxiliaryTable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2BigQueryOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2BigQueryTable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Bucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2BucketingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CancelDlpJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CategoricalStatsConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CategoricalStatsResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CharacterMaskConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CharsToIgnore + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CloudStorageKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CloudStorageOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Color + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Condition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Conditions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ContentItem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CreateInspectTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CryptoHashConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2CustomInfoType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2DatastoreKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2DatastoreOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2DeidentifyConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2DeidentifyContentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2DeidentifyContentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2DeidentifyTemplate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Dictionary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2DlpJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2EntityId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Expressions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2FieldId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2FieldTransformation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2FileSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Finding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2FindingLimits + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2FixedSizeBucketingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ImageLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ImageRedactionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InfoType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InfoTypeDescription + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InfoTypeLimit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InfoTypeStatistics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InfoTypeTransformation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InfoTypeTransformations + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InspectConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InspectContentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InspectContentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InspectDataSourceDetails + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InspectDataSourceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InspectJobConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InspectResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2InspectTemplate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KAnonymityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KAnonymityHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KAnonymityResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KMapEstimationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KMapEstimationQuasiIdValues + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KMapEstimationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Key + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KindExpression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2KmsWrappedCryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2LDiversityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2LDiversityEquivalenceClass + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2LDiversityHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2LDiversityResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ListDlpJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ListInfoTypesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ListInspectTemplatesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2NumericalStatsConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2NumericalStatsResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2OutputStorageConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2PartitionId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2PathElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2PrimitiveTransformation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2PrivacyMetric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2QuasiIdField + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Range + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2RecordCondition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2RecordKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2RecordSuppression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2RecordTransformations + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2RedactConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2RedactImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2RedactImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ReidentifyContentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ReidentifyContentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ReplaceValueConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ReplaceWithInfoTypeConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2RequestedOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Result + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2RiskAnalysisJobConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Row + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2StorageConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2SummaryResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2SurrogateType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Table + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2TableLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2TaggedField + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2TimePartConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2TransformationOverview + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2TransformationSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2TransientCryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2UnwrappedCryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2Value + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2ValueFrequency + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta2WordList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleProtobufEmpty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleRpcStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleTypeDate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleTypeTimeOfDay + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1AuxiliaryTable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1QuasiIdField, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1QuasiIdField::Representation + + property :relative_frequency, as: 'relativeFrequency', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + property :table, as: 'table', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta1BigQueryOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + property :table_reference, as: 'tableReference', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta1BigQueryTable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset_id, as: 'datasetId' + property :project_id, as: 'projectId' + property :table_id, as: 'tableId' + end + end + + class GooglePrivacyDlpV2beta1CategoricalStatsConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1ValueFrequency, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1ValueFrequency::Representation + + property :value_frequency_lower_bound, :numeric_string => true, as: 'valueFrequencyLowerBound' + property :value_frequency_upper_bound, :numeric_string => true, as: 'valueFrequencyUpperBound' + end + end + + class GooglePrivacyDlpV2beta1CategoricalStatsResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :value_frequency_histogram_buckets, as: 'valueFrequencyHistogramBuckets', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket::Representation + + end + end + + class GooglePrivacyDlpV2beta1CloudStorageOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_set, as: 'fileSet', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FileSet, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FileSet::Representation + + end + end + + class GooglePrivacyDlpV2beta1CloudStoragePath + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :path, as: 'path' + end + end + + class GooglePrivacyDlpV2beta1CustomInfoType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Dictionary, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Dictionary::Representation + + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType::Representation + + property :surrogate_type, as: 'surrogateType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1SurrogateType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1SurrogateType::Representation + + end + end + + class GooglePrivacyDlpV2beta1DatastoreOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KindExpression, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KindExpression::Representation + + property :partition_id, as: 'partitionId', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PartitionId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PartitionId::Representation + + collection :projection, as: 'projection', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Projection, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Projection::Representation + + end + end + + class GooglePrivacyDlpV2beta1Dictionary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :word_list, as: 'wordList', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1WordList, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1WordList::Representation + + end + end + + class GooglePrivacyDlpV2beta1EntityId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1FieldId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_name, as: 'columnName' + end + end + + class GooglePrivacyDlpV2beta1FileSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + end + end + + class GooglePrivacyDlpV2beta1InfoType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1InfoTypeLimit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType::Representation + + property :max_findings, as: 'maxFindings' + end + end + + class GooglePrivacyDlpV2beta1InfoTypeStatistics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, :numeric_string => true, as: 'count' + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType::Representation + + end + end + + class GooglePrivacyDlpV2beta1InspectConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :custom_info_types, as: 'customInfoTypes', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CustomInfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CustomInfoType::Representation + + property :exclude_types, as: 'excludeTypes' + property :include_quote, as: 'includeQuote' + collection :info_type_limits, as: 'infoTypeLimits', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoTypeLimit, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoTypeLimit::Representation + + collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType::Representation + + property :max_findings, as: 'maxFindings' + property :min_likelihood, as: 'minLikelihood' + end + end + + class GooglePrivacyDlpV2beta1InspectOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + collection :info_type_stats, as: 'infoTypeStats', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoTypeStatistics, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoTypeStatistics::Representation + + property :processed_bytes, :numeric_string => true, as: 'processedBytes' + property :request_inspect_config, as: 'requestInspectConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InspectConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InspectConfig::Representation + + property :request_output_config, as: 'requestOutputConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1OutputStorageConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1OutputStorageConfig::Representation + + property :request_storage_config, as: 'requestStorageConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1StorageConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1StorageConfig::Representation + + property :total_estimated_bytes, :numeric_string => true, as: 'totalEstimatedBytes' + end + end + + class GooglePrivacyDlpV2beta1InspectOperationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1KAnonymityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_id, as: 'entityId', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1EntityId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1EntityId::Representation + + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :equivalence_class_size, :numeric_string => true, as: 'equivalenceClassSize' + collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value::Representation + + end + end + + class GooglePrivacyDlpV2beta1KAnonymityHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass::Representation + + property :equivalence_class_size_lower_bound, :numeric_string => true, as: 'equivalenceClassSizeLowerBound' + property :equivalence_class_size_upper_bound, :numeric_string => true, as: 'equivalenceClassSizeUpperBound' + end + end + + class GooglePrivacyDlpV2beta1KAnonymityResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :equivalence_class_histogram_buckets, as: 'equivalenceClassHistogramBuckets', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityHistogramBucket, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityHistogramBucket::Representation + + end + end + + class GooglePrivacyDlpV2beta1KMapEstimationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :auxiliary_tables, as: 'auxiliaryTables', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1AuxiliaryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1AuxiliaryTable::Representation + + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1TaggedField, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1TaggedField::Representation + + property :region_code, as: 'regionCode' + end + end + + class GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues::Representation + + property :max_anonymity, :numeric_string => true, as: 'maxAnonymity' + property :min_anonymity, :numeric_string => true, as: 'minAnonymity' + end + end + + class GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :estimated_anonymity, :numeric_string => true, as: 'estimatedAnonymity' + collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value::Representation + + end + end + + class GooglePrivacyDlpV2beta1KMapEstimationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :k_map_estimation_histogram, as: 'kMapEstimationHistogram', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket::Representation + + end + end + + class GooglePrivacyDlpV2beta1KindExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1LDiversityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + property :sensitive_attribute, as: 'sensitiveAttribute', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1LDiversityEquivalenceClass + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :equivalence_class_size, :numeric_string => true, as: 'equivalenceClassSize' + property :num_distinct_sensitive_values, :numeric_string => true, as: 'numDistinctSensitiveValues' + collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value::Representation + + collection :top_sensitive_values, as: 'topSensitiveValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1ValueFrequency, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1ValueFrequency::Representation + + end + end + + class GooglePrivacyDlpV2beta1LDiversityHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityEquivalenceClass, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityEquivalenceClass::Representation + + property :sensitive_value_frequency_lower_bound, :numeric_string => true, as: 'sensitiveValueFrequencyLowerBound' + property :sensitive_value_frequency_upper_bound, :numeric_string => true, as: 'sensitiveValueFrequencyUpperBound' + end + end + + class GooglePrivacyDlpV2beta1LDiversityResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sensitive_value_frequency_histogram_buckets, as: 'sensitiveValueFrequencyHistogramBuckets', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityHistogramBucket, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityHistogramBucket::Representation + + end + end + + class GooglePrivacyDlpV2beta1NumericalStatsConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1NumericalStatsResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_value, as: 'maxValue', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value::Representation + + property :min_value, as: 'minValue', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value::Representation + + collection :quantile_values, as: 'quantileValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value::Representation + + end + end + + class GooglePrivacyDlpV2beta1OutputStorageConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :storage_path, as: 'storagePath', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CloudStoragePath, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CloudStoragePath::Representation + + property :table, as: 'table', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta1PartitionId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :namespace_id, as: 'namespaceId' + property :project_id, as: 'projectId' + end + end + + class GooglePrivacyDlpV2beta1PrivacyMetric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :categorical_stats_config, as: 'categoricalStatsConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CategoricalStatsConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CategoricalStatsConfig::Representation + + property :k_anonymity_config, as: 'kAnonymityConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityConfig::Representation + + property :k_map_estimation_config, as: 'kMapEstimationConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationConfig::Representation + + property :l_diversity_config, as: 'lDiversityConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityConfig::Representation + + property :numerical_stats_config, as: 'numericalStatsConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1NumericalStatsConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1NumericalStatsConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta1Projection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property, as: 'property', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PropertyReference, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PropertyReference::Representation + + end + end + + class GooglePrivacyDlpV2beta1PropertyReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1QuasiIdField + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_tag, as: 'customTag' + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :requested_privacy_metric, as: 'requestedPrivacyMetric', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PrivacyMetric, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1PrivacyMetric::Representation + + property :requested_source_table, as: 'requestedSourceTable', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta1RiskAnalysisOperationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :categorical_stats_result, as: 'categoricalStatsResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CategoricalStatsResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CategoricalStatsResult::Representation + + property :k_anonymity_result, as: 'kAnonymityResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KAnonymityResult::Representation + + property :k_map_estimation_result, as: 'kMapEstimationResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1KMapEstimationResult::Representation + + property :l_diversity_result, as: 'lDiversityResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1LDiversityResult::Representation + + property :numerical_stats_result, as: 'numericalStatsResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1NumericalStatsResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1NumericalStatsResult::Representation + + end + end + + class GooglePrivacyDlpV2beta1StorageConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :big_query_options, as: 'bigQueryOptions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryOptions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryOptions::Representation + + property :cloud_storage_options, as: 'cloudStorageOptions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CloudStorageOptions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1CloudStorageOptions::Representation + + property :datastore_options, as: 'datastoreOptions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1DatastoreOptions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1DatastoreOptions::Representation + + end + end + + class GooglePrivacyDlpV2beta1SurrogateType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GooglePrivacyDlpV2beta1TaggedField + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_tag, as: 'customTag' + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId::Representation + + property :inferred, as: 'inferred', class: Google::Apis::DlpV2beta2::GoogleProtobufEmpty, decorator: Google::Apis::DlpV2beta2::GoogleProtobufEmpty::Representation + + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType::Representation + + end + end + + class GooglePrivacyDlpV2beta1Value + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :boolean_value, as: 'booleanValue' + property :date_value, as: 'dateValue', class: Google::Apis::DlpV2beta2::GoogleTypeDate, decorator: Google::Apis::DlpV2beta2::GoogleTypeDate::Representation + + property :float_value, as: 'floatValue' + property :integer_value, :numeric_string => true, as: 'integerValue' + property :string_value, as: 'stringValue' + property :time_value, as: 'timeValue', class: Google::Apis::DlpV2beta2::GoogleTypeTimeOfDay, decorator: Google::Apis::DlpV2beta2::GoogleTypeTimeOfDay::Representation + + property :timestamp_value, as: 'timestampValue' + end + end + + class GooglePrivacyDlpV2beta1ValueFrequency + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, :numeric_string => true, as: 'count' + property :value, as: 'value', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1Value::Representation + + end + end + + class GooglePrivacyDlpV2beta1WordList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :words, as: 'words' + end + end + + class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :categorical_stats_result, as: 'categoricalStatsResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CategoricalStatsResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CategoricalStatsResult::Representation + + property :k_anonymity_result, as: 'kAnonymityResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityResult::Representation + + property :k_map_estimation_result, as: 'kMapEstimationResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationResult::Representation + + property :l_diversity_result, as: 'lDiversityResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityResult::Representation + + property :numerical_stats_result, as: 'numericalStatsResult', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2NumericalStatsResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2NumericalStatsResult::Representation + + property :requested_privacy_metric, as: 'requestedPrivacyMetric', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrivacyMetric, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrivacyMetric::Representation + + property :requested_source_table, as: 'requestedSourceTable', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job_config, as: 'jobConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta2AuxiliaryTable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2QuasiIdField, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2QuasiIdField::Representation + + property :relative_frequency, as: 'relativeFrequency', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + property :table, as: 'table', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta2BigQueryOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + property :table_reference, as: 'tableReference', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta2BigQueryTable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset_id, as: 'datasetId' + property :project_id, as: 'projectId' + property :table_id, as: 'tableId' + end + end + + class GooglePrivacyDlpV2beta2Bucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max, as: 'max', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + property :min, as: 'min', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + property :replacement_value, as: 'replacementValue', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + end + end + + class GooglePrivacyDlpV2beta2BucketingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :buckets, as: 'buckets', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Bucket, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Bucket::Representation + + end + end + + class GooglePrivacyDlpV2beta2CancelDlpJobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GooglePrivacyDlpV2beta2CategoricalStatsConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ValueFrequency, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ValueFrequency::Representation + + property :value_frequency_lower_bound, :numeric_string => true, as: 'valueFrequencyLowerBound' + property :value_frequency_upper_bound, :numeric_string => true, as: 'valueFrequencyUpperBound' + end + end + + class GooglePrivacyDlpV2beta2CategoricalStatsResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :value_frequency_histogram_buckets, as: 'valueFrequencyHistogramBuckets', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CategoricalStatsHistogramBucket::Representation + + end + end + + class GooglePrivacyDlpV2beta2CharacterMaskConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :characters_to_ignore, as: 'charactersToIgnore', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CharsToIgnore, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CharsToIgnore::Representation + + property :masking_character, as: 'maskingCharacter' + property :number_to_mask, as: 'numberToMask' + property :reverse_order, as: 'reverseOrder' + end + end + + class GooglePrivacyDlpV2beta2CharsToIgnore + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :characters_to_skip, as: 'charactersToSkip' + property :common_characters_to_ignore, as: 'commonCharactersToIgnore' + end + end + + class GooglePrivacyDlpV2beta2CloudStorageKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_path, as: 'filePath' + property :start_offset, :numeric_string => true, as: 'startOffset' + end + end + + class GooglePrivacyDlpV2beta2CloudStorageOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_set, as: 'fileSet', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet::Representation + + end + end + + class GooglePrivacyDlpV2beta2Color + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :blue, as: 'blue' + property :green, as: 'green' + property :red, as: 'red' + end + end + + class GooglePrivacyDlpV2beta2Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + property :operator, as: 'operator' + property :value, as: 'value', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + end + end + + class GooglePrivacyDlpV2beta2Conditions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conditions, as: 'conditions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Condition, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Condition::Representation + + end + end + + class GooglePrivacyDlpV2beta2ContentItem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, :base64 => true, as: 'data' + property :table, as: 'table', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Table, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Table::Representation + + property :type, as: 'type' + property :value, as: 'value' + end + end + + class GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deidentify_template, as: 'deidentifyTemplate', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate::Representation + + property :template_id, as: 'templateId' + end + end + + class GooglePrivacyDlpV2beta2CreateInspectTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inspect_template, as: 'inspectTemplate', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + + property :template_id, as: 'templateId' + end + end + + class GooglePrivacyDlpV2beta2CryptoHashConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :crypto_key, as: 'cryptoKey', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoKey, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoKey::Representation + + end + end + + class GooglePrivacyDlpV2beta2CryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kms_wrapped, as: 'kmsWrapped', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KmsWrappedCryptoKey, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KmsWrappedCryptoKey::Representation + + property :transient, as: 'transient', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransientCryptoKey, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransientCryptoKey::Representation + + property :unwrapped, as: 'unwrapped', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UnwrappedCryptoKey, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UnwrappedCryptoKey::Representation + + end + end + + class GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :common_alphabet, as: 'commonAlphabet' + property :context, as: 'context', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + property :crypto_key, as: 'cryptoKey', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoKey, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoKey::Representation + + property :custom_alphabet, as: 'customAlphabet' + property :radix, as: 'radix' + property :surrogate_info_type, as: 'surrogateInfoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + end + end + + class GooglePrivacyDlpV2beta2CustomInfoType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Dictionary, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Dictionary::Representation + + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + property :surrogate_type, as: 'surrogateType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SurrogateType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SurrogateType::Representation + + end + end + + class GooglePrivacyDlpV2beta2DatastoreKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_key, as: 'entityKey', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Key, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Key::Representation + + end + end + + class GooglePrivacyDlpV2beta2DatastoreOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KindExpression, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KindExpression::Representation + + property :partition_id, as: 'partitionId', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PartitionId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PartitionId::Representation + + end + end + + class GooglePrivacyDlpV2beta2DeidentifyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :info_type_transformations, as: 'infoTypeTransformations', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformations, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformations::Representation + + property :record_transformations, as: 'recordTransformations', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordTransformations, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordTransformations::Representation + + end + end + + class GooglePrivacyDlpV2beta2DeidentifyContentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deidentify_config, as: 'deidentifyConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig::Representation + + property :deidentify_template_name, as: 'deidentifyTemplateName' + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig::Representation + + property :inspect_template_name, as: 'inspectTemplateName' + property :item, as: 'item', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem::Representation + + end + end + + class GooglePrivacyDlpV2beta2DeidentifyContentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :item, as: 'item', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem::Representation + + property :overview, as: 'overview', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransformationOverview, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransformationOverview::Representation + + end + end + + class GooglePrivacyDlpV2beta2DeidentifyTemplate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :deidentify_config, as: 'deidentifyConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig::Representation + + property :description, as: 'description' + property :display_name, as: 'displayName' + property :name, as: 'name' + property :update_time, as: 'updateTime' + end + end + + class GooglePrivacyDlpV2beta2Dictionary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :word_list, as: 'wordList', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2WordList, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2WordList::Representation + + end + end + + class GooglePrivacyDlpV2beta2DlpJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :end_time, as: 'endTime' + collection :error_results, as: 'errorResults', class: Google::Apis::DlpV2beta2::GoogleRpcStatus, decorator: Google::Apis::DlpV2beta2::GoogleRpcStatus::Representation + + property :inspect_details, as: 'inspectDetails', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceDetails, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceDetails::Representation + + property :name, as: 'name' + property :risk_details, as: 'riskDetails', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails::Representation + + property :start_time, as: 'startTime' + property :state, as: 'state' + property :type, as: 'type' + end + end + + class GooglePrivacyDlpV2beta2EntityId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta2Expressions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conditions, as: 'conditions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Conditions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Conditions::Representation + + property :logical_operator, as: 'logicalOperator' + end + end + + class GooglePrivacyDlpV2beta2FieldId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta2FieldTransformation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordCondition, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordCondition::Representation + + collection :fields, as: 'fields', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + property :info_type_transformations, as: 'infoTypeTransformations', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformations, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformations::Representation + + property :primitive_transformation, as: 'primitiveTransformation', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation::Representation + + end + end + + class GooglePrivacyDlpV2beta2FileSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + end + end + + class GooglePrivacyDlpV2beta2Finding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + property :likelihood, as: 'likelihood' + property :location, as: 'location', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Location, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Location::Representation + + property :quote, as: 'quote' + end + end + + class GooglePrivacyDlpV2beta2FindingLimits + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :max_findings_per_info_type, as: 'maxFindingsPerInfoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeLimit, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeLimit::Representation + + property :max_findings_per_item, as: 'maxFindingsPerItem' + property :max_findings_per_request, as: 'maxFindingsPerRequest' + end + end + + class GooglePrivacyDlpV2beta2FixedSizeBucketingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, as: 'bucketSize' + property :lower_bound, as: 'lowerBound', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + property :upper_bound, as: 'upperBound', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + end + end + + class GooglePrivacyDlpV2beta2ImageLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height, as: 'height' + property :left, as: 'left' + property :top, as: 'top' + property :width, as: 'width' + end + end + + class GooglePrivacyDlpV2beta2ImageRedactionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + property :redact_all_text, as: 'redactAllText' + property :redaction_color, as: 'redactionColor', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Color, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Color::Representation + + end + end + + class GooglePrivacyDlpV2beta2InfoType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta2InfoTypeDescription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta2InfoTypeLimit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + property :max_findings, as: 'maxFindings' + end + end + + class GooglePrivacyDlpV2beta2InfoTypeStatistics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, :numeric_string => true, as: 'count' + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + end + end + + class GooglePrivacyDlpV2beta2InfoTypeTransformation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + property :primitive_transformation, as: 'primitiveTransformation', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation::Representation + + end + end + + class GooglePrivacyDlpV2beta2InfoTypeTransformations + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :transformations, as: 'transformations', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformation::Representation + + end + end + + class GooglePrivacyDlpV2beta2InspectConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :custom_info_types, as: 'customInfoTypes', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CustomInfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CustomInfoType::Representation + + property :exclude_info_types, as: 'excludeInfoTypes' + property :include_quote, as: 'includeQuote' + collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + property :limits, as: 'limits', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FindingLimits, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FindingLimits::Representation + + property :min_likelihood, as: 'minLikelihood' + end + end + + class GooglePrivacyDlpV2beta2InspectContentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig::Representation + + property :inspect_template_name, as: 'inspectTemplateName' + property :item, as: 'item', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem::Representation + + end + end + + class GooglePrivacyDlpV2beta2InspectContentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :result, as: 'result', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectResult::Representation + + end + end + + class GooglePrivacyDlpV2beta2InspectDataSourceDetails + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :requested_options, as: 'requestedOptions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RequestedOptions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RequestedOptions::Representation + + property :result, as: 'result', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Result, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Result::Representation + + end + end + + class GooglePrivacyDlpV2beta2InspectDataSourceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job_config, as: 'jobConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta2InspectJobConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig::Representation + + property :inspect_template_name, as: 'inspectTemplateName' + property :output_config, as: 'outputConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2OutputStorageConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2OutputStorageConfig::Representation + + property :storage_config, as: 'storageConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2StorageConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2StorageConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta2InspectResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :findings, as: 'findings', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Finding, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Finding::Representation + + property :findings_truncated, as: 'findingsTruncated' + end + end + + class GooglePrivacyDlpV2beta2InspectTemplate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig::Representation + + property :name, as: 'name' + property :update_time, as: 'updateTime' + end + end + + class GooglePrivacyDlpV2beta2KAnonymityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_id, as: 'entityId', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2EntityId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2EntityId::Representation + + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :equivalence_class_size, :numeric_string => true, as: 'equivalenceClassSize' + collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + end + end + + class GooglePrivacyDlpV2beta2KAnonymityHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityEquivalenceClass::Representation + + property :equivalence_class_size_lower_bound, :numeric_string => true, as: 'equivalenceClassSizeLowerBound' + property :equivalence_class_size_upper_bound, :numeric_string => true, as: 'equivalenceClassSizeUpperBound' + end + end + + class GooglePrivacyDlpV2beta2KAnonymityResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :equivalence_class_histogram_buckets, as: 'equivalenceClassHistogramBuckets', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityHistogramBucket, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityHistogramBucket::Representation + + end + end + + class GooglePrivacyDlpV2beta2KMapEstimationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :auxiliary_tables, as: 'auxiliaryTables', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AuxiliaryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AuxiliaryTable::Representation + + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TaggedField, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TaggedField::Representation + + property :region_code, as: 'regionCode' + end + end + + class GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationQuasiIdValues, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationQuasiIdValues::Representation + + property :max_anonymity, :numeric_string => true, as: 'maxAnonymity' + property :min_anonymity, :numeric_string => true, as: 'minAnonymity' + end + end + + class GooglePrivacyDlpV2beta2KMapEstimationQuasiIdValues + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :estimated_anonymity, :numeric_string => true, as: 'estimatedAnonymity' + collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + end + end + + class GooglePrivacyDlpV2beta2KMapEstimationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :k_map_estimation_histogram, as: 'kMapEstimationHistogram', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationHistogramBucket::Representation + + end + end + + class GooglePrivacyDlpV2beta2Key + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :partition_id, as: 'partitionId', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PartitionId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PartitionId::Representation + + collection :path, as: 'path', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PathElement, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PathElement::Representation + + end + end + + class GooglePrivacyDlpV2beta2KindExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta2KmsWrappedCryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :crypto_key_name, as: 'cryptoKeyName' + property :wrapped_key, :base64 => true, as: 'wrappedKey' + end + end + + class GooglePrivacyDlpV2beta2LDiversityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + property :sensitive_attribute, as: 'sensitiveAttribute', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta2LDiversityEquivalenceClass + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :equivalence_class_size, :numeric_string => true, as: 'equivalenceClassSize' + property :num_distinct_sensitive_values, :numeric_string => true, as: 'numDistinctSensitiveValues' + collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + collection :top_sensitive_values, as: 'topSensitiveValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ValueFrequency, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ValueFrequency::Representation + + end + end + + class GooglePrivacyDlpV2beta2LDiversityHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityEquivalenceClass, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityEquivalenceClass::Representation + + property :sensitive_value_frequency_lower_bound, :numeric_string => true, as: 'sensitiveValueFrequencyLowerBound' + property :sensitive_value_frequency_upper_bound, :numeric_string => true, as: 'sensitiveValueFrequencyUpperBound' + end + end + + class GooglePrivacyDlpV2beta2LDiversityResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sensitive_value_frequency_histogram_buckets, as: 'sensitiveValueFrequencyHistogramBuckets', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityHistogramBucket, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityHistogramBucket::Representation + + end + end + + class GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :deidentify_templates, as: 'deidentifyTemplates', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GooglePrivacyDlpV2beta2ListDlpJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jobs, as: 'jobs', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GooglePrivacyDlpV2beta2ListInfoTypesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeDescription, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeDescription::Representation + + end + end + + class GooglePrivacyDlpV2beta2ListInspectTemplatesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :inspect_templates, as: 'inspectTemplates', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GooglePrivacyDlpV2beta2Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :byte_range, as: 'byteRange', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range::Representation + + property :codepoint_range, as: 'codepointRange', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range::Representation + + property :field_id, as: 'fieldId', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + collection :image_boxes, as: 'imageBoxes', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ImageLocation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ImageLocation::Representation + + property :record_key, as: 'recordKey', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordKey, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordKey::Representation + + property :table_location, as: 'tableLocation', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TableLocation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TableLocation::Representation + + end + end + + class GooglePrivacyDlpV2beta2NumericalStatsConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta2NumericalStatsResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_value, as: 'maxValue', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + property :min_value, as: 'minValue', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + collection :quantile_values, as: 'quantileValues', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + end + end + + class GooglePrivacyDlpV2beta2OutputStorageConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table, as: 'table', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta2PartitionId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :namespace_id, as: 'namespaceId' + property :project_id, as: 'projectId' + end + end + + class GooglePrivacyDlpV2beta2PathElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta2PrimitiveTransformation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucketing_config, as: 'bucketingConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BucketingConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BucketingConfig::Representation + + property :character_mask_config, as: 'characterMaskConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CharacterMaskConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CharacterMaskConfig::Representation + + property :crypto_hash_config, as: 'cryptoHashConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoHashConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoHashConfig::Representation + + property :crypto_replace_ffx_fpe_config, as: 'cryptoReplaceFfxFpeConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CryptoReplaceFfxFpeConfig::Representation + + property :fixed_size_bucketing_config, as: 'fixedSizeBucketingConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FixedSizeBucketingConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FixedSizeBucketingConfig::Representation + + property :redact_config, as: 'redactConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RedactConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RedactConfig::Representation + + property :replace_config, as: 'replaceConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReplaceValueConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReplaceValueConfig::Representation + + property :replace_with_info_type_config, as: 'replaceWithInfoTypeConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReplaceWithInfoTypeConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReplaceWithInfoTypeConfig::Representation + + property :time_part_config, as: 'timePartConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimePartConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimePartConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta2PrivacyMetric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :categorical_stats_config, as: 'categoricalStatsConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CategoricalStatsConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CategoricalStatsConfig::Representation + + property :k_anonymity_config, as: 'kAnonymityConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KAnonymityConfig::Representation + + property :k_map_estimation_config, as: 'kMapEstimationConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2KMapEstimationConfig::Representation + + property :l_diversity_config, as: 'lDiversityConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LDiversityConfig::Representation + + property :numerical_stats_config, as: 'numericalStatsConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2NumericalStatsConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2NumericalStatsConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta2QuasiIdField + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_tag, as: 'customTag' + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + end + end + + class GooglePrivacyDlpV2beta2Range + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end, :numeric_string => true, as: 'end' + property :start, :numeric_string => true, as: 'start' + end + end + + class GooglePrivacyDlpV2beta2RecordCondition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expressions, as: 'expressions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Expressions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Expressions::Representation + + end + end + + class GooglePrivacyDlpV2beta2RecordKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_storage_key, as: 'cloudStorageKey', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageKey, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageKey::Representation + + property :datastore_key, as: 'datastoreKey', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreKey, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreKey::Representation + + end + end + + class GooglePrivacyDlpV2beta2RecordSuppression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordCondition, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordCondition::Representation + + end + end + + class GooglePrivacyDlpV2beta2RecordTransformations + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :field_transformations, as: 'fieldTransformations', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldTransformation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldTransformation::Representation + + collection :record_suppressions, as: 'recordSuppressions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordSuppression, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordSuppression::Representation + + end + end + + class GooglePrivacyDlpV2beta2RedactConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GooglePrivacyDlpV2beta2RedactImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_data, :base64 => true, as: 'imageData' + collection :image_redaction_configs, as: 'imageRedactionConfigs', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ImageRedactionConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ImageRedactionConfig::Representation + + property :image_type, as: 'imageType' + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta2RedactImageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :extracted_text, as: 'extractedText' + property :redacted_image, :base64 => true, as: 'redactedImage' + end + end + + class GooglePrivacyDlpV2beta2ReidentifyContentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig::Representation + + property :inspect_template_name, as: 'inspectTemplateName' + property :item, as: 'item', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem::Representation + + property :reidentify_config, as: 'reidentifyConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig::Representation + + property :reidentify_template_name, as: 'reidentifyTemplateName' + end + end + + class GooglePrivacyDlpV2beta2ReidentifyContentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :item, as: 'item', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem::Representation + + property :overview, as: 'overview', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransformationOverview, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransformationOverview::Representation + + end + end + + class GooglePrivacyDlpV2beta2ReplaceValueConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_value, as: 'newValue', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + end + end + + class GooglePrivacyDlpV2beta2ReplaceWithInfoTypeConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GooglePrivacyDlpV2beta2RequestedOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job_config, as: 'jobConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig::Representation + + property :snapshot_inspect_template, as: 'snapshotInspectTemplate', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + + end + end + + class GooglePrivacyDlpV2beta2Result + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :info_type_stats, as: 'infoTypeStats', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeStatistics, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeStatistics::Representation + + property :processed_bytes, :numeric_string => true, as: 'processedBytes' + property :total_estimated_bytes, :numeric_string => true, as: 'totalEstimatedBytes' + end + end + + class GooglePrivacyDlpV2beta2RiskAnalysisJobConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :privacy_metric, as: 'privacyMetric', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrivacyMetric, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrivacyMetric::Representation + + property :source_table, as: 'sourceTable', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta2Row + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + end + end + + class GooglePrivacyDlpV2beta2StorageConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :big_query_options, as: 'bigQueryOptions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryOptions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryOptions::Representation + + property :cloud_storage_options, as: 'cloudStorageOptions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageOptions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageOptions::Representation + + property :datastore_options, as: 'datastoreOptions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions::Representation + + end + end + + class GooglePrivacyDlpV2beta2SummaryResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :count, :numeric_string => true, as: 'count' + property :details, as: 'details' + end + end + + class GooglePrivacyDlpV2beta2SurrogateType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GooglePrivacyDlpV2beta2Table + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :headers, as: 'headers', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + collection :rows, as: 'rows', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Row, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Row::Representation + + end + end + + class GooglePrivacyDlpV2beta2TableLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_index, :numeric_string => true, as: 'rowIndex' + end + end + + class GooglePrivacyDlpV2beta2TaggedField + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_tag, as: 'customTag' + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + property :inferred, as: 'inferred', class: Google::Apis::DlpV2beta2::GoogleProtobufEmpty, decorator: Google::Apis::DlpV2beta2::GoogleProtobufEmpty::Representation + + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + end + end + + class GooglePrivacyDlpV2beta2TimePartConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :part_to_extract, as: 'partToExtract' + end + end + + class GooglePrivacyDlpV2beta2TransformationOverview + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :transformation_summaries, as: 'transformationSummaries', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransformationSummary, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransformationSummary::Representation + + property :transformed_bytes, :numeric_string => true, as: 'transformedBytes' + end + end + + class GooglePrivacyDlpV2beta2TransformationSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId::Representation + + collection :field_transformations, as: 'fieldTransformations', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldTransformation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldTransformation::Representation + + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType::Representation + + property :record_suppress, as: 'recordSuppress', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordSuppression, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordSuppression::Representation + + collection :results, as: 'results', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SummaryResult, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SummaryResult::Representation + + property :transformation, as: 'transformation', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation::Representation + + end + end + + class GooglePrivacyDlpV2beta2TransientCryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta2UnwrappedCryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, :base64 => true, as: 'key' + end + end + + class GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deidentify_template, as: 'deidentifyTemplate', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate::Representation + + property :update_mask, as: 'updateMask' + end + end + + class GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inspect_template, as: 'inspectTemplate', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + + property :update_mask, as: 'updateMask' + end + end + + class GooglePrivacyDlpV2beta2Value + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :boolean_value, as: 'booleanValue' + property :date_value, as: 'dateValue', class: Google::Apis::DlpV2beta2::GoogleTypeDate, decorator: Google::Apis::DlpV2beta2::GoogleTypeDate::Representation + + property :float_value, as: 'floatValue' + property :integer_value, :numeric_string => true, as: 'integerValue' + property :string_value, as: 'stringValue' + property :time_value, as: 'timeValue', class: Google::Apis::DlpV2beta2::GoogleTypeTimeOfDay, decorator: Google::Apis::DlpV2beta2::GoogleTypeTimeOfDay::Representation + + property :timestamp_value, as: 'timestampValue' + end + end + + class GooglePrivacyDlpV2beta2ValueFrequency + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, :numeric_string => true, as: 'count' + property :value, as: 'value', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value::Representation + + end + end + + class GooglePrivacyDlpV2beta2WordList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :words, as: 'words' + end + end + + class GoogleProtobufEmpty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleRpcStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + + class GoogleTypeDate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :day, as: 'day' + property :month, as: 'month' + property :year, as: 'year' + end + end + + class GoogleTypeTimeOfDay + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hours, as: 'hours' + property :minutes, as: 'minutes' + property :nanos, as: 'nanos' + property :seconds, as: 'seconds' + end + end + end + end +end diff --git a/generated/google/apis/dlp_v2beta2/service.rb b/generated/google/apis/dlp_v2beta2/service.rb new file mode 100644 index 000000000..5a8497a45 --- /dev/null +++ b/generated/google/apis/dlp_v2beta2/service.rb @@ -0,0 +1,1135 @@ +# 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 DlpV2beta2 + # DLP API + # + # The Google Data Loss Prevention API provides methods for detection of privacy- + # sensitive fragments in text, images, and Google Cloud Platform storage + # repositories. + # + # @example + # require 'google/apis/dlp_v2beta2' + # + # Dlp = Google::Apis::DlpV2beta2 # Alias the module + # service = Dlp::DLPService.new + # + # @see https://cloud.google.com/dlp/docs/ + class DLPService < Google::Apis::Core::BaseService + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + attr_accessor :quota_user + + def initialize + super('https://dlp.googleapis.com/', '') + @batch_path = 'batch' + end + + # Returns sensitive information types DLP supports. + # @param [String] language_code + # Optional BCP-47 language code for localized info type friendly + # names. If omitted, or if localized strings are not available, + # en-US strings will be returned. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInfoTypesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInfoTypesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_info_types(language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/infoTypes', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInfoTypesResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInfoTypesResponse + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an Deidentify template for re-using frequently used configuration + # for Deidentifying content, images, and storage. + # @param [String] parent + # The parent resource name, for example projects/my-project-id or + # organizations/my-org-id. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_create_deidentify_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_deidentify_template(parent, google_privacy_dlp_v2beta2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/deidentifyTemplates', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_create_deidentify_template_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate + 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 inspect templates. + # @param [String] name + # Resource name of the organization and inspectTemplate to be deleted, for + # example `organizations/433245324/deidentifyTemplates/432452342`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DlpV2beta2::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an inspect template. + # @param [String] name + # Resource name of the organization and inspectTemplate to be read, for + # example `organizations/433245324/deidentifyTemplates/432452342`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate + 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 inspect templates. + # @param [String] parent + # The parent resource name, for example projects/my-project-id or + # organizations/my-org-id. + # @param [Fixnum] page_size + # Optional size of the page, can be limited by server. If zero server returns + # a page of max size 100. + # @param [String] page_token + # Optional page token to continue retrieval. Comes from previous call + # to `ListDeidentifyTemplates`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_deidentify_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+parent}/deidentifyTemplates', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse + 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 the inspect template. + # @param [String] name + # Resource name of organization and inspectTemplate to be updated, for + # example `organizations/433245324/deidentifyTemplates/432452342`. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_update_deidentify_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_organization_deidentify_template(name, google_privacy_dlp_v2beta2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2beta2/{+name}', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_update_deidentify_template_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate + 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 an inspect template for re-using frequently used configuration + # for inspecting content, images, and storage. + # @param [String] parent + # The parent resource name, for example projects/my-project-id or + # organizations/my-org-id. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateInspectTemplateRequest] google_privacy_dlp_v2beta2_create_inspect_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_inspect_template(parent, google_privacy_dlp_v2beta2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/inspectTemplates', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateInspectTemplateRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_create_inspect_template_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate + 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 inspect templates. + # @param [String] name + # Resource name of the organization and inspectTemplate to be deleted, for + # example `organizations/433245324/inspectTemplates/432452342`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DlpV2beta2::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an inspect template. + # @param [String] name + # Resource name of the organization and inspectTemplate to be read, for + # example `organizations/433245324/inspectTemplates/432452342`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate + 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 inspect templates. + # @param [String] parent + # The parent resource name, for example projects/my-project-id or + # organizations/my-org-id. + # @param [Fixnum] page_size + # Optional size of the page, can be limited by server. If zero server returns + # a page of max size 100. + # @param [String] page_token + # Optional page token to continue retrieval. Comes from previous call + # to `ListInspectTemplates`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInspectTemplatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInspectTemplatesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_inspect_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+parent}/inspectTemplates', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInspectTemplatesResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInspectTemplatesResponse + 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 the inspect template. + # @param [String] name + # Resource name of organization and inspectTemplate to be updated, for + # example `organizations/433245324/inspectTemplates/432452342`. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest] google_privacy_dlp_v2beta2_update_inspect_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_organization_inspect_template(name, google_privacy_dlp_v2beta2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2beta2/{+name}', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_update_inspect_template_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate + 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 + + # De-identifies potentially sensitive info from a ContentItem. + # This method has limits on input size and output size. + # [How-to guide](/dlp/docs/deidentify-sensitive-data) + # @param [String] parent + # The parent resource name, for example projects/my-project-id. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyContentRequest] google_privacy_dlp_v2beta2_deidentify_content_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyContentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyContentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_project_content(parent, google_privacy_dlp_v2beta2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/content:deidentify', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyContentRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_deidentify_content_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyContentResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyContentResponse + 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 + + # Finds potentially sensitive info in content. + # This method has limits on input size, processing time, and output size. + # [How-to guide for text](/dlp/docs/inspecting-text), [How-to guide for + # images](/dlp/docs/inspecting-images) + # @param [String] parent + # The parent resource name, for example projects/my-project-id. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectContentRequest] google_privacy_dlp_v2beta2_inspect_content_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectContentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectContentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def inspect_project_content(parent, google_privacy_dlp_v2beta2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/content:inspect', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectContentRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_inspect_content_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectContentResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectContentResponse + 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 + + # Re-identify content that has been de-identified. + # @param [String] parent + # The parent resource name. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReidentifyContentRequest] google_privacy_dlp_v2beta2_reidentify_content_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReidentifyContentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReidentifyContentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def reidentify_project_content(parent, google_privacy_dlp_v2beta2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/content:reidentify', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReidentifyContentRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_reidentify_content_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReidentifyContentResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ReidentifyContentResponse + 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 + + # Schedules a job to compute risk analysis metrics over content in a Google + # Cloud Platform repository. [How-to guide`(/dlp/docs/compute-risk-analysis) + # @param [String] parent + # The parent resource name, for example projects/my-project-id. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest] google_privacy_dlp_v2beta2_analyze_data_source_risk_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_project_data_source(parent, google_privacy_dlp_v2beta2_analyze_data_source_risk_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/dataSource:analyze', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_analyze_data_source_risk_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob + 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 + + # Schedules a job scanning content in a Google Cloud Platform data + # repository. [How-to guide](/dlp/docs/inspecting-storage) + # @param [String] parent + # The parent resource name, for example projects/my-project-id. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceRequest] google_privacy_dlp_v2beta2_inspect_data_source_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def inspect_project_data_source(parent, google_privacy_dlp_v2beta2_inspect_data_source_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/dataSource:inspect', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_inspect_data_source_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an Deidentify template for re-using frequently used configuration + # for Deidentifying content, images, and storage. + # @param [String] parent + # The parent resource name, for example projects/my-project-id or + # organizations/my-org-id. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_create_deidentify_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_deidentify_template(parent, google_privacy_dlp_v2beta2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/deidentifyTemplates', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateDeidentifyTemplateRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_create_deidentify_template_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate + 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 inspect templates. + # @param [String] name + # Resource name of the organization and inspectTemplate to be deleted, for + # example `organizations/433245324/deidentifyTemplates/432452342`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DlpV2beta2::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an inspect template. + # @param [String] name + # Resource name of the organization and inspectTemplate to be read, for + # example `organizations/433245324/deidentifyTemplates/432452342`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_deidentify_template(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate + 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 inspect templates. + # @param [String] parent + # The parent resource name, for example projects/my-project-id or + # organizations/my-org-id. + # @param [Fixnum] page_size + # Optional size of the page, can be limited by server. If zero server returns + # a page of max size 100. + # @param [String] page_token + # Optional page token to continue retrieval. Comes from previous call + # to `ListDeidentifyTemplates`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_deidentify_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+parent}/deidentifyTemplates', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse + 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 the inspect template. + # @param [String] name + # Resource name of organization and inspectTemplate to be updated, for + # example `organizations/433245324/deidentifyTemplates/432452342`. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_update_deidentify_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_deidentify_template(name, google_privacy_dlp_v2beta2_update_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2beta2/{+name}', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_update_deidentify_template_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate + 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 DlpJob. The server + # makes a best effort to cancel the DlpJob, but success is not + # guaranteed. + # @param [String] name + # The name of the DlpJob resource to be cancelled. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CancelDlpJobRequest] google_privacy_dlp_v2beta2_cancel_dlp_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::DlpV2beta2::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_project_dlp_job(name, google_privacy_dlp_v2beta2_cancel_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+name}:cancel', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CancelDlpJobRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_cancel_dlp_job_request_object + command.response_representation = Google::Apis::DlpV2beta2::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DlpV2beta2::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a long-running DlpJob. This method indicates that the client is + # no longer interested in the DlpJob result. The job will be cancelled if + # possible. + # @param [String] name + # The name of the DlpJob 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::DlpV2beta2::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_dlp_job(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DlpV2beta2::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest state of a long-running DlpJob. + # @param [String] name + # The name of the DlpJob 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::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_dlp_job(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob + 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 DlpJobs that match the specified filter in the request. + # @param [String] parent + # The parent resource name, for example projects/my-project-id. + # @param [String] filter + # Optional. Allows filtering. + # Supported syntax: + # * Filter expressions are made up of one or more restrictions. + # * Restrictions can be combined by `AND` or `OR` logical operators. A + # sequence of restrictions implicitly uses `AND`. + # * A restriction has the form of ` `. + # * Supported fields/values for inspect jobs: + # - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED + # - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY + # * Supported fields for risk analysis jobs: + # - `state` - RUNNING|CANCELED|FINISHED|FAILED + # * The operator must be `=` or `!=`. + # Examples: + # * inspected_storage = cloud_storage AND state = done + # * inspected_storage = cloud_storage OR inspected_storage = bigquery + # * inspected_storage = cloud_storage AND (state = done OR state = canceled) + # The length of this field should be no more than 500 characters. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] page_token + # The standard list page token. + # @param [String] type + # The type of job. Defaults to `DlpJobType.INSPECT` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDlpJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDlpJobsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_dlp_jobs(parent, filter: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+parent}/dlpJobs', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDlpJobsResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDlpJobsResponse + 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['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 + + # Redacts potentially sensitive info from an image. + # This method has limits on input size, processing time, and output size. + # [How-to guide](/dlp/docs/redacting-sensitive-data-images) + # @param [String] parent + # The parent resource name, for example projects/my-project-id. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RedactImageRequest] google_privacy_dlp_v2beta2_redact_image_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RedactImageResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RedactImageResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def redact_project_image(parent, google_privacy_dlp_v2beta2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/image:redact', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RedactImageRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_redact_image_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RedactImageResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RedactImageResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an inspect template for re-using frequently used configuration + # for inspecting content, images, and storage. + # @param [String] parent + # The parent resource name, for example projects/my-project-id or + # organizations/my-org-id. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateInspectTemplateRequest] google_privacy_dlp_v2beta2_create_inspect_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_inspect_template(parent, google_privacy_dlp_v2beta2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta2/{+parent}/inspectTemplates', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateInspectTemplateRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_create_inspect_template_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate + 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 inspect templates. + # @param [String] name + # Resource name of the organization and inspectTemplate to be deleted, for + # example `organizations/433245324/inspectTemplates/432452342`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DlpV2beta2::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an inspect template. + # @param [String] name + # Resource name of the organization and inspectTemplate to be read, for + # example `organizations/433245324/inspectTemplates/432452342`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_inspect_template(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate + 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 inspect templates. + # @param [String] parent + # The parent resource name, for example projects/my-project-id or + # organizations/my-org-id. + # @param [Fixnum] page_size + # Optional size of the page, can be limited by server. If zero server returns + # a page of max size 100. + # @param [String] page_token + # Optional page token to continue retrieval. Comes from previous call + # to `ListInspectTemplates`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInspectTemplatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInspectTemplatesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @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_inspect_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+parent}/inspectTemplates', options) + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInspectTemplatesResponse::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInspectTemplatesResponse + 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 the inspect template. + # @param [String] name + # Resource name of organization and inspectTemplate to be updated, for + # example `organizations/433245324/inspectTemplates/432452342`. + # @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest] google_privacy_dlp_v2beta2_update_inspect_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_inspect_template(name, google_privacy_dlp_v2beta2_update_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2beta2/{+name}', options) + command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateInspectTemplateRequest::Representation + command.request_object = google_privacy_dlp_v2beta2_update_inspect_template_request_object + command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate::Representation + command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate + 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/drive_v2.rb b/generated/google/apis/drive_v2.rb index 8ebbc735f..41eeb634b 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 = '20171020' + REVISION = '20171208' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v2/service.rb b/generated/google/apis/drive_v2/service.rb index 89ed890ee..44e8432d4 100644 --- a/generated/google/apis/drive_v2/service.rb +++ b/generated/google/apis/drive_v2/service.rb @@ -56,10 +56,10 @@ module Google # Gets the information about the current user along with Drive API settings # @param [Boolean] include_subscribed - # When calculating the number of remaining change IDs, whether to include public - # files the user has opened and shared files. When set to false, this counts - # only change IDs for owned files and any shared or public files that the user - # has explicitly added to a folder they own. + # Whether to count changes outside the My Drive hierarchy. 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 + # maxChangeIdCount. # @param [Fixnum] max_change_id_count # Maximum number of remaining change IDs to count # @param [Fixnum] start_change_id @@ -182,7 +182,8 @@ module Google execute_or_queue_command(command, &block) end - # Gets a specific change. + # Deprecated - Use changes.getStartPageToken and changes.list to retrieve recent + # changes. # @param [String] change_id # The ID of the change. # @param [Boolean] supports_team_drives @@ -272,9 +273,10 @@ module Google # 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_subscribed - # Whether to include public files the user has opened and shared files. When set - # to false, the list only includes owned files plus any shared or public files - # the user has explicitly added to a folder they own. + # 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. # @param [Fixnum] max_results @@ -287,7 +289,7 @@ module Google # A comma-separated list of spaces to query. Supported values are 'drive', ' # appDataFolder' and 'photos'. # @param [Fixnum] start_change_id - # Change ID to start listing changes from. + # Deprecated - use pageToken instead. # @param [Boolean] supports_team_drives # Whether the requesting application supports Team Drives. # @param [String] team_drive_id @@ -346,9 +348,10 @@ module Google # 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_subscribed - # Whether to include public files the user has opened and shared files. When set - # to false, the list only includes owned files plus any shared or public files - # the user has explicitly added to a folder they own. + # 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. # @param [Fixnum] max_results @@ -361,7 +364,7 @@ module Google # A comma-separated list of spaces to query. Supported values are 'drive', ' # appDataFolder' and 'photos'. # @param [Fixnum] start_change_id - # Change ID to start listing changes from. + # Deprecated - use pageToken instead. # @param [Boolean] supports_team_drives # Whether the requesting application supports Team Drives. # @param [String] team_drive_id @@ -1315,7 +1318,10 @@ module Google # @param [String] remove_parents # Comma-separated list of parent IDs to remove. # @param [Boolean] set_modified_date - # Whether to set the modified date with the supplied modified date. + # Whether to set the modified date using the value supplied in the request body. + # 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_team_drives # Whether the requesting application supports Team Drives. # @param [String] timed_text_language @@ -1517,7 +1523,10 @@ module Google # @param [String] remove_parents # Comma-separated list of parent IDs to remove. # @param [Boolean] set_modified_date - # Whether to set the modified date with the supplied modified date. + # Whether to set the modified date using the value supplied in the request body. + # 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_team_drives # Whether the requesting application supports Team Drives. # @param [String] timed_text_language @@ -1929,7 +1938,7 @@ module Google # The ID for the file or Team Drive. # @param [Google::Apis::DriveV2::Permission] permission_object # @param [String] email_message - # A custom message to include in notification emails. + # 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. diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index dcdbe5f9d..669ac30b2 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 = '20171020' + REVISION = '20171208' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v3/service.rb b/generated/google/apis/drive_v3/service.rb index e4f734536..37a2bf621 100644 --- a/generated/google/apis/drive_v3/service.rb +++ b/generated/google/apis/drive_v3/service.rb @@ -1027,7 +1027,7 @@ module Google # The ID of the file or Team Drive. # @param [Google::Apis::DriveV3::Permission] permission_object # @param [String] email_message - # A custom message to include in the notification email. + # A plain text custom message to include in the notification email. # @param [Boolean] send_notification_email # 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. diff --git a/generated/google/apis/speech_v1beta1.rb b/generated/google/apis/speech_v1beta1.rb index a52ffce13..8afd6307c 100644 --- a/generated/google/apis/speech_v1beta1.rb +++ b/generated/google/apis/speech_v1beta1.rb @@ -25,13 +25,10 @@ module Google # @see https://cloud.google.com/speech/ module SpeechV1beta1 VERSION = 'V1beta1' - REVISION = '20171129' + REVISION = '20171213' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - - # Convert speech to text using Google speech recognition technology - AUTH_CLOUD_SPEECH = 'https://www.googleapis.com/auth/cloud-speech' end end end