diff --git a/discovery/compute-alpha.json b/discovery/compute-alpha.json index 576b0e270c..e5fafecf0f 100644 --- a/discovery/compute-alpha.json +++ b/discovery/compute-alpha.json @@ -29,7 +29,7 @@ "description": "Creates and runs virtual machines on Google Cloud Platform.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/C6naPwndpbeXcTR-HqK1djbE6fw\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/Tw7d5qByrzQGrI9D9LwLH04Iq4A\"", "icons": { "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" @@ -31696,7 +31696,7 @@ } } }, - "revision": "20200511", + "revision": "20200515", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -36005,7 +36005,7 @@ "type": "string" }, "physicalBlockSizeBytes": { - "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.", + "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.", "format": "int64", "type": "string" }, @@ -42053,6 +42053,10 @@ "description": "InstanceGroupManagers.applyUpdatesToInstances", "id": "InstanceGroupManagersApplyUpdatesRequest", "properties": { + "allInstances": { + "description": "Flag to update all instances instead of specified list of ?instances?. If the flag is set to true then the instances may not be specified in the request.", + "type": "boolean" + }, "instances": { "description": "The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", "items": { @@ -52995,6 +52999,10 @@ "description": "InstanceGroupManagers.applyUpdatesToInstances", "id": "RegionInstanceGroupManagersApplyUpdatesRequest", "properties": { + "allInstances": { + "description": "Flag to update all instances instead of specified list of ?instances?. If the flag is set to true then the instances may not be specified in the request.", + "type": "boolean" + }, "instances": { "description": "The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", "items": { @@ -54224,6 +54232,10 @@ "format": "uint64", "type": "string" }, + "instanceSchedulePolicy": { + "$ref": "ResourcePolicyInstanceSchedulePolicy", + "description": "Resource policy for scheduling instance operations." + }, "kind": { "default": "compute#resourcePolicy", "description": "[Output Only] Type of the resource. Always compute#resource_policies for resource policies.", @@ -54499,6 +54511,36 @@ }, "type": "object" }, + "ResourcePolicyInstanceSchedulePolicy": { + "description": "An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.", + "id": "ResourcePolicyInstanceSchedulePolicy", + "properties": { + "vmStartSchedule": { + "$ref": "ResourcePolicyInstanceSchedulePolicySchedule", + "description": "Specifies the schedule for starting instance." + }, + "vmStopSchedule": { + "$ref": "ResourcePolicyInstanceSchedulePolicySchedule", + "description": "Specifies the schedule for stopping instance." + } + }, + "type": "object" + }, + "ResourcePolicyInstanceSchedulePolicySchedule": { + "description": "Schedule for the instance operation.", + "id": "ResourcePolicyInstanceSchedulePolicySchedule", + "properties": { + "schedule": { + "description": "Specifies the frequency for the operation, using the unix-cron format.", + "type": "string" + }, + "timeZone": { + "description": "Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.", + "type": "string" + } + }, + "type": "object" + }, "ResourcePolicyList": { "id": "ResourcePolicyList", "properties": { @@ -54694,6 +54736,10 @@ "description": "Specified snapshot properties for scheduled snapshots created by this policy.", "id": "ResourcePolicySnapshotSchedulePolicySnapshotProperties", "properties": { + "chainName": { + "description": "Chain name that the snapshot is created in.", + "type": "string" + }, "guestFlush": { "description": "Indication to perform a 'guest aware' snapshot.", "type": "boolean" @@ -57505,6 +57551,10 @@ "description": "[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.", "type": "boolean" }, + "chainName": { + "description": "Chain name should conform to RFC1035.", + "type": "string" + }, "creationTimestamp": { "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" diff --git a/discovery/compute-beta.json b/discovery/compute-beta.json index af66afe42b..1d494766e4 100644 --- a/discovery/compute-beta.json +++ b/discovery/compute-beta.json @@ -29,7 +29,7 @@ "description": "Creates and runs virtual machines on Google Cloud Platform.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/69ND3IwVNcOnVLF-ZC0OyHds1bQ\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/MNcrndeYTaDX4ARVTRYYFFDtyD0\"", "icons": { "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" @@ -27461,7 +27461,7 @@ } } }, - "revision": "20200511", + "revision": "20200515", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -31349,7 +31349,7 @@ "type": "string" }, "physicalBlockSizeBytes": { - "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.", + "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.", "format": "int64", "type": "string" }, @@ -47641,6 +47641,10 @@ "description": "Specified snapshot properties for scheduled snapshots created by this policy.", "id": "ResourcePolicySnapshotSchedulePolicySnapshotProperties", "properties": { + "chainName": { + "description": "Chain name that the snapshot is created in.", + "type": "string" + }, "guestFlush": { "description": "Indication to perform a 'guest aware' snapshot.", "type": "boolean" @@ -49930,6 +49934,10 @@ "description": "[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.", "type": "boolean" }, + "chainName": { + "description": "Chain name should conform to RFC1035.", + "type": "string" + }, "creationTimestamp": { "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" diff --git a/discovery/compute-v1.json b/discovery/compute-v1.json index 66c17caee7..30160aaa50 100644 --- a/discovery/compute-v1.json +++ b/discovery/compute-v1.json @@ -29,7 +29,7 @@ "description": "Creates and runs virtual machines on Google Cloud Platform.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/TsQz1DNIXY-nbvufkMv4C85tMsw\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/1qThsnp409WPlAMDctY9ILp8CKs\"", "icons": { "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" @@ -23387,7 +23387,7 @@ } } }, - "revision": "20200511", + "revision": "20200515", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -26912,7 +26912,7 @@ "type": "string" }, "physicalBlockSizeBytes": { - "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.", + "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.", "format": "int64", "type": "string" }, diff --git a/src/apis/compute/alpha.ts b/src/apis/compute/alpha.ts index 1bc43b2754..f14dfc6296 100644 --- a/src/apis/compute/alpha.ts +++ b/src/apis/compute/alpha.ts @@ -2340,7 +2340,7 @@ export namespace compute_alpha { */ options?: string | null; /** - * Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. + * Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. */ physicalBlockSizeBytes?: string | null; /** @@ -5168,6 +5168,10 @@ export namespace compute_alpha { * InstanceGroupManagers.applyUpdatesToInstances */ export interface Schema$InstanceGroupManagersApplyUpdatesRequest { + /** + * Flag to update all instances instead of specified list of ?instances?. If the flag is set to true then the instances may not be specified in the request. + */ + allInstances?: boolean | null; /** * The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */ @@ -9872,6 +9876,10 @@ export namespace compute_alpha { * InstanceGroupManagers.applyUpdatesToInstances */ export interface Schema$RegionInstanceGroupManagersApplyUpdatesRequest { + /** + * Flag to update all instances instead of specified list of ?instances?. If the flag is set to true then the instances may not be specified in the request. + */ + allInstances?: boolean | null; /** * The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */ @@ -10315,6 +10323,10 @@ export namespace compute_alpha { * [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ id?: string | null; + /** + * Resource policy for scheduling instance operations. + */ + instanceSchedulePolicy?: Schema$ResourcePolicyInstanceSchedulePolicy; /** * [Output Only] Type of the resource. Always compute#resource_policies for resource policies. */ @@ -10442,6 +10454,32 @@ export namespace compute_alpha { */ startTime?: string | null; } + /** + * An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance. + */ + export interface Schema$ResourcePolicyInstanceSchedulePolicy { + /** + * Specifies the schedule for starting instance. + */ + vmStartSchedule?: Schema$ResourcePolicyInstanceSchedulePolicySchedule; + /** + * Specifies the schedule for stopping instance. + */ + vmStopSchedule?: Schema$ResourcePolicyInstanceSchedulePolicySchedule; + } + /** + * Schedule for the instance operation. + */ + export interface Schema$ResourcePolicyInstanceSchedulePolicySchedule { + /** + * Specifies the frequency for the operation, using the unix-cron format. + */ + schedule?: string | null; + /** + * Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. + */ + timeZone?: string | null; + } export interface Schema$ResourcePolicyList { etag?: string | null; /** @@ -10519,6 +10557,10 @@ export namespace compute_alpha { * Specified snapshot properties for scheduled snapshots created by this policy. */ export interface Schema$ResourcePolicySnapshotSchedulePolicySnapshotProperties { + /** + * Chain name that the snapshot is created in. + */ + chainName?: string | null; /** * Indication to perform a 'guest aware' snapshot. */ @@ -11952,6 +11994,10 @@ export namespace compute_alpha { * [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk. */ autoCreated?: boolean | null; + /** + * Chain name should conform to RFC1035. + */ + chainName?: string | null; /** * [Output Only] Creation timestamp in RFC3339 text format. */ @@ -23199,6 +23245,7 @@ export namespace compute_alpha { * // request body parameters * // { * // "autoCreated": false, + * // "chainName": "my_chainName", * // "creationTimestamp": "my_creationTimestamp", * // "description": "my_description", * // "diskSizeGb": "my_diskSizeGb", @@ -43615,6 +43662,7 @@ export namespace compute_alpha { * requestBody: { * // request body parameters * // { + * // "allInstances": false, * // "instances": [], * // "maximalAction": "my_maximalAction", * // "minimalAction": "my_minimalAction", @@ -91813,6 +91861,7 @@ export namespace compute_alpha { * // request body parameters * // { * // "autoCreated": false, + * // "chainName": "my_chainName", * // "creationTimestamp": "my_creationTimestamp", * // "description": "my_description", * // "diskSizeGb": "my_diskSizeGb", @@ -98706,6 +98755,7 @@ export namespace compute_alpha { * requestBody: { * // request body parameters * // { + * // "allInstances": false, * // "instances": [], * // "maximalAction": "my_maximalAction", * // "minimalAction": "my_minimalAction", @@ -114431,6 +114481,7 @@ export namespace compute_alpha { * // "description": "my_description", * // "groupPlacementPolicy": {}, * // "id": "my_id", + * // "instanceSchedulePolicy": {}, * // "kind": "my_kind", * // "name": "my_name", * // "region": "my_region", @@ -114737,6 +114788,7 @@ export namespace compute_alpha { * // "description": "my_description", * // "groupPlacementPolicy": {}, * // "id": "my_id", + * // "instanceSchedulePolicy": {}, * // "kind": "my_kind", * // "name": "my_name", * // "region": "my_region", @@ -122451,6 +122503,7 @@ export namespace compute_alpha { * // Example response * // { * // "autoCreated": false, + * // "chainName": "my_chainName", * // "creationTimestamp": "my_creationTimestamp", * // "description": "my_description", * // "diskSizeGb": "my_diskSizeGb", diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 42b7b46f6e..5b7967fe0c 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -2074,7 +2074,7 @@ export namespace compute_beta { */ options?: string | null; /** - * Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. + * Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. */ physicalBlockSizeBytes?: string | null; /** @@ -9082,6 +9082,10 @@ export namespace compute_beta { * Specified snapshot properties for scheduled snapshots created by this policy. */ export interface Schema$ResourcePolicySnapshotSchedulePolicySnapshotProperties { + /** + * Chain name that the snapshot is created in. + */ + chainName?: string | null; /** * Indication to perform a 'guest aware' snapshot. */ @@ -10242,6 +10246,10 @@ export namespace compute_beta { * [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk. */ autoCreated?: boolean | null; + /** + * Chain name should conform to RFC1035. + */ + chainName?: string | null; /** * [Output Only] Creation timestamp in RFC3339 text format. */ @@ -20575,6 +20583,7 @@ export namespace compute_beta { * // request body parameters * // { * // "autoCreated": false, + * // "chainName": "my_chainName", * // "creationTimestamp": "my_creationTimestamp", * // "description": "my_description", * // "diskSizeGb": "my_diskSizeGb", @@ -82136,6 +82145,7 @@ export namespace compute_beta { * // request body parameters * // { * // "autoCreated": false, + * // "chainName": "my_chainName", * // "creationTimestamp": "my_creationTimestamp", * // "description": "my_description", * // "diskSizeGb": "my_diskSizeGb", @@ -107375,6 +107385,7 @@ export namespace compute_beta { * // Example response * // { * // "autoCreated": false, + * // "chainName": "my_chainName", * // "creationTimestamp": "my_creationTimestamp", * // "description": "my_description", * // "diskSizeGb": "my_diskSizeGb", diff --git a/src/apis/compute/v1.ts b/src/apis/compute/v1.ts index 9952434e2e..79136fe929 100644 --- a/src/apis/compute/v1.ts +++ b/src/apis/compute/v1.ts @@ -1856,7 +1856,7 @@ export namespace compute_v1 { */ options?: string | null; /** - * Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. + * Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. */ physicalBlockSizeBytes?: string | null; /**