google-apis-compute_alpha 0.104.0 → 0.105.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1387,6 +1387,12 @@ module Google
1387
1387
  # @return [String]
1388
1388
  attr_accessor :source_instance_template_id
1389
1389
 
1390
+ # Per service utilization breakdown. The Key is the Google Cloud managed service
1391
+ # name.
1392
+ # Corresponds to the JSON property `utilizations`
1393
+ # @return [Hash<String,Fixnum>]
1394
+ attr_accessor :utilizations
1395
+
1390
1396
  def initialize(**args)
1391
1397
  update!(**args)
1392
1398
  end
@@ -1394,6 +1400,7 @@ module Google
1394
1400
  # Update properties of this object
1395
1401
  def update!(**args)
1396
1402
  @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id)
1403
+ @utilizations = args[:utilizations] if args.key?(:utilizations)
1397
1404
  end
1398
1405
  end
1399
1406
 
@@ -3017,6 +3024,12 @@ module Google
3017
3024
  # @return [Float]
3018
3025
  attr_accessor :capacity_scaler
3019
3026
 
3027
+ # List of custom metrics that are used for CUSTOM_METRICS BalancingMode and
3028
+ # WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy.
3029
+ # Corresponds to the JSON property `customMetrics`
3030
+ # @return [Array<Google::Apis::ComputeAlpha::BackendCustomMetric>]
3031
+ attr_accessor :custom_metrics
3032
+
3020
3033
  # An optional description of this resource. Provide this property when you
3021
3034
  # create the resource.
3022
3035
  # Corresponds to the JSON property `description`
@@ -3107,6 +3120,7 @@ module Google
3107
3120
  def update!(**args)
3108
3121
  @balancing_mode = args[:balancing_mode] if args.key?(:balancing_mode)
3109
3122
  @capacity_scaler = args[:capacity_scaler] if args.key?(:capacity_scaler)
3123
+ @custom_metrics = args[:custom_metrics] if args.key?(:custom_metrics)
3110
3124
  @description = args[:description] if args.key?(:description)
3111
3125
  @failover = args[:failover] if args.key?(:failover)
3112
3126
  @group = args[:group] if args.key?(:group)
@@ -3583,6 +3597,49 @@ module Google
3583
3597
  end
3584
3598
  end
3585
3599
 
3600
+ # Custom Metrics are used for CUSTOM_METRICS balancing_mode and
3601
+ # WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy.
3602
+ class BackendCustomMetric
3603
+ include Google::Apis::Core::Hashable
3604
+
3605
+ # If true, the metric data is collected and reported to Cloud Monitoring, but is
3606
+ # not used for load balancing.
3607
+ # Corresponds to the JSON property `dryRun`
3608
+ # @return [Boolean]
3609
+ attr_accessor :dry_run
3610
+ alias_method :dry_run?, :dry_run
3611
+
3612
+ # Optional parameter to define a target utilization for the Custom Metrics
3613
+ # balancing mode. The valid range is [0.0, 1.0].
3614
+ # Corresponds to the JSON property `maxUtilization`
3615
+ # @return [Float]
3616
+ attr_accessor :max_utilization
3617
+
3618
+ # Name of a custom utilization signal. The name must be 1-24 characters long,
3619
+ # and comply with RFC1035. Specifically, the name must be 1-24 characters long
3620
+ # and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the
3621
+ # first character must be a lowercase letter, and all following characters must
3622
+ # be a dash, lowercase letter, or digit, except the last character, which cannot
3623
+ # be a dash. For usage guidelines, see Custom Metrics balancing mode. This field
3624
+ # can only be used for a global or regional backend service with the
3625
+ # loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED
3626
+ # INTERNAL_SELF_MANAGED.
3627
+ # Corresponds to the JSON property `name`
3628
+ # @return [String]
3629
+ attr_accessor :name
3630
+
3631
+ def initialize(**args)
3632
+ update!(**args)
3633
+ end
3634
+
3635
+ # Update properties of this object
3636
+ def update!(**args)
3637
+ @dry_run = args[:dry_run] if args.key?(:dry_run)
3638
+ @max_utilization = args[:max_utilization] if args.key?(:max_utilization)
3639
+ @name = args[:name] if args.key?(:name)
3640
+ end
3641
+ end
3642
+
3586
3643
  # Represents a Backend Service resource. A backend service defines how Google
