Class: Google::Cloud::Compute::V1::ShareSettings
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::ShareSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
The share setting for reservations and sole tenancy node groups.
Defined Under Namespace
Modules: ShareType Classes: ProjectMapEntry
Instance Attribute Summary collapse
-
#project_map ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::ShareSettingsProjectConfig}
A map of project id and project config.
-
#share_type ⇒ ::String
Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.
Instance Attribute Details
#project_map ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::ShareSettingsProjectConfig}
Returns A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
25789 25790 25791 25792 25793 25794 25795 25796 25797 25798 25799 25800 25801 25802 25803 25804 25805 25806 25807 25808 25809 25810 25811 25812 25813 25814 25815 25816 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25789 class ShareSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Compute::V1::ShareSettingsProjectConfig] class ProjectMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Type of sharing for this shared-reservation module ShareType # A value indicating that the enum field is not set. UNDEFINED_SHARE_TYPE = 0 # Default value. LOCAL = 72607563 # Default value. This value is unused. SHARE_TYPE_UNSPECIFIED = 494771730 # Shared-reservation is open to specific projects SPECIFIC_PROJECTS = 347838695 end end |
#share_type ⇒ ::String
Returns Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.
25789 25790 25791 25792 25793 25794 25795 25796 25797 25798 25799 25800 25801 25802 25803 25804 25805 25806 25807 25808 25809 25810 25811 25812 25813 25814 25815 25816 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25789 class ShareSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Compute::V1::ShareSettingsProjectConfig] class ProjectMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Type of sharing for this shared-reservation module ShareType # A value indicating that the enum field is not set. UNDEFINED_SHARE_TYPE = 0 # Default value. LOCAL = 72607563 # Default value. This value is unused. SHARE_TYPE_UNSPECIFIED = 494771730 # Shared-reservation is open to specific projects SPECIFIC_PROJECTS = 347838695 end end |