Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ShareSettings (v1.9.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ShareSettings.

The share setting for reservations and sole tenancy node groups.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#project_map

def project_map() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::ShareSettingsProjectConfig}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::ShareSettingsProjectConfig}) — A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.

#project_map=

def project_map=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::ShareSettingsProjectConfig}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::ShareSettingsProjectConfig}) — A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::ShareSettingsProjectConfig}) — A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.

#share_type

def share_type() -> ::String
Returns
  • (::String) — Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.

#share_type=

def share_type=(value) -> ::String
Parameter
  • value (::String) — Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.
Returns
  • (::String) — Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.