3587
3644
  # Cloud load balancers distribute traffic. The backend service configuration
3588
3645
  # contains a set of values, such as the protocol used to connect to backends,
@@ -3984,7 +4041,7 @@ module Google
3984
4041
  # @return [Fixnum]
3985
4042
  attr_accessor :timeout_sec
3986
4043
 
3987
- #
4044
+ # [Output Only] List of resources referencing given backend service.
3988
4045
  # Corresponds to the JSON property `usedBy`
3989
4046
  # @return [Array<Google::Apis::ComputeAlpha::BackendServiceUsedBy>]
3990
4047
  attr_accessor :used_by
@@ -5191,7 +5248,9 @@ module Google
5191
5248
  class BackendServiceUsedBy
5192
5249
  include Google::Apis::Core::Hashable
5193
5250
 
5194
- #
5251
+ # [Output Only] Server-defined URL for resources referencing given
5252
+ # BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and
5253
+ # ForwardingRule.
5195
5254
  # Corresponds to the JSON property `reference`
5196
5255
  # @return [String]
5197
5256
  attr_accessor :reference
@@ -6274,6 +6333,13 @@ module Google
6274
6333
  # @return [String]
6275
6334
  attr_accessor :creation_timestamp
6276
6335
 
6336
+ # [Input Only] Optional, specifies the CUD end time requested by the customer in
6337
+ # RFC3339 text format. Needed when the customer wants CUD's end date is later
6338
+ # than the start date + term duration.
6339
+ # Corresponds to the JSON property `customEndTimestamp`
6340
+ # @return [String]
6341
+ attr_accessor :custom_end_timestamp
6342
+
6277
6343
  # An optional description of this resource. Provide this property when you
6278
6344
  # create the resource.
6279
6345
  # Corresponds to the JSON property `description`
@@ -6402,6 +6468,7 @@ module Google
6402
6468
  @auto_renew = args[:auto_renew] if args.key?(:auto_renew)
6403
6469
  @category = args[:category] if args.key?(:category)
6404
6470
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6471
+ @custom_end_timestamp = args[:custom_end_timestamp] if args.key?(:custom_end_timestamp)
6405
6472
  @description = args[:description] if args.key?(:description)
6406
6473
  @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
6407
6474
  @existing_reservations = args[:existing_reservations] if args.key?(:existing_reservations)
@@ -6676,6 +6743,13 @@ module Google
6676
6743
  # @return [Google::Apis::ComputeAlpha::CommitmentResourceStatusCancellationInformation]
6677
6744
  attr_accessor :cancellation_information
6678
6745
 
6746
+ # [Output Only] Indicates the end time of customer's eligibility to send custom
6747
+ # term requests in RFC3339 text format. Term extension requests that (not the
6748
+ # end time in the request) after this time will be rejected.
6749
+ # Corresponds to the JSON property `customTermEligibilityEndTimestamp`
6750
+ # @return [String]
6751
+ attr_accessor :custom_term_eligibility_end_timestamp
6752
+
6679
6753
  def initialize(**args)
6680
6754
  update!(**args)
6681
6755
  end
@@ -6683,6 +6757,7 @@ module Google
6683
6757
  # Update properties of this object
6684
6758
  def update!(**args)
6685
6759
  @cancellation_information = args[:cancellation_information] if args.key?(:cancellation_information)
6760
+ @custom_term_eligibility_end_timestamp = args[:custom_term_eligibility_end_timestamp] if args.key?(:custom_term_eligibility_end_timestamp)
6686
6761
  end
6687
6762
  end
6688
6763
 
@@ -17168,10 +17243,15 @@ module Google
17168
17243
  # @return [Array<Google::Apis::ComputeAlpha::InstanceGroupManagerAutoHealingPolicy>]
