Autogenerated update (2018-02-15)

Update:
- androidpublisher_v1_1
- androidpublisher_v2
- dlp_v2beta2
- drive_v2
- ml_v1
This commit is contained in:
Google APIs 2018-02-15 00:36:05 +00:00
parent 359072ad73
commit 7e1540d1e1
15 changed files with 1123 additions and 245 deletions

View File

@ -45421,6 +45421,9 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta1WordList": google_privacy_dlp_v2beta1_word_list
"/dlp:v2beta2/GooglePrivacyDlpV2beta1WordList/words": words
"/dlp:v2beta2/GooglePrivacyDlpV2beta1WordList/words/word": word
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Action": google_privacy_dlp_v2beta2_action
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Action/pubSub": pub_sub
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Action/saveFindings": save_findings
"/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
@ -45431,6 +45434,7 @@
"/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/GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest/jobId": job_id
"/dlp:v2beta2/GooglePrivacyDlpV2beta2AuxiliaryTable": google_privacy_dlp_v2beta2_auxiliary_table
"/dlp:v2beta2/GooglePrivacyDlpV2beta2AuxiliaryTable/quasiIds": quasi_ids
"/dlp:v2beta2/GooglePrivacyDlpV2beta2AuxiliaryTable/quasiIds/quasi_id": quasi_id
@ -45476,6 +45480,7 @@
"/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/bytesLimitPerFile": bytes_limit_per_file
"/dlp:v2beta2/GooglePrivacyDlpV2beta2CloudStorageOptions/fileSet": file_set
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Color": google_privacy_dlp_v2beta2_color
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Color/blue": blue
@ -45499,6 +45504,9 @@
"/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/GooglePrivacyDlpV2beta2CreateJobTriggerRequest": google_privacy_dlp_v2beta2_create_job_trigger_request
"/dlp:v2beta2/GooglePrivacyDlpV2beta2CreateJobTriggerRequest/jobTrigger": job_trigger
"/dlp:v2beta2/GooglePrivacyDlpV2beta2CreateJobTriggerRequest/triggerId": trigger_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
@ -45513,8 +45521,12 @@
"/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/detectionRules": detection_rules
"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType/detectionRules/detection_rule": detection_rule
"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType/dictionary": dictionary
"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType/infoType": info_type
"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType/likelihood": likelihood
"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType/regex": regex
"/dlp:v2beta2/GooglePrivacyDlpV2beta2CustomInfoType/surrogateType": surrogate_type
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DatastoreKey": google_privacy_dlp_v2beta2_datastore_key
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DatastoreKey/entityKey": entity_key
@ -45540,6 +45552,8 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate/displayName": display_name
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate/name": name
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DeidentifyTemplate/updateTime": update_time
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DetectionRule": google_privacy_dlp_v2beta2_detection_rule
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DetectionRule/hotwordRule": hotword_rule
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Dictionary": google_privacy_dlp_v2beta2_dictionary
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Dictionary/wordList": word_list
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob": google_privacy_dlp_v2beta2_dlp_job
@ -45548,6 +45562,7 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/errorResults": error_results
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/errorResults/error_result": error_result
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/inspectDetails": inspect_details
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/jobTriggerName": job_trigger_name
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/name": name
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/riskDetails": risk_details
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/startTime": start_time
@ -45555,6 +45570,10 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2DlpJob/type": type
"/dlp:v2beta2/GooglePrivacyDlpV2beta2EntityId": google_privacy_dlp_v2beta2_entity_id
"/dlp:v2beta2/GooglePrivacyDlpV2beta2EntityId/field": field
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Error": google_privacy_dlp_v2beta2_error
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Error/details": details
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Error/timestamps": timestamps
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Error/timestamps/timestamp": timestamp
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Expressions": google_privacy_dlp_v2beta2_expressions
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Expressions/conditions": conditions
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Expressions/logicalOperator": logical_operator
@ -45583,6 +45602,10 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2FixedSizeBucketingConfig/bucketSize": bucket_size
"/dlp:v2beta2/GooglePrivacyDlpV2beta2FixedSizeBucketingConfig/lowerBound": lower_bound
"/dlp:v2beta2/GooglePrivacyDlpV2beta2FixedSizeBucketingConfig/upperBound": upper_bound
"/dlp:v2beta2/GooglePrivacyDlpV2beta2HotwordRule": google_privacy_dlp_v2beta2_hotword_rule
"/dlp:v2beta2/GooglePrivacyDlpV2beta2HotwordRule/hotwordRegex": hotword_regex
"/dlp:v2beta2/GooglePrivacyDlpV2beta2HotwordRule/likelihoodAdjustment": likelihood_adjustment
"/dlp:v2beta2/GooglePrivacyDlpV2beta2HotwordRule/proximity": proximity
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageLocation": google_privacy_dlp_v2beta2_image_location
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageLocation/height": height
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ImageLocation/left": left
@ -45632,7 +45655,10 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectDataSourceDetails/result": result
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectDataSourceRequest": google_privacy_dlp_v2beta2_inspect_data_source_request
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectDataSourceRequest/jobConfig": job_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectDataSourceRequest/jobId": job_id
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig": google_privacy_dlp_v2beta2_inspect_job_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig/actions": actions
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig/actions/action": action
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig/inspectConfig": inspect_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig/inspectTemplateName": inspect_template_name
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectJobConfig/outputConfig": output_config
@ -45648,6 +45674,19 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate/inspectConfig": inspect_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate/name": name
"/dlp:v2beta2/GooglePrivacyDlpV2beta2InspectTemplate/updateTime": update_time
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger": google_privacy_dlp_v2beta2_job_trigger
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/createTime": create_time
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/description": description
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/displayName": display_name
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/errors": errors
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/errors/error": error
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/inspectJob": inspect_job
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/lastRunTime": last_run_time
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/name": name
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/status": status
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/triggers": triggers
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/triggers/trigger": trigger
"/dlp:v2beta2/GooglePrivacyDlpV2beta2JobTrigger/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
@ -45714,6 +45753,9 @@
"/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/GooglePrivacyDlpV2beta2LikelihoodAdjustment": google_privacy_dlp_v2beta2_likelihood_adjustment
"/dlp:v2beta2/GooglePrivacyDlpV2beta2LikelihoodAdjustment/fixedLikelihood": fixed_likelihood
"/dlp:v2beta2/GooglePrivacyDlpV2beta2LikelihoodAdjustment/relativeLikelihood": relative_likelihood
"/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
@ -45729,6 +45771,10 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInspectTemplatesResponse/inspectTemplates": inspect_templates
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInspectTemplatesResponse/inspectTemplates/inspect_template": inspect_template
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListInspectTemplatesResponse/nextPageToken": next_page_token
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListJobTriggersResponse": google_privacy_dlp_v2beta2_list_job_triggers_response
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListJobTriggersResponse/jobTriggers": job_triggers
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListJobTriggersResponse/jobTriggers/job_trigger": job_trigger
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ListJobTriggersResponse/nextPageToken": next_page_token
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location": google_privacy_dlp_v2beta2_location
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location/byteRange": byte_range
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Location/codepointRange": codepoint_range
@ -45769,6 +45815,11 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrivacyMetric/kMapEstimationConfig": k_map_estimation_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrivacyMetric/lDiversityConfig": l_diversity_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2PrivacyMetric/numericalStatsConfig": numerical_stats_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Proximity": google_privacy_dlp_v2beta2_proximity
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Proximity/windowAfter": window_after
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Proximity/windowBefore": window_before
"/dlp:v2beta2/GooglePrivacyDlpV2beta2PublishToPubSub": google_privacy_dlp_v2beta2_publish_to_pub_sub
"/dlp:v2beta2/GooglePrivacyDlpV2beta2PublishToPubSub/topic": topic
"/dlp:v2beta2/GooglePrivacyDlpV2beta2QuasiIdField": google_privacy_dlp_v2beta2_quasi_id_field
"/dlp:v2beta2/GooglePrivacyDlpV2beta2QuasiIdField/customTag": custom_tag
"/dlp:v2beta2/GooglePrivacyDlpV2beta2QuasiIdField/field": field
@ -45797,6 +45848,8 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageResponse": google_privacy_dlp_v2beta2_redact_image_response
"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageResponse/extractedText": extracted_text
"/dlp:v2beta2/GooglePrivacyDlpV2beta2RedactImageResponse/redactedImage": redacted_image
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Regex": google_privacy_dlp_v2beta2_regex
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Regex/pattern": pattern
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentRequest": google_privacy_dlp_v2beta2_reidentify_content_request
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentRequest/inspectConfig": inspect_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2ReidentifyContentRequest/inspectTemplateName": inspect_template_name
@ -45818,15 +45871,22 @@
"/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/actions": actions
"/dlp:v2beta2/GooglePrivacyDlpV2beta2RiskAnalysisJobConfig/actions/action": action
"/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/GooglePrivacyDlpV2beta2SaveFindings": google_privacy_dlp_v2beta2_save_findings
"/dlp:v2beta2/GooglePrivacyDlpV2beta2SaveFindings/outputConfig": output_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Schedule": google_privacy_dlp_v2beta2_schedule
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Schedule/reccurrencePeriodDuration": reccurrence_period_duration
"/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/GooglePrivacyDlpV2beta2StorageConfig/timespanConfig": timespan_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2SummaryResult": google_privacy_dlp_v2beta2_summary_result
"/dlp:v2beta2/GooglePrivacyDlpV2beta2SummaryResult/code": code
"/dlp:v2beta2/GooglePrivacyDlpV2beta2SummaryResult/count": count
@ -45846,6 +45906,10 @@
"/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/GooglePrivacyDlpV2beta2TimespanConfig": google_privacy_dlp_v2beta2_timespan_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2TimespanConfig/enableAutoPopulationOfTimespanConfig": enable_auto_population_of_timespan_config
"/dlp:v2beta2/GooglePrivacyDlpV2beta2TimespanConfig/endTime": end_time
"/dlp:v2beta2/GooglePrivacyDlpV2beta2TimespanConfig/startTime": start_time
"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationOverview": google_privacy_dlp_v2beta2_transformation_overview
"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationOverview/transformationSummaries": transformation_summaries
"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationOverview/transformationSummaries/transformation_summary": transformation_summary
@ -45862,6 +45926,8 @@
"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransformationSummary/transformedBytes": transformed_bytes
"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransientCryptoKey": google_privacy_dlp_v2beta2_transient_crypto_key
"/dlp:v2beta2/GooglePrivacyDlpV2beta2TransientCryptoKey/name": name
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Trigger": google_privacy_dlp_v2beta2_trigger
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Trigger/schedule": schedule
"/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
@ -45870,6 +45936,9 @@
"/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/GooglePrivacyDlpV2beta2UpdateJobTriggerRequest": google_privacy_dlp_v2beta2_update_job_trigger_request
"/dlp:v2beta2/GooglePrivacyDlpV2beta2UpdateJobTriggerRequest/jobTrigger": job_trigger
"/dlp:v2beta2/GooglePrivacyDlpV2beta2UpdateJobTriggerRequest/updateMask": update_mask
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value": google_privacy_dlp_v2beta2_value
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value/booleanValue": boolean_value
"/dlp:v2beta2/GooglePrivacyDlpV2beta2Value/dateValue": date_value
@ -45975,6 +46044,19 @@
"/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/dlp.projects.jobTriggers.create": create_project_job_trigger
"/dlp:v2beta2/dlp.projects.jobTriggers.create/parent": parent
"/dlp:v2beta2/dlp.projects.jobTriggers.delete": delete_project_job_trigger
"/dlp:v2beta2/dlp.projects.jobTriggers.delete/name": name
"/dlp:v2beta2/dlp.projects.jobTriggers.get": get_project_job_trigger
"/dlp:v2beta2/dlp.projects.jobTriggers.get/name": name
"/dlp:v2beta2/dlp.projects.jobTriggers.list": list_project_job_triggers
"/dlp:v2beta2/dlp.projects.jobTriggers.list/orderBy": order_by
"/dlp:v2beta2/dlp.projects.jobTriggers.list/pageSize": page_size
"/dlp:v2beta2/dlp.projects.jobTriggers.list/pageToken": page_token
"/dlp:v2beta2/dlp.projects.jobTriggers.list/parent": parent
"/dlp:v2beta2/dlp.projects.jobTriggers.patch": patch_project_job_trigger
"/dlp:v2beta2/dlp.projects.jobTriggers.patch/name": name
"/dlp:v2beta2/fields": fields
"/dlp:v2beta2/key": key
"/dlp:v2beta2/quotaUser": quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV1_1
VERSION = 'V1_1'
REVISION = '20171207'
REVISION = '20180211'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -52,7 +52,7 @@ module Google
# The purchase state of the order. Possible values are:
# - Purchased
# - Cancelled
# - Canceled
# Corresponds to the JSON property `purchaseState`
# @return [Fixnum]
attr_accessor :purchase_state
@ -67,6 +67,7 @@ module Google
# purchase was not made using the standard in-app billing flow. Possible values
# are:
# - Test (i.e. purchased from a license testing account)
# - Promo (i.e. purchased using a promo code)
# Corresponds to the JSON property `purchaseType`
# @return [Fixnum]
attr_accessor :purchase_type

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV2
VERSION = 'V2'
REVISION = '20180114'
REVISION = '20180211'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1096,7 +1096,7 @@ module Google
# The purchase state of the order. Possible values are:
# - Purchased
# - Cancelled
# - Canceled
# Corresponds to the JSON property `purchaseState`
# @return [Fixnum]
attr_accessor :purchase_state
@ -1111,6 +1111,7 @@ module Google
# purchase was not made using the standard in-app billing flow. Possible values
# are:
# - Test (i.e. purchased from a license testing account)
# - Promo (i.e. purchased using a promo code)
# Corresponds to the JSON property `purchaseType`
# @return [Fixnum]
attr_accessor :purchase_type
@ -1359,13 +1360,13 @@ module Google
attr_accessor :auto_renewing
alias_method :auto_renewing?, :auto_renewing
# The reason why a subscription was cancelled or is not auto-renewing. Possible
# The reason why a subscription was canceled or is not auto-renewing. Possible
# values are:
# - User cancelled the subscription
# - Subscription was cancelled by the system, for example because of a billing
# - User canceled the subscription
# - Subscription was canceled by the system, for example because of a billing
# problem
# - Subscription was replaced with a new subscription
# - Subscription was cancelled by the developer
# - Subscription was canceled by the developer
# Corresponds to the JSON property `cancelReason`
# @return [Fixnum]
attr_accessor :cancel_reason
@ -1740,7 +1741,7 @@ module Google
end
end
# A VoidedPurchase resource indicates a purchase that was either cancelled/
# A VoidedPurchase resource indicates a purchase that was either canceled/
# refunded/charged-back.
class VoidedPurchase
include Google::Apis::Core::Hashable
@ -1762,7 +1763,7 @@ module Google
# @return [String]
attr_accessor :purchase_token
# The time at which the purchase was cancelled/refunded/charged-back, in
# The time at which the purchase was canceled/refunded/charged-back, in
# milliseconds since the epoch (Jan 1, 1970).
# Corresponds to the JSON property `voidedTimeMillis`
# @return [Fixnum]

