Interface InstanceFlexibilityPolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InstanceFlexibilityPolicy, InstanceFlexibilityPolicy.Builder

@Generated public interface InstanceFlexibilityPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getInstanceSelectionsCount

      int getInstanceSelectionsCount()
       Specification of alternative, flexible instance subsets.
       One of them will be selected to create the instances
       based on various criteria, like:
       - ranks,
       - location policy,
       - current capacity,
       - available reservations (you can specify affinity in
       InstanceProperties),
       - SWAN/GOOSE limitations.
       Key is an arbitrary, unique RFC1035 string that identifies the instance
       selection.
       
      map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
    • containsInstanceSelections

      boolean containsInstanceSelections(String key)
       Specification of alternative, flexible instance subsets.
       One of them will be selected to create the instances
       based on various criteria, like:
       - ranks,
       - location policy,
       - current capacity,
       - available reservations (you can specify affinity in
       InstanceProperties),
       - SWAN/GOOSE limitations.
       Key is an arbitrary, unique RFC1035 string that identifies the instance
       selection.
       
      map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
    • getInstanceSelections

      Deprecated.
    • getInstanceSelectionsMap

       Specification of alternative, flexible instance subsets.
       One of them will be selected to create the instances
       based on various criteria, like:
       - ranks,
       - location policy,
       - current capacity,
       - available reservations (you can specify affinity in
       InstanceProperties),
       - SWAN/GOOSE limitations.
       Key is an arbitrary, unique RFC1035 string that identifies the instance
       selection.
       
      map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
    • getInstanceSelectionsOrDefault

       Specification of alternative, flexible instance subsets.
       One of them will be selected to create the instances
       based on various criteria, like:
       - ranks,
       - location policy,
       - current capacity,
       - available reservations (you can specify affinity in
       InstanceProperties),
       - SWAN/GOOSE limitations.
       Key is an arbitrary, unique RFC1035 string that identifies the instance
       selection.
       
      map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
    • getInstanceSelectionsOrThrow

      InstanceFlexibilityPolicyInstanceSelection getInstanceSelectionsOrThrow(String key)
       Specification of alternative, flexible instance subsets.
       One of them will be selected to create the instances
       based on various criteria, like:
       - ranks,
       - location policy,
       - current capacity,
       - available reservations (you can specify affinity in
       InstanceProperties),
       - SWAN/GOOSE limitations.
       Key is an arbitrary, unique RFC1035 string that identifies the instance
       selection.
       
      map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;