17169
17244
  attr_accessor :auto_healing_policies
17170
17245
 
17171
- # The base instance name to use for instances in this group. The value must be 1-
17172
- # 58 characters long. Instances are named by appending a hyphen and a random
17173
- # four-character string to the base instance name. The base instance name must
17174
- # comply with RFC1035.
17246
+ # The base instance name is a prefix that you want to attach to the names of all
17247
+ # VMs in a MIG. The maximum character length is 58 and the name must comply with
17248
+ # RFC1035 format. When a VM is created in the group, the MIG appends a hyphen
17249
+ # and a random four-character string to the base instance name. If you want the
17250
+ # MIG to assign sequential numbers instead of a random string, then end the base
17251
+ # instance name with a hyphen followed by one or more hash symbols. The hash
17252
+ # symbols indicate the number of digits. For example, a base instance name of "
17253
+ # vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]`0,57`)|([-
17254
+ # a-z0-9]`0,52`-#`1,10`(\\[[0-9]`1,10`\\])?))
17175
17255
  # Corresponds to the JSON property `baseInstanceName`
17176
17256
  # @return [String]
17177
17257
  attr_accessor :base_instance_name
@@ -17282,6 +17362,11 @@ module Google
17282
17362
  # @return [String]
17283
17363
  attr_accessor :region
17284
17364
 
17365
+ # Resource policies for this managed instance group.
17366
+ # Corresponds to the JSON property `resourcePolicies`
17367
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerResourcePolicies]
17368
+ attr_accessor :resource_policies
17369
+
17285
17370
  # [Output Only] Reserved for future use.
17286
17371
  # Corresponds to the JSON property `satisfiesPzi`
17287
17372
  # @return [Boolean]
@@ -17411,6 +17496,7 @@ module Google
17411
17496
  @named_ports = args[:named_ports] if args.key?(:named_ports)
17412
17497
  @params = args[:params] if args.key?(:params)
17413
17498
  @region = args[:region] if args.key?(:region)
17499
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
17414
17500
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
17415
17501
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
17416
17502
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -18592,6 +18678,30 @@ module Google
18592
18678
  end
18593
18679
  end
18594
18680
 
18681
+ #
18682
+ class InstanceGroupManagerResourcePolicies
18683
+ include Google::Apis::Core::Hashable
18684
+
18685
+ # The URL of the workload policy that is specified for this managed instance
18686
+ # group. It can be a full or partial URL. For example, the following are all
18687
+ # valid URLs to a workload policy: - https://www.googleapis.com/compute/v1/
18688
+ # projects/project/regions/region /resourcePolicies/resourcePolicy - projects/
18689
+ # project/regions/region/resourcePolicies/resourcePolicy - regions/region/
18690
+ # resourcePolicies/resourcePolicy
18691
+ # Corresponds to the JSON property `workloadPolicy`
18692
+ # @return [String]
18693
+ attr_accessor :workload_policy
18694
+
18695
+ def initialize(**args)
18696
+ update!(**args)
18697
+ end
18698
+
18699
+ # Update properties of this object
18700
+ def update!(**args)
18701
+ @workload_policy = args[:workload_policy] if args.key?(:workload_policy)
18702
+ end
18703
+ end
18704
+
18595
18705
  #
18596
18706
  class InstanceGroupManagerStandbyPolicy
18597
18707
  include Google::Apis::Core::Hashable
@@ -21857,6 +21967,147 @@ module Google
21857
21967
  end
21858
21968
  end
21859
21969
 
