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 Commitment resource. Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts.
Defined Under Namespace
Modules: Category, Plan, Status, Type
Instance Attribute Summary collapse
-
#auto_renew ⇒ ::Boolean
Specifies whether to enable automatic renewal for the commitment.
-
#category ⇒ ::String
The category of the commitment.
-
#creation_timestamp ⇒ ::String
[Output Only] Creation timestamp in RFC3339 text format.
-
#custom_end_timestamp ⇒ ::String
[Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format.
-
#description ⇒ ::String
An optional description of this resource.
-
#end_timestamp ⇒ ::String
[Output Only] Commitment end time in RFC3339 text format.
-
#existing_reservations ⇒ ::Array<::String>
Specifies the already existing reservations to attach to the Commitment.
-
#id ⇒ ::Integer
[Output Only] The unique identifier for the resource.
-
#kind ⇒ ::String
[Output Only] Type of the resource.
-
#license_resource ⇒ ::Google::Cloud::Compute::V1::LicenseResourceCommitment
The license specification required as part of a license commitment.
-
#merge_source_commitments ⇒ ::Array<::String>
List of source commitments to be merged into a new commitment.
-
#name ⇒ ::String
Name of the resource.
-
#plan ⇒ ::String
The plan for this commitment, which determines duration and discount rate.
-
#region ⇒ ::String
[Output Only] URL of the region where this commitment may be used.
-
#reservations ⇒ ::Array<::Google::Cloud::Compute::V1::Reservation>
List of create-on-create reservations for this commitment.
-
#resource_status ⇒ ::Google::Cloud::Compute::V1::CommitmentResourceStatus
[Output Only] Status information for Commitment resource.
-
#resources ⇒ ::Array<::Google::Cloud::Compute::V1::ResourceCommitment>
A list of commitment amounts for particular resources.
-
#self_link ⇒ ::String
[Output Only] Server-defined URL for the resource.
-
#split_source_commitment ⇒ ::String
Source commitment to be split into a new commitment.
-
#start_timestamp ⇒ ::String
[Output Only] Commitment start time in RFC3339 text format.
-
#status ⇒ ::String
[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined).
-
#status_message ⇒ ::String
[Output Only] An optional, human-readable explanation of the status.
-
#type ⇒ ::String
The type of commitment, which affects the discount rate and the eligible resources.
Instance Attribute Details
#auto_renew ⇒ ::Boolean
Returns Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#category ⇒ ::String
Returns The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. Check the Category enum for the list of possible values.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#creation_timestamp ⇒ ::String
Returns [Output Only] Creation timestamp in RFC3339 text format.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#custom_end_timestamp ⇒ ::String
Returns [Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format. Needed when the customer wants CUD's end date is later than the start date + term duration.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#description ⇒ ::String
Returns An optional description of this resource. Provide this property when you create the resource.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#end_timestamp ⇒ ::String
Returns [Output Only] Commitment end time in RFC3339 text format.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#existing_reservations ⇒ ::Array<::String>
Returns Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#id ⇒ ::Integer
Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#kind ⇒ ::String
Returns [Output Only] Type of the resource. Always compute#commitment for commitments.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 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.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#merge_source_commitments ⇒ ::Array<::String>
Returns List of source commitments to be merged into a new commitment.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#name ⇒ ::String
Returns Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. 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.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#plan ⇒ ::String
Returns The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). Check the Plan enum for the list of possible values.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#region ⇒ ::String
Returns [Output Only] URL of the region where this commitment may be used.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#reservations ⇒ ::Array<::Google::Cloud::Compute::V1::Reservation>
Returns List of create-on-create reservations for this commitment.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#resource_status ⇒ ::Google::Cloud::Compute::V1::CommitmentResourceStatus
Returns [Output Only] Status information for Commitment resource.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#resources ⇒ ::Array<::Google::Cloud::Compute::V1::ResourceCommitment>
Returns A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#self_link ⇒ ::String
Returns [Output Only] Server-defined URL for the resource.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#split_source_commitment ⇒ ::String
Returns Source commitment to be split into a new commitment.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#start_timestamp ⇒ ::String
Returns [Output Only] Commitment start time in RFC3339 text format.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#status ⇒ ::String
Returns [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. Check the Status enum for the list of possible values.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#status_message ⇒ ::String
Returns [Output Only] An optional, human-readable explanation of the status.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |
#type ⇒ ::String
Returns The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. Check the Type enum for the list of possible values.
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4838 class Commitment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. 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 plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. 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 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 GENERAL_PURPOSE = 299_793_543 GENERAL_PURPOSE_C4 = 301_911_817 GENERAL_PURPOSE_C4A = 232_460_888 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_T2D = 232_477_166 GRAPHICS_OPTIMIZED = 68_500_563 MEMORY_OPTIMIZED = 281_753_417 MEMORY_OPTIMIZED_M3 = 276_301_372 STORAGE_OPTIMIZED_Z3 = 316_796_085 TYPE_UNSPECIFIED = 437_714_322 end end |