Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::MachineImageParams.
Machine Image parameters
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#excluded_disks
def excluded_disks() -> ::Array<::String>
Returns
- (::Array<::String>) — Input only. Specifies the list of disk device names that must be excluded from the new machine image.
#excluded_disks=
def excluded_disks=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Input only. Specifies the list of disk device names that must be excluded from the new machine image.
Returns
- (::Array<::String>) — Input only. Specifies the list of disk device names that must be excluded from the new machine image.
#included_disks
def included_disks() -> ::Array<::String>
Returns
- (::Array<::String>) — Input only. Specifies the list of disk device names that must be included with the new machine image.
#included_disks=
def included_disks=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Input only. Specifies the list of disk device names that must be included with the new machine image.
Returns
- (::Array<::String>) — Input only. Specifies the list of disk device names that must be included with the new machine image.
#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 machine image. 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/{tag_value_id}or 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 machine image. 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/{tag_value_id}or 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 machine image. 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/{tag_value_id}or 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.