21970
+ #
21971
+ class InstantSnapshotGroup
21972
+ include Google::Apis::Core::Hashable
21973
+
21974
+ # [Output Only] Creation timestamp in RFC3339 text format.
21975
+ # Corresponds to the JSON property `creationTimestamp`
21976
+ # @return [String]
21977
+ attr_accessor :creation_timestamp
21978
+
21979
+ # Optional. An optional description of this resource. Provide this property when
21980
+ # you create the resource.
21981
+ # Corresponds to the JSON property `description`
21982
+ # @return [String]
21983
+ attr_accessor :description
21984
+
21985
+ # [Output Only] The unique identifier for the resource. This identifier is
21986
+ # defined by the server.
21987
+ # Corresponds to the JSON property `id`
21988
+ # @return [Fixnum]
21989
+ attr_accessor :id
21990
+
21991
+ # [Output Only] Type of the resource. Always compute#instantSnapshotGroup for
21992
+ # InstantSnapshotGroup resources.
21993
+ # Corresponds to the JSON property `kind`
21994
+ # @return [String]
21995
+ attr_accessor :kind
21996
+
21997
+ # Identifier. Name of the resource; provided by the client when the resource is
21998
+ # created. The name must be 1-63 characters long, and comply with RFC1035.
21999
+ # Specifically, the name must be 1-63 characters long and match the regular
22000
+ # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
22001
+ # be a lowercase letter, and all following characters must be a dash, lowercase
22002
+ # letter, or digit, except the last character, which cannot be a dash.
22003
+ # Corresponds to the JSON property `name`
22004
+ # @return [String]
22005
+ attr_accessor :name
22006
+
22007
+ # [Output Only] URL of the region where the instant snapshot group resides. You
22008
+ # must specify this field as part of the HTTP request URL. It is not settable as
22009
+ # a field in the request body.
22010
+ # Corresponds to the JSON property `region`
22011
+ # @return [String]
22012
+ attr_accessor :region
22013
+
22014
+ #
22015
+ # Corresponds to the JSON property `resourceStatus`
22016
+ # @return [Google::Apis::ComputeAlpha::InstantSnapshotGroupResourceStatus]
22017
+ attr_accessor :resource_status
22018
+
22019
+ # [Output Only] Server-defined URL for the resource.
22020
+ # Corresponds to the JSON property `selfLink`
22021
+ # @return [String]
22022
+ attr_accessor :self_link
22023
+
22024
+ # [Output Only] Server-defined URL for this resource's resource id.
22025
+ # Corresponds to the JSON property `selfLinkWithId`
22026
+ # @return [String]
22027
+ attr_accessor :self_link_with_id
22028
+
22029
+ # [Output Only]
22030
+ # Corresponds to the JSON property `status`
22031
+ # @return [String]
22032
+ attr_accessor :status
22033
+
22034
+ # [Output Only] URL of the zone where the instant snapshot group resides. You
22035
+ # must specify this field as part of the HTTP request URL. It is not settable as
22036
+ # a field in the request body.
22037
+ # Corresponds to the JSON property `zone`
22038
+ # @return [String]
22039
+ attr_accessor :zone
22040
+
22041
+ def initialize(**args)
22042
+ update!(**args)
22043
+ end
22044
+
22045
+ # Update properties of this object
22046
+ def update!(**args)
22047
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
22048
+ @description = args[:description] if args.key?(:description)
22049
+ @id = args[:id] if args.key?(:id)
22050
+ @kind = args[:kind] if args.key?(:kind)
22051
+ @name = args[:name] if args.key?(:name)
22052
+ @region = args[:region] if args.key?(:region)
22053
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
22054
+ @self_link = args[:self_link] if args.key?(:self_link)
22055
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
22056
+ @status = args[:status] if args.key?(:status)
22057
+ @zone = args[:zone] if args.key?(:zone)
22058
+ end
22059
+ end
22060
+
22061
+ #
22062
+ class InstantSnapshotGroupResourceStatus
22063
+ include Google::Apis::Core::Hashable
22064
+
22065
+ # [Output Only]
22066
+ # Corresponds to the JSON property `consistencyMembershipResolutionTime`
22067
+ # @return [String]
22068
+ attr_accessor :consistency_membership_resolution_time
22069
+
22070
+ # [Output Only]
22071
+ # Corresponds to the JSON property `sourceInfo`
22072
+ # @return [Google::Apis::ComputeAlpha::InstantSnapshotGroupSourceInfo]
22073
+ attr_accessor :source_info
22074
+
22075
+ def initialize(**args)
22076
+ update!(**args)
22077
+ end
22078
+
22079
+ # Update properties of this object
22080
+ def update!(**args)
22081
+ @consistency_membership_resolution_time = args[:consistency_membership_resolution_time] if args.key?(:consistency_membership_resolution_time)
22082
+ @source_info = args[:source_info] if args.key?(:source_info)
22083
+ end
22084
+ end
22085
+
22086
+ #
22087
+ class InstantSnapshotGroupSourceInfo
22088
+ include Google::Apis::Core::Hashable
22089
+
22090
+ #
22091
+ # Corresponds to the JSON property `consistencyGroup`
22092
+ # @return [String]
22093
+ attr_accessor :consistency_group
22094
+
22095
+ #
22096
+ # Corresponds to the JSON property `consistencyGroupId`
22097
+ # @return [String]
22098
+ attr_accessor :consistency_group_id
22099
+
22100
+ def initialize(**args)
22101
+ update!(**args)
22102
+ end
22103
+
22104
+ # Update properties of this object
22105
+ def update!(**args)
22106
+ @consistency_group = args[:consistency_group] if args.key?(:consistency_group)
22107
+ @consistency_group_id = args[:consistency_group_id] if args.key?(:consistency_group_id)
22108
+ end
22109
+ end
22110
+
21860
22111
  # Contains a list of InstantSnapshot resources.
