Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

docs: Minor formatting #381

Merged
merged 2 commits into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions google/analytics/data_v1alpha/types/analytics_data_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions google/analytics/data_v1alpha/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions google/analytics/data_v1beta/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-analytics-data",
"version": "0.17.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-analytics-data",
"version": "0.17.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/data_v1alpha/test_alpha_analytics_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down