Skip to content

Commit

Permalink
fix(osconfig): update the API
Browse files Browse the repository at this point in the history
#### osconfig:v1beta
The following keys were changed:
- schemas.ExecutePatchJobRequest.description
- schemas.PatchInstanceFilterGroupLabel.properties.labels.description
- schemas.PatchJob.description
- schemas.PatchJob.properties.state.description

#### osconfig:v1
The following keys were changed:
- schemas.PatchJob.description
- schemas.PatchJob.properties.state.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 10, 2020
1 parent c3fb5e9 commit 3c3c944
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions discovery/osconfig-v1.json
Expand Up @@ -406,7 +406,7 @@
}
}
},
"revision": "20200504",
"revision": "20200601",
"rootUrl": "https://osconfig.googleapis.com/",
"schemas": {
"AptSettings": {
Expand Down Expand Up @@ -804,7 +804,7 @@
"type": "object"
},
"PatchJob": {
"description": "A high level representation of a patch job that is either in progress\nor has completed.\n\nInstances details are not included in the job. To paginate through instance\ndetails, use ListPatchJobInstanceDetails.\n\nFor more information about patch jobs, see\n[Creating patch\njobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).",
"description": "A high level representation of a patch job that is either in progress\nor has completed.\n\nInstance details are not included in the job. To paginate through instance\ndetails, use ListPatchJobInstanceDetails.\n\nFor more information about patch jobs, see\n[Creating patch\njobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).",
"id": "PatchJob",
"properties": {
"createTime": {
Expand Down Expand Up @@ -859,7 +859,7 @@
"type": "number"
},
"state": {
"description": "The current state of the PatchJob .",
"description": "The current state of the PatchJob.",
"enum": [
"STATE_UNSPECIFIED",
"STARTED",
Expand Down
10 changes: 5 additions & 5 deletions discovery/osconfig-v1beta.json
Expand Up @@ -599,7 +599,7 @@
}
}
},
"revision": "20200504",
"revision": "20200601",
"rootUrl": "https://osconfig.googleapis.com/",
"schemas": {
"AptRepository": {
Expand Down Expand Up @@ -890,7 +890,7 @@
"type": "object"
},
"ExecutePatchJobRequest": {
"description": "A request message to initiate patching across Google Compute Engine\ninstances.",
"description": "A request message to initiate patching across Compute Engine instances.",
"id": "ExecutePatchJobRequest",
"properties": {
"description": {
Expand Down Expand Up @@ -1354,14 +1354,14 @@
"additionalProperties": {
"type": "string"
},
"description": "Google Compute Engine instance labels that must be present for a VM\ninstance to be targeted by this filter.",
"description": "Compute Engine instance labels that must be present for a VM instance to\nbe targeted by this filter.",
"type": "object"
}
},
"type": "object"
},
"PatchJob": {
"description": "A high level representation of a patch job that is either in progress\nor has completed.\n\nInstances details are not included in the job. To paginate through instance\ndetails, use ListPatchJobInstanceDetails.\n\nFor more information about patch jobs, see\n[Creating patch\njobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).",
"description": "A high level representation of a patch job that is either in progress\nor has completed.\n\nInstance details are not included in the job. To paginate through instance\ndetails, use `ListPatchJobInstanceDetails`.\n\nFor more information about patch jobs, see\n[Creating patch\njobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).",
"id": "PatchJob",
"properties": {
"createTime": {
Expand Down Expand Up @@ -1416,7 +1416,7 @@
"type": "number"
},
"state": {
"description": "The current state of the PatchJob .",
"description": "The current state of the PatchJob.",
"enum": [
"STATE_UNSPECIFIED",
"STARTED",
Expand Down
4 changes: 2 additions & 2 deletions src/apis/osconfig/v1.ts
Expand Up @@ -414,7 +414,7 @@ export namespace osconfig_v1 {
labels?: {[key: string]: string} | null;
}
/**
* A high level representation of a patch job that is either in progress or has completed. Instances details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails. For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).
* A high level representation of a patch job that is either in progress or has completed. Instance details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails. For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).
*/
export interface Schema$PatchJob {
/**
Expand Down Expand Up @@ -466,7 +466,7 @@ export namespace osconfig_v1 {
*/
percentComplete?: number | null;
/**
* The current state of the PatchJob .
* The current state of the PatchJob.
*/
state?: string | null;
/**
Expand Down
8 changes: 4 additions & 4 deletions src/apis/osconfig/v1beta.ts
Expand Up @@ -319,7 +319,7 @@ export namespace osconfig_v1beta {
localPath?: string | null;
}
/**
* A request message to initiate patching across Google Compute Engine instances.
* A request message to initiate patching across Compute Engine instances.
*/
export interface Schema$ExecutePatchJobRequest {
/**
Expand Down Expand Up @@ -663,12 +663,12 @@ export namespace osconfig_v1beta {
*/
export interface Schema$PatchInstanceFilterGroupLabel {
/**
* Google Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
* Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
*/
labels?: {[key: string]: string} | null;
}
/**
* A high level representation of a patch job that is either in progress or has completed. Instances details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails. For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).
* A high level representation of a patch job that is either in progress or has completed. Instance details are not included in the job. To paginate through instance details, use `ListPatchJobInstanceDetails`. For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).
*/
export interface Schema$PatchJob {
/**
Expand Down Expand Up @@ -720,7 +720,7 @@ export namespace osconfig_v1beta {
*/
percentComplete?: number | null;
/**
* The current state of the PatchJob .
* The current state of the PatchJob.
*/
state?: string | null;
/**
Expand Down

0 comments on commit 3c3c944

Please sign in to comment.