public interface CommitmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoRenew()
Specifies whether to automatically renew the commitment at the end of its current term.
|
String |
getCategory()
The category of the commitment; specifies whether the commitment is for hardware or software resources.
|
com.google.protobuf.ByteString |
getCategoryBytes()
The category of the commitment; specifies whether the commitment is for hardware or software resources.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getCustomEndTimestamp()
[Input Only] Optional, specifies the requested commitment end time in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCustomEndTimestampBytes()
[Input Only] Optional, specifies the requested commitment end time in RFC3339 text format.
|
String |
getDescription()
An optional description of the commitment.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of the commitment.
|
String |
getEndTimestamp()
[Output Only] Commitment end time in RFC3339 text format.
|
com.google.protobuf.ByteString |
getEndTimestampBytes()
[Output Only] Commitment end time in RFC3339 text format.
|
String |
getExistingReservations(int index)
repeated string existing_reservations = 493028443; |
com.google.protobuf.ByteString |
getExistingReservationsBytes(int index)
repeated string existing_reservations = 493028443; |
int |
getExistingReservationsCount()
repeated string existing_reservations = 493028443; |
List<String> |
getExistingReservationsList()
repeated string existing_reservations = 493028443; |
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
LicenseResourceCommitment |
getLicenseResource()
The license specification required as part of a license commitment.
|
LicenseResourceCommitmentOrBuilder |
getLicenseResourceOrBuilder()
The license specification required as part of a license commitment.
|
String |
getMergeSourceCommitments(int index)
The list of source commitments that you are merging to create the new merged commitment.
|
com.google.protobuf.ByteString |
getMergeSourceCommitmentsBytes(int index)
The list of source commitments that you are merging to create the new merged commitment.
|
int |
getMergeSourceCommitmentsCount()
The list of source commitments that you are merging to create the new merged commitment.
|
List<String> |
getMergeSourceCommitmentsList()
The list of source commitments that you are merging to create the new merged commitment.
|
String |
getName()
Name of the commitment.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the commitment.
|
String |
getPlan()
The minimum time duration that you commit to purchasing resources.
|
com.google.protobuf.ByteString |
getPlanBytes()
The minimum time duration that you commit to purchasing resources.
|
String |
getRegion()
[Output Only] URL of the region where the commitment and committed resources are located.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the commitment and committed resources are located.
|
Reservation |
getReservations(int index)
The list of new reservations that you want to create and attach to this commitment.
|
int |
getReservationsCount()
The list of new reservations that you want to create and attach to this commitment.
|
List<Reservation> |
getReservationsList()
The list of new reservations that you want to create and attach to this commitment.
|
ReservationOrBuilder |
getReservationsOrBuilder(int index)
The list of new reservations that you want to create and attach to this commitment.
|
List<? extends ReservationOrBuilder> |
getReservationsOrBuilderList()
The list of new reservations that you want to create and attach to this commitment.
|
ResourceCommitment |
getResources(int index)
The list of all the hardware resources, with their types and amounts, that you want to commit to.
|
int |
getResourcesCount()
The list of all the hardware resources, with their types and amounts, that you want to commit to.
|
List<ResourceCommitment> |
getResourcesList()
The list of all the hardware resources, with their types and amounts, that you want to commit to.
|
ResourceCommitmentOrBuilder |
getResourcesOrBuilder(int index)
The list of all the hardware resources, with their types and amounts, that you want to commit to.
|
List<? extends ResourceCommitmentOrBuilder> |
getResourcesOrBuilderList()
The list of all the hardware resources, with their types and amounts, that you want to commit to.
|
CommitmentResourceStatus |
getResourceStatus()
[Output Only] Status information for Commitment resource.
|
CommitmentResourceStatusOrBuilder |
getResourceStatusOrBuilder()
[Output Only] Status information for Commitment resource.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getSplitSourceCommitment()
The source commitment from which you are transferring resources to create the new split commitment.
|
com.google.protobuf.ByteString |
getSplitSourceCommitmentBytes()
The source commitment from which you are transferring resources to create the new split commitment.
|
String |
getStartTimestamp()
[Output Only] Commitment start time in RFC3339 text format.
|
com.google.protobuf.ByteString |
getStartTimestampBytes()
[Output Only] Commitment start time in RFC3339 text format.
|
String |
getStatus()
[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined).
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined).
|
String |
getStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
com.google.protobuf.ByteString |
getStatusMessageBytes()
[Output Only] An optional, human-readable explanation of the status.
|
String |
getType()
The type of commitment; specifies the machine series for which you want to commit to purchasing resources.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type of commitment; specifies the machine series for which you want to commit to purchasing resources.
|
boolean |
hasAutoRenew()
Specifies whether to automatically renew the commitment at the end of its current term.
|
boolean |
hasCategory()
The category of the commitment; specifies whether the commitment is for hardware or software resources.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasCustomEndTimestamp()
[Input Only] Optional, specifies the requested commitment end time in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of the commitment.
|
boolean |
hasEndTimestamp()
[Output Only] Commitment end time in RFC3339 text format.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasLicenseResource()
The license specification required as part of a license commitment.
|
boolean |
hasName()
Name of the commitment.
|
boolean |
hasPlan()
The minimum time duration that you commit to purchasing resources.
|
boolean |
hasRegion()
[Output Only] URL of the region where the commitment and committed resources are located.
|
boolean |
hasResourceStatus()
[Output Only] Status information for Commitment resource.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasSplitSourceCommitment()
The source commitment from which you are transferring resources to create the new split commitment.
|
boolean |
hasStartTimestamp()
[Output Only] Commitment start time in RFC3339 text format.
|
boolean |
hasStatus()
[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined).
|
boolean |
hasStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
boolean |
hasType()
The type of commitment; specifies the machine series for which you want to commit to purchasing resources.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAutoRenew()
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.
optional bool auto_renew = 495520765;boolean getAutoRenew()
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.
optional bool auto_renew = 495520765;boolean hasCategory()
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 as VCPU 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.
optional string category = 50511102;String getCategory()
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 as VCPU 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.
optional string category = 50511102;com.google.protobuf.ByteString getCategoryBytes()
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 as VCPU 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.
optional string category = 50511102;boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;boolean hasCustomEndTimestamp()
[Input Only] Optional, specifies the requested commitment end time in RFC3339 text format. Use this option when the desired commitment's end date is later than the start date + term duration.
optional string custom_end_timestamp = 181770852;String getCustomEndTimestamp()
[Input Only] Optional, specifies the requested commitment end time in RFC3339 text format. Use this option when the desired commitment's end date is later than the start date + term duration.
optional string custom_end_timestamp = 181770852;com.google.protobuf.ByteString getCustomEndTimestampBytes()
[Input Only] Optional, specifies the requested commitment end time in RFC3339 text format. Use this option when the desired commitment's end date is later than the start date + term duration.
optional string custom_end_timestamp = 181770852;boolean hasDescription()
An optional description of the commitment. You can provide this property when you create the resource.
optional string description = 422937596;String getDescription()
An optional description of the commitment. You can provide this property when you create the resource.
optional string description = 422937596;com.google.protobuf.ByteString getDescriptionBytes()
An optional description of the commitment. You can provide this property when you create the resource.
optional string description = 422937596;boolean hasEndTimestamp()
[Output Only] Commitment end time in RFC3339 text format.
optional string end_timestamp = 468096690;String getEndTimestamp()
[Output Only] Commitment end time in RFC3339 text format.
optional string end_timestamp = 468096690;com.google.protobuf.ByteString getEndTimestampBytes()
[Output Only] Commitment end time in RFC3339 text format.
optional string end_timestamp = 468096690;List<String> getExistingReservationsList()
repeated string existing_reservations = 493028443;int getExistingReservationsCount()
repeated string existing_reservations = 493028443;String getExistingReservations(int index)
repeated string existing_reservations = 493028443;index - The index of the element to return.com.google.protobuf.ByteString getExistingReservationsBytes(int index)
repeated string existing_reservations = 493028443;index - The index of the value to return.boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;boolean hasKind()
[Output Only] Type of the resource. Always compute#commitment for commitments.
optional string kind = 3292052;String getKind()
[Output Only] Type of the resource. Always compute#commitment for commitments.
optional string kind = 3292052;com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#commitment for commitments.
optional string kind = 3292052;boolean hasLicenseResource()
The license specification required as part of a license commitment.
optional .google.cloud.compute.v1.LicenseResourceCommitment license_resource = 437955148;
LicenseResourceCommitment getLicenseResource()
The license specification required as part of a license commitment.
optional .google.cloud.compute.v1.LicenseResourceCommitment license_resource = 437955148;
LicenseResourceCommitmentOrBuilder getLicenseResourceOrBuilder()
The license specification required as part of a license commitment.
optional .google.cloud.compute.v1.LicenseResourceCommitment license_resource = 437955148;
List<String> getMergeSourceCommitmentsList()
The list of source commitments that you are merging to create the new merged commitment. For more information, see Merging commitments.
repeated string merge_source_commitments = 188093761;int getMergeSourceCommitmentsCount()
The list of source commitments that you are merging to create the new merged commitment. For more information, see Merging commitments.
repeated string merge_source_commitments = 188093761;String getMergeSourceCommitments(int index)
The list of source commitments that you are merging to create the new merged commitment. For more information, see Merging commitments.
repeated string merge_source_commitments = 188093761;index - The index of the element to return.com.google.protobuf.ByteString getMergeSourceCommitmentsBytes(int index)
The list of source commitments that you are merging to create the new merged commitment. For more information, see Merging commitments.
repeated string merge_source_commitments = 188093761;index - The index of the value to return.boolean hasName()
Name of the commitment. You must specify a name when you purchase the commitment. 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.
optional string name = 3373707;String getName()
Name of the commitment. You must specify a name when you purchase the commitment. 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.
optional string name = 3373707;com.google.protobuf.ByteString getNameBytes()
Name of the commitment. You must specify a name when you purchase the commitment. 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.
optional string name = 3373707;boolean hasPlan()
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), and THIRTY_SIX_MONTH (3 years). Check the Plan enum for the list of possible values.
optional string plan = 3443497;String getPlan()
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), and THIRTY_SIX_MONTH (3 years). Check the Plan enum for the list of possible values.
optional string plan = 3443497;com.google.protobuf.ByteString getPlanBytes()
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), and THIRTY_SIX_MONTH (3 years). Check the Plan enum for the list of possible values.
optional string plan = 3443497;boolean hasRegion()
[Output Only] URL of the region where the commitment and committed resources are located.
optional string region = 138946292;String getRegion()
[Output Only] URL of the region where the commitment and committed resources are located.
optional string region = 138946292;com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the commitment and committed resources are located.
optional string region = 138946292;List<Reservation> getReservationsList()
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 the existingReservations property instead.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;Reservation getReservations(int index)
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 the existingReservations property instead.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;int getReservationsCount()
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 the existingReservations property instead.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;List<? extends ReservationOrBuilder> getReservationsOrBuilderList()
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 the existingReservations property instead.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;ReservationOrBuilder getReservationsOrBuilder(int index)
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 the existingReservations property instead.
repeated .google.cloud.compute.v1.Reservation reservations = 399717927;boolean hasResourceStatus()
[Output Only] Status information for Commitment resource.
optional .google.cloud.compute.v1.CommitmentResourceStatus resource_status = 249429315;
CommitmentResourceStatus getResourceStatus()
[Output Only] Status information for Commitment resource.
optional .google.cloud.compute.v1.CommitmentResourceStatus resource_status = 249429315;
CommitmentResourceStatusOrBuilder getResourceStatusOrBuilder()
[Output Only] Status information for Commitment resource.
optional .google.cloud.compute.v1.CommitmentResourceStatus resource_status = 249429315;
List<ResourceCommitment> getResourcesList()
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.
repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;ResourceCommitment getResources(int index)
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.
repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;int getResourcesCount()
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.
repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;List<? extends ResourceCommitmentOrBuilder> getResourcesOrBuilderList()
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.
repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;ResourceCommitmentOrBuilder getResourcesOrBuilder(int index)
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.
repeated .google.cloud.compute.v1.ResourceCommitment resources = 164412965;boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;boolean hasSplitSourceCommitment()
The source commitment from which you are transferring resources to create the new split commitment. For more information, see Split commitments.
optional string split_source_commitment = 402611156;String getSplitSourceCommitment()
The source commitment from which you are transferring resources to create the new split commitment. For more information, see Split commitments.
optional string split_source_commitment = 402611156;com.google.protobuf.ByteString getSplitSourceCommitmentBytes()
The source commitment from which you are transferring resources to create the new split commitment. For more information, see Split commitments.
optional string split_source_commitment = 402611156;boolean hasStartTimestamp()
[Output Only] Commitment start time in RFC3339 text format.
optional string start_timestamp = 83645817;String getStartTimestamp()
[Output Only] Commitment start time in RFC3339 text format.
optional string start_timestamp = 83645817;com.google.protobuf.ByteString getStartTimestampBytes()
[Output Only] Commitment start time in RFC3339 text format.
optional string start_timestamp = 83645817;boolean hasStatus()
[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, or EXPIRED. Check the Status enum for the list of possible values.
optional string status = 181260274;String getStatus()
[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, or EXPIRED. Check the Status enum for the list of possible values.
optional string status = 181260274;com.google.protobuf.ByteString getStatusBytes()
[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, or EXPIRED. Check the Status enum for the list of possible values.
optional string status = 181260274;boolean hasStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;String getStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;com.google.protobuf.ByteString getStatusMessageBytes()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;boolean hasType()
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, 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.
optional string type = 3575610;String getType()
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, 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.
optional string type = 3575610;com.google.protobuf.ByteString getTypeBytes()
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, 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.
optional string type = 3575610;Copyright © 2025 Google LLC. All rights reserved.