View File

@ -2355,7 +2355,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the purchases that were cancelled, refunded or charged-back.
# Lists the purchases that were canceled, refunded or charged-back.
# @param [String] package_name
# The package name of the application for which voided purchases need to be
# returned (for example, 'com.some.thing').

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2beta2
VERSION = 'V2beta2'
REVISION = '20180130'
REVISION = '20180213'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1582,6 +1582,33 @@ module Google
end
end
# A task to execute on the completion of a job.
class GooglePrivacyDlpV2beta2Action
include Google::Apis::Core::Hashable
# Publish the results of a DlpJob to a pub sub channel.
# Compatible with: Inpect, Risk
# Corresponds to the JSON property `pubSub`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PublishToPubSub]
attr_accessor :pub_sub
# If set, the detailed findings will be persisted to the specified
# OutputStorageConfig. Compatible with: Inspect
# Corresponds to the JSON property `saveFindings`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SaveFindings]
attr_accessor :save_findings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@pub_sub = args[:pub_sub] if args.key?(:pub_sub)
@save_findings = args[:save_findings] if args.key?(:save_findings)
end
end
# Result of a risk analysis operation request.
class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails
include Google::Apis::Core::Hashable
@ -1651,6 +1678,15 @@ module Google
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig]
attr_accessor :job_config
# Optional job ID to use for the created job. If not provided, a job ID will
# automatically be generated. Must be unique within the project. The job 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 `jobId`
# @return [String]
attr_accessor :job_id
def initialize(**args)
update!(**args)
end
@ -1658,6 +1694,7 @@ module Google
# Update properties of this object
def update!(**args)
@job_config = args[:job_config] if args.key?(:job_config)
@job_id = args[:job_id] if args.key?(:job_id)
end
end
@ -2039,6 +2076,12 @@ module Google
class GooglePrivacyDlpV2beta2CloudStorageOptions
include Google::Apis::Core::Hashable
# Max number of bytes to scan from a file. If a scanned file's size is bigger
# than this value then the rest of the bytes are omitted.
# Corresponds to the JSON property `bytesLimitPerFile`
# @return [Fixnum]
attr_accessor :bytes_limit_per_file
# Set of files to scan.
# Corresponds to the JSON property `fileSet`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet]
@ -2050,6 +2093,7 @@ module Google
# Update properties of this object
def update!(**args)
@bytes_limit_per_file = args[:bytes_limit_per_file] if args.key?(:bytes_limit_per_file)
@file_set = args[:file_set] if args.key?(:file_set)
end
end
@ -2252,6 +2296,34 @@ module Google
end
end
# Request message for CreateJobTrigger.
class GooglePrivacyDlpV2beta2CreateJobTriggerRequest
include Google::Apis::Core::Hashable
# Contains a configuration to make dlp api calls on a repeating basis.
# Corresponds to the JSON property `jobTrigger`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
attr_accessor :job_trigger
# The trigger 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 `triggerId`
# @return [String]
attr_accessor :trigger_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_trigger = args[:job_trigger] if args.key?(:job_trigger)
@trigger_id = args[:trigger_id] if args.key?(:trigger_id)
end
end
# Pseudonymization method that generates surrogates via cryptographic hashing.
# Uses SHA-256.
# The key size must be either 32 or 64 bytes.
@ -2392,6 +2464,13 @@ module Google
class GooglePrivacyDlpV2beta2CustomInfoType
include Google::Apis::Core::Hashable
# Set of detection rules to apply to all findings of this custom info type.
# Rules are applied in order that they are specified. Not supported for the
# `surrogate_type` custom info type.
# Corresponds to the JSON property `detectionRules`
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DetectionRule>]
attr_accessor :detection_rules
# 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.
@ -2419,6 +2498,18 @@ module Google
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType]
attr_accessor :info_type
# Likelihood to return for this custom info type. This base value can be
# altered by a detection rule if the finding meets the criteria specified by
# the rule. Defaults to `VERY_LIKELY` if not specified.
# Corresponds to the JSON property `likelihood`
# @return [String]
attr_accessor :likelihood
# Message defining a custom regular expression.
# Corresponds to the JSON property `regex`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Regex]
attr_accessor :regex
# Message for detecting output from deidentification transformations
# such as
# [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2beta1/content/
@ -2438,8 +2529,11 @@ module Google
# Update properties of this object
def update!(**args)
@detection_rules = args[:detection_rules] if args.key?(:detection_rules)
@dictionary = args[:dictionary] if args.key?(:dictionary)
@info_type = args[:info_type] if args.key?(:info_type)
@likelihood = args[:likelihood] if args.key?(:likelihood)
@regex = args[:regex] if args.key?(:regex)
@surrogate_type = args[:surrogate_type] if args.key?(:surrogate_type)
end
end
@ -2654,6 +2748,28 @@ module Google
end
end
# Rule for modifying a custom info type to alter behavior under certain
# circumstances, depending on the specific details of the rule. Not supported
# for the `surrogate_type` custom info type.
class GooglePrivacyDlpV2beta2DetectionRule
include Google::Apis::Core::Hashable
# Detection rule that adjusts the likelihood of findings within a certain
# proximity of hotwords.
# Corresponds to the JSON property `hotwordRule`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2HotwordRule]
attr_accessor :hotword_rule
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@hotword_rule = args[:hotword_rule] if args.key?(:hotword_rule)
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.
@ -2714,6 +2830,12 @@ module Google
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceDetails]
attr_accessor :inspect_details
# If created by a job trigger, the resource name of the trigger that
# instantiated the job.
# Corresponds to the JSON property `jobTriggerName`
# @return [String]
attr_accessor :job_trigger_name
# The server-assigned name.
# Corresponds to the JSON property `name`
# @return [String]
@ -2749,6 +2871,7 @@ module Google
@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)
@job_trigger_name = args[:job_trigger_name] if args.key?(:job_trigger_name)
@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)
@ -2780,6 +2903,69 @@ module Google
end
end
# The results of an unsuccessful activation of the JobTrigger.
class GooglePrivacyDlpV2beta2Error
include Google::Apis::Core::Hashable
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
# Corresponds to the JSON property `details`
# @return [Google::Apis::DlpV2beta2::GoogleRpcStatus]
attr_accessor :details
# The times the error occurred.
# Corresponds to the JSON property `timestamps`
# @return [Array<String>]
attr_accessor :timestamps
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@details = args[:details] if args.key?(:details)
@timestamps = args[:timestamps] if args.key?(:timestamps)
end
end
# An expression, consisting or an operator and conditions.
class GooglePrivacyDlpV2beta2Expressions
include Google::Apis::Core::Hashable
@ -3018,6 +3204,40 @@ module Google
end
end
# Detection rule that adjusts the likelihood of findings within a certain
# proximity of hotwords.
class GooglePrivacyDlpV2beta2HotwordRule
include Google::Apis::Core::Hashable
# Message defining a custom regular expression.
# Corresponds to the JSON property `hotwordRegex`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Regex]
attr_accessor :hotword_regex
# Message for specifying an adjustment to the likelihood of a finding as
# part of a detection rule.
# Corresponds to the JSON property `likelihoodAdjustment`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LikelihoodAdjustment]
attr_accessor :likelihood_adjustment
# Message for specifying a window around a finding to apply a detection
# rule.
# Corresponds to the JSON property `proximity`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Proximity]
attr_accessor :proximity
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@hotword_regex = args[:hotword_regex] if args.key?(:hotword_regex)
@likelihood_adjustment = args[:likelihood_adjustment] if args.key?(:likelihood_adjustment)
@proximity = args[:proximity] if args.key?(:proximity)
end
end
# Bounding box encompassing detected text within an image.
class GooglePrivacyDlpV2beta2ImageLocation
include Google::Apis::Core::Hashable
@ -3387,6 +3607,15 @@ module Google
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig]
attr_accessor :job_config
# Optional job ID to use for the created job. If not provided, a job ID will
# automatically be generated. Must be unique within the project. The job 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 `jobId`
# @return [String]
attr_accessor :job_id
def initialize(**args)
update!(**args)
end
@ -3394,6 +3623,7 @@ module Google
# Update properties of this object
def update!(**args)
@job_config = args[:job_config] if args.key?(:job_config)
@job_id = args[:job_id] if args.key?(:job_id)
end
end
@ -3401,6 +3631,12 @@ module Google
class GooglePrivacyDlpV2beta2InspectJobConfig
include Google::Apis::Core::Hashable
# Actions to execute at the completion of the job. Are executed in the order
# provided.
# Corresponds to the JSON property `actions`
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action>]
attr_accessor :actions
# Configuration description of the scanning process.
# When used with redactContent only info_types and min_likelihood are currently
# used.
@ -3431,6 +3667,7 @@ module Google
# Update properties of this object
def update!(**args)
@actions = args[:actions] if args.key?(:actions)
@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)
@ -3525,6 +3762,86 @@ module Google
end
end
# Contains a configuration to make dlp api calls on a repeating basis.
class GooglePrivacyDlpV2beta2JobTrigger
include Google::Apis::Core::Hashable
# The creation timestamp of a triggeredJob, output only field.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# User provided description (max 256 chars)
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Display name (max 100 chars)
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# A stream of errors encountered when the trigger was activated. Repeated
# errors may result in the JobTrigger automaticaly being paused.
# Will return the last 100 errors. Whenever the JobTrigger is modified
# this list will be cleared. Output only field.
# Corresponds to the JSON property `errors`
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Error>]
attr_accessor :errors
#
# Corresponds to the JSON property `inspectJob`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig]
attr_accessor :inspect_job
# The timestamp of the last time this trigger executed.
# Corresponds to the JSON property `lastRunTime`
# @return [String]
attr_accessor :last_run_time
# Unique resource name for the triggeredJob, assigned by the service when the
# triggeredJob is created, for example
# `projects/dlp-test-project/triggeredJobs/53234423`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# A status for this trigger. [required]
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
# A list of triggers which will be OR'ed together. Only one in the list
# needs to trigger for a job to be started. The list may contain only
# a single Schedule trigger and must have at least one object.
# Corresponds to the JSON property `triggers`
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Trigger>]
attr_accessor :triggers
# The last update timestamp of a triggeredJob, 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)
@errors = args[:errors] if args.key?(:errors)
@inspect_job = args[:inspect_job] if args.key?(:inspect_job)
@last_run_time = args[:last_run_time] if args.key?(:last_run_time)
@name = args[:name] if args.key?(:name)
@status = args[:status] if args.key?(:status)
@triggers = args[:triggers] if args.key?(:triggers)
@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
@ -3992,6 +4309,39 @@ module Google
end
end
# Message for specifying an adjustment to the likelihood of a finding as
# part of a detection rule.
class GooglePrivacyDlpV2beta2LikelihoodAdjustment
include Google::Apis::Core::Hashable
# Set the likelihood of a finding to a fixed value.
# Corresponds to the JSON property `fixedLikelihood`
# @return [String]
attr_accessor :fixed_likelihood
# Increase or decrease the likelihood by the specified number of
# levels. For example, if a finding would be `POSSIBLE` without the
# detection rule and `relative_likelihood` is 1, then it is upgraded to
# `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
# Likelihood may never drop below `VERY_UNLIKELY` or exceed
# `VERY_LIKELY`, so applying an adjustment of 1 followed by an
# adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
# a final likelihood of `LIKELY`.
# Corresponds to the JSON property `relativeLikelihood`
# @return [Fixnum]
attr_accessor :relative_likelihood
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@fixed_likelihood = args[:fixed_likelihood] if args.key?(:fixed_likelihood)
@relative_likelihood = args[:relative_likelihood] if args.key?(:relative_likelihood)
end
end
# Response message for ListDeidentifyTemplates.
class GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse
include Google::Apis::Core::Hashable
@ -4089,6 +4439,32 @@ module Google
end
end
# Response message for ListJobTriggers.
class GooglePrivacyDlpV2beta2ListJobTriggersResponse
include Google::Apis::Core::Hashable
# List of triggeredJobs, up to page_size in ListJobTriggersRequest.
# Corresponds to the JSON property `jobTriggers`
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger>]
attr_accessor :job_triggers
# If the next page is available then the next page token to be used
# in following ListJobTriggers 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)
@job_triggers = args[:job_triggers] if args.key?(:job_triggers)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# Specifies the location of the finding.
class GooglePrivacyDlpV2beta2Location
include Google::Apis::Core::Hashable
@ -4449,6 +4825,55 @@ module Google
end
end
# Message for specifying a window around a finding to apply a detection
# rule.
class GooglePrivacyDlpV2beta2Proximity
include Google::Apis::Core::Hashable
# Number of characters after the finding to consider.
# Corresponds to the JSON property `windowAfter`
# @return [Fixnum]
attr_accessor :window_after
# Number of characters before the finding to consider.
# Corresponds to the JSON property `windowBefore`
# @return [Fixnum]
attr_accessor :window_before
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@window_after = args[:window_after] if args.key?(:window_after)
@window_before = args[:window_before] if args.key?(:window_before)
end
end
# Publish the results of a DlpJob to a pub sub channel.
# Compatible with: Inpect, Risk
class GooglePrivacyDlpV2beta2PublishToPubSub
include Google::Apis::Core::Hashable
# Cloud Pub/Sub topic to send notifications to. The topic must have given
# publishing access rights to the DLP API service account executing
# the long running DlpJob sending the notifications.
# Format is projects/`project`/topics/`topic`.
# Corresponds to the JSON property `topic`
# @return [String]
attr_accessor :topic
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@topic = args[:topic] if args.key?(:topic)
end
end
# 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
@ -4678,6 +5103,25 @@ module Google
end
end
# Message defining a custom regular expression.
class GooglePrivacyDlpV2beta2Regex
include Google::Apis::Core::Hashable
# Pattern defining the regular expression.
# Corresponds to the JSON property `pattern`
# @return [String]
attr_accessor :pattern
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@pattern = args[:pattern] if args.key?(:pattern)
end
end
# Request to re-identify an item.
class GooglePrivacyDlpV2beta2ReidentifyContentRequest
include Google::Apis::Core::Hashable
@ -4857,6 +5301,12 @@ module Google
class GooglePrivacyDlpV2beta2RiskAnalysisJobConfig
include Google::Apis::Core::Hashable
# Actions to execute at the completion of the job. Are executed in the order
# provided.
# Corresponds to the JSON property `actions`
# @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action>]
attr_accessor :actions
# Privacy metric to compute for reidentification risk analysis.
# Corresponds to the JSON property `privacyMetric`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrivacyMetric]
@ -4877,6 +5327,7 @@ module Google
# Update properties of this object
def update!(**args)
@actions = args[:actions] if args.key?(:actions)
@privacy_metric = args[:privacy_metric] if args.key?(:privacy_metric)
@source_table = args[:source_table] if args.key?(:source_table)
end
@ -4901,6 +5352,50 @@ module Google
end
end
# If set, the detailed findings will be persisted to the specified
# OutputStorageConfig. Compatible with: Inspect
class GooglePrivacyDlpV2beta2SaveFindings
include Google::Apis::Core::Hashable
# Cloud repository for storing output.
# Corresponds to the JSON property `outputConfig`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2OutputStorageConfig]
attr_accessor :output_config
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@output_config = args[:output_config] if args.key?(:output_config)
end
end
# Schedule for triggeredJobs.
class GooglePrivacyDlpV2beta2Schedule
include Google::Apis::Core::Hashable
# With this option a job is started a regular periodic basis. For
# example: every 10 minutes.
# A scheduled start time will be skipped if the previous
# execution has not ended when its scheduled time occurs.
# This value must be set to a time duration greater than or equal
# to 60 minutes and can be no longer than 60 days.
# Corresponds to the JSON property `reccurrencePeriodDuration`
# @return [String]
attr_accessor :reccurrence_period_duration
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@reccurrence_period_duration = args[:reccurrence_period_duration] if args.key?(:reccurrence_period_duration)
end
end
# Shared message indicating Cloud storage type.
class GooglePrivacyDlpV2beta2StorageConfig
include Google::Apis::Core::Hashable
@ -4921,6 +5416,12 @@ module Google
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions]
attr_accessor :datastore_options
# Configuration of the timespan of the items to include in scanning.
# Currently only supported when inspecting Google Cloud Storage and BigQuery.
# Corresponds to the JSON property `timespanConfig`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimespanConfig]
attr_accessor :timespan_config
def initialize(**args)
update!(**args)
end
@ -4930,6 +5431,7 @@ module Google
@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)
@timespan_config = args[:timespan_config] if args.key?(:timespan_config)
end
end
@ -5096,6 +5598,43 @@ module Google
end
end
# Configuration of the timespan of the items to include in scanning.
# Currently only supported when inspecting Google Cloud Storage and BigQuery.
class GooglePrivacyDlpV2beta2TimespanConfig
include Google::Apis::Core::Hashable
# When the job is started by a JobTrigger we will automatically figure out
# a valid start_time to avoid scanning files that have not been modified
# since the last time the JobTrigger executed. This will be based on the
# time of the execution of the last run of the JobTrigger.
# Corresponds to the JSON property `enableAutoPopulationOfTimespanConfig`
# @return [Boolean]
attr_accessor :enable_auto_population_of_timespan_config
alias_method :enable_auto_population_of_timespan_config?, :enable_auto_population_of_timespan_config
# Exclude files newer than this value.
# If set to zero, no upper time limit is applied.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# Exclude files older than this value.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_auto_population_of_timespan_config = args[:enable_auto_population_of_timespan_config] if args.key?(:enable_auto_population_of_timespan_config)
@end_time = args[:end_time] if args.key?(:end_time)
@start_time = args[:start_time] if args.key?(:start_time)
end
end
# Overview of the modifications that occurred.
class GooglePrivacyDlpV2beta2TransformationOverview
include Google::Apis::Core::Hashable
@ -5206,6 +5745,25 @@ module Google
end
end
# What event needs to occur for a new job to be started.
class GooglePrivacyDlpV2beta2Trigger
include Google::Apis::Core::Hashable
# Schedule for triggeredJobs.
# Corresponds to the JSON property `schedule`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Schedule]
attr_accessor :schedule
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@schedule = args[:schedule] if args.key?(:schedule)
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
@ -5279,6 +5837,31 @@ module Google
end
end
# Request message for UpdateJobTrigger.
class GooglePrivacyDlpV2beta2UpdateJobTriggerRequest
include Google::Apis::Core::Hashable
# Contains a configuration to make dlp api calls on a repeating basis.
# Corresponds to the JSON property `jobTrigger`
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
attr_accessor :job_trigger
# 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)
@job_trigger = args[:job_trigger] if args.key?(:job_trigger)
@update_mask = args[:update_mask] if args.key?(:update_mask)
end
end
# Set of primitive values supported by the system.
# Note that for the purposes of inspection or transformation, the number
# of bytes considered to comprise a 'Value' is based on its representation

