From 3e1a2c94e7c20c7fef3f746bf40f74c06b7c2e29 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 6 Dec 2022 07:07:44 +0000 Subject: [PATCH] feat(vmmigration): update the api #### vmmigration:v1alpha1 The following keys were added: - schemas.AccessKeyCredentials (Total Keys: 4) - schemas.AwsSourceDetails.properties.accessKeyCreds.$ref (Total Keys: 1) - schemas.AwsSourceDetails.properties.inventoryTagList (Total Keys: 2) - schemas.Tag (Total Keys: 4) --- ...n_v1alpha1.projects.locations.sources.html | 40 +++++++++++++++++ .../documents/vmmigration.v1.json | 2 +- .../documents/vmmigration.v1alpha1.json | 43 ++++++++++++++++++- 3 files changed, 83 insertions(+), 2 deletions(-) diff --git a/docs/dyn/vmmigration_v1alpha1.projects.locations.sources.html b/docs/dyn/vmmigration_v1alpha1.projects.locations.sources.html index 7e28a6b45cd..ade6ce58e70 100644 --- a/docs/dyn/vmmigration_v1alpha1.projects.locations.sources.html +++ b/docs/dyn/vmmigration_v1alpha1.projects.locations.sources.html @@ -133,6 +133,10 @@

Method Details

{ # Source message describes a specific vm migration Source resource. It contains the source environment information. "aws": { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details. + "accessKeyCreds": { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret. + "accessKeyId": "A String", # AWS access key ID. + "secretAccessKey": "A String", # Input only. AWS secret access key. + }, "accessKeyId": "A String", # AWS access key ID. "awsRegion": "A String", # Immutable. The AWS region that the source VMs will be migrated from. "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Source in case of an error. @@ -147,6 +151,12 @@

Method Details

"inventorySecurityGroupNames": [ # AWS security group names to limit the scope of the source inventory. "A String", ], + "inventoryTagList": [ # AWS resource tags to limit the scope of the source inventory. + { # Tag is an AWS tag representation. + "key": "A String", # Key of tag. + "value": "A String", # Value of tag. + }, + ], "inventoryTags": { # Deprecated: AWS resource tags to limit the scope of the source inventory. Use inventory_tag_list instead. "a_key": "A String", }, @@ -351,6 +361,10 @@

Method Details

{ # Source message describes a specific vm migration Source resource. It contains the source environment information. "aws": { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details. + "accessKeyCreds": { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret. + "accessKeyId": "A String", # AWS access key ID. + "secretAccessKey": "A String", # Input only. AWS secret access key. + }, "accessKeyId": "A String", # AWS access key ID. "awsRegion": "A String", # Immutable. The AWS region that the source VMs will be migrated from. "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Source in case of an error. @@ -365,6 +379,12 @@

Method Details

"inventorySecurityGroupNames": [ # AWS security group names to limit the scope of the source inventory. "A String", ], + "inventoryTagList": [ # AWS resource tags to limit the scope of the source inventory. + { # Tag is an AWS tag representation. + "key": "A String", # Key of tag. + "value": "A String", # Value of tag. + }, + ], "inventoryTags": { # Deprecated: AWS resource tags to limit the scope of the source inventory. Use inventory_tag_list instead. "a_key": "A String", }, @@ -423,6 +443,10 @@

Method Details

"sources": [ # Output only. The list of sources response. { # Source message describes a specific vm migration Source resource. It contains the source environment information. "aws": { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details. + "accessKeyCreds": { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret. + "accessKeyId": "A String", # AWS access key ID. + "secretAccessKey": "A String", # Input only. AWS secret access key. + }, "accessKeyId": "A String", # AWS access key ID. "awsRegion": "A String", # Immutable. The AWS region that the source VMs will be migrated from. "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Source in case of an error. @@ -437,6 +461,12 @@

Method Details

"inventorySecurityGroupNames": [ # AWS security group names to limit the scope of the source inventory. "A String", ], + "inventoryTagList": [ # AWS resource tags to limit the scope of the source inventory. + { # Tag is an AWS tag representation. + "key": "A String", # Key of tag. + "value": "A String", # Value of tag. + }, + ], "inventoryTags": { # Deprecated: AWS resource tags to limit the scope of the source inventory. Use inventory_tag_list instead. "a_key": "A String", }, @@ -502,6 +532,10 @@

Method Details

{ # Source message describes a specific vm migration Source resource. It contains the source environment information. "aws": { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details. + "accessKeyCreds": { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret. + "accessKeyId": "A String", # AWS access key ID. + "secretAccessKey": "A String", # Input only. AWS secret access key. + }, "accessKeyId": "A String", # AWS access key ID. "awsRegion": "A String", # Immutable. The AWS region that the source VMs will be migrated from. "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Source in case of an error. @@ -516,6 +550,12 @@

Method Details

"inventorySecurityGroupNames": [ # AWS security group names to limit the scope of the source inventory. "A String", ], + "inventoryTagList": [ # AWS resource tags to limit the scope of the source inventory. + { # Tag is an AWS tag representation. + "key": "A String", # Key of tag. + "value": "A String", # Value of tag. + }, + ], "inventoryTags": { # Deprecated: AWS resource tags to limit the scope of the source inventory. Use inventory_tag_list instead. "a_key": "A String", }, diff --git a/googleapiclient/discovery_cache/documents/vmmigration.v1.json b/googleapiclient/discovery_cache/documents/vmmigration.v1.json index 08120f00664..2d6f93d911e 100644 --- a/googleapiclient/discovery_cache/documents/vmmigration.v1.json +++ b/googleapiclient/discovery_cache/documents/vmmigration.v1.json @@ -1972,7 +1972,7 @@ } } }, - "revision": "20221103", + "revision": "20221126", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AdaptingOSStep": { diff --git a/googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json b/googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json index ae32a68af6e..a4ab7ee051f 100644 --- a/googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +++ b/googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json @@ -1972,9 +1972,24 @@ } } }, - "revision": "20221103", + "revision": "20221126", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { + "AccessKeyCredentials": { + "description": "Message describing AWS Credentials using access key id and secret.", + "id": "AccessKeyCredentials", + "properties": { + "accessKeyId": { + "description": "AWS access key ID.", + "type": "string" + }, + "secretAccessKey": { + "description": "Input only. AWS secret access key.", + "type": "string" + } + }, + "type": "object" + }, "AdaptingOSStep": { "description": "AdaptingOSStep contains specific step details.", "id": "AdaptingOSStep", @@ -2076,6 +2091,10 @@ "description": "AwsSourceDetails message describes a specific source details for the AWS source type.", "id": "AwsSourceDetails", "properties": { + "accessKeyCreds": { + "$ref": "AccessKeyCredentials", + "description": "AWS Credentials using access key id and secret." + }, "accessKeyId": { "description": "AWS access key ID.", "type": "string" @@ -2096,6 +2115,13 @@ }, "type": "array" }, + "inventoryTagList": { + "description": "AWS resource tags to limit the scope of the source inventory.", + "items": { + "$ref": "Tag" + }, + "type": "array" + }, "inventoryTags": { "additionalProperties": { "type": "string" @@ -4022,6 +4048,21 @@ }, "type": "object" }, + "Tag": { + "description": "Tag is an AWS tag representation.", + "id": "Tag", + "properties": { + "key": { + "description": "Key of tag.", + "type": "string" + }, + "value": { + "description": "Value of tag.", + "type": "string" + } + }, + "type": "object" + }, "TargetProject": { "description": "TargetProject message represents a target Compute Engine project for a migration or a clone.", "id": "TargetProject",