Class: Google::Cloud::Compute::V1::Commitment
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::Commitment
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Represents a regional resource-based commitment resource.
Creating this commitment resource means that you are purchasing a resource-based committed use contract, with an explicit start and end time. You can purchase resource-based commitments for both hardware and software resources. For more information, read Resource-based committed use discounts
Defined Under Namespace
Modules: Category, Plan, Status, Type
Instance Attribute Summary collapse
-
#auto_renew ⇒ ::Boolean
Specifies whether to automatically renew the commitment at the end of its current term.
-
#category ⇒ ::String
The category of the commitment; specifies whether the commitment is for hardware or software resources.
-
#creation_timestamp ⇒ ::String
Output only.
-
#custom_end_timestamp ⇒ ::String
[Input Only] Optional, specifies the requested commitment end time inRFC3339 text format.
-
#description ⇒ ::String
An optional description of the commitment.
-
#end_timestamp ⇒ ::String
Output only.
- #existing_reservations ⇒ ::Array<::String>
-
#id ⇒ ::Integer
Output only.
-
#kind ⇒ ::String
Output only.
-
#license_resource ⇒ ::Google::Cloud::Compute::V1::LicenseResourceCommitment
The license specification required as part of a license commitment.
-
#merge_source_commitments ⇒ ::Array<::String>
The list of source commitments that you are merging to create the new merged commitment.
-
#name ⇒ ::String
Name of the commitment.
-
#params ⇒ ::Google::Cloud::Compute::V1::CommitmentParams
Input only.
-
#plan ⇒ ::String
The minimum time duration that you commit to purchasing resources.
-
#region ⇒ ::String
Output only.
-
#reservations ⇒ ::Array<::Google::Cloud::Compute::V1::Reservation>
The list of new reservations that you want to create and attach to this commitment.
-
#resource_status ⇒ ::Google::Cloud::Compute::V1::CommitmentResourceStatus
Output only.
-
#resources ⇒ ::Array<::Google::Cloud::Compute::V1::ResourceCommitment>
The list of all the hardware resources, with their types and amounts, that you want to commit to.
-
#self_link ⇒ ::String
Output only.
-
#split_source_commitment ⇒ ::String
The source commitment from which you are transferring resources to create the new split commitment.
-
#start_timestamp ⇒ ::String
Output only.
-
#status ⇒ ::String
Output only.
-
#status_message ⇒ ::String
Output only.
-
#type ⇒ ::String
The type of commitment; specifies the machine series for which you want to commit to purchasing resources.
Instance Attribute Details
#auto_renew ⇒ ::Boolean
Returns Specifies whether to automatically renew the commitment at the end of its current term. The default value is false. If you set the field to true, each time your commitment reaches the end of its term, Compute Engine automatically renews it for another term. You can update this field anytime before the commitment expires. For example, if the commitment is set to expire at 12 AM UTC-8 on January 3, 2027, you can update this field until 11:59 PM UTC-8 on January 2, 2027.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#category ⇒ ::String
Returns The category of the commitment; specifies whether the commitment is for hardware or software resources. Category MACHINE specifies that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. Category LICENSE specifies that you are committing to software licenses, listed in licenseResources. Note that if you specify MACHINE commitments, then you must also specify a type to indicate the machine series of the hardware resource that you are committing to. Check the Category enum for the list of possible values.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#creation_timestamp ⇒ ::String
Returns Output only. [Output Only] Creation timestamp inRFC3339 text format.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#custom_end_timestamp ⇒ ::String
Returns [Input Only] Optional, specifies the requested commitment end time inRFC3339 text format. Use this option when the desired commitment's end date is later than the start date + term duration.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#description ⇒ ::String
Returns An optional description of the commitment. You can provide this property when you create the resource.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#end_timestamp ⇒ ::String
Returns Output only. [Output Only] Commitment end time inRFC3339 text format.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#existing_reservations ⇒ ::Array<::String>
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#id ⇒ ::Integer
Returns Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#kind ⇒ ::String
Returns Output only. [Output Only] Type of the resource. Always compute#commitment for commitments.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#license_resource ⇒ ::Google::Cloud::Compute::V1::LicenseResourceCommitment
Returns The license specification required as part of a license commitment.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#merge_source_commitments ⇒ ::Array<::String>
Returns The list of source commitments that you are merging to create the new merged commitment. For more information, see Merging commitments.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#name ⇒ ::String
Returns Name of the commitment. You must specify a name when you purchase the
commitment. The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first
character must be a lowercase letter, and all following characters must
be a dash, lowercase letter, or digit, except the last character, which
cannot be a dash.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#params ⇒ ::Google::Cloud::Compute::V1::CommitmentParams
Returns Input only. Additional params passed with the request, but not persisted as part of resource payload.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#plan ⇒ ::String
Returns The minimum time duration that you commit to purchasing resources. The plan that you choose determines the preset term length of the commitment (which is 1 year or 3 years) and affects the discount rate that you receive for your resources. Committing to a longer time duration typically gives you a higher discount rate. The supported values for this field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). Check the Plan enum for the list of possible values.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#region ⇒ ::String
Returns Output only. [Output Only] URL of the region where the commitment and committed resources are located.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#reservations ⇒ ::Array<::Google::Cloud::Compute::V1::Reservation>
Returns The list of new reservations that you want to create and attach to this commitment.
You must attach reservations to your commitment if your commitment specifies any GPUs or Local SSD disks. For more information, see Attach reservations to resource-based commitments.
Specify this property only if you want to create new reservations to attach. To attach existing reservations, specify theexistingReservations property instead.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#resource_status ⇒ ::Google::Cloud::Compute::V1::CommitmentResourceStatus
Returns Output only. [Output Only] Status information for Commitment resource.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#resources ⇒ ::Array<::Google::Cloud::Compute::V1::ResourceCommitment>
Returns The list of all the hardware resources, with their types and amounts, that you want to commit to. Specify as a separate entry in the list for each individual resource type.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#self_link ⇒ ::String
Returns Output only. [Output Only] Server-defined URL for the resource.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#split_source_commitment ⇒ ::String
Returns The source commitment from which you are transferring resources to create the new split commitment. For more information, see Split commitments.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#start_timestamp ⇒ ::String
Returns Output only. [Output Only] Commitment start time inRFC3339 text format.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#status ⇒ ::String
Returns Output only. [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). Status can be one of the following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. Check the Status enum for the list of possible values.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#status_message ⇒ ::String
Returns Output only. [Output Only] An optional, human-readable explanation of the status.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |
#type ⇒ ::String
Returns The type of commitment; specifies the machine series for which you want to commit to purchasing resources. The choice of machine series affects the discount rate and the eligible resource types.
The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For example, type MEMORY_OPTIMIZED specifies a commitment that applies only to eligible resources of memory optimized M1 and M2 machine series. Type GENERAL_PURPOSE specifies a commitment that applies only to eligible resources of general purpose N1 machine series. Check the Type enum for the list of possible values.
13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13717 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment; specifies whether the commitment is for # hardware or software resources. Category MACHINE specifies # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources. # Category LICENSE specifies that you are committing to software # licenses, listed in licenseResources. # Note that if you specify MACHINE commitments, then you must # also specify a type to indicate the machine series of the # hardware resource that you are committing to. module Category # A value indicating that the enum field is not set. UNDEFINED_CATEGORY = 0 CATEGORY_UNSPECIFIED = 509_189_462 LICENSE = 347_869_217 MACHINE = 469_553_191 end # The minimum time duration that you commit to purchasing resources. # The plan that you choose determines the preset term length of the # commitment (which is 1 year or 3 years) and affects the discount rate that # you receive for your resources. Committing to a longer time duration # typically gives you a higher discount rate. The supported values for this # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years). module Plan # A value indicating that the enum field is not set. UNDEFINED_PLAN = 0 INVALID = 530_283_991 THIRTY_SIX_MONTH = 266_295_942 TWELVE_MONTH = 173_083_962 end # Output only. [Output Only] Status of the commitment with regards to eventual expiration # (each commitment has an end date defined). Status can be one of the # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 ACTIVE = 314_733_318 # Deprecate CANCELED status. Will use separate status to differentiate # cancel by mergeCud or manual cancellation. CANCELLED = 41_957_681 CREATING = 455_564_985 EXPIRED = 482_489_093 NOT_YET_ACTIVE = 20_607_337 end # The type of commitment; specifies the # machine series for which you want to commit to purchasing resources. # The choice of machine series affects the discount rate and the eligible # resource types. # # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For # example, type MEMORY_OPTIMIZED specifies a commitment that # applies only to eligible resources of memory optimized M1 and M2 machine # series. Type GENERAL_PURPOSE specifies a commitment that # applies only to eligible resources of general purpose N1 machine series. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 ACCELERATOR_OPTIMIZED = 280_848_403 ACCELERATOR_OPTIMIZED_A3 = 158_574_526 ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459 ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811 ACCELERATOR_OPTIMIZED_A4 = 158_574_527 COMPUTE_OPTIMIZED = 158_349_023 COMPUTE_OPTIMIZED_C2D = 383_246_453 COMPUTE_OPTIMIZED_C3 = 428_004_784 COMPUTE_OPTIMIZED_C3D = 383_246_484 COMPUTE_OPTIMIZED_H3 = 428_004_939 COMPUTE_OPTIMIZED_H4D = 383_251_320 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 GENERAL_PURPOSE_C4D = 232_460_891 GENERAL_PURPOSE_E2 = 301_911_877 GENERAL_PURPOSE_N2 = 301_912_156 GENERAL_PURPOSE_N2D = 232_471_400 GENERAL_PURPOSE_N4 = 301_912_158 GENERAL_PURPOSE_N4A = 232_471_459 GENERAL_PURPOSE_N4D = 232_471_462 GENERAL_PURPOSE_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 GRAPHICS_OPTIMIZED_G4 = 54_029_369 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 MEMORY_OPTIMIZED_M4 = 276_301_373 MEMORY_OPTIMIZED_M4_6TB = 210_543_650 # CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory. MEMORY_OPTIMIZED_X4_1440_24T = 206_669_823 MEMORY_OPTIMIZED_X4_16TB = 183_089_120 # CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory. MEMORY_OPTIMIZED_X4_1920_32T = 291_963_529 MEMORY_OPTIMIZED_X4_24TB = 183_116_989 MEMORY_OPTIMIZED_X4_32TB = 183_144_858 # CUD bucket for X4 machine with 480 vCPUs and 6TB of memory. MEMORY_OPTIMIZED_X4_480_6T = 478_547_742 # CUD bucket for X4 machine with 480 vCPUs and 8TB of memory. MEMORY_OPTIMIZED_X4_480_8T = 478_547_804 # CUD bucket for X4 machine with 960 vCPUs and 12TB of memory. MEMORY_OPTIMIZED_X4_960_12T = 424_752_410 # CUD bucket for X4 machine with 960 vCPUs and 16TB of memory. MEMORY_OPTIMIZED_X4_960_16T = 424_752_534 STORAGE_OPTIMIZED_Z3 = 316_796_085 # Note for internal users: When adding a new enum Type for v1, make sure # to also add it in the comment for the `optional Type type` definition. # This ensures that the public documentation displays the new enum Type. TYPE_UNSPECIFIED = 437_714_322 end end |