21861
22112
  class InstantSnapshotList
21862
22113
  include Google::Apis::Core::Hashable
@@ -22404,6 +22655,11 @@ module Google
22404
22655
  # @return [Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy]
22405
22656
  attr_accessor :bandwidth_percentage_policy
22406
22657
 
22658
+ #
22659
+ # Corresponds to the JSON property `egressMinBandwidthPercentagePolicy`
22660
+ # @return [Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy]
22661
+ attr_accessor :egress_min_bandwidth_percentage_policy
22662
+
22407
22663
  # A description for the AAI profile on this interconnect.
22408
22664
  # Corresponds to the JSON property `profileDescription`
22409
22665
  # @return [String]
@@ -22421,6 +22677,7 @@ module Google
22421
22677
  # Update properties of this object
22422
22678
  def update!(**args)
22423
22679
  @bandwidth_percentage_policy = args[:bandwidth_percentage_policy] if args.key?(:bandwidth_percentage_policy)
22680
+ @egress_min_bandwidth_percentage_policy = args[:egress_min_bandwidth_percentage_policy] if args.key?(:egress_min_bandwidth_percentage_policy)
22424
22681
  @profile_description = args[:profile_description] if args.key?(:profile_description)
22425
22682
  @strict_priority_policy = args[:strict_priority_policy] if args.key?(:strict_priority_policy)
22426
22683
  end
@@ -25393,6 +25650,136 @@ module Google
25393
25650
  end
25394
25651
  end
25395
25652
 
