Skip to content

Commit

Permalink
feat: run the generator (#1584)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Feb 7, 2019
1 parent fc26897 commit 3ccc96c
Show file tree
Hide file tree
Showing 52 changed files with 39,201 additions and 253 deletions.
6 changes: 3 additions & 3 deletions src/apis/accesscontextmanager/v1beta.ts
Expand Up @@ -218,10 +218,10 @@ export namespace accesscontextmanager_v1beta {
*/
ipSubnetworks?: string[];
/**
* The signed-in user originating the request must be a part of one of the
* provided members. Syntax: `user:{emailid}` `group:{emailid}`
* The request must be made by one of the provided user or service accounts.
* Groups are not supported. Syntax: `user:{emailid}`
* `serviceAccount:{emailid}` If not specified, a request may come from any
* user (logged in/not logged in, not present in any groups, etc.).
* user.
*/
members?: string[];
/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangebuyer2/v2beta1.ts
Expand Up @@ -1827,7 +1827,7 @@ export namespace adexchangebuyer2_v2beta1 {
export interface Schema$PauseProposalRequest {
/**
* The reason why the proposal is being paused. This human readable message
* will be displayed in the seller's UI. (Max length: 100 unicode code
* will be displayed in the seller's UI. (Max length: 1000 unicode code
* units.)
*/
reason?: string;
Expand Down
94 changes: 94 additions & 0 deletions src/apis/admin/directory_v1.ts
Expand Up @@ -265,6 +265,11 @@ export namespace admin_directory_v1 {
* JSON template for Building object in Directory API.
*/
export interface Schema$Building {
/**
* The postal address of the building. See PostalAddress for details. Note
* that only a single address line and region code are required.
*/
address?: Schema$BuildingAddress;
/**
* Unique identifier for the building. The maximum length is 100 characters.
*/
Expand Down Expand Up @@ -302,6 +307,80 @@ export namespace admin_directory_v1 {
*/
kind?: string;
}
/**
* JSON template for the postal address of a building in Directory API.
*/
export interface Schema$BuildingAddress {
/**
* Unstructured address lines describing the lower levels of an address.
* Because values in addressLines do not have type information and may
* sometimes contain multiple values in a single field (e.g. "Austin,
* TX"), it is important that the line order is clear. The order of
* address lines should be "envelope order" for the country/region
* of the address. In places where this can vary (e.g. Japan),
* address_language is used to make it explicit (e.g. "ja" for
* large-to-small ordering and "ja-Latn" or "en" for
* small-to-large). This way, the most specific line of an address can be
* selected based on the language. The minimum permitted structural
* representation of an address consists of a regionCode with all remaining
* information placed in the addressLines. It would be possible to format
* such an address very approximately without geocoding, but no semantic
* reasoning could be made about any of the address components until it was
* at least partially resolved. Creating an address only containing a
* regionCode and addressLines, and then geocoding is the recommended way to
* handle completely unstructured addresses (as opposed to guessing which
* parts of the address should be localities or administrative areas).
*/
addressLines?: string[];
/**
* Optional. Highest administrative subdivision which is used for postal
* addresses of a country or region. For example, this can be a state, a
* province, an oblast, or a prefecture. Specifically, for Spain this is the
* province and not the autonomous community (e.g. "Barcelona" and
* not "Catalonia"). Many countries don't use an
* administrative area in postal addresses. E.g. in Switzerland this should
* be left unpopulated.
*/
administrativeArea?: string;
/**
* Optional. BCP-47 language code of the contents of this address (if
* known). This is often the UI language of the input form or is expected to
* match one of the languages used in the address' country/region, or
* their transliterated equivalents. This can affect formatting in certain
* countries, but is not critical to the correctness of the data and will
* never affect any validation or other non-formatting related operations.
* If this value is not known, it should be omitted (rather than specifying
* a possibly incorrect default). Examples: "zh-Hant",
* "ja", "ja-Latn", "en".
*/
languageCode?: string;
/**
* Optional. Generally refers to the city/town portion of the address.
* Examples: US city, IT comune, UK post town. In regions of the world where
* localities are not well defined or do not fit into this structure well,
* leave locality empty and use addressLines.
*/
locality?: string;
/**
* Optional. Postal code of the address. Not all countries use or require
* postal codes to be present, but where they are used, they may trigger
* additional validation with other parts of the address (e.g. state/zip
* validation in the U.S.A.).
*/
postalCode?: string;
/**
* Required. CLDR region code of the country/region of the address. This is
* never inferred and it is up to the user to ensure the value is correct.
* See http://cldr.unicode.org/ and
* http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
*/
regionCode?: string;
/**
* Optional. Sublocality of the address. For example, this can be
* neighborhoods, boroughs, districts.
*/
sublocality?: string;
}
/**
* JSON template for coordinates of a building in Directory API.
*/
Expand Down Expand Up @@ -7378,6 +7457,7 @@ export namespace admin_directory_v1 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.coordinatesSource Source from which Building.coordinates are derived.
* @param {string} params.customer The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.
* @param {().Building} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -7519,6 +7599,7 @@ export namespace admin_directory_v1 {
*
* @param {object} params Parameters for request
* @param {string} params.buildingId The ID of the building to update.
* @param {string=} params.coordinatesSource Source from which Building.coordinates are derived.
* @param {string} params.customer The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.
* @param {().Building} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -7589,6 +7670,7 @@ export namespace admin_directory_v1 {
*
* @param {object} params Parameters for request
* @param {string} params.buildingId The ID of the building to update.
* @param {string=} params.coordinatesSource Source from which Building.coordinates are derived.
* @param {string} params.customer The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.
* @param {().Building} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -7694,6 +7776,10 @@ export namespace admin_directory_v1 {
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;

/**
* Source from which Building.coordinates are derived.
*/
coordinatesSource?: string;
/**
* The unique ID for the customer's G Suite account. As an account
* administrator, you can also use the my_customer alias to represent your
Expand Down Expand Up @@ -7739,6 +7825,10 @@ export namespace admin_directory_v1 {
* The ID of the building to update.
*/
buildingId?: string;
/**
* Source from which Building.coordinates are derived.
*/
coordinatesSource?: string;
/**
* The unique ID for the customer's G Suite account. As an account
* administrator, you can also use the my_customer alias to represent your
Expand All @@ -7762,6 +7852,10 @@ export namespace admin_directory_v1 {
* The ID of the building to update.
*/
buildingId?: string;
/**
* Source from which Building.coordinates are derived.
*/
coordinatesSource?: string;
/**
* The unique ID for the customer's G Suite account. As an account
* administrator, you can also use the my_customer alias to represent your
Expand Down
67 changes: 48 additions & 19 deletions src/apis/alertcenter/v1beta1.ts
Expand Up @@ -126,7 +126,7 @@ export namespace alertcenter_v1beta1 {
loginDetails?: Schema$LoginDetails;
}
/**
* An alert affecting a customer. All fields are read-only once created.
* An alert affecting a customer.
*/
export interface Schema$Alert {
/**
Expand Down Expand Up @@ -163,9 +163,10 @@ export namespace alertcenter_v1beta1 {
securityInvestigationToolLink?: string;
/**
* Required. A unique identifier for the system that reported the alert.
* Supported sources are any of the following: * Google Operations * Mobile
* device management * Gmail phishing * Domain wide takeout * Government
* attack warning * Google identity
* This is output only after alert is created. Supported sources are any of
* the following: * Google Operations * Mobile device management * Gmail
* phishing * Domain wide takeout * Government attack warning * Google
* identity
*/
source?: string;
/**
Expand All @@ -174,8 +175,9 @@ export namespace alertcenter_v1beta1 {
*/
startTime?: string;
/**
* Required. The type of the alert. For a list of available alert types see
* [G Suite Alert types](/admin-sdk/alertcenter/reference/alert-types).
* Required. The type of the alert. This is output only after alert is
* created. For a list of available alert types see [G Suite Alert
* types](/admin-sdk/alertcenter/reference/alert-types).
*/
type?: string;
}
Expand Down Expand Up @@ -208,6 +210,15 @@ export namespace alertcenter_v1beta1 {
*/
type?: string;
}
/**
* Alerts from App Maker to notify admins to set up default SQL instance.
*/
export interface Schema$AppMakerSqlSetupNotification {
/**
* List of applications with requests for default SQL set up.
*/
requestInfo?: Schema$RequestInfo[];
}
/**
* Attachment with application-specific information about an alert.
*/
Expand Down Expand Up @@ -531,6 +542,24 @@ export namespace alertcenter_v1beta1 {
*/
messages?: Schema$GmailMessageInfo[];
}
/**
* Requests for one application that needs default SQL setup.
*/
export interface Schema$RequestInfo {
/**
* List of app developers who triggered notifications for above application.
*/
appDeveloperEmail?: string[];
/**
* Required. The application that requires the SQL setup.
*/
appName?: string;
/**
* Required. Number of requests sent for this application to set up default
* SQL instance.
*/
numberOfRequests?: string;
}
/**
* Customer-level settings.
*/
Expand Down Expand Up @@ -694,12 +723,13 @@ export namespace alertcenter_v1beta1 {

/**
* alertcenter.alerts.get
* @desc Gets the specified alert.
* @desc Gets the specified alert. Attempting to get a nonexistent alert
* returns `NOT_FOUND` error.
* @alias alertcenter.alerts.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.alertId Required. The identifier of the alert to retrieve. Returns a NOT_FOUND error if no such alert.
* @param {string} params.alertId Required. The identifier of the alert to retrieve.
* @param {string=} params.customerId Optional. The unique identifier of the G Suite organization account of the customer the alert is associated with. Inferred from the caller identity if not provided.
* @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 @@ -916,8 +946,7 @@ export namespace alertcenter_v1beta1 {
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;

/**
* Required. The identifier of the alert to retrieve. Returns a NOT_FOUND
* error if no such alert.
* Required. The identifier of the alert to retrieve.
*/
alertId?: string;
/**
Expand Down Expand Up @@ -989,12 +1018,13 @@ export namespace alertcenter_v1beta1 {

/**
* alertcenter.alerts.feedback.create
* @desc Creates new feedback for an alert.
* @desc Creates new feedback for an alert. Attempting to create a feedback
* for a non-existent alert returns `NOT_FOUND` error.
* @alias alertcenter.alerts.feedback.create
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.alertId Required. The identifier of the alert this feedback belongs to. Returns a `NOT_FOUND` error if no such alert.
* @param {string} params.alertId Required. The identifier of the alert this feedback belongs to.
* @param {string=} params.customerId Optional. The unique identifier of the G Suite organization account of the customer the alert is associated with. Inferred from the caller identity if not provided.
* @param {().AlertFeedback} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -1058,12 +1088,13 @@ export namespace alertcenter_v1beta1 {

/**
* alertcenter.alerts.feedback.list
* @desc Lists all the feedback for an alert.
* @desc Lists all the feedback for an alert. Attempting to list feedbacks
* for a non-existent alert returns `NOT_FOUND` error.
* @alias alertcenter.alerts.feedback.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.alertId Required. The alert identifier. The "-" wildcard could be used to represent all alerts. If alert does not exist returns a `NOT_FOUND` error.
* @param {string} params.alertId Required. The alert identifier. The "-" wildcard could be used to represent all alerts.
* @param {string=} params.customerId Optional. The unique identifier of the G Suite organization account of the customer the alert feedback are associated with. Inferred from the caller identity if not provided.
* @param {string=} params.filter Optional. A query string for filtering alert feedback results. For more details, see [Query filters](/admin-sdk/alertcenter/guides/query-filters) and [Supported query filter fields](/admin-sdk/alertcenter/reference/filter-fields#alerts.feedback.list).
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -1136,8 +1167,7 @@ export namespace alertcenter_v1beta1 {
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;

/**
* Required. The identifier of the alert this feedback belongs to. Returns a
* `NOT_FOUND` error if no such alert.
* Required. The identifier of the alert this feedback belongs to.
*/
alertId?: string;
/**
Expand All @@ -1161,8 +1191,7 @@ export namespace alertcenter_v1beta1 {

/**
* Required. The alert identifier. The "-" wildcard could be used to
* represent all alerts. If alert does not exist returns a `NOT_FOUND`
* error.
* represent all alerts.
*/
alertId?: string;
/**
Expand Down Expand Up @@ -1254,7 +1283,7 @@ export namespace alertcenter_v1beta1 {

/**
* alertcenter.updateSettings
* @desc Update the customer-level settings.
* @desc Updates the customer-level settings.
* @alias alertcenter.updateSettings
* @memberOf! ()
*
Expand Down
19 changes: 15 additions & 4 deletions src/apis/androidenterprise/v1.ts
Expand Up @@ -158,6 +158,11 @@ export namespace androidenterprise_v1 {
* "androidenterprise#administratorWebTokenSpec".
*/
kind?: string;
/**
* Options for displaying the Managed Configuration page.
*/
managedConfigurations?:
Schema$AdministratorWebTokenSpecManagedConfigurations;
/**
* The URI of the parent frame hosting the iframe. To prevent XSS, the
* iframe may not be hosted at other URIs. This URI must be https.
Expand All @@ -184,6 +189,12 @@ export namespace androidenterprise_v1 {
*/
webApps?: Schema$AdministratorWebTokenSpecWebApps;
}
export interface Schema$AdministratorWebTokenSpecManagedConfigurations {
/**
* Whether the Managed Configuration page is displayed. Default is true.
*/
enabled?: boolean;
}
export interface Schema$AdministratorWebTokenSpecPlaySearch {
/**
* Allow access to the iframe in approve mode. Default is false.
Expand Down Expand Up @@ -403,7 +414,7 @@ export namespace androidenterprise_v1 {
token?: string;
}
/**
* The Auto install constraint. Defines a set of restrictions for
* The auto-install constraint. Defines a set of restrictions for
* installation. At least one of the fields must be set.
*/
export interface Schema$AutoInstallConstraint {
Expand All @@ -422,8 +433,8 @@ export namespace androidenterprise_v1 {
}
export interface Schema$AutoInstallPolicy {
/**
* Constraints for auto-installing the app. You can specify a maximum of one
* constraint.
* The constraints for auto-installing the app. You can specify a maximum of
* one constraint.
*/
autoInstallConstraint?: Schema$AutoInstallConstraint[];
/**
Expand Down Expand Up @@ -1401,7 +1412,7 @@ export namespace androidenterprise_v1 {
*/
export interface Schema$ProductPolicy {
/**
* The auto install policy for the product.
* The auto-install policy for the product.
*/
autoInstallPolicy?: Schema$AutoInstallPolicy;
/**
Expand Down

0 comments on commit 3ccc96c

Please sign in to comment.