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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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>
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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,GRAPHICS_OPTIMIZED_G4_VGPU,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.
13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 13905 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,GRAPHICS_OPTIMIZED_G4_VGPU,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 GRAPHICS_OPTIMIZED_G4_VGPU = 298_988_732 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 |