diff --git a/clients/drive_activity/lib/google_api/drive_activity/v2/metadata.ex b/clients/drive_activity/lib/google_api/drive_activity/v2/metadata.ex index 20d979394c..ff1a5ddedb 100644 --- a/clients/drive_activity/lib/google_api/drive_activity/v2/metadata.ex +++ b/clients/drive_activity/lib/google_api/drive_activity/v2/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.DriveActivity.V2 do API client metadata for GoogleApi.DriveActivity.V2. """ - @discovery_revision "20220926" + @discovery_revision "20240305" def discovery_revision(), do: @discovery_revision end diff --git a/clients/drive_activity/lib/google_api/drive_activity/v2/model/consolidation_strategy.ex b/clients/drive_activity/lib/google_api/drive_activity/v2/model/consolidation_strategy.ex index 1bdb5d5986..9820d9bbe3 100644 --- a/clients/drive_activity/lib/google_api/drive_activity/v2/model/consolidation_strategy.ex +++ b/clients/drive_activity/lib/google_api/drive_activity/v2/model/consolidation_strategy.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DriveActivity.V2.Model.ConsolidationStrategy do @moduledoc """ - How the individual activities are consolidated. A set of activities may be consolidated into one combined activity if they are related in some way, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related. + How the individual activities are consolidated. If a set of activities is related they can be consolidated into one combined activity, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related. ## Attributes diff --git a/clients/drive_activity/lib/google_api/drive_activity/v2/model/legacy.ex b/clients/drive_activity/lib/google_api/drive_activity/v2/model/legacy.ex index e1beb7a5da..4e34a29033 100644 --- a/clients/drive_activity/lib/google_api/drive_activity/v2/model/legacy.ex +++ b/clients/drive_activity/lib/google_api/drive_activity/v2/model/legacy.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DriveActivity.V2.Model.Legacy do @moduledoc """ - A strategy which consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action. + A strategy that consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action. ## Attributes diff --git a/clients/drive_activity/lib/google_api/drive_activity/v2/model/no_consolidation.ex b/clients/drive_activity/lib/google_api/drive_activity/v2/model/no_consolidation.ex index 6174dd3cb1..3f776910bc 100644 --- a/clients/drive_activity/lib/google_api/drive_activity/v2/model/no_consolidation.ex +++ b/clients/drive_activity/lib/google_api/drive_activity/v2/model/no_consolidation.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DriveActivity.V2.Model.NoConsolidation do @moduledoc """ - A strategy which does no consolidation of individual activities. + A strategy that does no consolidation of individual activities. ## Attributes diff --git a/clients/drive_activity/lib/google_api/drive_activity/v2/model/query_drive_activity_request.ex b/clients/drive_activity/lib/google_api/drive_activity/v2/model/query_drive_activity_request.ex index 770a093c3b..8015a12ae8 100644 --- a/clients/drive_activity/lib/google_api/drive_activity/v2/model/query_drive_activity_request.ex +++ b/clients/drive_activity/lib/google_api/drive_activity/v2/model/query_drive_activity_request.ex @@ -21,12 +21,12 @@ defmodule GoogleApi.DriveActivity.V2.Model.QueryDriveActivityRequest do ## Attributes - * `ancestorName` (*type:* `String.t`, *default:* `nil`) - Return activities for this Drive folder and all children and descendants. The format is `items/ITEM_ID`. - * `consolidationStrategy` (*type:* `GoogleApi.DriveActivity.V2.Model.ConsolidationStrategy.t`, *default:* `nil`) - Details on how to consolidate related actions that make up the activity. If not set, then related actions are not consolidated. - * `filter` (*type:* `String.t`, *default:* `nil`) - The filtering for items returned from this query request. The format of the filter string is a sequence of expressions, joined by an optional "AND", where each expression is of the form "field operator value". Supported fields: - `time`: Uses numerical operators on date values either in terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. Examples: - `time > 1452409200000 AND time <= 1492812924310` - `time >= "2016-01-10T01:02:03-05:00"` - `detail.action_detail_case`: Uses the "has" operator (:) and either a singular value or a list of allowed action types enclosed in parentheses. Examples: - `detail.action_detail_case: RENAME` - `detail.action_detail_case:(CREATE EDIT)` - `-detail.action_detail_case:MOVE` + * `ancestorName` (*type:* `String.t`, *default:* `nil`) - Return activities for this Drive folder, plus all children and descendants. The format is `items/ITEM_ID`. + * `consolidationStrategy` (*type:* `GoogleApi.DriveActivity.V2.Model.ConsolidationStrategy.t`, *default:* `nil`) - Details on how to consolidate related actions that make up the activity. If not set, then related actions aren't consolidated. + * `filter` (*type:* `String.t`, *default:* `nil`) - The filtering for items returned from this query request. The format of the filter string is a sequence of expressions, joined by an optional "AND", where each expression is of the form "field operator value". Supported fields: - `time`: Uses numerical operators on date values either in terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. Examples: - `time > 1452409200000 AND time <= 1492812924310` - `time >= "2016-01-10T01:02:03-05:00"` - `detail.action_detail_case`: Uses the "has" operator (:) and either a singular value or a list of allowed action types enclosed in parentheses, separated by a space. To exclude a result from the response, prepend a hyphen (`-`) to the beginning of the filter string. Examples: - `detail.action_detail_case:RENAME` - `detail.action_detail_case:(CREATE RESTORE)` - `-detail.action_detail_case:MOVE` * `itemName` (*type:* `String.t`, *default:* `nil`) - Return activities for this Drive item. The format is `items/ITEM_ID`. - * `pageSize` (*type:* `integer()`, *default:* `nil`) - The miminum number of activities desired in the response; the server will attempt to return at least this quanitity. The server may also return fewer activities if it has a partial response ready before the request times out. If not set, a default value is used. - * `pageToken` (*type:* `String.t`, *default:* `nil`) - The token identifying which page of results to return. Set this to the next_page_token value returned from a previous query to obtain the following page of results. If not set, the first page of results will be returned. + * `pageSize` (*type:* `integer()`, *default:* `nil`) - The minimum number of activities desired in the response; the server attempts to return at least this quantity. The server may also return fewer activities if it has a partial response ready before the request times out. If not set, a default value is used. + * `pageToken` (*type:* `String.t`, *default:* `nil`) - The token identifies which page of results to return. Set this to the next_page_token value returned from a previous query to obtain the following page of results. If not set, the first page of results is returned. """ use GoogleApi.Gax.ModelBase diff --git a/clients/drive_activity/lib/google_api/drive_activity/v2/model/target.ex b/clients/drive_activity/lib/google_api/drive_activity/v2/model/target.ex index 0e7c4e05cf..0b22a1ce4f 100644 --- a/clients/drive_activity/lib/google_api/drive_activity/v2/model/target.ex +++ b/clients/drive_activity/lib/google_api/drive_activity/v2/model/target.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.DriveActivity.V2.Model.Target do @moduledoc """ - Information about the target of activity. + Information about the target of activity. For more information on how activity history is shared with users, see [Activity history visibility](https://developers.google.com/drive/activity/v2#activityhistory). ## Attributes