Skip to content

Commit

Permalink
feat: run the generator (#1215)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Jun 14, 2018
1 parent dd562cc commit 643011f
Show file tree
Hide file tree
Showing 50 changed files with 3,027 additions and 4,180 deletions.
12 changes: 6 additions & 6 deletions src/apis/admin/directory_v1.ts
Expand Up @@ -2874,7 +2874,7 @@ export namespace admin_directory_v1 {
* @param {string=} params.orgUnitPath Full path of the organizational unit or its ID
* @param {string=} params.pageToken Token to specify next page in the list
* @param {string=} params.projection Restrict information returned to a set of selected fields.
* @param {string=} params.query Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?hl=en&answer=1698333
* @param {string=} params.query Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?answer=1698333
* @param {string=} params.sortOrder Whether to return results in ascending or descending order. Only of use when orderBy is also used
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
Expand Down Expand Up @@ -3221,7 +3221,7 @@ export namespace admin_directory_v1 {
projection?: string;
/**
* Search string in the format given at
* http://support.google.com/chromeos/a/bin/answer.py?hl=en&answer=1698333
* http://support.google.com/chromeos/a/bin/answer.py?answer=1698333
*/
query?: string;
/**
Expand Down Expand Up @@ -4439,7 +4439,7 @@ export namespace admin_directory_v1 {
* @param {integer=} params.maxResults Maximum number of results to return. Default is 200
* @param {string=} params.orderBy Column to use for sorting results
* @param {string=} params.pageToken Token to specify next page in the list
* @param {string=} params.query Query string search. Should be of the form "". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-users
* @param {string=} params.query Query string search. Should be of the form "". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-groups
* @param {string=} params.sortOrder Whether to return results in ascending or descending order. Only of use when orderBy is also used
* @param {string=} params.userKey Email or immutable Id of the user if only those groups are to be listed, the given user is a member of. If Id, it should match with id of user object
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -4693,7 +4693,7 @@ export namespace admin_directory_v1 {
/**
* Query string search. Should be of the form "". Complete documentation is
* at
* https://developers.google.com/admin-sdk/directory/v1/guides/search-users
* https://developers.google.com/admin-sdk/directory/v1/guides/search-groups
*/
query?: string;
/**
Expand Down Expand Up @@ -5842,7 +5842,7 @@ export namespace admin_directory_v1 {
* @param {string=} params.orderBy Column to use for sorting results
* @param {string=} params.pageToken Token to specify next page in the list
* @param {string=} params.projection Restrict information returned to a set of selected fields.
* @param {string=} params.query Search string in the format given at http://support.google.com/a/bin/answer.py?hl=en&answer=1408863#search
* @param {string=} params.query Search string in the format given at http://support.google.com/a/bin/answer.py?answer=1408863#search
* @param {string=} params.sortOrder Whether to return results in ascending or descending order. Only of use when orderBy is also used
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
Expand Down Expand Up @@ -5985,7 +5985,7 @@ export namespace admin_directory_v1 {
projection?: string;
/**
* Search string in the format given at
* http://support.google.com/a/bin/answer.py?hl=en&answer=1408863#search
* http://support.google.com/a/bin/answer.py?answer=1408863#search
*/
query?: string;
/**
Expand Down
11 changes: 8 additions & 3 deletions src/apis/androidmanagement/v1.ts
Expand Up @@ -163,7 +163,8 @@ export namespace androidmanagement_v1 {
*/
delegatedScopes?: string[];
/**
* Whether the app should be disabled, but app data is preserved.
* Whether the app is disabled. When disabled, the app data is still
* preserved.
*/
disabled?: boolean;
/**
Expand Down Expand Up @@ -426,7 +427,10 @@ export namespace androidmanagement_v1 {
*/
hardwareStatusSamples?: Schema$HardwareStatus[];
/**
* The last time the device sent a policy compliance report.
* The last time the device sent a policy compliance report. Important: This
* field is deprecated. The timestamp will be on last_status_report_time
* field, and last_status_report_time will be used for both status report
* and compliance report.
*/
lastPolicyComplianceReportTime?: string;
/**
Expand Down Expand Up @@ -1130,7 +1134,8 @@ export namespace androidmanagement_v1 {
*/
export interface Schema$PermissionGrant {
/**
* The android permission, e.g. android.permission.READ_CALENDAR.
* The android permission or group, e.g. android.permission.READ_CALENDAR or
* android.permission_group.CALENDAR.
*/
permission?: string;
/**
Expand Down
13 changes: 13 additions & 0 deletions src/apis/androidpublisher/v2.ts
Expand Up @@ -407,6 +407,13 @@ export namespace androidpublisher_v2 {
* price is always in the developer's Checkout merchant currency.
*/
defaultPrice?: Schema$Price;
/**
* Grace period of the subscription, specified in ISO 8601 format. It will
* allow developers to give their subscribers a grace period when the
* payment for the new recurrence period is declined. Acceptable values =
* "P3D" (three days) and "P7D" (seven days)
*/
gracePeriod?: string;
/**
* List of localized title and description data.
*/
Expand Down Expand Up @@ -2368,6 +2375,12 @@ export namespace androidpublisher_v2 {

/**
* androidpublisher.edits.bundles.upload
* @desc Uploads a new Android App Bundle to this edit. If you are using the
* Google API client libraries, please increase the timeout of the http
* request before calling this endpoint (a timeout of 2 minutes is
* recommended). See:
* https://developers.google.com/api-client-library/java/google-api-java-client/errors
* for an example in java.
* @alias androidpublisher.edits.bundles.upload
* @memberOf! ()
*
Expand Down
13 changes: 13 additions & 0 deletions src/apis/androidpublisher/v3.ts
Expand Up @@ -389,6 +389,13 @@ export namespace androidpublisher_v3 {
* price is always in the developer's Checkout merchant currency.
*/
defaultPrice?: Schema$Price;
/**
* Grace period of the subscription, specified in ISO 8601 format. It will
* allow developers to give their subscribers a grace period when the
* payment for the new recurrence period is declined. Acceptable values =
* "P3D" (three days) and "P7D" (seven days)
*/
gracePeriod?: string;
/**
* List of localized title and description data.
*/
Expand Down Expand Up @@ -1781,6 +1788,12 @@ export namespace androidpublisher_v3 {

/**
* androidpublisher.edits.bundles.upload
* @desc Uploads a new Android App Bundle to this edit. If you are using the
* Google API client libraries, please increase the timeout of the http
* request before calling this endpoint (a timeout of 2 minutes is
* recommended). See:
* https://developers.google.com/api-client-library/java/google-api-java-client/errors
* for an example in java.
* @alias androidpublisher.edits.bundles.upload
* @memberOf! ()
*
Expand Down
5 changes: 5 additions & 0 deletions src/apis/appengine/v1.ts
Expand Up @@ -582,6 +582,11 @@ export namespace appengine_v1 {
* "myapi.endpoints.myproject.cloud.goog"
*/
name?: string;
/**
* Endpoints rollout strategy. If FIXED, config_id must be specified. If
* MANAGED, config_id must be omitted.
*/
rolloutStrategy?: string;
}
/**
* Custom static error page to be served when an error occurs.
Expand Down
4 changes: 2 additions & 2 deletions src/apis/appengine/v1beta.ts
Expand Up @@ -621,8 +621,8 @@ export namespace appengine_v1beta {
* configuration ID. The config_id field is used to give the configuration
* ID and is required in this case.Endpoints also has a rollout strategy
* called RolloutStrategy.MANAGED. When using this, Endpoints fetches the
* latest configuration and does not need to be told the configuration ID.
* In this case, config_id must be omitted.
* latest configuration and does not need the configuration ID. In this
* case, config_id must be omitted.
*/
configId?: string;
/**
Expand Down
2 changes: 2 additions & 0 deletions src/apis/bigquery/v2.ts
Expand Up @@ -1325,6 +1325,8 @@ export namespace bigquery_v2 {
* https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language
* "DELETE": DELETE query; see
* https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language
* "MERGE": MERGE query; see
* https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language
* "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS SELECT.
* "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS
* SELECT ... "DROP_TABLE": DROP TABLE query.
Expand Down
2 changes: 1 addition & 1 deletion src/apis/bigquerydatatransfer/v1.ts
Expand Up @@ -571,7 +571,7 @@ export namespace bigquerydatatransfer_v1 {
* created as part of a regular schedule. For batch transfer runs that are
* scheduled manually, this is empty. NOTE: the system might choose to delay
* the schedule depending on the current load, so `schedule_time`
* doesn't always matches this.
* doesn't always match this.
*/
schedule?: string;
/**
Expand Down
55 changes: 53 additions & 2 deletions src/apis/chat/v1.ts
Expand Up @@ -33,8 +33,7 @@ export namespace chat_v1 {
/**
* Hangouts Chat API
*
* Enables bots to fetch information and perform actions in the new Hangouts
* Chat.
* Enables bots to fetch information and perform actions in Hangouts Chat.
*
* @example
* const {google} = require('googleapis');
Expand Down Expand Up @@ -197,6 +196,58 @@ export namespace chat_v1 {
*/
title?: string;
}
/**
* Hangouts Chat events.
*/
export interface Schema$DeprecatedEvent {
/**
* The form action data associated with an interactive card that was
* clicked. Only populated for CARD_CLICKED events. See the [Interactive
* Cards guide](/hangouts/chat/how-tos/cards-onclick) for more information.
*/
action?: Schema$FormAction;
/**
* The URL the bot should redirect the user to after they have completed an
* authorization or configuration flow outside of Hangouts Chat. See the
* [Authorizing access to 3p services guide](/hangouts/chat/how-tos/auth-3p)
* for more information.
*/
configCompleteRedirectUrl?: string;
/**
* The timestamp indicating when the event was dispatched.
*/
eventTime?: string;
/**
* The message that triggered the event.
*/
message?: Schema$Message;
/**
* The room or DM in which the event occurred.
*/
space?: Schema$Space;
/**
* The bot-defined key for the thread related to the event. See the
* thread_key field of the `spaces.message.create` request for more
* information.
*/
threadKey?: string;
/**
* A secret value that bots can use to verify if a request is from Google.
* The token is randomly generated by Google, remains static, and can be
* obtained from the Hangouts Chat API configuration page in the Cloud
* Console. Developers can revoke/regenerate it if needed from the same
* page.
*/
token?: string;
/**
* The type of the event.
*/
type?: string;
/**
* The user that triggered the event.
*/
user?: Schema$User;
}
/**
* A generic empty message that you can re-use to avoid defining duplicated
* empty messages in your APIs. A typical example is to use it as the request
Expand Down
41 changes: 21 additions & 20 deletions src/apis/classroom/v1.ts
Expand Up @@ -990,7 +990,7 @@ export namespace classroom_v1 {
export interface Schema$ReclaimStudentSubmissionRequest {}
/**
* An instruction to Classroom to send notifications from the `feed` to the
* provided `destination`.
* provided destination.
*/
export interface Schema$Registration {
/**
Expand All @@ -1004,7 +1004,7 @@ export namespace classroom_v1 {
expiryTime?: string;
/**
* Specification for the class of notifications that Classroom should
* deliver to the `destination`.
* deliver to the destination.
*/
feed?: Schema$Feed;
/**
Expand Down Expand Up @@ -5386,24 +5386,25 @@ export namespace classroom_v1 {
/**
* classroom.registrations.create
* @desc Creates a `Registration`, causing Classroom to start sending
* notifications from the provided `feed` to the provided `destination`.
* Returns the created `Registration`. Currently, this will be the same as
* the argument, but with server-assigned fields such as `expiry_time` and
* `id` filled in. Note that any value specified for the `expiry_time` or
* `id` fields will be ignored. While Classroom may validate the
* `destination` and return errors on a best effort basis, it is the
* caller's responsibility to ensure that it exists and that Classroom has
* permission to publish to it. This method may return the following error
* codes: * `PERMISSION_DENIED` if: * the authenticated user does not
* have permission to receive notifications from the requested field;
* or * the credential provided does not include the appropriate scope
* for the requested feed. * another access error is encountered.
* * `INVALID_ARGUMENT` if: * no `destination` is specified, or the
* specified `destination` is not valid; or * no `feed` is
* specified, or the specified `feed` is not valid. * `NOT_FOUND` if: *
* the specified `feed` cannot be located, or the requesting user does not
* have permission to determine whether or not it exists; or * the
* specified `destination` cannot be located, or Classroom has not been
* notifications from the provided `feed` to the destination provided in
* `cloudPubSubTopic`. Returns the created `Registration`. Currently, this
* will be the same as the argument, but with server-assigned fields such as
* `expiry_time` and `id` filled in. Note that any value specified for the
* `expiry_time` or `id` fields will be ignored. While Classroom may
* validate the `cloudPubSubTopic` and return errors on a best effort basis,
* it is the caller's responsibility to ensure that it exists and that
* Classroom has permission to publish to it. This method may return the
* following error codes: * `PERMISSION_DENIED` if: * the authenticated
* user does not have permission to receive notifications from the
* requested field; or * the credential provided does not include the
* appropriate scope for the requested feed. * another access
* error is encountered. * `INVALID_ARGUMENT` if: * no
* `cloudPubsubTopic` is specified, or the specified `cloudPubsubTopic` is
* not valid; or * no `feed` is specified, or the specified `feed` is
* not valid. * `NOT_FOUND` if: * the specified `feed` cannot be
* located, or the requesting user does not have permission to
* determine whether or not it exists; or * the specified
* `cloudPubsubTopic` cannot be located, or Classroom has not been
* granted permission to publish to it.
* @alias classroom.registrations.create
* @memberOf! ()
Expand Down
2 changes: 1 addition & 1 deletion src/apis/cloudbuild/v1.ts
Expand Up @@ -31,7 +31,7 @@ export namespace cloudbuild_v1 {
}

/**
* Cloud Container Builder API
* Cloud Container Builder
*
* Builds container images in the cloud.
*
Expand Down

0 comments on commit 643011f

Please sign in to comment.