Skip to content

Commit

Permalink
feat: [AnalyticsData] add subject_to_thresholding field to `Respons…
Browse files Browse the repository at this point in the history
…eMetadata` type (#5537)

* feat: add `subject_to_thresholding` field to `ResponseMetadata` type
feat: add `tokens_per_project_per_hour` field to `PropertyQuota` type

PiperOrigin-RevId: 479394249

Source-Link: googleapis/googleapis@59b73bd

Source-Link: googleapis/googleapis-gen@c2f211b
Copy-Tag: eyJwIjoiQW5hbHl0aWNzRGF0YS8uT3dsQm90LnlhbWwiLCJoIjoiYzJmMjExYmNiM2NjMGIxMGNiNzE5MDUxODVkZDc0MGJkMjZmYzM3MiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and vishwarajanand committed Nov 8, 2022
1 parent 9de733b commit 9f0f91e
Show file tree
Hide file tree
Showing 14 changed files with 244 additions and 88 deletions.
Binary file modified AnalyticsData/metadata/V1Beta/Data.php
Binary file not shown.
16 changes: 13 additions & 3 deletions AnalyticsData/src/V1beta/BetaAnalyticsDataGrpcClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public function __construct($hostname, $opts, $channel = null) {
* measurements of user activity on your property, such as active users or
* event count. Dimensions break down metrics across some common criteria,
* such as country or event name.
*
* For a guide to constructing requests & understanding responses, see
* [Creating a
* Report](https://developers.google.com/analytics/devguides/reporting/data/v1/basics).
* @param \Google\Analytics\Data\V1beta\RunReportRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
Expand Down Expand Up @@ -129,9 +133,15 @@ public function GetMetadata(\Google\Analytics\Data\V1beta\GetMetadataRequest $ar
}

/**
* The Google Analytics Realtime API returns a customized report of realtime
* event data for your property. These reports show events and usage from the
* last 30 minutes.
* Returns a customized report of realtime event data for your property.
* Events appear in realtime reports seconds after they have been sent to
* the Google Analytics. Realtime reports show events and usage data for the
* periods of time ranging from the present moment to 30 minutes ago (up to
* 60 minutes for Google Analytics 360 properties).
*
* For a guide to constructing realtime requests & understanding responses,
* see [Creating a Realtime
* Report](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics).
* @param \Google\Analytics\Data\V1beta\RunRealtimeReportRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
Expand Down
2 changes: 1 addition & 1 deletion AnalyticsData/src/V1beta/Dimension.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 20 additions & 8 deletions AnalyticsData/src/V1beta/Filter.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions AnalyticsData/src/V1beta/Filter/StringFilter/MatchType.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 8 additions & 12 deletions AnalyticsData/src/V1beta/FilterExpression.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 17 additions & 9 deletions AnalyticsData/src/V1beta/Gapic/BetaAnalyticsDataGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -759,9 +759,15 @@ public function runPivotReport(array $optionalArgs = [])
}

/**
* The Google Analytics Realtime API returns a customized report of realtime
* event data for your property. These reports show events and usage from the
* last 30 minutes.
* Returns a customized report of realtime event data for your property.
* Events appear in realtime reports seconds after they have been sent to
* the Google Analytics. Realtime reports show events and usage data for the
* periods of time ranging from the present moment to 30 minutes ago (up to
* 60 minutes for Google Analytics 360 properties).
*
* For a guide to constructing realtime requests & understanding responses,
* see [Creating a Realtime
* Report](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics).
*
* Sample code:
* ```
Expand All @@ -788,12 +794,10 @@ public function runPivotReport(array $optionalArgs = [])
* @type Metric[] $metrics
* The metrics requested and displayed.
* @type FilterExpression $dimensionFilter
* The filter clause of dimensions. Dimensions must be requested to be used in
* this filter. Metrics cannot be used in this filter.
* The filter clause of dimensions. Metrics cannot be used in this filter.
* @type FilterExpression $metricFilter
* The filter clause of metrics. Applied at post aggregation phase, similar to
* SQL having-clause. Metrics must be requested to be used in this filter.
* Dimensions cannot be used in this filter.
* SQL having-clause. Dimensions cannot be used in this filter.
* @type int $limit
* The number of rows to return. If unspecified, 10,000 rows are returned. The
* API returns a maximum of 100,000 rows per request, no matter how many you
Expand Down Expand Up @@ -903,6 +907,10 @@ public function runRealtimeReport(array $optionalArgs = [])
* event count. Dimensions break down metrics across some common criteria,
* such as country or event name.
*
* For a guide to constructing requests & understanding responses, see
* [Creating a
* Report](https://developers.google.com/analytics/devguides/reporting/data/v1/basics).
*
* Sample code:
* ```
* $betaAnalyticsDataClient = new BetaAnalyticsDataClient();
Expand Down Expand Up @@ -941,8 +949,8 @@ public function runRealtimeReport(array $optionalArgs = [])
* Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
* for examples. Metrics cannot be used in this filter.
* @type FilterExpression $metricFilter
* The filter clause of metrics. Applied at post aggregation phase, similar to
* SQL having-clause. Dimensions cannot be used in this filter.
* The filter clause of metrics. Applied after aggregating the report's rows,
* similar to SQL having-clause. Dimensions cannot be used in this filter.
* @type int $offset
* The row count of the start row. The first row is counted as row 0.
*
Expand Down
32 changes: 16 additions & 16 deletions AnalyticsData/src/V1beta/MinuteRange.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion AnalyticsData/src/V1beta/OrderBy.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9f0f91e

Please sign in to comment.