Skip to content

Commit

Permalink
feat: Automated regeneration of DriveActivity client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Mar 12, 2024
1 parent 9e554ee commit bf61b7e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf61b7e

Please sign in to comment.