25653
+ # Contains a list of InstantSnapshotGroup resources.
25654
+ class ListInstantSnapshotGroups
25655
+ include Google::Apis::Core::Hashable
25656
+
25657
+ #
25658
+ # Corresponds to the JSON property `etag`
25659
+ # @return [String]
25660
+ attr_accessor :etag
25661
+
25662
+ # [Output Only] Unique identifier for the resource; defined by the server.
25663
+ # Corresponds to the JSON property `id`
25664
+ # @return [String]
25665
+ attr_accessor :id
25666
+
25667
+ # A list of InstantSnapshotGroup resources.
25668
+ # Corresponds to the JSON property `items`
25669
+ # @return [Array<Google::Apis::ComputeAlpha::InstantSnapshotGroup>]
25670
+ attr_accessor :items
25671
+
25672
+ # Type of resource.
25673
+ # Corresponds to the JSON property `kind`
25674
+ # @return [String]
25675
+ attr_accessor :kind
25676
+
25677
+ # [Output Only] This token allows you to get the next page of results for list
25678
+ # requests. If the number of results is larger than maxResults, use the
25679
+ # nextPageToken as a value for the query parameter pageToken in the next list
25680
+ # request. Subsequent list requests will have their own nextPageToken to
25681
+ # continue paging through the results.
25682
+ # Corresponds to the JSON property `nextPageToken`
25683
+ # @return [String]
25684
+ attr_accessor :next_page_token
25685
+
25686
+ # [Output Only] Server-defined URL for this resource.
25687
+ # Corresponds to the JSON property `selfLink`
25688
+ # @return [String]
25689
+ attr_accessor :self_link
25690
+
25691
+ # [Output Only] Unreachable resources. end_interface:
25692
+ # MixerListResponseWithEtagBuilder
25693
+ # Corresponds to the JSON property `unreachables`
25694
+ # @return [Array<String>]
25695
+ attr_accessor :unreachables
25696
+
25697
+ # [Output Only] Informational warning message.
25698
+ # Corresponds to the JSON property `warning`
25699
+ # @return [Google::Apis::ComputeAlpha::ListInstantSnapshotGroups::Warning]
25700
+ attr_accessor :warning
25701
+
25702
+ def initialize(**args)
25703
+ update!(**args)
25704
+ end
25705
+
25706
+ # Update properties of this object
25707
+ def update!(**args)
25708
+ @etag = args[:etag] if args.key?(:etag)
25709
+ @id = args[:id] if args.key?(:id)
25710
+ @items = args[:items] if args.key?(:items)
25711
+ @kind = args[:kind] if args.key?(:kind)
25712
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
25713
+ @self_link = args[:self_link] if args.key?(:self_link)
25714
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
25715
+ @warning = args[:warning] if args.key?(:warning)
25716
+ end
25717
+
25718
+ # [Output Only] Informational warning message.
25719
+ class Warning
25720
+ include Google::Apis::Core::Hashable
25721
+
25722
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
25723
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
25724
+ # Corresponds to the JSON property `code`
25725
+ # @return [String]
25726
+ attr_accessor :code
25727
+
25728
+ # [Output Only] Metadata about this warning in key: value format. For example: "
25729
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
25730
+ # Corresponds to the JSON property `data`
25731
+ # @return [Array<Google::Apis::ComputeAlpha::ListInstantSnapshotGroups::Warning::Datum>]
25732
+ attr_accessor :data
25733
+
25734
+ # [Output Only] A human-readable description of the warning code.
25735
+ # Corresponds to the JSON property `message`
25736
+ # @return [String]
25737
+ attr_accessor :message
25738
+
25739
+ def initialize(**args)
25740
+ update!(**args)
25741
+ end
25742
+
25743
+ # Update properties of this object
25744
+ def update!(**args)
25745
+ @code = args[:code] if args.key?(:code)
25746
+ @data = args[:data] if args.key?(:data)
25747
+ @message = args[:message] if args.key?(:message)
25748
+ end
25749
+
25750
+ #
25751
+ class Datum
25752
+ include Google::Apis::Core::Hashable
25753
+
25754
+ # [Output Only] A key that provides more detail on the warning being returned.
25755
+ # For example, for warnings where there are no results in a list request for a
25756
+ # particular zone, this key might be scope and the key value might be the zone
25757
+ # name. Other examples might be a key indicating a deprecated resource and a
25758
+ # suggested replacement, or a warning about invalid network settings (for
25759
+ # example, if an instance attempts to perform IP forwarding but is not enabled
25760
+ # for IP forwarding).
25761
+ # Corresponds to the JSON property `key`
25762
+ # @return [String]
25763
+ attr_accessor :key
25764
+
25765
+ # [Output Only] A warning data value corresponding to the key.
25766
+ # Corresponds to the JSON property `value`
25767
+ # @return [String]
25768
+ attr_accessor :value
25769
+
25770
+ def initialize(**args)
25771
+ update!(**args)
25772
+ end
25773
+
25774
+ # Update properties of this object
25775
+ def update!(**args)
25776
+ @key = args[:key] if args.key?(:key)
25777
+ @value = args[:value] if args.key?(:value)
25778
+ end
25779
+ end
25780
+ end
25781
+ end
25782
+
25396
25783
  #
25397
25784
  class LocalDisk
25398
25785
  include Google::Apis::Core::Hashable