View File

@ -316,6 +316,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Action
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -442,6 +448,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2CreateJobTriggerRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2CryptoHashConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -502,6 +514,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2DetectionRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Dictionary
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -520,6 +538,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Error
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Expressions
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -562,6 +586,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2HotwordRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2ImageLocation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -658,6 +688,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2JobTrigger
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2KAnonymityConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -748,6 +784,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2LikelihoodAdjustment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -772,6 +814,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2ListJobTriggersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Location
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -820,6 +868,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Proximity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2PublishToPubSub
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2QuasiIdField
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -874,6 +934,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Regex
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2ReidentifyContentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -922,6 +988,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2SaveFindings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Schedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2StorageConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -964,6 +1042,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2TimespanConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2TransformationOverview
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -982,6 +1066,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Trigger
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2UnwrappedCryptoKey
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1000,6 +1090,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2UpdateJobTriggerRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2beta2Value
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1526,6 +1622,16 @@ module Google
end
end
class GooglePrivacyDlpV2beta2Action
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :pub_sub, as: 'pubSub', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PublishToPubSub, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PublishToPubSub::Representation
property :save_findings, as: 'saveFindings', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SaveFindings, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SaveFindings::Representation
end
end
class GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1551,6 +1657,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :job_config, as: 'jobConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig::Representation
property :job_id, as: 'jobId'
end
end
@ -1668,6 +1775,7 @@ module Google
class GooglePrivacyDlpV2beta2CloudStorageOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bytes_limit_per_file, :numeric_string => true, as: 'bytesLimitPerFile'
property :file_set, as: 'fileSet', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FileSet::Representation
end
@ -1730,6 +1838,15 @@ module Google
end
end
class GooglePrivacyDlpV2beta2CreateJobTriggerRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :job_trigger, as: 'jobTrigger', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger::Representation
property :trigger_id, as: 'triggerId'
end
end
class GooglePrivacyDlpV2beta2CryptoHashConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1768,10 +1885,15 @@ module Google
class GooglePrivacyDlpV2beta2CustomInfoType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :detection_rules, as: 'detectionRules', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DetectionRule, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DetectionRule::Representation
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 :likelihood, as: 'likelihood'
property :regex, as: 'regex', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Regex, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Regex::Representation
property :surrogate_type, as: 'surrogateType', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SurrogateType, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SurrogateType::Representation
end
@ -1842,6 +1964,14 @@ module Google
end
end
class GooglePrivacyDlpV2beta2DetectionRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :hotword_rule, as: 'hotwordRule', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2HotwordRule, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2HotwordRule::Representation
end
end
class GooglePrivacyDlpV2beta2Dictionary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1859,6 +1989,7 @@ module Google
property :inspect_details, as: 'inspectDetails', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceDetails, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceDetails::Representation
property :job_trigger_name, as: 'jobTriggerName'
property :name, as: 'name'
property :risk_details, as: 'riskDetails', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskDetails::Representation
@ -1876,6 +2007,15 @@ module Google
end
end
class GooglePrivacyDlpV2beta2Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :details, as: 'details', class: Google::Apis::DlpV2beta2::GoogleRpcStatus, decorator: Google::Apis::DlpV2beta2::GoogleRpcStatus::Representation
collection :timestamps, as: 'timestamps'
end
end
class GooglePrivacyDlpV2beta2Expressions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1947,6 +2087,18 @@ module Google
end
end
class GooglePrivacyDlpV2beta2HotwordRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :hotword_regex, as: 'hotwordRegex', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Regex, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Regex::Representation
property :likelihood_adjustment, as: 'likelihoodAdjustment', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LikelihoodAdjustment, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2LikelihoodAdjustment::Representation
property :proximity, as: 'proximity', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Proximity, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Proximity::Representation
end
end
class GooglePrivacyDlpV2beta2ImageLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2069,12 +2221,15 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :job_config, as: 'jobConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig::Representation
property :job_id, as: 'jobId'
end
end
class GooglePrivacyDlpV2beta2InspectJobConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :actions, as: 'actions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action::Representation
property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig::Representation
property :inspect_template_name, as: 'inspectTemplateName'
@ -2107,6 +2262,25 @@ module Google
end
end
class GooglePrivacyDlpV2beta2JobTrigger
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :description, as: 'description'
property :display_name, as: 'displayName'
collection :errors, as: 'errors', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Error, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Error::Representation
property :inspect_job, as: 'inspectJob', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig::Representation
property :last_run_time, as: 'lastRunTime'
property :name, as: 'name'
property :status, as: 'status'
collection :triggers, as: 'triggers', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Trigger, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Trigger::Representation
property :update_time, as: 'updateTime'
end
end
class GooglePrivacyDlpV2beta2KAnonymityConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2250,6 +2424,14 @@ module Google
end
end
class GooglePrivacyDlpV2beta2LikelihoodAdjustment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :fixed_likelihood, as: 'fixedLikelihood'
property :relative_likelihood, as: 'relativeLikelihood'
end
end
class GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2285,6 +2467,15 @@ module Google
end
end
class GooglePrivacyDlpV2beta2ListJobTriggersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_triggers, as: 'jobTriggers', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GooglePrivacyDlpV2beta2Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2388,6 +2579,21 @@ module Google
end
end
class GooglePrivacyDlpV2beta2Proximity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :window_after, as: 'windowAfter'
property :window_before, as: 'windowBefore'
end
end
class GooglePrivacyDlpV2beta2PublishToPubSub
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :topic, as: 'topic'
end
end
class GooglePrivacyDlpV2beta2QuasiIdField
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2467,6 +2673,13 @@ module Google
end
end
class GooglePrivacyDlpV2beta2Regex
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :pattern, as: 'pattern'
end
end
class GooglePrivacyDlpV2beta2ReidentifyContentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2528,6 +2741,8 @@ module Google
class GooglePrivacyDlpV2beta2RiskAnalysisJobConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :actions, as: 'actions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action::Representation
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
@ -2543,6 +2758,21 @@ module Google
end
end
class GooglePrivacyDlpV2beta2SaveFindings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_config, as: 'outputConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2OutputStorageConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2OutputStorageConfig::Representation
end
end
class GooglePrivacyDlpV2beta2Schedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :reccurrence_period_duration, as: 'reccurrencePeriodDuration'
end
end
class GooglePrivacyDlpV2beta2StorageConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2552,6 +2782,8 @@ module Google
property :datastore_options, as: 'datastoreOptions', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreOptions::Representation
property :timespan_config, as: 'timespanConfig', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimespanConfig, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimespanConfig::Representation
end
end
@ -2607,6 +2839,15 @@ module Google
end
end
class GooglePrivacyDlpV2beta2TimespanConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_auto_population_of_timespan_config, as: 'enableAutoPopulationOfTimespanConfig'
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
end
end
class GooglePrivacyDlpV2beta2TransformationOverview
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2642,6 +2883,14 @@ module Google
end
end
class GooglePrivacyDlpV2beta2Trigger
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :schedule, as: 'schedule', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Schedule, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Schedule::Representation
end
end
class GooglePrivacyDlpV2beta2UnwrappedCryptoKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2667,6 +2916,15 @@ module Google
end
end
class GooglePrivacyDlpV2beta2UpdateJobTriggerRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :job_trigger, as: 'jobTrigger', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger::Representation
property :update_mask, as: 'updateMask'
end
end
class GooglePrivacyDlpV2beta2Value
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -886,6 +886,7 @@ module Google
# * Supported fields/values for inspect jobs:
# - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
# - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
# - `trigger_name` - The resource name of the trigger that created job.
# * Supported fields for risk analysis jobs:
# - `state` - RUNNING|CANCELED|FINISHED|FAILED
# * The operator must be `=` or `!=`.
@ -1138,6 +1139,186 @@ module Google
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a job to run DLP actions such as scanning storage for sensitive
# information on a set schedule.
# @param [String] parent
# The parent resource name, for example projects/my-project-id.
# @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateJobTriggerRequest] google_privacy_dlp_v2beta2_create_job_trigger_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should 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::GooglePrivacyDlpV2beta2JobTrigger] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_job_trigger(parent, google_privacy_dlp_v2beta2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta2/{+parent}/jobTriggers', options)
command.request_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CreateJobTriggerRequest::Representation
command.request_object = google_privacy_dlp_v2beta2_create_job_trigger_request_object
command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger::Representation
command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a job trigger.
# @param [String] name
# Resource name of the project and the triggeredJob, for example
# `projects/dlp-test-project/jobTriggers/53234423`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should 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_job_trigger(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 a job trigger.
# @param [String] name
# Resource name of the project and the triggeredJob, for example
# `projects/dlp-test-project/jobTriggers/53234423`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should 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::GooglePrivacyDlpV2beta2JobTrigger] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta2/{+name}', options)
command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger::Representation
command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger
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 job triggers.
# @param [String] parent
# The parent resource name, for example projects/my-project-id.
# @param [String] order_by
# Optional comma separated list of triggeredJob fields to order by,
# followed by 'asc/desc' postfix, i.e.
# `"create_time asc,name desc,schedule_mode asc"`. This list is
# case-insensitive.
# Example: `"name asc,schedule_mode desc, status desc"`
# Supported filters keys and values are:
# - `create_time`: corresponds to time the triggeredJob was created.
# - `update_time`: corresponds to time the triggeredJob was last updated.
# - `name`: corresponds to JobTrigger's display name.
# - `status`: corresponds to the triggeredJob status.
# @param [Fixnum] page_size
# Optional size of the page, can be limited by a server.
# @param [String] page_token
# Optional page token to continue retrieval. Comes from previous call
# to ListJobTriggers. `order_by` and `filter` should not change for
# subsequent calls, but can be omitted if token is specified.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should 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::GooglePrivacyDlpV2beta2ListJobTriggersResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListJobTriggersResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_job_triggers(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta2/{+parent}/jobTriggers', options)
command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListJobTriggersResponse::Representation
command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListJobTriggersResponse
command.params['parent'] = parent unless parent.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates a job trigger.
# @param [String] name
# Resource name of the project and the triggeredJob, for example
# `projects/dlp-test-project/jobTriggers/53234423`.
# @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateJobTriggerRequest] google_privacy_dlp_v2beta2_update_job_trigger_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should 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::GooglePrivacyDlpV2beta2JobTrigger] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_job_trigger(name, google_privacy_dlp_v2beta2_update_job_trigger_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::GooglePrivacyDlpV2beta2UpdateJobTriggerRequest::Representation
command.request_object = google_privacy_dlp_v2beta2_update_job_trigger_request_object
command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger::Representation
command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger
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

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20180122'
REVISION = '20180209'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

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

