Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the generator and synth #1324

Merged
merged 2 commits into from Sep 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .kokoro/system-test.sh
Expand Up @@ -20,6 +20,7 @@ export NPM_CONFIG_PREFIX=/home/node/.npm-global

# Setup service account credentials.
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
export GCLOUD_PROJECT=long-door-651

cd $(dirname $0)/..

Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -116,7 +116,6 @@
"@types/uuid": "^3.4.3",
"assert-rejects": "^1.0.0",
"axios": "^0.18.0",
"clang-format": "^1.2.3",
"codecov": "^3.0.2",
"copyfiles": "^2.0.0",
"express": "^4.16.3",
Expand Down
20 changes: 14 additions & 6 deletions src/apis/adexchangebuyer/v1.4.ts
Expand Up @@ -338,6 +338,18 @@ export namespace adexchangebuyer_v1_4 {
* field should not be set in requests.
*/
corrections?: any[];
/**
* Creative status identity type that the creative item applies to. Ad
* Exchange real-time bidding is migrating to the sizeless creative
* verification. Originally, Ad Exchange assigned creative verification
* status to a unique combination of a buyer creative ID and creative
* dimensions. Post-migration, a single verification status will be assigned
* at the buyer creative ID level. This field allows to distinguish whether
* a given creative status applies to a unique combination of a buyer
* creative ID and creative dimensions, or to a buyer creative ID as a
* whole.
*/
creativeStatusIdentityType?: string;
/**
* Top-level deals status. Read-only. This field should not be set in
* requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL)
Expand Down Expand Up @@ -668,8 +680,8 @@ export namespace adexchangebuyer_v1_4 {
}
/**
* This message carries publisher provided breakdown. E.g. {dimension_type:
* 'COUNTRY', [{dimension_value: {id: 1, name:
* 'US'}}, {dimension_value: {id: 2, name: 'UK'}}]}
* 'COUNTRY', [{dimension_value: {id: 1, name: 'US'}},
* {dimension_value: {id: 2, name: 'UK'}}]}
*/
export interface Schema$Dimension {
dimensionType?: string;
Expand Down Expand Up @@ -1513,10 +1525,6 @@ export namespace adexchangebuyer_v1_4 {
sellerContacts?: Schema$ContactInformation[];
}
export interface Schema$PublisherProfileApiProto {
/**
* Deprecated: use the seller.account_id. The account id of the seller.
*/
accountId?: string;
/**
* Publisher provided info on its audience.
*/
Expand Down
20 changes: 12 additions & 8 deletions src/apis/adexchangebuyer2/v2beta1.ts
Expand Up @@ -333,7 +333,7 @@ export namespace adexchangebuyer2_v2beta1 {
type?: string;
}
/**
* A creative and its classification data. Next ID: 37
* A creative and its classification data. Next ID: 38
*/
export interface Schema$Creative {
/**
Expand Down Expand Up @@ -363,7 +363,7 @@ export namespace adexchangebuyer2_v2beta1 {
*/
attributes?: string[];
/**
* The set of declared destination URLs for the creative.
* The set of destination URLs for the creative.
*/
clickThroughUrls?: string[];
/**
Expand All @@ -384,6 +384,10 @@ export namespace adexchangebuyer2_v2beta1 {
* response of the creatives.list method.
*/
dealsStatus?: string;
/**
* The set of declared destination URLs for the creative.
*/
declaredClickThroughUrls?: string[];
/**
* @OutputOnly Detected advertiser IDs, if any.
*/
Expand Down Expand Up @@ -501,12 +505,12 @@ export namespace adexchangebuyer2_v2beta1 {
rowDimensions?: Schema$RowDimensions;
}
/**
* Represents a whole calendar date, e.g. date of birth. The time of day and
* time zone are either specified elsewhere or are not significant. The date
* is relative to the Proleptic Gregorian Calendar. The day may be 0 to
* represent a year and month where the day is not significant, e.g. credit
* card expiration date. The year may be 0 to represent a month and day
* independent of year, e.g. anniversary date. Related types are
* Represents a whole calendar date, for example date of birth. The time of
* day and time zone are either specified elsewhere or are not significant.
* The date is relative to the Proleptic Gregorian Calendar. The day can be 0
* to represent a year and month where the day is not significant, for example
* credit card expiration date. The year can be 0 to represent a month and day
* independent of year, for example anniversary date. Related types are
* google.type.TimeOfDay and `google.protobuf.Timestamp`.
*/
export interface Schema$Date {
Expand Down
37 changes: 18 additions & 19 deletions src/apis/androidenterprise/v1.ts
Expand Up @@ -1289,18 +1289,17 @@ export namespace androidenterprise_v1 {
* The track available to the device is based on the following order of
* preference: alpha, beta, production. For example, if an app has a prod
* version, a beta version and an alpha version and the enterprise has been
* granted visibility to both the alpha and beta tracks, if tracks
* is {"beta", "production"} then the beta version of
* the app is made available to the device. If there are no app versions in
* the specified track adding the "alpha" and "beta"
* values to the list of tracks will have no effect. Note that the
* enterprise requires access to alpha and/or beta tracks before users can
* be granted visibility to apps in those tracks. The allowed sets are: {}
* (considered equivalent
* to {"production"}) {"production"} {"beta",
* "production"} {"alpha", "beta",
* "production"} The order of elements is not relevant. Any other
* set of tracks will be rejected with an error.
* granted visibility to both the alpha and beta tracks, if tracks is
* {"beta", "production"} then the beta version of the
* app is made available to the device. If there are no app versions in the
* specified track adding the "alpha" and "beta" values
* to the list of tracks will have no effect. Note that the enterprise
* requires access to alpha and/or beta tracks before users can be granted
* visibility to apps in those tracks. The allowed sets are: {} (considered
* equivalent to {"production"}) {"production"}
* {"beta", "production"} {"alpha",
* "beta", "production"} The order of elements is not
* relevant. Any other set of tracks will be rejected with an error.
*/
tracks?: string[];
}
Expand Down Expand Up @@ -1426,18 +1425,18 @@ export namespace androidenterprise_v1 {
* The track available to the user is based on the following order of
* preference: alpha, beta, production. For example, if an app has a prod
* version, a beta version and an alpha version and the enterprise has been
* granted visibility to both the alpha and beta tracks, if tracks
* is {"beta", "production"} the user will be able to
* granted visibility to both the alpha and beta tracks, if tracks is
* {"beta", "production"} the user will be able to
* install the app and they will get the beta version of the app. If there
* are no app versions in the specified track adding the "alpha"
* and "beta" values to the list of tracks will have no effect.
* Note that the enterprise requires access to alpha and/or beta tracks
* before users can be granted visibility to apps in those tracks. The
* allowed sets are: {} (considered equivalent
* to {"production"}) {"production"} {"beta",
* "production"} {"alpha", "beta",
* "production"} The order of elements is not relevant. Any other
* set of tracks will be rejected with an error.
* allowed sets are: {} (considered equivalent to {"production"})
* {"production"} {"beta", "production"}
* {"alpha", "beta", "production"} The order
* of elements is not relevant. Any other set of tracks will be rejected
* with an error.
*/
tracks?: string[];
}
Expand Down
36 changes: 31 additions & 5 deletions src/apis/androidmanagement/v1.ts
Expand Up @@ -431,10 +431,7 @@ export namespace androidmanagement_v1 {
*/
hardwareStatusSamples?: Schema$HardwareStatus[];
/**
* 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.
* Deprecated.
*/
lastPolicyComplianceReportTime?: string;
/**
Expand Down Expand Up @@ -513,6 +510,10 @@ export namespace androidmanagement_v1 {
* DELETED state, call enterprises.devices.delete.
*/
state?: string;
/**
* The user who owns the device.
*/
user?: Schema$User;
/**
* The resource name of the user that owns this device in the form
* enterprises/{enterpriseId}/users/{userId}.
Expand Down Expand Up @@ -647,6 +648,13 @@ export namespace androidmanagement_v1 {
* representation of the properties in the JSON.
*/
qrCode?: string;
/**
* The user associated with this enrollment token. If it's specified
* when the enrollment token is created and the user does not exist, the
* user will be created. This field must not contain personally identifiable
* information. Only the account_identifier field needs to be set.
*/
user?: Schema$User;
/**
* The token value that's passed to the device and authorizes the device
* to enroll. This is a read-only field generated by the server.
Expand Down Expand Up @@ -1422,6 +1430,11 @@ export namespace androidmanagement_v1 {
* Default intent handler activities.
*/
persistentPreferredActivities?: Schema$PersistentPreferredActivity[];
/**
* This mode controls which apps are available to the user in the Play Store
* and the behavior on the device when apps are removed from the policy.
*/
playStoreMode?: string;
/**
* Allows showing UI on a device for a user to choose a private key alias if
* there are no matching rules in ChoosePrivateKeyRules. For devices below
Expand Down Expand Up @@ -1715,7 +1728,7 @@ export namespace androidmanagement_v1 {
*/
hardwareStatusEnabled?: boolean;
/**
* Whether memory info reporting is enabled.
* Whether memory reporting is enabled.
*/
memoryInfoEnabled?: boolean;
/**
Expand Down Expand Up @@ -1769,6 +1782,19 @@ export namespace androidmanagement_v1 {
*/
header?: Schema$UserFacingMessage;
}
/**
* A user belonging to an enterprise.
*/
export interface Schema$User {
/**
* A unique identifier you create for this user, such as user342 or
* asset#44418. This field must be set when the user is created and
* can't be updated. This field must not contain personally identifiable
* information (PII). This identifier must be 1024 characters or less;
* otherwise, the update policy request will fail.
*/
accountIdentifier?: string;
}
/**
* Provides a user-facing message with locale info. The maximum message length
* is 4096 characters.
Expand Down
3 changes: 2 additions & 1 deletion src/apis/androidpublisher/v2.ts
Expand Up @@ -774,7 +774,8 @@ export namespace androidpublisher_v2 {
orderId?: string;
/**
* The payment state of the subscription. Possible values are: - Payment
* pending - Payment received - Free trial
* pending - Payment received - Free trial - Pending deferred
* upgrade/downgrade
*/
paymentState?: number;
/**
Expand Down
3 changes: 2 additions & 1 deletion src/apis/androidpublisher/v3.ts
Expand Up @@ -766,7 +766,8 @@ export namespace androidpublisher_v3 {
orderId?: string;
/**
* The payment state of the subscription. Possible values are: - Payment
* pending - Payment received - Free trial
* pending - Payment received - Free trial - Pending deferred
* upgrade/downgrade
*/
paymentState?: number;
/**
Expand Down
17 changes: 9 additions & 8 deletions src/apis/appengine/v1.ts
Expand Up @@ -258,10 +258,12 @@ export namespace appengine_v1 {
*/
export interface Schema$AutomaticScaling {
/**
* Amount of time that the Autoscaler
* (https://cloud.google.com/compute/docs/autoscaler/) should wait between
* changes to the number of virtual machines. Only applicable in the App
* Engine flexible environment.
* The time period that the Autoscaler
* (https://cloud.google.com/compute/docs/autoscaler/) should wait before it
* starts collecting information from a new instance. This prevents the
* autoscaler from collecting information when the instance is initializing,
* during which the collected usage would not be reliable. Only applicable
* in the App Engine flexible environment.
*/
coolDownPeriod?: string;
/**
Expand Down Expand Up @@ -462,8 +464,7 @@ export namespace appengine_v1 {
export interface Schema$DebugInstanceRequest {
/**
* Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa
* [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE]
* google-ssh
* [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
* {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For
* more information, see Adding and Removing SSH Keys
* (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
Expand Down Expand Up @@ -1005,8 +1006,8 @@ export namespace appengine_v1 {
*/
displayName?: string;
/**
* Cross-service attributes for the location. For
* example {"cloud.googleapis.com/region": "us-east1"}
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*/
labels?: any;
/**
Expand Down
4 changes: 2 additions & 2 deletions src/apis/appengine/v1alpha.ts
Expand Up @@ -307,8 +307,8 @@ export namespace appengine_v1alpha {
*/
displayName?: string;
/**
* Cross-service attributes for the location. For
* example {"cloud.googleapis.com/region": "us-east1"}
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*/
labels?: any;
/**
Expand Down
31 changes: 23 additions & 8 deletions src/apis/appengine/v1beta.ts
Expand Up @@ -258,10 +258,12 @@ export namespace appengine_v1beta {
*/
export interface Schema$AutomaticScaling {
/**
* Amount of time that the Autoscaler
* (https://cloud.google.com/compute/docs/autoscaler/) should wait between
* changes to the number of virtual machines. Only applicable in the App
* Engine flexible environment.
* The time period that the Autoscaler
* (https://cloud.google.com/compute/docs/autoscaler/) should wait before it
* starts collecting information from a new instance. This prevents the
* autoscaler from collecting information when the instance is initializing,
* during which the collected usage would not be reliable. Only applicable
* in the App Engine flexible environment.
*/
coolDownPeriod?: string;
/**
Expand Down Expand Up @@ -506,8 +508,7 @@ export namespace appengine_v1beta {
export interface Schema$DebugInstanceRequest {
/**
* Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa
* [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE]
* google-ssh
* [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
* {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For
* more information, see Adding and Removing SSH Keys
* (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
Expand Down Expand Up @@ -1070,8 +1071,8 @@ export namespace appengine_v1beta {
*/
displayName?: string;
/**
* Cross-service attributes for the location. For
* example {"cloud.googleapis.com/region": "us-east1"}
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*/
labels?: any;
/**
Expand Down Expand Up @@ -1985,6 +1986,10 @@ export namespace appengine_v1beta {
* Whether to deploy this version in a container on a virtual machine.
*/
vm?: boolean;
/**
* Enables VPC connectivity for standard apps.
*/
vpcAccessConnector?: Schema$VpcAccessConnector;
/**
* The Google Compute Engine zones that are supported by this version in the
* App Engine flexible environment.
Expand All @@ -2009,6 +2014,16 @@ export namespace appengine_v1beta {
*/
volumeType?: string;
}
/**
* VPC access connector specification.
*/
export interface Schema$VpcAccessConnector {
/**
* Full Serverless VPC Access Connector name e.g.
* /projects/my-project/locations/us-central1/connectors/c1.
*/
name?: string;
}
/**
* The zip file information for a zip deployment.
*/
Expand Down