@@ -27093,6 +27480,11 @@ module Google
27093
27480
  # @return [String]
27094
27481
  attr_accessor :self_link_with_id
27095
27482
 
27483
+ #
27484
+ # Corresponds to the JSON property `status`
27485
+ # @return [Google::Apis::ComputeAlpha::MultiMigStatus]
27486
+ attr_accessor :status
27487
+
27096
27488
  def initialize(**args)
27097
27489
  update!(**args)
27098
27490
  end
@@ -27110,6 +27502,7 @@ module Google
27110
27502
  @scheduling_policy = args[:scheduling_policy] if args.key?(:scheduling_policy)
27111
27503
  @self_link = args[:self_link] if args.key?(:self_link)
27112
27504
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
27505
+ @status = args[:status] if args.key?(:status)
27113
27506
  end
27114
27507
  end
27115
27508
 
@@ -27181,6 +27574,25 @@ module Google
27181
27574
  end
27182
27575
  end
27183
27576
 
27577
+ #
27578
+ class MultiMigStatus
27579
+ include Google::Apis::Core::Hashable
27580
+
27581
+ #
27582
+ # Corresponds to the JSON property `memberInstanceGroupManagers`
27583
+ # @return [Array<String>]
27584
+ attr_accessor :member_instance_group_managers
27585
+
27586
+ def initialize(**args)
27587
+ update!(**args)
27588
+ end
27589
+
27590
+ # Update properties of this object
27591
+ def update!(**args)
27592
+ @member_instance_group_managers = args[:member_instance_group_managers] if args.key?(:member_instance_group_managers)
27593
+ end
27594
+ end
27595
+
27184
27596
  #
27185
27597
  class MultiMigsList
27186
27598
  include Google::Apis::Core::Hashable
@@ -28496,12 +28908,6 @@ module Google
28496
28908
  # @return [Fixnum]
28497
28909
  attr_accessor :client_destination_port
28498
28910
 
28499
- # Represents the port number to which PSC consumer sends packets. Only valid for
28500
- # network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.
28501
- # Corresponds to the JSON property `clientPort`
28502
- # @return [Fixnum]
28503
- attr_accessor :client_port
28504
-
28505
28911
  # Optional fully qualified domain name of network endpoint. This can only be
28506
28912
  # specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
28507
28913
  # Corresponds to the JSON property `fqdn`
@@ -28559,7 +28965,6 @@ module Google
28559
28965
  def update!(**args)
28560
28966
  @annotations = args[:annotations] if args.key?(:annotations)
28561
28967
  @client_destination_port = args[:client_destination_port] if args.key?(:client_destination_port)
28562
- @client_port = args[:client_port] if args.key?(:client_port)
28563
28968
  @fqdn = args[:fqdn] if args.key?(:fqdn)
28564
28969
  @instance = args[:instance] if args.key?(:instance)
28565
28970
  @ip_address = args[:ip_address] if args.key?(:ip_address)
@@ -28590,11 +28995,6 @@ module Google
28590
28995
  # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupAppEngine]
28591
28996
  attr_accessor :app_engine
28592
28997
 
28593
- # Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.
28594
- # Corresponds to the JSON property `clientPortMappingMode`
28595
- # @return [String]
28596
- attr_accessor :client_port_mapping_mode
28597
-
28598
28998
  # Configuration for a Cloud Function network endpoint group (NEG). The function
28599
28999
  # must be provided explicitly or in the URL mask. Note: Cloud Function must be
28600
29000
  # in the same project and located in the same region as the Serverless NEG.
@@ -28734,7 +29134,6 @@ module Google
28734
29134
  def update!(**args)
28735
29135
  @annotations = args[:annotations] if args.key?(:annotations)
28736
29136
  @app_engine = args[:app_engine] if args.key?(:app_engine)
28737
- @client_port_mapping_mode = args[:client_port_mapping_mode] if args.key?(:client_port_mapping_mode)
28738
29137
  @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
28739
29138
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
28740
29139
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -40138,6 +40537,11 @@ module Google
40138
40537
  # @return [Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy]