View File

@ -345,32 +345,11 @@ module Google
# @return [String]
attr_accessor :error_message
# `etag` is used for optimistic concurrency control as a way to help
# prevent simultaneous updates of a job from overwriting each other.
# It is strongly suggested that systems make use of the `etag` in the
# read-modify-write cycle to perform job updates in order to avoid race
# conditions: An `etag` is returned in the response to `GetJob`, and
# systems are expected to put that etag in the request to `UpdateJob` to
# ensure that their change will be applied to the same version of the job.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# Required. The user-specified id of the job.
# Corresponds to the JSON property `jobId`
# @return [String]
attr_accessor :job_id
# Optional. One or more labels that you can add, to organize your jobs.
# Each label is a key-value pair, where both the key and the value are
# arbitrary strings that you supply.
# For more information, see the documentation on
# <a href="/ml-engine/docs/how-tos/resource-labels">using labels</a>.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Represents input parameters for a prediction job.
# Corresponds to the JSON property `predictionInput`
# @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionInput]
@ -415,9 +394,7 @@ module Google
@create_time = args[:create_time] if args.key?(:create_time)
@end_time = args[:end_time] if args.key?(:end_time)
@error_message = args[:error_message] if args.key?(:error_message)
@etag = args[:etag] if args.key?(:etag)
@job_id = args[:job_id] if args.key?(:job_id)
@labels = args[:labels] if args.key?(:labels)
@prediction_input = args[:prediction_input] if args.key?(:prediction_input)
@prediction_output = args[:prediction_output] if args.key?(:prediction_output)
@start_time = args[:start_time] if args.key?(:start_time)
@ -601,27 +578,6 @@ module Google
# @return [String]
attr_accessor :description
# `etag` is used for optimistic concurrency control as a way to help
# prevent simultaneous updates of a model from overwriting each other.
# It is strongly suggested that systems make use of the `etag` in the
# read-modify-write cycle to perform model updates in order to avoid race
# conditions: An `etag` is returned in the response to `GetModel`, and
# systems are expected to put that etag in the request to `UpdateModel` to
# ensure that their change will be applied to the model as intended.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# Optional. One or more labels that you can add, to organize your models.
# Each label is a key-value pair, where both the key and the value are
# arbitrary strings that you supply.
# For more information, see the documentation on
# <a href="/ml-engine/docs/how-tos/resource-labels">using labels</a>.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Required. The name specified for the model when it was created.
# The model name must be unique within the project it is created in.
# Corresponds to the JSON property `name`
@ -658,8 +614,6 @@ module Google
def update!(**args)
@default_version = args[:default_version] if args.key?(:default_version)
@description = args[:description] if args.key?(:description)
@etag = args[:etag] if args.key?(:etag)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@online_prediction_logging = args[:online_prediction_logging] if args.key?(:online_prediction_logging)
@regions = args[:regions] if args.key?(:regions)
@ -686,12 +640,6 @@ module Google
attr_accessor :is_cancellation_requested
alias_method :is_cancellation_requested?, :is_cancellation_requested
# The user labels, inherited from the model or the model version being
# operated on.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Contains the name of the model associated with the operation.
# Corresponds to the JSON property `modelName`
# @return [String]
@ -732,7 +680,6 @@ module Google
@create_time = args[:create_time] if args.key?(:create_time)
@end_time = args[:end_time] if args.key?(:end_time)
@is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested)
@labels = args[:labels] if args.key?(:labels)
@model_name = args[:model_name] if args.key?(:model_name)
@operation_type = args[:operation_type] if args.key?(:operation_type)
@project_number = args[:project_number] if args.key?(:project_number)
@ -1288,18 +1235,6 @@ module Google
# @return [String]
attr_accessor :error_message
# `etag` is used for optimistic concurrency control as a way to help
# prevent simultaneous updates of a model from overwriting each other.
# It is strongly suggested that systems make use of the `etag` in the
# read-modify-write cycle to perform model updates in order to avoid race
# conditions: An `etag` is returned in the response to `GetVersion`, and
# systems are expected to put that etag in the request to `UpdateVersion` to
# ensure that their change will be applied to the model as intended.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# Output only. If true, this version will be used to handle prediction
# requests that do not specify a version.
# You can change the default version by calling
@ -1310,15 +1245,6 @@ module Google
attr_accessor :is_default
alias_method :is_default?, :is_default
# Optional. One or more labels that you can add, to organize your model
# versions. Each label is a key-value pair, where both the key and the value
# are arbitrary strings that you supply.
# For more information, see the documentation on
# <a href="/ml-engine/docs/how-tos/resource-labels">using labels</a>.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Output only. The time the version was last used for prediction.
# Corresponds to the JSON property `lastUseTime`
# @return [String]
@ -1357,9 +1283,7 @@ module Google
@deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri)
@description = args[:description] if args.key?(:description)
@error_message = args[:error_message] if args.key?(:error_message)
@etag = args[:etag] if args.key?(:etag)
@is_default = args[:is_default] if args.key?(:is_default)
@labels = args[:labels] if args.key?(:labels)
@last_use_time = args[:last_use_time] if args.key?(:last_use_time)
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
@name = args[:name] if args.key?(:name)
@ -1372,14 +1296,6 @@ module Google
class GoogleIamV1Binding
include Google::Apis::Core::Hashable
# Represents an expression text. Example:
# title: "User account presence"
# description: "Determines whether the request has a user account"
# expression: "size(request.user) > 0"
# Corresponds to the JSON property `condition`
# @return [Google::Apis::MlV1::GoogleTypeExpr]
attr_accessor :condition
# Specifies the identities requesting access for a Cloud Platform resource.
# `members` can have the following values:
# * `allUsers`: A special identifier that represents anyone who is
@ -1411,7 +1327,6 @@ module Google
# Update properties of this object
def update!(**args)
@condition = args[:condition] if args.key?(:condition)
@members = args[:members] if args.key?(:members)
@role = args[:role] if args.key?(:role)
end
@ -1517,15 +1432,6 @@ module Google
# @return [Google::Apis::MlV1::GoogleIamV1Policy]
attr_accessor :policy
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
# the fields in the mask will be modified. If no mask is provided, the
# following default mask is used:
# paths: "bindings, etag"
# This field is only used by Cloud IAM.
# Corresponds to the JSON property `updateMask`
# @return [String]
attr_accessor :update_mask
def initialize(**args)
update!(**args)
end
@ -1533,7 +1439,6 @@ module Google
# Update properties of this object
def update!(**args)
@policy = args[:policy] if args.key?(:policy)
@update_mask = args[:update_mask] if args.key?(:update_mask)
end
end
@ -1791,53 +1696,6 @@ module Google
@message = args[:message] if args.key?(:message)
end
end
# Represents an expression text. Example:
# title: "User account presence"
# description: "Determines whether the request has a user account"
# expression: "size(request.user) > 0"
class GoogleTypeExpr
include Google::Apis::Core::Hashable
# An optional description of the expression. This is a longer text which
# describes the expression, e.g. when hovered over it in a UI.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Textual representation of an expression in
# Common Expression Language syntax.
# The application context of the containing message determines which
# well-known feature set of CEL is supported.
# Corresponds to the JSON property `expression`
# @return [String]
attr_accessor :expression
# An optional string indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# An optional title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the
# expression.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@expression = args[:expression] if args.key?(:expression)
@location = args[:location] if args.key?(:location)
@title = args[:title] if args.key?(:title)
end
end
end
end
end

