Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstanceParams.
Additional instance params.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#request_valid_for_duration
def request_valid_for_duration() -> ::Google::Cloud::Compute::V1::Duration
Returns
- (::Google::Cloud::Compute::V1::Duration) — Relative deadline for waiting for capacity. Relevant only for Instances.Insert API.
#request_valid_for_duration=
def request_valid_for_duration=(value) -> ::Google::Cloud::Compute::V1::Duration
Parameter
- value (::Google::Cloud::Compute::V1::Duration) — Relative deadline for waiting for capacity. Relevant only for Instances.Insert API.
Returns
- (::Google::Cloud::Compute::V1::Duration) — Relative deadline for waiting for capacity. Relevant only for Instances.Insert API.
#resource_manager_tags
def resource_manager_tags() -> ::Google::Protobuf::Map{::String => ::String}
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — Input only. Resource manager tags to be bound to the instance. Tag keys and values
have the same definition as resource
manager tags. Keys and values can be either in numeric format,
such as
tagKeys/{tag_key_id}andtagValues/456or in namespaced format such as{org_id|project_id}/{tag_key_short_name}and{tag_value_short_name}. The field is ignored (both PUT & PATCH) when empty.
#resource_manager_tags=
def resource_manager_tags=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
-
value (::Google::Protobuf::Map{::String => ::String}) — Input only. Resource manager tags to be bound to the instance. Tag keys and values
have the same definition as resource
manager tags. Keys and values can be either in numeric format,
such as
tagKeys/{tag_key_id}andtagValues/456or in namespaced format such as{org_id|project_id}/{tag_key_short_name}and{tag_value_short_name}. The field is ignored (both PUT & PATCH) when empty.
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — Input only. Resource manager tags to be bound to the instance. Tag keys and values
have the same definition as resource
manager tags. Keys and values can be either in numeric format,
such as
tagKeys/{tag_key_id}andtagValues/456or in namespaced format such as{org_id|project_id}/{tag_key_short_name}and{tag_value_short_name}. The field is ignored (both PUT & PATCH) when empty.