Skip to content

Commit

Permalink
feat(vmmigration): update the API
Browse files Browse the repository at this point in the history
#### vmmigration:v1alpha1

The following keys were changed:
- resources.projects.resources.locations.methods.list.parameters.filter.description
- schemas.Empty.description
- schemas.ReplicationCycle.properties.steps.description

#### vmmigration:v1

The following keys were added:
- schemas.CloneJob.properties.endTime.description
- schemas.CloneJob.properties.endTime.format
- schemas.CloneJob.properties.endTime.readOnly
- schemas.CloneJob.properties.endTime.type
- schemas.CutoverJob.properties.endTime.description
- schemas.CutoverJob.properties.endTime.format
- schemas.CutoverJob.properties.endTime.readOnly
- schemas.CutoverJob.properties.endTime.type

The following keys were changed:
- resources.projects.resources.locations.methods.list.parameters.filter.description
- schemas.Empty.description
  • Loading branch information
yoshi-automation authored and bcoe committed Apr 11, 2022
1 parent fa9fabb commit 47b4df3
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 14 deletions.
18 changes: 15 additions & 3 deletions discovery/vmmigration-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
],
"parameters": {
"filter": {
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -1886,7 +1886,7 @@
}
}
},
"revision": "20220225",
"revision": "20220401",
"rootUrl": "https://vmmigration.googleapis.com/",
"schemas": {
"AddGroupMigrationRequest": {
Expand Down Expand Up @@ -1998,6 +1998,12 @@
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the clone job was ended.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"error": {
"$ref": "Status",
"description": "Output only. Provides details for the errors that led to the Clone Job's state.",
Expand Down Expand Up @@ -2350,6 +2356,12 @@
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the cutover job had finished.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"error": {
"$ref": "Status",
"description": "Output only. Provides details for the errors that led to the Cutover Job's state.",
Expand Down Expand Up @@ -2497,7 +2509,7 @@
"type": "object"
},
"Empty": {
"description": "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 or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"description": "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 or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
"id": "Empty",
"properties": {},
"type": "object"
Expand Down
8 changes: 4 additions & 4 deletions discovery/vmmigration-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
],
"parameters": {
"filter": {
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -1886,7 +1886,7 @@
}
}
},
"revision": "20220306",
"revision": "20220401",
"rootUrl": "https://vmmigration.googleapis.com/",
"schemas": {
"AddGroupMigrationRequest": {
Expand Down Expand Up @@ -2555,7 +2555,7 @@
"type": "object"
},
"Empty": {
"description": "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 or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"description": "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 or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
"id": "Empty",
"properties": {},
"type": "object"
Expand Down Expand Up @@ -3311,7 +3311,7 @@
"type": "string"
},
"steps": {
"description": "The cycle's steps list reflecting its progress.",
"description": "The cycle's steps list representing its progress.",
"items": {
"$ref": "CycleStep"
},
Expand Down
18 changes: 15 additions & 3 deletions src/apis/vmmigration/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ export namespace vmmigration_v1 {
* Output only. The time the clone job was created (as an API call, not when it was actually created in the target).
*/
createTime?: string | null;
/**
* Output only. The time the clone job was ended.
*/
endTime?: string | null;
/**
* Output only. Provides details for the errors that led to the Clone Job's state.
*/
Expand Down Expand Up @@ -401,6 +405,10 @@ export namespace vmmigration_v1 {
* Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
*/
createTime?: string | null;
/**
* Output only. The time the cutover job had finished.
*/
endTime?: string | null;
/**
* Output only. Provides details for the errors that led to the Cutover Job's state.
*/
Expand Down Expand Up @@ -488,7 +496,7 @@ export namespace vmmigration_v1 {
version?: string | null;
}
/**
* 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 or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`.
* 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 or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
*/
export interface Schema$Empty {}
/**
Expand Down Expand Up @@ -1468,7 +1476,7 @@ export namespace vmmigration_v1 {
*
* // Do the magic
* const res = await vmmigration.projects.locations.list({
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
Expand Down Expand Up @@ -1593,7 +1601,7 @@ export namespace vmmigration_v1 {
export interface Params$Resource$Projects$Locations$List
extends StandardParameters {
/**
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
*/
filter?: string;
/**
Expand Down Expand Up @@ -6707,6 +6715,7 @@ export namespace vmmigration_v1 {
* // {
* // "computeEngineTargetDetails": {},
* // "createTime": "my_createTime",
* // "endTime": "my_endTime",
* // "error": {},
* // "name": "my_name",
* // "state": "my_state",
Expand Down Expand Up @@ -6855,6 +6864,7 @@ export namespace vmmigration_v1 {
* // {
* // "computeEngineTargetDetails": {},
* // "createTime": "my_createTime",
* // "endTime": "my_endTime",
* // "error": {},
* // "name": "my_name",
* // "state": "my_state",
Expand Down Expand Up @@ -7351,6 +7361,7 @@ export namespace vmmigration_v1 {
* // {
* // "computeEngineTargetDetails": {},
* // "createTime": "my_createTime",
* // "endTime": "my_endTime",
* // "error": {},
* // "name": "my_name",
* // "progressPercent": 0,
Expand Down Expand Up @@ -7502,6 +7513,7 @@ export namespace vmmigration_v1 {
* // {
* // "computeEngineTargetDetails": {},
* // "createTime": "my_createTime",
* // "endTime": "my_endTime",
* // "error": {},
* // "name": "my_name",
* // "progressPercent": 0,
Expand Down
8 changes: 4 additions & 4 deletions src/apis/vmmigration/v1alpha1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export namespace vmmigration_v1alpha1 {
version?: string | null;
}
/**
* 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 or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`.
* 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 or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
*/
export interface Schema$Empty {}
/**
Expand Down Expand Up @@ -1036,7 +1036,7 @@ export namespace vmmigration_v1alpha1 {
*/
startTime?: string | null;
/**
* The cycle's steps list reflecting its progress.
* The cycle's steps list representing its progress.
*/
steps?: Schema$CycleStep[];
/**
Expand Down Expand Up @@ -1696,7 +1696,7 @@ export namespace vmmigration_v1alpha1 {
*
* // Do the magic
* const res = await vmmigration.projects.locations.list({
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
Expand Down Expand Up @@ -1821,7 +1821,7 @@ export namespace vmmigration_v1alpha1 {
export interface Params$Resource$Projects$Locations$List
extends StandardParameters {
/**
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
*/
filter?: string;
/**
Expand Down

0 comments on commit 47b4df3

Please sign in to comment.