View File

@ -226,12 +226,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleTypeExpr
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleApiHttpBody
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -311,9 +305,7 @@ module Google
property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
property :error_message, as: 'errorMessage'
property :etag, :base64 => true, as: 'etag'
property :job_id, as: 'jobId'
hash :labels, as: 'labels'
property :prediction_input, as: 'predictionInput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput::Representation
property :prediction_output, as: 'predictionOutput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput::Representation
@ -385,8 +377,6 @@ module Google
property :default_version, as: 'defaultVersion', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation
property :description, as: 'description'
property :etag, :base64 => true, as: 'etag'
hash :labels, as: 'labels'
property :name, as: 'name'
property :online_prediction_logging, as: 'onlinePredictionLogging'
collection :regions, as: 'regions'
@ -399,7 +389,6 @@ module Google
property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
property :is_cancellation_requested, as: 'isCancellationRequested'
hash :labels, as: 'labels'
property :model_name, as: 'modelName'
property :operation_type, as: 'operationType'
property :project_number, :numeric_string => true, as: 'projectNumber'
@ -504,9 +493,7 @@ module Google
property :deployment_uri, as: 'deploymentUri'
property :description, as: 'description'
property :error_message, as: 'errorMessage'
property :etag, :base64 => true, as: 'etag'
property :is_default, as: 'isDefault'
hash :labels, as: 'labels'
property :last_use_time, as: 'lastUseTime'
property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation
@ -519,8 +506,6 @@ module Google
class GoogleIamV1Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :condition, as: 'condition', class: Google::Apis::MlV1::GoogleTypeExpr, decorator: Google::Apis::MlV1::GoogleTypeExpr::Representation
collection :members, as: 'members'
property :role, as: 'role'
end
@ -541,7 +526,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :policy, as: 'policy', class: Google::Apis::MlV1::GoogleIamV1Policy, decorator: Google::Apis::MlV1::GoogleIamV1Policy::Representation
property :update_mask, as: 'updateMask'
end
end
@ -594,16 +578,6 @@ module Google
property :message, as: 'message'
end
end
class GoogleTypeExpr
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :expression, as: 'expression'
property :location, as: 'location'
property :title, as: 'title'
end
end
end
end
end

