From a7d2c98dda0924dd51e20b3f5fa31bfc0348c2a8 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sun, 26 Jul 2020 00:38:23 +0000 Subject: [PATCH] Autogenerated update (2020-07-26) Update: - bigquery_v2 - cloudscheduler_v1 - dfareporting_v3_4 - pubsub_v1 --- api_names_out.yaml | 109 +++++ generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigquery_v2/classes.rb | 201 ++++++++- .../apis/bigquery_v2/representations.rb | 70 +++ generated/google/apis/cloudscheduler_v1.rb | 2 +- .../google/apis/cloudscheduler_v1/classes.rb | 11 + .../apis/cloudscheduler_v1/representations.rb | 1 + generated/google/apis/dfareporting_v3_4.rb | 2 +- .../google/apis/dfareporting_v3_4/classes.rb | 421 ++++++++++++++++++ .../apis/dfareporting_v3_4/representations.rb | 182 ++++++++ generated/google/apis/pubsub_v1.rb | 2 +- generated/google/apis/pubsub_v1/classes.rb | 21 + .../google/apis/pubsub_v1/representations.rb | 2 + 13 files changed, 1019 insertions(+), 7 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index d48d5d6d3..57e5ee663 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -13204,6 +13204,19 @@ "/bigquery:v2/ArimaFittingMetrics/aic": aic "/bigquery:v2/ArimaFittingMetrics/logLikelihood": log_likelihood "/bigquery:v2/ArimaFittingMetrics/variance": variance +"/bigquery:v2/ArimaForecastingMetrics": arima_forecasting_metrics +"/bigquery:v2/ArimaForecastingMetrics/arimaFittingMetrics": arima_fitting_metrics +"/bigquery:v2/ArimaForecastingMetrics/arimaFittingMetrics/arima_fitting_metric": arima_fitting_metric +"/bigquery:v2/ArimaForecastingMetrics/arimaSingleModelForecastingMetrics": arima_single_model_forecasting_metrics +"/bigquery:v2/ArimaForecastingMetrics/arimaSingleModelForecastingMetrics/arima_single_model_forecasting_metric": arima_single_model_forecasting_metric +"/bigquery:v2/ArimaForecastingMetrics/hasDrift": has_drift +"/bigquery:v2/ArimaForecastingMetrics/hasDrift/has_drift": has_drift +"/bigquery:v2/ArimaForecastingMetrics/nonSeasonalOrder": non_seasonal_order +"/bigquery:v2/ArimaForecastingMetrics/nonSeasonalOrder/non_seasonal_order": non_seasonal_order +"/bigquery:v2/ArimaForecastingMetrics/seasonalPeriods": seasonal_periods +"/bigquery:v2/ArimaForecastingMetrics/seasonalPeriods/seasonal_period": seasonal_period +"/bigquery:v2/ArimaForecastingMetrics/timeSeriesId": time_series_id +"/bigquery:v2/ArimaForecastingMetrics/timeSeriesId/time_series_id": time_series_id "/bigquery:v2/ArimaModelInfo": arima_model_info "/bigquery:v2/ArimaModelInfo/arimaCoefficients": arima_coefficients "/bigquery:v2/ArimaModelInfo/arimaFittingMetrics": arima_fitting_metrics @@ -13221,6 +13234,13 @@ "/bigquery:v2/ArimaResult/arimaModelInfo/arima_model_info": arima_model_info "/bigquery:v2/ArimaResult/seasonalPeriods": seasonal_periods "/bigquery:v2/ArimaResult/seasonalPeriods/seasonal_period": seasonal_period +"/bigquery:v2/ArimaSingleModelForecastingMetrics": arima_single_model_forecasting_metrics +"/bigquery:v2/ArimaSingleModelForecastingMetrics/arimaFittingMetrics": arima_fitting_metrics +"/bigquery:v2/ArimaSingleModelForecastingMetrics/hasDrift": has_drift +"/bigquery:v2/ArimaSingleModelForecastingMetrics/nonSeasonalOrder": non_seasonal_order +"/bigquery:v2/ArimaSingleModelForecastingMetrics/seasonalPeriods": seasonal_periods +"/bigquery:v2/ArimaSingleModelForecastingMetrics/seasonalPeriods/seasonal_period": seasonal_period +"/bigquery:v2/ArimaSingleModelForecastingMetrics/timeSeriesId": time_series_id "/bigquery:v2/AuditConfig": audit_config "/bigquery:v2/AuditConfig/auditLogConfigs": audit_log_configs "/bigquery:v2/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config @@ -13390,6 +13410,7 @@ "/bigquery:v2/ErrorProto/message": message "/bigquery:v2/ErrorProto/reason": reason "/bigquery:v2/EvaluationMetrics": evaluation_metrics +"/bigquery:v2/EvaluationMetrics/arimaForecastingMetrics": arima_forecasting_metrics "/bigquery:v2/EvaluationMetrics/binaryClassificationMetrics": binary_classification_metrics "/bigquery:v2/EvaluationMetrics/clusteringMetrics": clustering_metrics "/bigquery:v2/EvaluationMetrics/multiClassClassificationMetrics": multi_class_classification_metrics @@ -13885,6 +13906,9 @@ "/bigquery:v2/SetIamPolicyRequest": set_iam_policy_request "/bigquery:v2/SetIamPolicyRequest/policy": policy "/bigquery:v2/SetIamPolicyRequest/updateMask": update_mask +"/bigquery:v2/SnapshotDefinition": snapshot_definition +"/bigquery:v2/SnapshotDefinition/baseTableReference": base_table_reference +"/bigquery:v2/SnapshotDefinition/snapshotTime": snapshot_time "/bigquery:v2/StandardSqlDataType": standard_sql_data_type "/bigquery:v2/StandardSqlDataType/arrayElementType": array_element_type "/bigquery:v2/StandardSqlDataType/structType": struct_type @@ -13924,6 +13948,7 @@ "/bigquery:v2/Table/requirePartitionFilter": require_partition_filter "/bigquery:v2/Table/schema": schema "/bigquery:v2/Table/selfLink": self_link +"/bigquery:v2/Table/snapshotDefinition": snapshot_definition "/bigquery:v2/Table/streamingBuffer": streaming_buffer "/bigquery:v2/Table/tableReference": table_reference "/bigquery:v2/Table/timePartitioning": time_partitioning @@ -14010,7 +14035,9 @@ "/bigquery:v2/TimePartitioning/requirePartitionFilter": require_partition_filter "/bigquery:v2/TimePartitioning/type": type "/bigquery:v2/TrainingOptions": training_options +"/bigquery:v2/TrainingOptions/autoArima": auto_arima "/bigquery:v2/TrainingOptions/batchSize": batch_size +"/bigquery:v2/TrainingOptions/dataFrequency": data_frequency "/bigquery:v2/TrainingOptions/dataSplitColumn": data_split_column "/bigquery:v2/TrainingOptions/dataSplitEvalFraction": data_split_eval_fraction "/bigquery:v2/TrainingOptions/dataSplitMethod": data_split_method @@ -14020,6 +14047,9 @@ "/bigquery:v2/TrainingOptions/feedbackType": feedback_type "/bigquery:v2/TrainingOptions/hiddenUnits": hidden_units "/bigquery:v2/TrainingOptions/hiddenUnits/hidden_unit": hidden_unit +"/bigquery:v2/TrainingOptions/holidayRegion": holiday_region +"/bigquery:v2/TrainingOptions/horizon": horizon +"/bigquery:v2/TrainingOptions/includeDrift": include_drift "/bigquery:v2/TrainingOptions/initialLearnRate": initial_learn_rate "/bigquery:v2/TrainingOptions/inputLabelColumns": input_label_columns "/bigquery:v2/TrainingOptions/inputLabelColumns/input_label_column": input_label_column @@ -14038,11 +14068,15 @@ "/bigquery:v2/TrainingOptions/minRelativeProgress": min_relative_progress "/bigquery:v2/TrainingOptions/minSplitLoss": min_split_loss "/bigquery:v2/TrainingOptions/modelUri": model_uri +"/bigquery:v2/TrainingOptions/nonSeasonalOrder": non_seasonal_order "/bigquery:v2/TrainingOptions/numClusters": num_clusters "/bigquery:v2/TrainingOptions/numFactors": num_factors "/bigquery:v2/TrainingOptions/optimizationStrategy": optimization_strategy "/bigquery:v2/TrainingOptions/preserveInputStructs": preserve_input_structs "/bigquery:v2/TrainingOptions/subsample": subsample +"/bigquery:v2/TrainingOptions/timeSeriesDataColumn": time_series_data_column +"/bigquery:v2/TrainingOptions/timeSeriesIdColumn": time_series_id_column +"/bigquery:v2/TrainingOptions/timeSeriesTimestampColumn": time_series_timestamp_column "/bigquery:v2/TrainingOptions/userColumn": user_column "/bigquery:v2/TrainingOptions/walsAlpha": wals_alpha "/bigquery:v2/TrainingOptions/warmStart": warm_start @@ -22940,6 +22974,7 @@ "/cloudscheduler:v1/PubsubMessage/attributes/attribute": attribute "/cloudscheduler:v1/PubsubMessage/data": data "/cloudscheduler:v1/PubsubMessage/messageId": message_id +"/cloudscheduler:v1/PubsubMessage/orderingKey": ordering_key "/cloudscheduler:v1/PubsubMessage/publishTime": publish_time "/cloudscheduler:v1/PubsubTarget": pubsub_target "/cloudscheduler:v1/PubsubTarget/attributes": attributes @@ -78038,6 +78073,17 @@ "/dfareporting:v3.4/ChangeLogsListResponse/changeLogs/change_log": change_log "/dfareporting:v3.4/ChangeLogsListResponse/kind": kind "/dfareporting:v3.4/ChangeLogsListResponse/nextPageToken": next_page_token +"/dfareporting:v3.4/ChannelGrouping": channel_grouping +"/dfareporting:v3.4/ChannelGrouping/fallbackName": fallback_name +"/dfareporting:v3.4/ChannelGrouping/kind": kind +"/dfareporting:v3.4/ChannelGrouping/name": name +"/dfareporting:v3.4/ChannelGrouping/rules": rules +"/dfareporting:v3.4/ChannelGrouping/rules/rule": rule +"/dfareporting:v3.4/ChannelGroupingRule": channel_grouping_rule +"/dfareporting:v3.4/ChannelGroupingRule/disjunctiveMatchStatements": disjunctive_match_statements +"/dfareporting:v3.4/ChannelGroupingRule/disjunctiveMatchStatements/disjunctive_match_statement": disjunctive_match_statement +"/dfareporting:v3.4/ChannelGroupingRule/kind": kind +"/dfareporting:v3.4/ChannelGroupingRule/name": name "/dfareporting:v3.4/CitiesListResponse": cities_list_response "/dfareporting:v3.4/CitiesListResponse/cities": cities "/dfareporting:v3.4/CitiesListResponse/cities/city": city @@ -78077,6 +78123,8 @@ "/dfareporting:v3.4/CompatibleFields/crossDimensionReachReportCompatibleFields": cross_dimension_reach_report_compatible_fields "/dfareporting:v3.4/CompatibleFields/floodlightReportCompatibleFields": floodlight_report_compatible_fields "/dfareporting:v3.4/CompatibleFields/kind": kind +"/dfareporting:v3.4/CompatibleFields/pathAttributionReportCompatibleFields": path_attribution_report_compatible_fields +"/dfareporting:v3.4/CompatibleFields/pathReportCompatibleFields": path_report_compatible_fields "/dfareporting:v3.4/CompatibleFields/pathToConversionReportCompatibleFields": path_to_conversion_report_compatible_fields "/dfareporting:v3.4/CompatibleFields/reachReportCompatibleFields": reach_report_compatible_fields "/dfareporting:v3.4/CompatibleFields/reportCompatibleFields": report_compatible_fields @@ -78566,6 +78614,10 @@ "/dfareporting:v3.4/DirectorySitesListResponse/directorySites/directory_site": directory_site "/dfareporting:v3.4/DirectorySitesListResponse/kind": kind "/dfareporting:v3.4/DirectorySitesListResponse/nextPageToken": next_page_token +"/dfareporting:v3.4/DisjunctiveMatchStatement": disjunctive_match_statement +"/dfareporting:v3.4/DisjunctiveMatchStatement/eventFilters": event_filters +"/dfareporting:v3.4/DisjunctiveMatchStatement/eventFilters/event_filter": event_filter +"/dfareporting:v3.4/DisjunctiveMatchStatement/kind": kind "/dfareporting:v3.4/DynamicTargetingKey": dynamic_targeting_key "/dfareporting:v3.4/DynamicTargetingKey/kind": kind "/dfareporting:v3.4/DynamicTargetingKey/name": name @@ -78580,6 +78632,9 @@ "/dfareporting:v3.4/EncryptionInfo/encryptionEntityType": encryption_entity_type "/dfareporting:v3.4/EncryptionInfo/encryptionSource": encryption_source "/dfareporting:v3.4/EncryptionInfo/kind": kind +"/dfareporting:v3.4/EventFilter": event_filter +"/dfareporting:v3.4/EventFilter/dimensionFilter": dimension_filter +"/dfareporting:v3.4/EventFilter/kind": kind "/dfareporting:v3.4/EventTag": event_tag "/dfareporting:v3.4/EventTag/accountId": account_id "/dfareporting:v3.4/EventTag/advertiserId": advertiser_id @@ -78644,6 +78699,7 @@ "/dfareporting:v3.4/FloodlightActivity/accountId": account_id "/dfareporting:v3.4/FloodlightActivity/advertiserId": advertiser_id "/dfareporting:v3.4/FloodlightActivity/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v3.4/FloodlightActivity/attributionEnabled": attribution_enabled "/dfareporting:v3.4/FloodlightActivity/cacheBustingType": cache_busting_type "/dfareporting:v3.4/FloodlightActivity/countingMethod": counting_method "/dfareporting:v3.4/FloodlightActivity/defaultTags": default_tags @@ -78971,6 +79027,29 @@ "/dfareporting:v3.4/OrdersListResponse/nextPageToken": next_page_token "/dfareporting:v3.4/OrdersListResponse/orders": orders "/dfareporting:v3.4/OrdersListResponse/orders/order": order +"/dfareporting:v3.4/PathFilter": path_filter +"/dfareporting:v3.4/PathFilter/eventFilters": event_filters +"/dfareporting:v3.4/PathFilter/eventFilters/event_filter": event_filter +"/dfareporting:v3.4/PathFilter/kind": kind +"/dfareporting:v3.4/PathFilter/pathMatchPosition": path_match_position +"/dfareporting:v3.4/PathReportCompatibleFields": path_report_compatible_fields +"/dfareporting:v3.4/PathReportCompatibleFields/channelGroupings": channel_groupings +"/dfareporting:v3.4/PathReportCompatibleFields/channelGroupings/channel_grouping": channel_grouping +"/dfareporting:v3.4/PathReportCompatibleFields/dimensions": dimensions +"/dfareporting:v3.4/PathReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v3.4/PathReportCompatibleFields/kind": kind +"/dfareporting:v3.4/PathReportCompatibleFields/metrics": metrics +"/dfareporting:v3.4/PathReportCompatibleFields/metrics/metric": metric +"/dfareporting:v3.4/PathReportCompatibleFields/pathFilters": path_filters +"/dfareporting:v3.4/PathReportCompatibleFields/pathFilters/path_filter": path_filter +"/dfareporting:v3.4/PathReportDimensionValue": path_report_dimension_value +"/dfareporting:v3.4/PathReportDimensionValue/dimensionName": dimension_name +"/dfareporting:v3.4/PathReportDimensionValue/ids": ids +"/dfareporting:v3.4/PathReportDimensionValue/ids/id": id +"/dfareporting:v3.4/PathReportDimensionValue/kind": kind +"/dfareporting:v3.4/PathReportDimensionValue/matchType": match_type +"/dfareporting:v3.4/PathReportDimensionValue/values": values +"/dfareporting:v3.4/PathReportDimensionValue/values/value": value "/dfareporting:v3.4/PathToConversionReportCompatibleFields": path_to_conversion_report_compatible_fields "/dfareporting:v3.4/PathToConversionReportCompatibleFields/conversionDimensions": conversion_dimensions "/dfareporting:v3.4/PathToConversionReportCompatibleFields/conversionDimensions/conversion_dimension": conversion_dimension @@ -79272,6 +79351,30 @@ "/dfareporting:v3.4/Report/lastModifiedTime": last_modified_time "/dfareporting:v3.4/Report/name": name "/dfareporting:v3.4/Report/ownerProfileId": owner_profile_id +"/dfareporting:v3.4/Report/pathAttributionCriteria": path_attribution_criteria +"/dfareporting:v3.4/Report/pathAttributionCriteria/activityFilters": activity_filters +"/dfareporting:v3.4/Report/pathAttributionCriteria/activityFilters/activity_filter": activity_filter +"/dfareporting:v3.4/Report/pathAttributionCriteria/customChannelGrouping": custom_channel_grouping +"/dfareporting:v3.4/Report/pathAttributionCriteria/dateRange": date_range +"/dfareporting:v3.4/Report/pathAttributionCriteria/dimensions": dimensions +"/dfareporting:v3.4/Report/pathAttributionCriteria/dimensions/dimension": dimension +"/dfareporting:v3.4/Report/pathAttributionCriteria/floodlightConfigId": floodlight_config_id +"/dfareporting:v3.4/Report/pathAttributionCriteria/metricNames": metric_names +"/dfareporting:v3.4/Report/pathAttributionCriteria/metricNames/metric_name": metric_name +"/dfareporting:v3.4/Report/pathAttributionCriteria/pathFilters": path_filters +"/dfareporting:v3.4/Report/pathAttributionCriteria/pathFilters/path_filter": path_filter +"/dfareporting:v3.4/Report/pathCriteria": path_criteria +"/dfareporting:v3.4/Report/pathCriteria/activityFilters": activity_filters +"/dfareporting:v3.4/Report/pathCriteria/activityFilters/activity_filter": activity_filter +"/dfareporting:v3.4/Report/pathCriteria/customChannelGrouping": custom_channel_grouping +"/dfareporting:v3.4/Report/pathCriteria/dateRange": date_range +"/dfareporting:v3.4/Report/pathCriteria/dimensions": dimensions +"/dfareporting:v3.4/Report/pathCriteria/dimensions/dimension": dimension +"/dfareporting:v3.4/Report/pathCriteria/floodlightConfigId": floodlight_config_id +"/dfareporting:v3.4/Report/pathCriteria/metricNames": metric_names +"/dfareporting:v3.4/Report/pathCriteria/metricNames/metric_name": metric_name +"/dfareporting:v3.4/Report/pathCriteria/pathFilters": path_filters +"/dfareporting:v3.4/Report/pathCriteria/pathFilters/path_filter": path_filter "/dfareporting:v3.4/Report/pathToConversionCriteria": path_to_conversion_criteria "/dfareporting:v3.4/Report/pathToConversionCriteria/activityFilters": activity_filters "/dfareporting:v3.4/Report/pathToConversionCriteria/activityFilters/activity_filter": activity_filter @@ -79398,6 +79501,8 @@ "/dfareporting:v3.4/SiteVideoSettings": site_video_settings "/dfareporting:v3.4/SiteVideoSettings/companionSettings": companion_settings "/dfareporting:v3.4/SiteVideoSettings/kind": kind +"/dfareporting:v3.4/SiteVideoSettings/obaEnabled": oba_enabled +"/dfareporting:v3.4/SiteVideoSettings/obaSettings": oba_settings "/dfareporting:v3.4/SiteVideoSettings/orientation": orientation "/dfareporting:v3.4/SiteVideoSettings/skippableSettings": skippable_settings "/dfareporting:v3.4/SiteVideoSettings/transcodeSettings": transcode_settings @@ -79584,6 +79689,8 @@ "/dfareporting:v3.4/VideoSettings": video_settings "/dfareporting:v3.4/VideoSettings/companionSettings": companion_settings "/dfareporting:v3.4/VideoSettings/kind": kind +"/dfareporting:v3.4/VideoSettings/obaEnabled": oba_enabled +"/dfareporting:v3.4/VideoSettings/obaSettings": oba_settings "/dfareporting:v3.4/VideoSettings/orientation": orientation "/dfareporting:v3.4/VideoSettings/skippableSettings": skippable_settings "/dfareporting:v3.4/VideoSettings/transcodeSettings": transcode_settings @@ -113233,6 +113340,7 @@ "/pubsub:v1/PubsubMessage/attributes/attribute": attribute "/pubsub:v1/PubsubMessage/data": data "/pubsub:v1/PubsubMessage/messageId": message_id +"/pubsub:v1/PubsubMessage/orderingKey": ordering_key "/pubsub:v1/PubsubMessage/publishTime": publish_time "/pubsub:v1/PullRequest": pull_request "/pubsub:v1/PullRequest/maxMessages": max_messages @@ -113267,6 +113375,7 @@ "/pubsub:v1/Subscription": subscription "/pubsub:v1/Subscription/ackDeadlineSeconds": ack_deadline_seconds "/pubsub:v1/Subscription/deadLetterPolicy": dead_letter_policy +"/pubsub:v1/Subscription/enableMessageOrdering": enable_message_ordering "/pubsub:v1/Subscription/expirationPolicy": expiration_policy "/pubsub:v1/Subscription/filter": filter "/pubsub:v1/Subscription/labels": labels diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 6cd23312e..e557c86d6 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20200625' + REVISION = '20200719' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index 76843e97e..4ed43bb10 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -201,6 +201,58 @@ module Google end end + # Model evaluation metrics for ARIMA forecasting models. + class ArimaForecastingMetrics + include Google::Apis::Core::Hashable + + # Arima model fitting metrics. + # Corresponds to the JSON property `arimaFittingMetrics` + # @return [Array] + attr_accessor :arima_fitting_metrics + + # Repeated as there can be many metric sets (one for each model) in + # auto-arima and the large-scale case. + # Corresponds to the JSON property `arimaSingleModelForecastingMetrics` + # @return [Array] + attr_accessor :arima_single_model_forecasting_metrics + + # Whether Arima model fitted with drift or not. It is always false when d + # is not 1. + # Corresponds to the JSON property `hasDrift` + # @return [Array] + attr_accessor :has_drift + + # Non-seasonal order. + # Corresponds to the JSON property `nonSeasonalOrder` + # @return [Array] + attr_accessor :non_seasonal_order + + # Seasonal periods. Repeated because multiple periods are supported for one + # time series. + # Corresponds to the JSON property `seasonalPeriods` + # @return [Array] + attr_accessor :seasonal_periods + + # Id to differentiate different time series for the large-scale case. + # Corresponds to the JSON property `timeSeriesId` + # @return [Array] + attr_accessor :time_series_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @arima_fitting_metrics = args[:arima_fitting_metrics] if args.key?(:arima_fitting_metrics) + @arima_single_model_forecasting_metrics = args[:arima_single_model_forecasting_metrics] if args.key?(:arima_single_model_forecasting_metrics) + @has_drift = args[:has_drift] if args.key?(:has_drift) + @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order) + @seasonal_periods = args[:seasonal_periods] if args.key?(:seasonal_periods) + @time_series_id = args[:time_series_id] if args.key?(:time_series_id) + end + end + # Arima model information. class ArimaModelInfo include Google::Apis::Core::Hashable @@ -312,6 +364,52 @@ module Google end end + # Model evaluation metrics for a single ARIMA forecasting model. + class ArimaSingleModelForecastingMetrics + include Google::Apis::Core::Hashable + + # ARIMA model fitting metrics. + # Corresponds to the JSON property `arimaFittingMetrics` + # @return [Google::Apis::BigqueryV2::ArimaFittingMetrics] + attr_accessor :arima_fitting_metrics + + # Is arima model fitted with drift or not. It is always false when d + # is not 1. + # Corresponds to the JSON property `hasDrift` + # @return [Boolean] + attr_accessor :has_drift + alias_method :has_drift?, :has_drift + + # Arima order, can be used for both non-seasonal and seasonal parts. + # Corresponds to the JSON property `nonSeasonalOrder` + # @return [Google::Apis::BigqueryV2::ArimaOrder] + attr_accessor :non_seasonal_order + + # Seasonal periods. Repeated because multiple periods are supported + # for one time series. + # Corresponds to the JSON property `seasonalPeriods` + # @return [Array] + attr_accessor :seasonal_periods + + # The id to indicate different time series. + # Corresponds to the JSON property `timeSeriesId` + # @return [String] + attr_accessor :time_series_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @arima_fitting_metrics = args[:arima_fitting_metrics] if args.key?(:arima_fitting_metrics) + @has_drift = args[:has_drift] if args.key?(:has_drift) + @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order) + @seasonal_periods = args[:seasonal_periods] if args.key?(:seasonal_periods) + @time_series_id = args[:time_series_id] if args.key?(:time_series_id) + end + end + # Specifies the audit configuration for a service. # The configuration determines which permission types are logged, and what # identities, if any, are exempted from logging. @@ -1771,6 +1869,11 @@ module Google class EvaluationMetrics include Google::Apis::Core::Hashable + # Model evaluation metrics for ARIMA forecasting models. + # Corresponds to the JSON property `arimaForecastingMetrics` + # @return [Google::Apis::BigqueryV2::ArimaForecastingMetrics] + attr_accessor :arima_forecasting_metrics + # Evaluation metrics for binary classification/classifier models. # Corresponds to the JSON property `binaryClassificationMetrics` # @return [Google::Apis::BigqueryV2::BinaryClassificationMetrics] @@ -1804,6 +1907,7 @@ module Google # Update properties of this object def update!(**args) + @arima_forecasting_metrics = args[:arima_forecasting_metrics] if args.key?(:arima_forecasting_metrics) @binary_classification_metrics = args[:binary_classification_metrics] if args.key?(:binary_classification_metrics) @clustering_metrics = args[:clustering_metrics] if args.key?(:clustering_metrics) @multi_class_classification_metrics = args[:multi_class_classification_metrics] if args.key?(:multi_class_classification_metrics) @@ -5506,6 +5610,31 @@ module Google end end + # + class SnapshotDefinition + include Google::Apis::Core::Hashable + + # [Required] Reference describing the ID of the table that is snapshotted. + # Corresponds to the JSON property `baseTableReference` + # @return [Google::Apis::BigqueryV2::TableReference] + attr_accessor :base_table_reference + + # [Required] The time at which the base table was snapshot. + # Corresponds to the JSON property `snapshotTime` + # @return [DateTime] + attr_accessor :snapshot_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @base_table_reference = args[:base_table_reference] if args.key?(:base_table_reference) + @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time) + end + end + # The type of a variable, e.g., a function argument. # Examples: # INT64: `type_kind="INT64"` @@ -5790,6 +5919,11 @@ module Google # @return [String] attr_accessor :self_link + # [Output-only] Snapshot definition. + # Corresponds to the JSON property `snapshotDefinition` + # @return [Google::Apis::BigqueryV2::SnapshotDefinition] + attr_accessor :snapshot_definition + # [Output-only] Contains information regarding this table's streaming buffer, if # one is present. This field will be absent if the table is not being streamed # to or if there is no data in the streaming buffer. @@ -5810,9 +5944,10 @@ module Google # [Output-only] Describes the table type. The following values are supported: # TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. [ - # TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. - # EXTERNAL: A table that references data stored in an external storage system, - # such as Google Cloud Storage. The default value is TABLE. + # TrustedTester] SNAPSHOT: An immutable, read-only table that is a copy of + # another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is + # persisted. EXTERNAL: A table that references data stored in an external + # storage system, such as Google Cloud Storage. The default value is TABLE. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -5851,6 +5986,7 @@ module Google @require_partition_filter = args[:require_partition_filter] if args.key?(:require_partition_filter) @schema = args[:schema] if args.key?(:schema) @self_link = args[:self_link] if args.key?(:self_link) + @snapshot_definition = args[:snapshot_definition] if args.key?(:snapshot_definition) @streaming_buffer = args[:streaming_buffer] if args.key?(:streaming_buffer) @table_reference = args[:table_reference] if args.key?(:table_reference) @time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning) @@ -6468,11 +6604,22 @@ module Google class TrainingOptions include Google::Apis::Core::Hashable + # Whether to enable auto ARIMA or not. + # Corresponds to the JSON property `autoArima` + # @return [Boolean] + attr_accessor :auto_arima + alias_method :auto_arima?, :auto_arima + # Batch size for dnn models. # Corresponds to the JSON property `batchSize` # @return [Fixnum] attr_accessor :batch_size + # The data frequency of a time series. + # Corresponds to the JSON property `dataFrequency` + # @return [String] + attr_accessor :data_frequency + # The column to split data with. This column won't be used as a # feature. # 1. When data_split_method is CUSTOM, the corresponding column should @@ -6530,6 +6677,24 @@ module Google # @return [Array] attr_accessor :hidden_units + # The geographical region based on which the holidays are considered in + # time series modeling. If a valid value is specified, then holiday + # effects modeling is enabled. + # Corresponds to the JSON property `holidayRegion` + # @return [String] + attr_accessor :holiday_region + + # The number of periods ahead that need to be forecasted. + # Corresponds to the JSON property `horizon` + # @return [Fixnum] + attr_accessor :horizon + + # Include drift when fitting an ARIMA model. + # Corresponds to the JSON property `includeDrift` + # @return [Boolean] + attr_accessor :include_drift + alias_method :include_drift?, :include_drift + # Specifies the initial learning rate for the line search learn rate # strategy. # Corresponds to the JSON property `initialLearnRate` @@ -6617,6 +6782,11 @@ module Google # @return [String] attr_accessor :model_uri + # Arima order, can be used for both non-seasonal and seasonal parts. + # Corresponds to the JSON property `nonSeasonalOrder` + # @return [Google::Apis::BigqueryV2::ArimaOrder] + attr_accessor :non_seasonal_order + # Number of clusters for clustering models. # Corresponds to the JSON property `numClusters` # @return [Fixnum] @@ -6647,6 +6817,22 @@ module Google # @return [Float] attr_accessor :subsample + # Column to be designated as time series data for ARIMA model. + # Corresponds to the JSON property `timeSeriesDataColumn` + # @return [String] + attr_accessor :time_series_data_column + + # The id column that will be used to indicate different time series to + # forecast in parallel. + # Corresponds to the JSON property `timeSeriesIdColumn` + # @return [String] + attr_accessor :time_series_id_column + + # Column to be designated as time series timestamp for ARIMA model. + # Corresponds to the JSON property `timeSeriesTimestampColumn` + # @return [String] + attr_accessor :time_series_timestamp_column + # User column specified for matrix factorization models. # Corresponds to the JSON property `userColumn` # @return [String] @@ -6670,7 +6856,9 @@ module Google # Update properties of this object def update!(**args) + @auto_arima = args[:auto_arima] if args.key?(:auto_arima) @batch_size = args[:batch_size] if args.key?(:batch_size) + @data_frequency = args[:data_frequency] if args.key?(:data_frequency) @data_split_column = args[:data_split_column] if args.key?(:data_split_column) @data_split_eval_fraction = args[:data_split_eval_fraction] if args.key?(:data_split_eval_fraction) @data_split_method = args[:data_split_method] if args.key?(:data_split_method) @@ -6679,6 +6867,9 @@ module Google @early_stop = args[:early_stop] if args.key?(:early_stop) @feedback_type = args[:feedback_type] if args.key?(:feedback_type) @hidden_units = args[:hidden_units] if args.key?(:hidden_units) + @holiday_region = args[:holiday_region] if args.key?(:holiday_region) + @horizon = args[:horizon] if args.key?(:horizon) + @include_drift = args[:include_drift] if args.key?(:include_drift) @initial_learn_rate = args[:initial_learn_rate] if args.key?(:initial_learn_rate) @input_label_columns = args[:input_label_columns] if args.key?(:input_label_columns) @item_column = args[:item_column] if args.key?(:item_column) @@ -6695,11 +6886,15 @@ module Google @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress) @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss) @model_uri = args[:model_uri] if args.key?(:model_uri) + @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order) @num_clusters = args[:num_clusters] if args.key?(:num_clusters) @num_factors = args[:num_factors] if args.key?(:num_factors) @optimization_strategy = args[:optimization_strategy] if args.key?(:optimization_strategy) @preserve_input_structs = args[:preserve_input_structs] if args.key?(:preserve_input_structs) @subsample = args[:subsample] if args.key?(:subsample) + @time_series_data_column = args[:time_series_data_column] if args.key?(:time_series_data_column) + @time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column) + @time_series_timestamp_column = args[:time_series_timestamp_column] if args.key?(:time_series_timestamp_column) @user_column = args[:user_column] if args.key?(:user_column) @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha) @warm_start = args[:warm_start] if args.key?(:warm_start) diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 8704bcbcc..9b635dbd4 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -46,6 +46,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ArimaForecastingMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ArimaModelInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -64,6 +70,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ArimaSingleModelForecastingMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AuditConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -622,6 +634,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SnapshotDefinition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StandardSqlDataType class Representation < Google::Apis::Core::JsonRepresentation; end @@ -826,6 +844,21 @@ module Google end end + class ArimaForecastingMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :arima_fitting_metrics, as: 'arimaFittingMetrics', class: Google::Apis::BigqueryV2::ArimaFittingMetrics, decorator: Google::Apis::BigqueryV2::ArimaFittingMetrics::Representation + + collection :arima_single_model_forecasting_metrics, as: 'arimaSingleModelForecastingMetrics', class: Google::Apis::BigqueryV2::ArimaSingleModelForecastingMetrics, decorator: Google::Apis::BigqueryV2::ArimaSingleModelForecastingMetrics::Representation + + collection :has_drift, as: 'hasDrift' + collection :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation + + collection :seasonal_periods, as: 'seasonalPeriods' + collection :time_series_id, as: 'timeSeriesId' + end + end + class ArimaModelInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -859,6 +892,19 @@ module Google end end + class ArimaSingleModelForecastingMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :arima_fitting_metrics, as: 'arimaFittingMetrics', class: Google::Apis::BigqueryV2::ArimaFittingMetrics, decorator: Google::Apis::BigqueryV2::ArimaFittingMetrics::Representation + + property :has_drift, as: 'hasDrift' + property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation + + collection :seasonal_periods, as: 'seasonalPeriods' + property :time_series_id, as: 'timeSeriesId' + end + end + class AuditConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1192,6 +1238,8 @@ module Google class EvaluationMetrics # @private class Representation < Google::Apis::Core::JsonRepresentation + property :arima_forecasting_metrics, as: 'arimaForecastingMetrics', class: Google::Apis::BigqueryV2::ArimaForecastingMetrics, decorator: Google::Apis::BigqueryV2::ArimaForecastingMetrics::Representation + property :binary_classification_metrics, as: 'binaryClassificationMetrics', class: Google::Apis::BigqueryV2::BinaryClassificationMetrics, decorator: Google::Apis::BigqueryV2::BinaryClassificationMetrics::Representation property :clustering_metrics, as: 'clusteringMetrics', class: Google::Apis::BigqueryV2::ClusteringMetrics, decorator: Google::Apis::BigqueryV2::ClusteringMetrics::Representation @@ -2052,6 +2100,16 @@ module Google end end + class SnapshotDefinition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :base_table_reference, as: 'baseTableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation + + property :snapshot_time, as: 'snapshotTime', type: DateTime + + end + end + class StandardSqlDataType # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2122,6 +2180,8 @@ module Google property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation property :self_link, as: 'selfLink' + property :snapshot_definition, as: 'snapshotDefinition', class: Google::Apis::BigqueryV2::SnapshotDefinition, decorator: Google::Apis::BigqueryV2::SnapshotDefinition::Representation + property :streaming_buffer, as: 'streamingBuffer', class: Google::Apis::BigqueryV2::Streamingbuffer, decorator: Google::Apis::BigqueryV2::Streamingbuffer::Representation property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation @@ -2315,7 +2375,9 @@ module Google class TrainingOptions # @private class Representation < Google::Apis::Core::JsonRepresentation + property :auto_arima, as: 'autoArima' property :batch_size, :numeric_string => true, as: 'batchSize' + property :data_frequency, as: 'dataFrequency' property :data_split_column, as: 'dataSplitColumn' property :data_split_eval_fraction, as: 'dataSplitEvalFraction' property :data_split_method, as: 'dataSplitMethod' @@ -2324,6 +2386,9 @@ module Google property :early_stop, as: 'earlyStop' property :feedback_type, as: 'feedbackType' collection :hidden_units, as: 'hiddenUnits' + property :holiday_region, as: 'holidayRegion' + property :horizon, :numeric_string => true, as: 'horizon' + property :include_drift, as: 'includeDrift' property :initial_learn_rate, as: 'initialLearnRate' collection :input_label_columns, as: 'inputLabelColumns' property :item_column, as: 'itemColumn' @@ -2340,11 +2405,16 @@ module Google property :min_relative_progress, as: 'minRelativeProgress' property :min_split_loss, as: 'minSplitLoss' property :model_uri, as: 'modelUri' + property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation + property :num_clusters, :numeric_string => true, as: 'numClusters' property :num_factors, :numeric_string => true, as: 'numFactors' property :optimization_strategy, as: 'optimizationStrategy' property :preserve_input_structs, as: 'preserveInputStructs' property :subsample, as: 'subsample' + property :time_series_data_column, as: 'timeSeriesDataColumn' + property :time_series_id_column, as: 'timeSeriesIdColumn' + property :time_series_timestamp_column, as: 'timeSeriesTimestampColumn' property :user_column, as: 'userColumn' property :wals_alpha, as: 'walsAlpha' property :warm_start, as: 'warmStart' diff --git a/generated/google/apis/cloudscheduler_v1.rb b/generated/google/apis/cloudscheduler_v1.rb index a7c594d67..e8ae9fd37 100644 --- a/generated/google/apis/cloudscheduler_v1.rb +++ b/generated/google/apis/cloudscheduler_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/scheduler/ module CloudschedulerV1 VERSION = 'V1' - REVISION = '20200703' + REVISION = '20200716' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudscheduler_v1/classes.rb b/generated/google/apis/cloudscheduler_v1/classes.rb index 157f38db9..b20e10577 100644 --- a/generated/google/apis/cloudscheduler_v1/classes.rb +++ b/generated/google/apis/cloudscheduler_v1/classes.rb @@ -716,6 +716,16 @@ module Google # @return [String] attr_accessor :message_id + # If non-empty, identifies related messages for which publish order should be + # respected. If a `Subscription` has `enable_message_ordering` set to `true`, + # messages published with the same non-empty `ordering_key` value will be + # delivered to subscribers in the order in which they are received by the + # Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` + # must specify the same `ordering_key` value. + # Corresponds to the JSON property `orderingKey` + # @return [String] + attr_accessor :ordering_key + # The time at which the message was published, populated by the server when # it receives the `Publish` call. It must not be populated by the # publisher in a `Publish` call. @@ -732,6 +742,7 @@ module Google @attributes = args[:attributes] if args.key?(:attributes) @data = args[:data] if args.key?(:data) @message_id = args[:message_id] if args.key?(:message_id) + @ordering_key = args[:ordering_key] if args.key?(:ordering_key) @publish_time = args[:publish_time] if args.key?(:publish_time) end end diff --git a/generated/google/apis/cloudscheduler_v1/representations.rb b/generated/google/apis/cloudscheduler_v1/representations.rb index 9a2743d3d..f5d586dc2 100644 --- a/generated/google/apis/cloudscheduler_v1/representations.rb +++ b/generated/google/apis/cloudscheduler_v1/representations.rb @@ -248,6 +248,7 @@ module Google hash :attributes, as: 'attributes' property :data, :base64 => true, as: 'data' property :message_id, as: 'messageId' + property :ordering_key, as: 'orderingKey' property :publish_time, as: 'publishTime' end end diff --git a/generated/google/apis/dfareporting_v3_4.rb b/generated/google/apis/dfareporting_v3_4.rb index 1667d8d50..9320ab69a 100644 --- a/generated/google/apis/dfareporting_v3_4.rb +++ b/generated/google/apis/dfareporting_v3_4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/ module DfareportingV3_4 VERSION = 'V3_4' - REVISION = '20200514' + REVISION = '20200722' # Manage DoubleClick Digital Marketing conversions AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' diff --git a/generated/google/apis/dfareporting_v3_4/classes.rb b/generated/google/apis/dfareporting_v3_4/classes.rb index 9c3ab26f3..247104c7b 100644 --- a/generated/google/apis/dfareporting_v3_4/classes.rb +++ b/generated/google/apis/dfareporting_v3_4/classes.rb @@ -1953,6 +1953,74 @@ module Google end end + # Represents a DfaReporting channel grouping. + class ChannelGrouping + include Google::Apis::Core::Hashable + + # ChannelGrouping fallback name. + # Corresponds to the JSON property `fallbackName` + # @return [String] + attr_accessor :fallback_name + + # The kind of resource this is, in this case dfareporting#channelGrouping. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # ChannelGrouping name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The rules contained within this channel grouping. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fallback_name = args[:fallback_name] if args.key?(:fallback_name) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @rules = args[:rules] if args.key?(:rules) + end + end + + # Represents a DfaReporting channel grouping rule. + class ChannelGroupingRule + include Google::Apis::Core::Hashable + + # The disjunctive match statements contained within this rule. + # Corresponds to the JSON property `disjunctiveMatchStatements` + # @return [Array] + attr_accessor :disjunctive_match_statements + + # The kind of resource this is, in this case dfareporting#channelGroupingRule. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Rule name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disjunctive_match_statements = args[:disjunctive_match_statements] if args.key?(:disjunctive_match_statements) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + # City List Response class CitiesListResponse include Google::Apis::Core::Hashable @@ -2244,6 +2312,18 @@ module Google # @return [String] attr_accessor :kind + # Represents fields that are compatible to be selected for a report of type " + # PATH". + # Corresponds to the JSON property `pathAttributionReportCompatibleFields` + # @return [Google::Apis::DfareportingV3_4::PathReportCompatibleFields] + attr_accessor :path_attribution_report_compatible_fields + + # Represents fields that are compatible to be selected for a report of type " + # PATH". + # Corresponds to the JSON property `pathReportCompatibleFields` + # @return [Google::Apis::DfareportingV3_4::PathReportCompatibleFields] + attr_accessor :path_report_compatible_fields + # Represents fields that are compatible to be selected for a report of type " # PATH_TO_CONVERSION". # Corresponds to the JSON property `pathToConversionReportCompatibleFields` @@ -2271,6 +2351,8 @@ module Google @cross_dimension_reach_report_compatible_fields = args[:cross_dimension_reach_report_compatible_fields] if args.key?(:cross_dimension_reach_report_compatible_fields) @floodlight_report_compatible_fields = args[:floodlight_report_compatible_fields] if args.key?(:floodlight_report_compatible_fields) @kind = args[:kind] if args.key?(:kind) + @path_attribution_report_compatible_fields = args[:path_attribution_report_compatible_fields] if args.key?(:path_attribution_report_compatible_fields) + @path_report_compatible_fields = args[:path_report_compatible_fields] if args.key?(:path_report_compatible_fields) @path_to_conversion_report_compatible_fields = args[:path_to_conversion_report_compatible_fields] if args.key?(:path_to_conversion_report_compatible_fields) @reach_report_compatible_fields = args[:reach_report_compatible_fields] if args.key?(:reach_report_compatible_fields) @report_compatible_fields = args[:report_compatible_fields] if args.key?(:report_compatible_fields) @@ -5775,6 +5857,33 @@ module Google end end + # Represents a Disjunctive Match Statement resource, which is a conjunction (and) + # of disjunctive (or) boolean statements. + class DisjunctiveMatchStatement + include Google::Apis::Core::Hashable + + # The event filters contained within this disjunctive match statement. + # Corresponds to the JSON property `eventFilters` + # @return [Array] + attr_accessor :event_filters + + # The kind of resource this is, in this case dfareporting# + # disjunctiveMatchStatement. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event_filters = args[:event_filters] if args.key?(:event_filters) + @kind = args[:kind] if args.key?(:kind) + end + end + # Contains properties of a dynamic targeting key. Dynamic targeting keys are # unique, user-friendly labels, created at the advertiser level in DCM, that can # be assigned to ads, creatives, and placements and used for targeting with @@ -5887,6 +5996,31 @@ module Google end end + # Represents a DfaReporting event filter. + class EventFilter + include Google::Apis::Core::Hashable + + # Represents a PathReportDimensionValue resource. + # Corresponds to the JSON property `dimensionFilter` + # @return [Google::Apis::DfareportingV3_4::PathReportDimensionValue] + attr_accessor :dimension_filter + + # The kind of resource this is, in this case dfareporting#eventFilter. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter) + @kind = args[:kind] if args.key?(:kind) + end + end + # Contains properties of an event tag. class EventTag include Google::Apis::Core::Hashable @@ -6349,6 +6483,12 @@ module Google # @return [Google::Apis::DfareportingV3_4::DimensionValue] attr_accessor :advertiser_id_dimension_value + # Whether the activity is enabled for attribution. + # Corresponds to the JSON property `attributionEnabled` + # @return [Boolean] + attr_accessor :attribution_enabled + alias_method :attribution_enabled?, :attribution_enabled + # Code type used for cache busting in the generated tag. Applicable only when # floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING # or UNIQUE_COUNTING. @@ -6512,6 +6652,7 @@ module Google @account_id = args[:account_id] if args.key?(:account_id) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @attribution_enabled = args[:attribution_enabled] if args.key?(:attribution_enabled) @cache_busting_type = args[:cache_busting_type] if args.key?(:cache_busting_type) @counting_method = args[:counting_method] if args.key?(:counting_method) @default_tags = args[:default_tags] if args.key?(:default_tags) @@ -8582,6 +8723,138 @@ module Google end end + # Represents a DfaReporting path filter. + class PathFilter + include Google::Apis::Core::Hashable + + # Event filters in path report. + # Corresponds to the JSON property `eventFilters` + # @return [Array] + attr_accessor :event_filters + + # The kind of resource this is, in this case dfareporting#pathFilter. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Determines how the 'value' field is matched when filtering. If not specified, + # defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a + # placeholder for variable length character sequences, and it can be escaped + # with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow + # a matchType other than EXACT. + # Corresponds to the JSON property `pathMatchPosition` + # @return [String] + attr_accessor :path_match_position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event_filters = args[:event_filters] if args.key?(:event_filters) + @kind = args[:kind] if args.key?(:kind) + @path_match_position = args[:path_match_position] if args.key?(:path_match_position) + end + end + + # Represents fields that are compatible to be selected for a report of type " + # PATH". + class PathReportCompatibleFields + include Google::Apis::Core::Hashable + + # Dimensions which are compatible to be selected in the "channelGroupings" + # section of the report. + # Corresponds to the JSON property `channelGroupings` + # @return [Array] + attr_accessor :channel_groupings + + # Dimensions which are compatible to be selected in the "dimensions" section of + # the report. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # The kind of resource this is, in this case dfareporting# + # pathReportCompatibleFields. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metrics which are compatible to be selected in the "metricNames" section of + # the report. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # Dimensions which are compatible to be selected in the "pathFilters" section of + # the report. + # Corresponds to the JSON property `pathFilters` + # @return [Array] + attr_accessor :path_filters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @channel_groupings = args[:channel_groupings] if args.key?(:channel_groupings) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @kind = args[:kind] if args.key?(:kind) + @metrics = args[:metrics] if args.key?(:metrics) + @path_filters = args[:path_filters] if args.key?(:path_filters) + end + end + + # Represents a PathReportDimensionValue resource. + class PathReportDimensionValue + include Google::Apis::Core::Hashable + + # The name of the dimension. + # Corresponds to the JSON property `dimensionName` + # @return [String] + attr_accessor :dimension_name + + # The possible ID's associated with the value if available. + # Corresponds to the JSON property `ids` + # @return [Array] + attr_accessor :ids + + # The kind of resource this is, in this case dfareporting# + # pathReportDimensionValue. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Determines how the 'value' field is matched when filtering. If not specified, + # defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a + # placeholder for variable length character sequences, and it can be escaped + # with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow + # a matchType other than EXACT. + # Corresponds to the JSON property `matchType` + # @return [String] + attr_accessor :match_type + + # The possible values of the dimension. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_name = args[:dimension_name] if args.key?(:dimension_name) + @ids = args[:ids] if args.key?(:ids) + @kind = args[:kind] if args.key?(:kind) + @match_type = args[:match_type] if args.key?(:match_type) + @values = args[:values] if args.key?(:values) + end + end + # Represents fields that are compatible to be selected for a report of type " # PATH_TO_CONVERSION". class PathToConversionReportCompatibleFields @@ -10335,6 +10608,16 @@ module Google # @return [Fixnum] attr_accessor :owner_profile_id + # The report criteria for a report of type "PATH_ATTRIBUTION". + # Corresponds to the JSON property `pathAttributionCriteria` + # @return [Google::Apis::DfareportingV3_4::Report::PathAttributionCriteria] + attr_accessor :path_attribution_criteria + + # The report criteria for a report of type "PATH". + # Corresponds to the JSON property `pathCriteria` + # @return [Google::Apis::DfareportingV3_4::Report::PathCriteria] + attr_accessor :path_criteria + # The report criteria for a report of type "PATH_TO_CONVERSION". # Corresponds to the JSON property `pathToConversionCriteria` # @return [Google::Apis::DfareportingV3_4::Report::PathToConversionCriteria] @@ -10380,6 +10663,8 @@ module Google @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @name = args[:name] if args.key?(:name) @owner_profile_id = args[:owner_profile_id] if args.key?(:owner_profile_id) + @path_attribution_criteria = args[:path_attribution_criteria] if args.key?(:path_attribution_criteria) + @path_criteria = args[:path_criteria] if args.key?(:path_criteria) @path_to_conversion_criteria = args[:path_to_conversion_criteria] if args.key?(:path_to_conversion_criteria) @reach_criteria = args[:reach_criteria] if args.key?(:reach_criteria) @schedule = args[:schedule] if args.key?(:schedule) @@ -10627,6 +10912,116 @@ module Google end end + # The report criteria for a report of type "PATH_ATTRIBUTION". + class PathAttributionCriteria + include Google::Apis::Core::Hashable + + # The list of 'dfa:activity' values to filter on. + # Corresponds to the JSON property `activityFilters` + # @return [Array] + attr_accessor :activity_filters + + # Represents a DfaReporting channel grouping. + # Corresponds to the JSON property `customChannelGrouping` + # @return [Google::Apis::DfareportingV3_4::ChannelGrouping] + attr_accessor :custom_channel_grouping + + # Represents a date range. + # Corresponds to the JSON property `dateRange` + # @return [Google::Apis::DfareportingV3_4::DateRange] + attr_accessor :date_range + + # The list of dimensions the report should include. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `floodlightConfigId` + # @return [Google::Apis::DfareportingV3_4::DimensionValue] + attr_accessor :floodlight_config_id + + # The list of names of metrics the report should include. + # Corresponds to the JSON property `metricNames` + # @return [Array] + attr_accessor :metric_names + + # Path Filters. + # Corresponds to the JSON property `pathFilters` + # @return [Array] + attr_accessor :path_filters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @activity_filters = args[:activity_filters] if args.key?(:activity_filters) + @custom_channel_grouping = args[:custom_channel_grouping] if args.key?(:custom_channel_grouping) + @date_range = args[:date_range] if args.key?(:date_range) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @floodlight_config_id = args[:floodlight_config_id] if args.key?(:floodlight_config_id) + @metric_names = args[:metric_names] if args.key?(:metric_names) + @path_filters = args[:path_filters] if args.key?(:path_filters) + end + end + + # The report criteria for a report of type "PATH". + class PathCriteria + include Google::Apis::Core::Hashable + + # The list of 'dfa:activity' values to filter on. + # Corresponds to the JSON property `activityFilters` + # @return [Array] + attr_accessor :activity_filters + + # Represents a DfaReporting channel grouping. + # Corresponds to the JSON property `customChannelGrouping` + # @return [Google::Apis::DfareportingV3_4::ChannelGrouping] + attr_accessor :custom_channel_grouping + + # Represents a date range. + # Corresponds to the JSON property `dateRange` + # @return [Google::Apis::DfareportingV3_4::DateRange] + attr_accessor :date_range + + # The list of dimensions the report should include. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `floodlightConfigId` + # @return [Google::Apis::DfareportingV3_4::DimensionValue] + attr_accessor :floodlight_config_id + + # The list of names of metrics the report should include. + # Corresponds to the JSON property `metricNames` + # @return [Array] + attr_accessor :metric_names + + # Path Filters. + # Corresponds to the JSON property `pathFilters` + # @return [Array] + attr_accessor :path_filters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @activity_filters = args[:activity_filters] if args.key?(:activity_filters) + @custom_channel_grouping = args[:custom_channel_grouping] if args.key?(:custom_channel_grouping) + @date_range = args[:date_range] if args.key?(:date_range) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @floodlight_config_id = args[:floodlight_config_id] if args.key?(:floodlight_config_id) + @metric_names = args[:metric_names] if args.key?(:metric_names) + @path_filters = args[:path_filters] if args.key?(:path_filters) + end + end + # The report criteria for a report of type "PATH_TO_CONVERSION". class PathToConversionCriteria include Google::Apis::Core::Hashable @@ -11484,6 +11879,17 @@ module Google # @return [String] attr_accessor :kind + # Whether OBA icons are enabled for this placement. + # Corresponds to the JSON property `obaEnabled` + # @return [Boolean] + attr_accessor :oba_enabled + alias_method :oba_enabled?, :oba_enabled + + # Online Behavioral Advertiser icon. + # Corresponds to the JSON property `obaSettings` + # @return [Google::Apis::DfareportingV3_4::ObaIcon] + attr_accessor :oba_settings + # Orientation of a site template used for video. This will act as default for # new placements created under this site. # Corresponds to the JSON property `orientation` @@ -11508,6 +11914,8 @@ module Google def update!(**args) @companion_settings = args[:companion_settings] if args.key?(:companion_settings) @kind = args[:kind] if args.key?(:kind) + @oba_enabled = args[:oba_enabled] if args.key?(:oba_enabled) + @oba_settings = args[:oba_settings] if args.key?(:oba_settings) @orientation = args[:orientation] if args.key?(:orientation) @skippable_settings = args[:skippable_settings] if args.key?(:skippable_settings) @transcode_settings = args[:transcode_settings] if args.key?(:transcode_settings) @@ -12813,6 +13221,17 @@ module Google # @return [String] attr_accessor :kind + # Whether OBA icons are enabled for this placement. + # Corresponds to the JSON property `obaEnabled` + # @return [Boolean] + attr_accessor :oba_enabled + alias_method :oba_enabled?, :oba_enabled + + # Online Behavioral Advertiser icon. + # Corresponds to the JSON property `obaSettings` + # @return [Google::Apis::DfareportingV3_4::ObaIcon] + attr_accessor :oba_settings + # Orientation of a video placement. If this value is set, placement will return # assets matching the specified orientation. # Corresponds to the JSON property `orientation` @@ -12837,6 +13256,8 @@ module Google def update!(**args) @companion_settings = args[:companion_settings] if args.key?(:companion_settings) @kind = args[:kind] if args.key?(:kind) + @oba_enabled = args[:oba_enabled] if args.key?(:oba_enabled) + @oba_settings = args[:oba_settings] if args.key?(:oba_settings) @orientation = args[:orientation] if args.key?(:orientation) @skippable_settings = args[:skippable_settings] if args.key?(:skippable_settings) @transcode_settings = args[:transcode_settings] if args.key?(:transcode_settings) diff --git a/generated/google/apis/dfareporting_v3_4/representations.rb b/generated/google/apis/dfareporting_v3_4/representations.rb index d2a46f714..5373beee1 100644 --- a/generated/google/apis/dfareporting_v3_4/representations.rb +++ b/generated/google/apis/dfareporting_v3_4/representations.rb @@ -202,6 +202,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ChannelGrouping + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChannelGroupingRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CitiesListResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -616,6 +628,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DisjunctiveMatchStatement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DynamicTargetingKey class Representation < Google::Apis::Core::JsonRepresentation; end @@ -634,6 +652,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class EventFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EventTag class Representation < Google::Apis::Core::JsonRepresentation; end @@ -958,6 +982,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PathFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PathReportCompatibleFields + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PathReportDimensionValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PathToConversionReportCompatibleFields class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1153,6 +1195,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PathAttributionCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PathCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PathToConversionCriteria class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1904,6 +1958,27 @@ module Google end end + class ChannelGrouping + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fallback_name, as: 'fallbackName' + property :kind, as: 'kind' + property :name, as: 'name' + collection :rules, as: 'rules', class: Google::Apis::DfareportingV3_4::ChannelGroupingRule, decorator: Google::Apis::DfareportingV3_4::ChannelGroupingRule::Representation + + end + end + + class ChannelGroupingRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :disjunctive_match_statements, as: 'disjunctiveMatchStatements', class: Google::Apis::DfareportingV3_4::DisjunctiveMatchStatement, decorator: Google::Apis::DfareportingV3_4::DisjunctiveMatchStatement::Representation + + property :kind, as: 'kind' + property :name, as: 'name' + end + end + class CitiesListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1984,6 +2059,10 @@ module Google property :floodlight_report_compatible_fields, as: 'floodlightReportCompatibleFields', class: Google::Apis::DfareportingV3_4::FloodlightReportCompatibleFields, decorator: Google::Apis::DfareportingV3_4::FloodlightReportCompatibleFields::Representation property :kind, as: 'kind' + property :path_attribution_report_compatible_fields, as: 'pathAttributionReportCompatibleFields', class: Google::Apis::DfareportingV3_4::PathReportCompatibleFields, decorator: Google::Apis::DfareportingV3_4::PathReportCompatibleFields::Representation + + property :path_report_compatible_fields, as: 'pathReportCompatibleFields', class: Google::Apis::DfareportingV3_4::PathReportCompatibleFields, decorator: Google::Apis::DfareportingV3_4::PathReportCompatibleFields::Representation + property :path_to_conversion_report_compatible_fields, as: 'pathToConversionReportCompatibleFields', class: Google::Apis::DfareportingV3_4::PathToConversionReportCompatibleFields, decorator: Google::Apis::DfareportingV3_4::PathToConversionReportCompatibleFields::Representation property :reach_report_compatible_fields, as: 'reachReportCompatibleFields', class: Google::Apis::DfareportingV3_4::ReachReportCompatibleFields, decorator: Google::Apis::DfareportingV3_4::ReachReportCompatibleFields::Representation @@ -2818,6 +2897,15 @@ module Google end end + class DisjunctiveMatchStatement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :event_filters, as: 'eventFilters', class: Google::Apis::DfareportingV3_4::EventFilter, decorator: Google::Apis::DfareportingV3_4::EventFilter::Representation + + property :kind, as: 'kind' + end + end + class DynamicTargetingKey # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2847,6 +2935,15 @@ module Google end end + class EventFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::DfareportingV3_4::PathReportDimensionValue, decorator: Google::Apis::DfareportingV3_4::PathReportDimensionValue::Representation + + property :kind, as: 'kind' + end + end + class EventTag # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2965,6 +3062,7 @@ module Google property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV3_4::DimensionValue, decorator: Google::Apis::DfareportingV3_4::DimensionValue::Representation + property :attribution_enabled, as: 'attributionEnabled' property :cache_busting_type, as: 'cacheBustingType' property :counting_method, as: 'countingMethod' collection :default_tags, as: 'defaultTags', class: Google::Apis::DfareportingV3_4::FloodlightActivityDynamicTag, decorator: Google::Apis::DfareportingV3_4::FloodlightActivityDynamicTag::Representation @@ -3530,6 +3628,42 @@ module Google end end + class PathFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :event_filters, as: 'eventFilters', class: Google::Apis::DfareportingV3_4::EventFilter, decorator: Google::Apis::DfareportingV3_4::EventFilter::Representation + + property :kind, as: 'kind' + property :path_match_position, as: 'pathMatchPosition' + end + end + + class PathReportCompatibleFields + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :channel_groupings, as: 'channelGroupings', class: Google::Apis::DfareportingV3_4::Dimension, decorator: Google::Apis::DfareportingV3_4::Dimension::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV3_4::Dimension, decorator: Google::Apis::DfareportingV3_4::Dimension::Representation + + property :kind, as: 'kind' + collection :metrics, as: 'metrics', class: Google::Apis::DfareportingV3_4::Metric, decorator: Google::Apis::DfareportingV3_4::Metric::Representation + + collection :path_filters, as: 'pathFilters', class: Google::Apis::DfareportingV3_4::Dimension, decorator: Google::Apis::DfareportingV3_4::Dimension::Representation + + end + end + + class PathReportDimensionValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension_name, as: 'dimensionName' + collection :ids, as: 'ids' + property :kind, as: 'kind' + property :match_type, as: 'matchType' + collection :values, as: 'values' + end + end + class PathToConversionReportCompatibleFields # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3967,6 +4101,10 @@ module Google property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' property :name, as: 'name' property :owner_profile_id, :numeric_string => true, as: 'ownerProfileId' + property :path_attribution_criteria, as: 'pathAttributionCriteria', class: Google::Apis::DfareportingV3_4::Report::PathAttributionCriteria, decorator: Google::Apis::DfareportingV3_4::Report::PathAttributionCriteria::Representation + + property :path_criteria, as: 'pathCriteria', class: Google::Apis::DfareportingV3_4::Report::PathCriteria, decorator: Google::Apis::DfareportingV3_4::Report::PathCriteria::Representation + property :path_to_conversion_criteria, as: 'pathToConversionCriteria', class: Google::Apis::DfareportingV3_4::Report::PathToConversionCriteria, decorator: Google::Apis::DfareportingV3_4::Report::PathToConversionCriteria::Representation property :reach_criteria, as: 'reachCriteria', class: Google::Apis::DfareportingV3_4::Report::ReachCriteria, decorator: Google::Apis::DfareportingV3_4::Report::ReachCriteria::Representation @@ -4049,6 +4187,44 @@ module Google end end + class PathAttributionCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :activity_filters, as: 'activityFilters', class: Google::Apis::DfareportingV3_4::DimensionValue, decorator: Google::Apis::DfareportingV3_4::DimensionValue::Representation + + property :custom_channel_grouping, as: 'customChannelGrouping', class: Google::Apis::DfareportingV3_4::ChannelGrouping, decorator: Google::Apis::DfareportingV3_4::ChannelGrouping::Representation + + property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV3_4::DateRange, decorator: Google::Apis::DfareportingV3_4::DateRange::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV3_4::SortedDimension, decorator: Google::Apis::DfareportingV3_4::SortedDimension::Representation + + property :floodlight_config_id, as: 'floodlightConfigId', class: Google::Apis::DfareportingV3_4::DimensionValue, decorator: Google::Apis::DfareportingV3_4::DimensionValue::Representation + + collection :metric_names, as: 'metricNames' + collection :path_filters, as: 'pathFilters', class: Google::Apis::DfareportingV3_4::PathFilter, decorator: Google::Apis::DfareportingV3_4::PathFilter::Representation + + end + end + + class PathCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :activity_filters, as: 'activityFilters', class: Google::Apis::DfareportingV3_4::DimensionValue, decorator: Google::Apis::DfareportingV3_4::DimensionValue::Representation + + property :custom_channel_grouping, as: 'customChannelGrouping', class: Google::Apis::DfareportingV3_4::ChannelGrouping, decorator: Google::Apis::DfareportingV3_4::ChannelGrouping::Representation + + property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV3_4::DateRange, decorator: Google::Apis::DfareportingV3_4::DateRange::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV3_4::SortedDimension, decorator: Google::Apis::DfareportingV3_4::SortedDimension::Representation + + property :floodlight_config_id, as: 'floodlightConfigId', class: Google::Apis::DfareportingV3_4::DimensionValue, decorator: Google::Apis::DfareportingV3_4::DimensionValue::Representation + + collection :metric_names, as: 'metricNames' + collection :path_filters, as: 'pathFilters', class: Google::Apis::DfareportingV3_4::PathFilter, decorator: Google::Apis::DfareportingV3_4::PathFilter::Representation + + end + end + class PathToConversionCriteria # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4265,6 +4441,9 @@ module Google property :companion_settings, as: 'companionSettings', class: Google::Apis::DfareportingV3_4::SiteCompanionSetting, decorator: Google::Apis::DfareportingV3_4::SiteCompanionSetting::Representation property :kind, as: 'kind' + property :oba_enabled, as: 'obaEnabled' + property :oba_settings, as: 'obaSettings', class: Google::Apis::DfareportingV3_4::ObaIcon, decorator: Google::Apis::DfareportingV3_4::ObaIcon::Representation + property :orientation, as: 'orientation' property :skippable_settings, as: 'skippableSettings', class: Google::Apis::DfareportingV3_4::SiteSkippableSetting, decorator: Google::Apis::DfareportingV3_4::SiteSkippableSetting::Representation @@ -4628,6 +4807,9 @@ module Google property :companion_settings, as: 'companionSettings', class: Google::Apis::DfareportingV3_4::CompanionSetting, decorator: Google::Apis::DfareportingV3_4::CompanionSetting::Representation property :kind, as: 'kind' + property :oba_enabled, as: 'obaEnabled' + property :oba_settings, as: 'obaSettings', class: Google::Apis::DfareportingV3_4::ObaIcon, decorator: Google::Apis::DfareportingV3_4::ObaIcon::Representation + property :orientation, as: 'orientation' property :skippable_settings, as: 'skippableSettings', class: Google::Apis::DfareportingV3_4::SkippableSetting, decorator: Google::Apis::DfareportingV3_4::SkippableSetting::Representation diff --git a/generated/google/apis/pubsub_v1.rb b/generated/google/apis/pubsub_v1.rb index 130dcf369..303eead80 100644 --- a/generated/google/apis/pubsub_v1.rb +++ b/generated/google/apis/pubsub_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/pubsub/docs module PubsubV1 VERSION = 'V1' - REVISION = '20200627' + REVISION = '20200713' # 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/pubsub_v1/classes.rb b/generated/google/apis/pubsub_v1/classes.rb index 80f7d02be..595e69988 100644 --- a/generated/google/apis/pubsub_v1/classes.rb +++ b/generated/google/apis/pubsub_v1/classes.rb @@ -763,6 +763,16 @@ module Google # @return [String] attr_accessor :message_id + # If non-empty, identifies related messages for which publish order should be + # respected. If a `Subscription` has `enable_message_ordering` set to `true`, + # messages published with the same non-empty `ordering_key` value will be + # delivered to subscribers in the order in which they are received by the + # Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` + # must specify the same `ordering_key` value. + # Corresponds to the JSON property `orderingKey` + # @return [String] + attr_accessor :ordering_key + # The time at which the message was published, populated by the server when # it receives the `Publish` call. It must not be populated by the # publisher in a `Publish` call. @@ -779,6 +789,7 @@ module Google @attributes = args[:attributes] if args.key?(:attributes) @data = args[:data] if args.key?(:data) @message_id = args[:message_id] if args.key?(:message_id) + @ordering_key = args[:ordering_key] if args.key?(:ordering_key) @publish_time = args[:publish_time] if args.key?(:publish_time) end end @@ -1185,6 +1196,15 @@ module Google # @return [Google::Apis::PubsubV1::DeadLetterPolicy] attr_accessor :dead_letter_policy + # If true, messages published with the same `ordering_key` in `PubsubMessage` + # will be delivered to the subscribers in the order in which they + # are received by the Pub/Sub system. Otherwise, they may be delivered in + # any order. + # Corresponds to the JSON property `enableMessageOrdering` + # @return [Boolean] + attr_accessor :enable_message_ordering + alias_method :enable_message_ordering?, :enable_message_ordering + # A policy that specifies the conditions for resource expiration (i.e., # automatic resource deletion). # Corresponds to the JSON property `expirationPolicy` @@ -1270,6 +1290,7 @@ module Google def update!(**args) @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) @dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy) + @enable_message_ordering = args[:enable_message_ordering] if args.key?(:enable_message_ordering) @expiration_policy = args[:expiration_policy] if args.key?(:expiration_policy) @filter = args[:filter] if args.key?(:filter) @labels = args[:labels] if args.key?(:labels) diff --git a/generated/google/apis/pubsub_v1/representations.rb b/generated/google/apis/pubsub_v1/representations.rb index a2c5e8293..c9db959f8 100644 --- a/generated/google/apis/pubsub_v1/representations.rb +++ b/generated/google/apis/pubsub_v1/representations.rb @@ -411,6 +411,7 @@ module Google hash :attributes, as: 'attributes' property :data, :base64 => true, as: 'data' property :message_id, as: 'messageId' + property :ordering_key, as: 'orderingKey' property :publish_time, as: 'publishTime' end end @@ -497,6 +498,7 @@ module Google property :ack_deadline_seconds, as: 'ackDeadlineSeconds' property :dead_letter_policy, as: 'deadLetterPolicy', class: Google::Apis::PubsubV1::DeadLetterPolicy, decorator: Google::Apis::PubsubV1::DeadLetterPolicy::Representation + property :enable_message_ordering, as: 'enableMessageOrdering' property :expiration_policy, as: 'expirationPolicy', class: Google::Apis::PubsubV1::ExpirationPolicy, decorator: Google::Apis::PubsubV1::ExpirationPolicy::Representation property :filter, as: 'filter'