40139
40538
  attr_accessor :vm_maintenance_policy
40140
40539
 
40540
+ # Represents the workload policy.
40541
+ # Corresponds to the JSON property `workloadPolicy`
40542
+ # @return [Google::Apis::ComputeAlpha::ResourcePolicyWorkloadPolicy]
40543
+ attr_accessor :workload_policy
40544
+
40141
40545
  def initialize(**args)
40142
40546
  update!(**args)
40143
40547
  end
@@ -40159,6 +40563,7 @@ module Google
40159
40563
  @snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
40160
40564
  @status = args[:status] if args.key?(:status)
40161
40565
  @vm_maintenance_policy = args[:vm_maintenance_policy] if args.key?(:vm_maintenance_policy)
40566
+ @workload_policy = args[:workload_policy] if args.key?(:workload_policy)
40162
40567
  end
40163
40568
  end
40164
40569
 
@@ -40936,6 +41341,25 @@ module Google
40936
41341
  end
40937
41342
  end
40938
41343
 
41344
+ # Represents the workload policy.
41345
+ class ResourcePolicyWorkloadPolicy
41346
+ include Google::Apis::Core::Hashable
41347
+
41348
+ #
41349
+ # Corresponds to the JSON property `type`
41350
+ # @return [String]
41351
+ attr_accessor :type
41352
+
41353
+ def initialize(**args)
41354
+ update!(**args)
41355
+ end
41356
+
41357
+ # Update properties of this object
41358
+ def update!(**args)
41359
+ @type = args[:type] if args.key?(:type)
41360
+ end
41361
+ end
41362
+
40939
41363
  # Contains output only fields. Use this sub-message for actual values set on
40940
41364
  # Instance attributes as compared to the value requested by the user (intent) in
40941
41365
  # their instance CRUD calls.
@@ -41013,11 +41437,9 @@ module Google
41013
41437
  class ResourceStatusScheduling
41014
41438
  include Google::Apis::Core::Hashable
41015
41439
 
41016
- # Specifies the availability domain (AD), which this instance should be
41017
- # scheduled on. The AD belongs to the spread GroupPlacementPolicy resource
41018
- # policy that has been assigned to the instance. Specify a value between 1-max
41019
- # count of availability domains in your GroupPlacementPolicy. See go/placement-
41020
- # policy-extension for more details.
41440
+ # Specifies the availability domain to place the instance in. The value must be
41441
+ # a number between 1 and the number of availability domains specified in the
41442
+ # spread placement policy attached to the instance.
41021
41443
  # Corresponds to the JSON property `availabilityDomain`
41022
41444
  # @return [Fixnum]
41023
41445
  attr_accessor :availability_domain
@@ -44167,11 +44589,9 @@ module Google
44167
44589
  attr_accessor :automatic_restart
44168
44590
  alias_method :automatic_restart?, :automatic_restart
44169
44591
 
44170
- # Specifies the availability domain (AD), which this instance should be
44171
- # scheduled on. The AD belongs to the spread GroupPlacementPolicy resource
44172
- # policy that has been assigned to the instance. Specify a value between 1-max
44173
- # count of availability domains in your GroupPlacementPolicy. See go/placement-
44174
- # policy-extension for more details.
44592
+ # Specifies the availability domain to place the instance in. The value must be
44593
+ # a number between 1 and the number of availability domains specified in the
44594
+ # spread placement policy attached to the instance.
44175
44595
  # Corresponds to the JSON property `availabilityDomain`
44176
44596
  # @return [Fixnum]
44177
44597
  attr_accessor :availability_domain
@@ -57602,8 +58022,9 @@ module Google
57602
58022
  attr_accessor :self_link
57603
58023
 
57604
58024
  # The stack type for this VPN gateway to identify the IP protocols that are
57605
- # enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified,
57606
- # IPV4_ONLY will be used.
58025
+ # enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not
58026
+ # specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6
58027
+ # if the gateway IP version is IPV6.
57607
58028
  # Corresponds to the JSON property `stackType`
57608
58029
  # @return [String]
57609
58030
  attr_accessor :stack_type