View File

@ -300,59 +300,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a specific job resource.
# Currently the only supported fields to update are `labels`.
# @param [String] name
# Required. The job name.
# @param [Google::Apis::MlV1::GoogleCloudMlV1Job] google_cloud_ml_v1__job_object
# @param [String] update_mask
# Required. Specifies the path, relative to `Job`, of the field to update.
# To adopt etag mechanism, include `etag` field in the mask, and include the
# `etag` value in your job resource.
# For example, to change the labels of a job, the `update_mask` parameter
# would be specified as `labels`, `etag`, and the
# `PATCH` request body would specify the new value, as follows:
# `
# "labels": `
# "owner": "Google",
# "color": "Blue"
# `
# "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4"
# `
# If `etag` matches the one on the server, the labels of the job will be
# replaced with the given ones, and the server end `etag` will be
# recalculated.
# Currently the only supported update masks are `labels` and `etag`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::MlV1::GoogleCloudMlV1Job]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_project_job(name, google_cloud_ml_v1__job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
command.request_object = google_cloud_ml_v1__job_object
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job
command.params['name'] = name unless name.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# @param [String] resource
@ -702,11 +649,8 @@ module Google
# "name":"version_1"
# `
# `
# In this example, the model is blindly overwritten since no etag is given.
# To adopt etag mechanism, include `etag` field in the mask, and include the
# `etag` value in your model resource.
# Currently the supported update masks are `description`,
# `default_version.name`, `labels`, and `etag`.
# Currently the supported update masks are `description` and
# `default_version.name`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -986,11 +930,7 @@ module Google
# `
# "description": "foo"
# `
# In this example, the version is blindly overwritten since no etag is given.
# To adopt etag mechanism, include `etag` field in the mask, and include the
# `etag` value in your version resource.
# Currently the only supported update masks are `description`, `labels`, and
# `etag`, and `expire_time`.
# Currently the only supported update mask is`description`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user