From 37945ed3ef8a7aaa5e9b65577a968c8c80fbffd8 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 31 May 2018 00:37:11 +0000 Subject: [PATCH] Autogenerated update (2018-05-31) Update: - androidpublisher_v3 - dlp_v2 - storagetransfer_v1 --- api_names_out.yaml | 35 +++ generated/google/apis/androidpublisher_v3.rb | 2 +- .../apis/androidpublisher_v3/classes.rb | 5 +- generated/google/apis/dlp_v2.rb | 2 +- generated/google/apis/dlp_v2/classes.rb | 282 +++++++++++++++++- .../google/apis/dlp_v2/representations.rb | 120 ++++++++ generated/google/apis/storagetransfer_v1.rb | 2 +- 7 files changed, 440 insertions(+), 8 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index fabf213d3..d8289c669 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -51047,6 +51047,7 @@ "/dlp:v2/GooglePrivacyDlpV2Action/saveFindings": save_findings "/dlp:v2/GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails": google_privacy_dlp_v2_analyze_data_source_risk_details "/dlp:v2/GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails/categoricalStatsResult": categorical_stats_result +"/dlp:v2/GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails/deltaPresenceEstimationResult": delta_presence_estimation_result "/dlp:v2/GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails/kAnonymityResult": k_anonymity_result "/dlp:v2/GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails/kMapEstimationResult": k_map_estimation_result "/dlp:v2/GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails/lDiversityResult": l_diversity_result @@ -51207,6 +51208,26 @@ "/dlp:v2/GooglePrivacyDlpV2DeidentifyTemplate/displayName": display_name "/dlp:v2/GooglePrivacyDlpV2DeidentifyTemplate/name": name "/dlp:v2/GooglePrivacyDlpV2DeidentifyTemplate/updateTime": update_time +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationConfig": google_privacy_dlp_v2_delta_presence_estimation_config +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationConfig/auxiliaryTables": auxiliary_tables +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationConfig/auxiliaryTables/auxiliary_table": auxiliary_table +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationConfig/quasiIds": quasi_ids +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationConfig/quasiIds/quasi_id": quasi_id +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationConfig/regionCode": region_code +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket": google_privacy_dlp_v2_delta_presence_estimation_histogram_bucket +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket/bucketSize": bucket_size +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket/bucketValueCount": bucket_value_count +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket/bucketValues": bucket_values +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket/bucketValues/bucket_value": bucket_value +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket/maxProbability": max_probability +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket/minProbability": min_probability +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues": google_privacy_dlp_v2_delta_presence_estimation_quasi_id_values +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues/estimatedProbability": estimated_probability +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues/quasiIdsValues": quasi_ids_values +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues/quasiIdsValues/quasi_ids_value": quasi_ids_value +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationResult": google_privacy_dlp_v2_delta_presence_estimation_result +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationResult/deltaPresenceEstimationHistogram": delta_presence_estimation_histogram +"/dlp:v2/GooglePrivacyDlpV2DeltaPresenceEstimationResult/deltaPresenceEstimationHistogram/delta_presence_estimation_histogram": delta_presence_estimation_histogram "/dlp:v2/GooglePrivacyDlpV2DetectionRule": google_privacy_dlp_v2_detection_rule "/dlp:v2/GooglePrivacyDlpV2DetectionRule/hotwordRule": hotword_rule "/dlp:v2/GooglePrivacyDlpV2Dictionary": google_privacy_dlp_v2_dictionary @@ -51467,6 +51488,7 @@ "/dlp:v2/GooglePrivacyDlpV2PrimitiveTransformation/timePartConfig": time_part_config "/dlp:v2/GooglePrivacyDlpV2PrivacyMetric": google_privacy_dlp_v2_privacy_metric "/dlp:v2/GooglePrivacyDlpV2PrivacyMetric/categoricalStatsConfig": categorical_stats_config +"/dlp:v2/GooglePrivacyDlpV2PrivacyMetric/deltaPresenceEstimationConfig": delta_presence_estimation_config "/dlp:v2/GooglePrivacyDlpV2PrivacyMetric/kAnonymityConfig": k_anonymity_config "/dlp:v2/GooglePrivacyDlpV2PrivacyMetric/kMapEstimationConfig": k_map_estimation_config "/dlp:v2/GooglePrivacyDlpV2PrivacyMetric/lDiversityConfig": l_diversity_config @@ -51477,9 +51499,17 @@ "/dlp:v2/GooglePrivacyDlpV2PublishSummaryToCscc": google_privacy_dlp_v2_publish_summary_to_cscc "/dlp:v2/GooglePrivacyDlpV2PublishToPubSub": google_privacy_dlp_v2_publish_to_pub_sub "/dlp:v2/GooglePrivacyDlpV2PublishToPubSub/topic": topic +"/dlp:v2/GooglePrivacyDlpV2QuasiId": google_privacy_dlp_v2_quasi_id +"/dlp:v2/GooglePrivacyDlpV2QuasiId/customTag": custom_tag +"/dlp:v2/GooglePrivacyDlpV2QuasiId/field": field +"/dlp:v2/GooglePrivacyDlpV2QuasiId/inferred": inferred +"/dlp:v2/GooglePrivacyDlpV2QuasiId/infoType": info_type "/dlp:v2/GooglePrivacyDlpV2QuasiIdField": google_privacy_dlp_v2_quasi_id_field "/dlp:v2/GooglePrivacyDlpV2QuasiIdField/customTag": custom_tag "/dlp:v2/GooglePrivacyDlpV2QuasiIdField/field": field +"/dlp:v2/GooglePrivacyDlpV2QuasiIdentifierField": google_privacy_dlp_v2_quasi_identifier_field +"/dlp:v2/GooglePrivacyDlpV2QuasiIdentifierField/customTag": custom_tag +"/dlp:v2/GooglePrivacyDlpV2QuasiIdentifierField/field": field "/dlp:v2/GooglePrivacyDlpV2QuoteInfo": google_privacy_dlp_v2_quote_info "/dlp:v2/GooglePrivacyDlpV2QuoteInfo/dateTime": date_time "/dlp:v2/GooglePrivacyDlpV2Range": google_privacy_dlp_v2_range @@ -51544,6 +51574,11 @@ "/dlp:v2/GooglePrivacyDlpV2SaveFindings/outputConfig": output_config "/dlp:v2/GooglePrivacyDlpV2Schedule": google_privacy_dlp_v2_schedule "/dlp:v2/GooglePrivacyDlpV2Schedule/recurrencePeriodDuration": recurrence_period_duration +"/dlp:v2/GooglePrivacyDlpV2StatisticalTable": google_privacy_dlp_v2_statistical_table +"/dlp:v2/GooglePrivacyDlpV2StatisticalTable/quasiIds": quasi_ids +"/dlp:v2/GooglePrivacyDlpV2StatisticalTable/quasiIds/quasi_id": quasi_id +"/dlp:v2/GooglePrivacyDlpV2StatisticalTable/relativeFrequency": relative_frequency +"/dlp:v2/GooglePrivacyDlpV2StatisticalTable/table": table "/dlp:v2/GooglePrivacyDlpV2StorageConfig": google_privacy_dlp_v2_storage_config "/dlp:v2/GooglePrivacyDlpV2StorageConfig/bigQueryOptions": big_query_options "/dlp:v2/GooglePrivacyDlpV2StorageConfig/cloudStorageOptions": cloud_storage_options diff --git a/generated/google/apis/androidpublisher_v3.rb b/generated/google/apis/androidpublisher_v3.rb index 2660b2ba3..7025b9a42 100644 --- a/generated/google/apis/androidpublisher_v3.rb +++ b/generated/google/apis/androidpublisher_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV3 VERSION = 'V3' - REVISION = '20180516' + REVISION = '20180528' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v3/classes.rb b/generated/google/apis/androidpublisher_v3/classes.rb index 3823c4ef0..68c70c141 100644 --- a/generated/google/apis/androidpublisher_v3/classes.rb +++ b/generated/google/apis/androidpublisher_v3/classes.rb @@ -1639,8 +1639,7 @@ module Google # @return [Array] attr_accessor :releases - # Identifier for this track. One of "alpha", "beta", "production", "rollout" or " - # internal". + # Identifier for this track. # Corresponds to the JSON property `track` # @return [String] attr_accessor :track @@ -1677,7 +1676,7 @@ module Google # @return [String] attr_accessor :status - # Fraction of users who are eligible to receive the release. 0 <= fraction < 1. + # Fraction of users who are eligible to receive the release. 0 < fraction < 1. # To be set, release status must be "inProgress" or "halted". # Corresponds to the JSON property `userFraction` # @return [Float] diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 0efe5d12a..72ca7e5f6 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2 VERSION = 'V2' - REVISION = '20180522' + REVISION = '20180529' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index 31b6764eb..bf0bf4a1d 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -75,6 +75,12 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsResult] attr_accessor :categorical_stats_result + # Result of the δ-presence computation. Note that these results are an + # estimation, not exact values. + # Corresponds to the JSON property `deltaPresenceEstimationResult` + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationResult] + attr_accessor :delta_presence_estimation_result + # Result of the k-anonymity computation. # Corresponds to the JSON property `kAnonymityResult` # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityResult] @@ -117,6 +123,7 @@ module Google # Update properties of this object def update!(**args) @categorical_stats_result = args[:categorical_stats_result] if args.key?(:categorical_stats_result) + @delta_presence_estimation_result = args[:delta_presence_estimation_result] if args.key?(:delta_presence_estimation_result) @k_anonymity_result = args[:k_anonymity_result] if args.key?(:k_anonymity_result) @k_map_estimation_result = args[:k_map_estimation_result] if args.key?(:k_map_estimation_result) @l_diversity_result = args[:l_diversity_result] if args.key?(:l_diversity_result) @@ -1482,13 +1489,163 @@ module Google end end + # δ-presence metric, used to estimate how likely it is for an attacker to + # figure out that one given individual appears in a de-identified dataset. + # Similarly to the k-map metric, we cannot compute δ-presence exactly without + # knowing the attack dataset, so we use a statistical model instead. + class GooglePrivacyDlpV2DeltaPresenceEstimationConfig + include Google::Apis::Core::Hashable + + # Several auxiliary tables can be used in the analysis. Each custom_tag + # used to tag a quasi-identifiers field must appear in exactly one + # field of one auxiliary table. + # Corresponds to the JSON property `auxiliaryTables` + # @return [Array] + attr_accessor :auxiliary_tables + + # Fields considered to be quasi-identifiers. No two fields can have the + # same tag. [required] + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + # ISO 3166-1 alpha-2 region code to use in the statistical modeling. + # Required if no column is tagged with a region-specific InfoType (like + # US_ZIP_5) or a region code. + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auxiliary_tables = args[:auxiliary_tables] if args.key?(:auxiliary_tables) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + @region_code = args[:region_code] if args.key?(:region_code) + end + end + + # A DeltaPresenceEstimationHistogramBucket message with the following + # values: + # min_probability: 0.1 + # max_probability: 0.2 + # frequency: 42 + # means that there are 42 records for which δ is in [0.1, 0.2). An + # important particular case is when min_probability = max_probability = 1: + # then, every individual who shares this quasi-identifier combination is in + # the dataset. + class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket + include Google::Apis::Core::Hashable + + # Number of records within these probability bounds. + # Corresponds to the JSON property `bucketSize` + # @return [Fixnum] + attr_accessor :bucket_size + + # Total number of distinct quasi-identifier tuple values in this bucket. + # Corresponds to the JSON property `bucketValueCount` + # @return [Fixnum] + attr_accessor :bucket_value_count + + # Sample of quasi-identifier tuple values in this bucket. The total + # number of classes returned per bucket is capped at 20. + # Corresponds to the JSON property `bucketValues` + # @return [Array] + attr_accessor :bucket_values + + # Always greater than or equal to min_probability. + # Corresponds to the JSON property `maxProbability` + # @return [Float] + attr_accessor :max_probability + + # Between 0 and 1. + # Corresponds to the JSON property `minProbability` + # @return [Float] + attr_accessor :min_probability + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @bucket_value_count = args[:bucket_value_count] if args.key?(:bucket_value_count) + @bucket_values = args[:bucket_values] if args.key?(:bucket_values) + @max_probability = args[:max_probability] if args.key?(:max_probability) + @min_probability = args[:min_probability] if args.key?(:min_probability) + end + end + + # A tuple of values for the quasi-identifier columns. + class GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues + include Google::Apis::Core::Hashable + + # The estimated probability that a given individual sharing these + # quasi-identifier values is in the dataset. This value, typically called + # δ, is the ratio between the number of records in the dataset with these + # quasi-identifier values, and the total number of individuals (inside + # *and* outside the dataset) with these quasi-identifier values. + # For example, if there are 15 individuals in the dataset who share the + # same quasi-identifier values, and an estimated 100 people in the entire + # population with these values, then δ is 0.15. + # Corresponds to the JSON property `estimatedProbability` + # @return [Float] + attr_accessor :estimated_probability + + # The quasi-identifier values. + # Corresponds to the JSON property `quasiIdsValues` + # @return [Array] + attr_accessor :quasi_ids_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @estimated_probability = args[:estimated_probability] if args.key?(:estimated_probability) + @quasi_ids_values = args[:quasi_ids_values] if args.key?(:quasi_ids_values) + end + end + + # Result of the δ-presence computation. Note that these results are an + # estimation, not exact values. + class GooglePrivacyDlpV2DeltaPresenceEstimationResult + include Google::Apis::Core::Hashable + + # The intervals [min_probability, max_probability) do not overlap. If a + # value doesn't correspond to any such interval, the associated frequency + # is zero. For example, the following records: + # `min_probability: 0, max_probability: 0.1, frequency: 17` + # `min_probability: 0.2, max_probability: 0.3, frequency: 42` + # `min_probability: 0.3, max_probability: 0.4, frequency: 99` + # mean that there are no record with an estimated probability in [0.1, 0.2) + # nor larger or equal to 0.4. + # Corresponds to the JSON property `deltaPresenceEstimationHistogram` + # @return [Array] + attr_accessor :delta_presence_estimation_histogram + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @delta_presence_estimation_histogram = args[:delta_presence_estimation_histogram] if args.key?(:delta_presence_estimation_histogram) + end + end + # Rule for modifying a CustomInfoType to alter behavior under certain # circumstances, depending on the specific details of the rule. Not supported # for the `surrogate_type` custom info type. class GooglePrivacyDlpV2DetectionRule include Google::Apis::Core::Hashable - # Detection rule that adjusts the likelihood of findings within a certain + # The rule that adjusts the likelihood of findings within a certain # proximity of hotwords. # Corresponds to the JSON property `hotwordRule` # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule] @@ -1977,7 +2134,7 @@ module Google end end - # Detection rule that adjusts the likelihood of findings within a certain + # The rule that adjusts the likelihood of findings within a certain # proximity of hotwords. class GooglePrivacyDlpV2HotwordRule include Google::Apis::Core::Hashable @@ -3534,6 +3691,14 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsConfig] attr_accessor :categorical_stats_config + # δ-presence metric, used to estimate how likely it is for an attacker to + # figure out that one given individual appears in a de-identified dataset. + # Similarly to the k-map metric, we cannot compute δ-presence exactly without + # knowing the attack dataset, so we use a statistical model instead. + # Corresponds to the JSON property `deltaPresenceEstimationConfig` + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig] + attr_accessor :delta_presence_estimation_config + # k-anonymity metric, used for analysis of reidentification risk. # Corresponds to the JSON property `kAnonymityConfig` # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig] @@ -3568,6 +3733,7 @@ module Google # Update properties of this object def update!(**args) @categorical_stats_config = args[:categorical_stats_config] if args.key?(:categorical_stats_config) + @delta_presence_estimation_config = args[:delta_presence_estimation_config] if args.key?(:delta_presence_estimation_config) @k_anonymity_config = args[:k_anonymity_config] if args.key?(:k_anonymity_config) @k_map_estimation_config = args[:k_map_estimation_config] if args.key?(:k_map_estimation_config) @l_diversity_config = args[:l_diversity_config] if args.key?(:l_diversity_config) @@ -3646,6 +3812,51 @@ module Google end end + # A column with a semantic tag attached. + class GooglePrivacyDlpV2QuasiId + include Google::Apis::Core::Hashable + + # A column can be tagged with a custom tag. In this case, the user must + # indicate an auxiliary table that contains statistical information on + # the possible values of this column (below). + # Corresponds to the JSON property `customTag` + # @return [String] + attr_accessor :custom_tag + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId] + attr_accessor :field + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + # Corresponds to the JSON property `inferred` + # @return [Google::Apis::DlpV2::GoogleProtobufEmpty] + attr_accessor :inferred + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType] + attr_accessor :info_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_tag = args[:custom_tag] if args.key?(:custom_tag) + @field = args[:field] if args.key?(:field) + @inferred = args[:inferred] if args.key?(:inferred) + @info_type = args[:info_type] if args.key?(:info_type) + end + end + # 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 GooglePrivacyDlpV2QuasiIdField @@ -3672,6 +3883,32 @@ module Google 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 GooglePrivacyDlpV2QuasiIdentifierField + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `customTag` + # @return [String] + attr_accessor :custom_tag + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `field` + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_tag = args[:custom_tag] if args.key?(:custom_tag) + @field = args[:field] if args.key?(:field) + end + end + # Message for infoType-dependent details parsed from quote. class GooglePrivacyDlpV2QuoteInfo include Google::Apis::Core::Hashable @@ -4212,6 +4449,47 @@ module Google end end + # An auxiliary table containing statistical information on the relative + # frequency of different quasi-identifiers values. It has one or several + # quasi-identifiers columns, and one column that indicates the relative + # frequency of each quasi-identifier tuple. + # If a tuple is present in the data but not in the auxiliary table, the + # corresponding relative frequency is assumed to be zero (and thus, the + # tuple is highly reidentifiable). + class GooglePrivacyDlpV2StatisticalTable + include Google::Apis::Core::Hashable + + # Quasi-identifier columns. [required] + # Corresponds to the JSON property `quasiIds` + # @return [Array] + attr_accessor :quasi_ids + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `relativeFrequency` + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId] + attr_accessor :relative_frequency + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `table` + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable] + attr_accessor :table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) + @relative_frequency = args[:relative_frequency] if args.key?(:relative_frequency) + @table = args[:table] if args.key?(:table) + end + end + # Shared message indicating Cloud storage type. class GooglePrivacyDlpV2StorageConfig include Google::Apis::Core::Hashable diff --git a/generated/google/apis/dlp_v2/representations.rb b/generated/google/apis/dlp_v2/representations.rb index 5946615a8..ff2ea97be 100644 --- a/generated/google/apis/dlp_v2/representations.rb +++ b/generated/google/apis/dlp_v2/representations.rb @@ -256,6 +256,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2DeltaPresenceEstimationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2DeltaPresenceEstimationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2DetectionRule class Representation < Google::Apis::Core::JsonRepresentation; end @@ -628,12 +652,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2QuasiId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2QuasiIdField class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2QuasiIdentifierField + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2QuoteInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -760,6 +796,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2StatisticalTable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2StorageConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -921,6 +963,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :categorical_stats_result, as: 'categoricalStatsResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsResult::Representation + property :delta_presence_estimation_result, as: 'deltaPresenceEstimationResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationResult::Representation + property :k_anonymity_result, as: 'kAnonymityResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityResult::Representation property :k_map_estimation_result, as: 'kMapEstimationResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationResult::Representation @@ -1322,6 +1366,46 @@ module Google end end + class GooglePrivacyDlpV2DeltaPresenceEstimationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :auxiliary_tables, as: 'auxiliaryTables', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StatisticalTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StatisticalTable::Representation + + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiId::Representation + + property :region_code, as: 'regionCode' + end + end + + class GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, :numeric_string => true, as: 'bucketSize' + property :bucket_value_count, :numeric_string => true, as: 'bucketValueCount' + collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues::Representation + + property :max_probability, as: 'maxProbability' + property :min_probability, as: 'minProbability' + end + end + + class GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :estimated_probability, as: 'estimatedProbability' + collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Value::Representation + + end + end + + class GooglePrivacyDlpV2DeltaPresenceEstimationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :delta_presence_estimation_histogram, as: 'deltaPresenceEstimationHistogram', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket::Representation + + end + end + class GooglePrivacyDlpV2DetectionRule # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1925,6 +2009,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :categorical_stats_config, as: 'categoricalStatsConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsConfig::Representation + property :delta_presence_estimation_config, as: 'deltaPresenceEstimationConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationConfig::Representation + property :k_anonymity_config, as: 'kAnonymityConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig::Representation property :k_map_estimation_config, as: 'kMapEstimationConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationConfig::Representation @@ -1957,6 +2043,19 @@ module Google end end + class GooglePrivacyDlpV2QuasiId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_tag, as: 'customTag' + property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation + + property :inferred, as: 'inferred', class: Google::Apis::DlpV2::GoogleProtobufEmpty, decorator: Google::Apis::DlpV2::GoogleProtobufEmpty::Representation + + property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation + + end + end + class GooglePrivacyDlpV2QuasiIdField # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1966,6 +2065,15 @@ module Google end end + class GooglePrivacyDlpV2QuasiIdentifierField + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_tag, as: 'customTag' + property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation + + end + end + class GooglePrivacyDlpV2QuoteInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2156,6 +2264,18 @@ module Google end end + class GooglePrivacyDlpV2StatisticalTable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiIdentifierField, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiIdentifierField::Representation + + property :relative_frequency, as: 'relativeFrequency', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation + + property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation + + end + end + class GooglePrivacyDlpV2StorageConfig # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index 5a2458e4d..b784994f9 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage/transfer module StoragetransferV1 VERSION = 'V1' - REVISION = '20180423' + REVISION = '20180528' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'