diff --git a/google/analytics/data_v1alpha/types/analytics_data_api.py b/google/analytics/data_v1alpha/types/analytics_data_api.py index a5019f8..73fd2a0 100644 --- a/google/analytics/data_v1alpha/types/analytics_data_api.py +++ b/google/analytics/data_v1alpha/types/analytics_data_api.py @@ -453,6 +453,7 @@ class RunFunnelReportRequest(proto.Message): subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment. + Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name. diff --git a/google/analytics/data_v1alpha/types/data.py b/google/analytics/data_v1alpha/types/data.py index 78256a3..9ee38e4 100644 --- a/google/analytics/data_v1alpha/types/data.py +++ b/google/analytics/data_v1alpha/types/data.py @@ -262,8 +262,7 @@ class MetricType(proto.Enum): class DateRange(proto.Message): r"""A contiguous set of days: startDate, startDate + 1, ..., - endDate. Requests - are allowed up to 4 date ranges. + endDate. Requests are allowed up to 4 date ranges. Attributes: start_date (str): @@ -1072,6 +1071,7 @@ class FunnelNextAction(proto.Message): class Funnel(proto.Message): r"""Configures the funnel in a funnel report request. A funnel reports on users as they pass through a sequence of steps. + Funnel exploration lets you visualize the steps your users take to complete a task and quickly see how well they are succeeding or failing at each step. For example, how do prospects become @@ -1921,6 +1921,7 @@ class SegmentEventFilter(proto.Message): If specified, this filter matches events that match both the single event name and the parameter filter expressions. + Inside the parameter filter expression, only parameter filters are available. @@ -2337,6 +2338,7 @@ class FunnelEventFilter(proto.Message): If specified, this filter matches events that match both the single event name and the parameter filter expressions. + Inside the parameter filter expression, only parameter filters are available. diff --git a/google/analytics/data_v1beta/services/beta_analytics_data/async_client.py b/google/analytics/data_v1beta/services/beta_analytics_data/async_client.py index 4b66871..171e7b5 100644 --- a/google/analytics/data_v1beta/services/beta_analytics_data/async_client.py +++ b/google/analytics/data_v1beta/services/beta_analytics_data/async_client.py @@ -776,10 +776,12 @@ async def check_compatibility( metrics that can be added to a report request and maintain compatibility. This method fails if the request's dimensions and metrics are incompatible. + In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in that case, you will need to remove dimensions and/or metrics from the incompatible report until the report is compatible. + The Realtime and Core reports have different compatibility rules. This method checks compatibility for Core reports. diff --git a/google/analytics/data_v1beta/services/beta_analytics_data/client.py b/google/analytics/data_v1beta/services/beta_analytics_data/client.py index 5d2f610..b0659c0 100644 --- a/google/analytics/data_v1beta/services/beta_analytics_data/client.py +++ b/google/analytics/data_v1beta/services/beta_analytics_data/client.py @@ -1003,10 +1003,12 @@ def check_compatibility( metrics that can be added to a report request and maintain compatibility. This method fails if the request's dimensions and metrics are incompatible. + In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in that case, you will need to remove dimensions and/or metrics from the incompatible report until the report is compatible. + The Realtime and Core reports have different compatibility rules. This method checks compatibility for Core reports. diff --git a/google/analytics/data_v1beta/services/beta_analytics_data/transports/grpc.py b/google/analytics/data_v1beta/services/beta_analytics_data/transports/grpc.py index 8602882..dcf17bd 100644 --- a/google/analytics/data_v1beta/services/beta_analytics_data/transports/grpc.py +++ b/google/analytics/data_v1beta/services/beta_analytics_data/transports/grpc.py @@ -448,10 +448,12 @@ def check_compatibility( metrics that can be added to a report request and maintain compatibility. This method fails if the request's dimensions and metrics are incompatible. + In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in that case, you will need to remove dimensions and/or metrics from the incompatible report until the report is compatible. + The Realtime and Core reports have different compatibility rules. This method checks compatibility for Core reports. diff --git a/google/analytics/data_v1beta/services/beta_analytics_data/transports/grpc_asyncio.py b/google/analytics/data_v1beta/services/beta_analytics_data/transports/grpc_asyncio.py index c3bdbbc..06a8e22 100644 --- a/google/analytics/data_v1beta/services/beta_analytics_data/transports/grpc_asyncio.py +++ b/google/analytics/data_v1beta/services/beta_analytics_data/transports/grpc_asyncio.py @@ -454,10 +454,12 @@ def check_compatibility( metrics that can be added to a report request and maintain compatibility. This method fails if the request's dimensions and metrics are incompatible. + In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in that case, you will need to remove dimensions and/or metrics from the incompatible report until the report is compatible. + The Realtime and Core reports have different compatibility rules. This method checks compatibility for Core reports. diff --git a/google/analytics/data_v1beta/types/data.py b/google/analytics/data_v1beta/types/data.py index c78d424..121582a 100644 --- a/google/analytics/data_v1beta/types/data.py +++ b/google/analytics/data_v1beta/types/data.py @@ -542,6 +542,7 @@ class Filter(proto.Message): Attributes: field_name (str): The dimension name or metric name. + In most methods, dimensions & metrics can be used for the first time in this field. However in a RunPivotReportRequest, this field must be diff --git a/samples/generated_samples/snippet_metadata_google.analytics.data.v1alpha.json b/samples/generated_samples/snippet_metadata_google.analytics.data.v1alpha.json index 8c6b101..53b9e85 100644 --- a/samples/generated_samples/snippet_metadata_google.analytics.data.v1alpha.json +++ b/samples/generated_samples/snippet_metadata_google.analytics.data.v1alpha.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-analytics-data", - "version": "0.17.1" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.analytics.data.v1beta.json b/samples/generated_samples/snippet_metadata_google.analytics.data.v1beta.json index 879bda9..b945bac 100644 --- a/samples/generated_samples/snippet_metadata_google.analytics.data.v1beta.json +++ b/samples/generated_samples/snippet_metadata_google.analytics.data.v1beta.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-analytics-data", - "version": "0.17.1" + "version": "0.1.0" }, "snippets": [ { diff --git a/tests/unit/gapic/data_v1alpha/test_alpha_analytics_data.py b/tests/unit/gapic/data_v1alpha/test_alpha_analytics_data.py index d3f5333..a4e2c34 100644 --- a/tests/unit/gapic/data_v1alpha/test_alpha_analytics_data.py +++ b/tests/unit/gapic/data_v1alpha/test_alpha_analytics_data.py @@ -41,7 +41,7 @@ import google.auth from google.auth import credentials as ga_credentials from google.auth.exceptions import MutualTLSChannelError -from google.longrunning import operations_pb2 +from google.longrunning import operations_pb2 # type: ignore from google.oauth2 import service_account from google.protobuf import duration_pb2 # type: ignore from google.protobuf import json_format