Google Compute Engine

Set metadata

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Sets metadata for the specified instance to the data included in the request.

Inputs

フィールド

種類

説明

instance [required]

string

Name of the instance scoping this request.

metadataResource

The body resource for this request.

project [required]

string

Project ID for this request.

requestId

string,null

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

zone [required]

string

The name of the zone for this request.

Outputs

Expand All

フィールド

種類

説明

result [required]

object

Set metadata output result.

latestResponse [required]

object

name [required]

string,null

Operation name

metadata

Operation metadata.

done [required]

boolean

Operation done.

error

Operation error

response

Operation response.

result

enum

Operation result. Allowed enum values: error,response

clientOperationId

string,null

Operation clientOperationId

creationTimestamp

string,null

Operation creationTimestamp

description

string,null

Operation description

endTime

string,null

Operation endTime

httpErrorMessage

string,null

Operation httpErrorMessage

httpErrorStatusCode

number,null

Operation httpErrorStatusCode

id

Operation id

insertTime

string,null

Operation insertTime

instancesBulkInsertOperationMetadata

Operation instancesBulkInsertOperationMetadata

kind

string,null

Operation kind

operationGroupId

string,null

Operation operationGroupId

operationType

string,null

Operation operationType

progress

number,null

Operation progress

region

string,null

Operation region

selfLink

string,null

Operation selfLink

setCommonInstanceMetadataOperationMetadata

Operation setCommonInstanceMetadataOperationMetadata

startTime

string,null

Operation startTime

status

Operation status

statusMessage

string,null

Operation statusMessage

targetId

Operation targetId

targetLink

string,null

Operation targetLink

user

string,null

Operation user

warnings

Operation warnings

zone

string,null

Operation zone

result [required]

metadata [required]

name

string

done

boolean

error

object

code

enum

Copyright 2020 Google LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Allowed enum values: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16

note

string

metadata

statusDetails

reason

string

domain

string

errorInfoMetadata

object