google-apis-compute_v1 0.103.0 → 0.105.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9285,7 +9285,9 @@ module Google
9285
9285
  include Google::Apis::Core::Hashable
9286
9286
 
9287
9287
  # The Action to perform when the client connection triggers the rule. Valid
9288
- # actions are "allow", "deny" and "goto_next".
9288
+ # actions for firewall rules are: "allow", "deny", "apply_security_profile_group"
9289
+ # and "goto_next". Valid actions for packet mirroring rules are: "mirror", "
9290
+ # do_not_mirror" and "goto_next".
9289
9291
  # Corresponds to the JSON property `action`
9290
9292
  # @return [String]
9291
9293
  attr_accessor :action
@@ -9317,8 +9319,8 @@ module Google
9317
9319
  attr_accessor :enable_logging
9318
9320
  alias_method :enable_logging?, :enable_logging
9319
9321
 
9320
- # [Output only] Type of the resource. Always compute#firewallPolicyRule for
9321
- # firewall policy rules
9322
+ # [Output only] Type of the resource. Returns compute#firewallPolicyRule for
9323
+ # firewall rules and compute#packetMirroringRule for packet mirroring rules.
9322
9324
  # Corresponds to the JSON property `kind`
9323
9325
  # @return [String]
9324
9326
  attr_accessor :kind
@@ -9332,7 +9334,7 @@ module Google
9332
9334
  # An integer indicating the priority of a rule in the list. The priority must be
9333
9335
  # a positive value between 0 and 2147483647. Rules are evaluated from highest to
9334
9336
  # lowest priority where 0 is the highest priority and 2147483647 is the lowest
9335
- # prority.
9337
+ # priority.
9336
9338
  # Corresponds to the JSON property `priority`
9337
9339
  # @return [Fixnum]
9338
9340
  attr_accessor :priority
@@ -9350,8 +9352,9 @@ module Google
9350
9352
 
9351
9353
  # A fully-qualified URL of a SecurityProfile resource instance. Example: https://
9352
9354
  # networksecurity.googleapis.com/v1/projects/`project`/locations/`location`/
9353
- # securityProfileGroups/my-security-profile-group Must be specified if action = '
9354
- # apply_security_profile_group' and cannot be specified for other actions.
9355
+ # securityProfileGroups/my-security-profile-group Must be specified if action is
9356
+ # one of 'apply_security_profile_group' or 'mirror'. Cannot be specified for
9357
+ # other actions.
9355
9358
  # Corresponds to the JSON property `securityProfileGroup`
9356
9359
  # @return [String]
9357
9360
  attr_accessor :security_profile_group
@@ -10401,6 +10404,766 @@ module Google
10401
10404
  end
10402
10405
  end
10403
10406
 
10407
+ #
10408
+ class FutureReservation
10409
+ include Google::Apis::Core::Hashable
10410
+
10411
+ # Future timestamp when the FR auto-created reservations will be deleted by
10412
+ # Compute Engine. Format of this field must be a valid href="https://www.ietf.
10413
+ # org/rfc/rfc3339.txt">RFC3339 value.
10414
+ # Corresponds to the JSON property `autoCreatedReservationsDeleteTime`
10415
+ # @return [String]
10416
+ attr_accessor :auto_created_reservations_delete_time
10417
+
10418
+ # A Duration represents a fixed-length span of time represented as a count of
10419
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
10420
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
10421
+ # 000 years.
10422
+ # Corresponds to the JSON property `autoCreatedReservationsDuration`
10423
+ # @return [Google::Apis::ComputeV1::Duration]
10424
+ attr_accessor :auto_created_reservations_duration
10425
+
10426
+ # Setting for enabling or disabling automatic deletion for auto-created
10427
+ # reservation. If set to true, auto-created reservations will be deleted at
10428
+ # Future Reservation's end time (default) or at user's defined timestamp if any
10429
+ # of the [auto_created_reservations_delete_time,
10430
+ # auto_created_reservations_duration] values is specified. For keeping auto-
10431
+ # created reservation indefinitely, this value should be set to false.
10432
+ # Corresponds to the JSON property `autoDeleteAutoCreatedReservations`
10433
+ # @return [Boolean]
10434
+ attr_accessor :auto_delete_auto_created_reservations
10435
+ alias_method :auto_delete_auto_created_reservations?, :auto_delete_auto_created_reservations
10436
+
10437
+ # [Output Only] The creation timestamp for this future reservation in RFC3339
10438
+ # text format.
10439
+ # Corresponds to the JSON property `creationTimestamp`
10440
+ # @return [String]
10441
+ attr_accessor :creation_timestamp
10442
+
10443
+ # An optional description of this resource. Provide this property when you
10444
+ # create the future reservation.
10445
+ # Corresponds to the JSON property `description`
10446
+ # @return [String]
10447
+ attr_accessor :description
10448
+
10449
+ # [Output Only] A unique identifier for this future reservation. The server
10450
+ # defines this identifier.
10451
+ # Corresponds to the JSON property `id`
10452
+ # @return [Fixnum]
10453
+ attr_accessor :id
10454
+
10455
+ # [Output Only] Type of the resource. Always compute#futureReservation for
10456
+ # future reservations.
10457
+ # Corresponds to the JSON property `kind`
10458
+ # @return [String]
10459
+ attr_accessor :kind
10460
+
10461
+ # The name of the resource, provided by the client when initially creating the
10462
+ # resource. The resource name must be 1-63 characters long, and comply with
10463
+ # RFC1035. Specifically, the name must be 1-63 characters long and match the
10464
+ # regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
10465
+ # character must be a lowercase letter, and all following characters must be a
10466
+ # dash, lowercase letter, or digit, except the last character, which cannot be a
10467
+ # dash.
10468
+ # Corresponds to the JSON property `name`
10469
+ # @return [String]
10470
+ attr_accessor :name
10471
+
10472
+ # Name prefix for the reservations to be created at the time of delivery. The
10473
+ # name prefix must comply with RFC1035. Maximum allowed length for name prefix
10474
+ # is 20. Automatically created reservations name format will be -date-####.
10475
+ # Corresponds to the JSON property `namePrefix`
10476
+ # @return [String]
10477
+ attr_accessor :name_prefix
10478
+
10479
+ # Planning state before being submitted for evaluation
10480
+ # Corresponds to the JSON property `planningStatus`
10481
+ # @return [String]
10482
+ attr_accessor :planning_status
10483
+
10484
+ # [Output Only] Server-defined fully-qualified URL for this resource.
10485
+ # Corresponds to the JSON property `selfLink`
10486
+ # @return [String]
10487
+ attr_accessor :self_link
10488
+
10489
+ # [Output Only] Server-defined URL for this resource with the resource id.
10490
+ # Corresponds to the JSON property `selfLinkWithId`
10491
+ # @return [String]
10492
+ attr_accessor :self_link_with_id
10493
+
10494
+ # The share setting for reservations and sole tenancy node groups.
10495
+ # Corresponds to the JSON property `shareSettings`
10496
+ # @return [Google::Apis::ComputeV1::ShareSettings]
10497
+ attr_accessor :share_settings
10498
+
10499
+ # Future Reservation configuration to indicate instance properties and total
10500
+ # count.
10501
+ # Corresponds to the JSON property `specificSkuProperties`
10502
+ # @return [Google::Apis::ComputeV1::FutureReservationSpecificSkuProperties]
10503
+ attr_accessor :specific_sku_properties
10504
+
10505
+ # [Output only] Represents status related to the future reservation.
10506
+ # Corresponds to the JSON property `status`
10507
+ # @return [Google::Apis::ComputeV1::FutureReservationStatus]
10508
+ attr_accessor :status
10509
+
10510
+ # Time window for this Future Reservation.
10511
+ # Corresponds to the JSON property `timeWindow`
10512
+ # @return [Google::Apis::ComputeV1::FutureReservationTimeWindow]
10513
+ attr_accessor :time_window
10514
+
10515
+ # [Output Only] URL of the Zone where this future reservation resides.
10516
+ # Corresponds to the JSON property `zone`
10517
+ # @return [String]
10518
+ attr_accessor :zone
10519
+
10520
+ def initialize(**args)
10521
+ update!(**args)
10522
+ end
10523
+
10524
+ # Update properties of this object
10525
+ def update!(**args)
10526
+ @auto_created_reservations_delete_time = args[:auto_created_reservations_delete_time] if args.key?(:auto_created_reservations_delete_time)
10527
+ @auto_created_reservations_duration = args[:auto_created_reservations_duration] if args.key?(:auto_created_reservations_duration)
10528
+ @auto_delete_auto_created_reservations = args[:auto_delete_auto_created_reservations] if args.key?(:auto_delete_auto_created_reservations)
10529
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
10530
+ @description = args[:description] if args.key?(:description)
10531
+ @id = args[:id] if args.key?(:id)
10532
+ @kind = args[:kind] if args.key?(:kind)
10533
+ @name = args[:name] if args.key?(:name)
10534
+ @name_prefix = args[:name_prefix] if args.key?(:name_prefix)
10535
+ @planning_status = args[:planning_status] if args.key?(:planning_status)
10536
+ @self_link = args[:self_link] if args.key?(:self_link)
10537
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
10538
+ @share_settings = args[:share_settings] if args.key?(:share_settings)
10539
+ @specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
10540
+ @status = args[:status] if args.key?(:status)
10541
+ @time_window = args[:time_window] if args.key?(:time_window)
10542
+ @zone = args[:zone] if args.key?(:zone)
10543
+ end
10544
+ end
10545
+
10546
+ #
10547
+ class FutureReservationSpecificSkuProperties
10548
+ include Google::Apis::Core::Hashable
10549
+
10550
+ # Properties of the SKU instances being reserved. Next ID: 9
10551
+ # Corresponds to the JSON property `instanceProperties`
10552
+ # @return [Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties]
10553
+ attr_accessor :instance_properties
10554
+
10555
+ # The instance template that will be used to populate the
10556
+ # ReservedInstanceProperties of the future reservation
10557
+ # Corresponds to the JSON property `sourceInstanceTemplate`
10558
+ # @return [String]
10559
+ attr_accessor :source_instance_template
10560
+
10561
+ # Total number of instances for which capacity assurance is requested at a
10562
+ # future time period.
10563
+ # Corresponds to the JSON property `totalCount`
10564
+ # @return [Fixnum]
10565
+ attr_accessor :total_count
10566
+
10567
+ def initialize(**args)
10568
+ update!(**args)
10569
+ end
10570
+
10571
+ # Update properties of this object
10572
+ def update!(**args)
10573
+ @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
10574
+ @source_instance_template = args[:source_instance_template] if args.key?(:source_instance_template)
10575
+ @total_count = args[:total_count] if args.key?(:total_count)
10576
+ end
10577
+ end
10578
+
10579
+ # [Output only] Represents status related to the future reservation.
10580
+ class FutureReservationStatus
10581
+ include Google::Apis::Core::Hashable
10582
+
10583
+ # [Output Only] The current status of the requested amendment.
10584
+ # Corresponds to the JSON property `amendmentStatus`
10585
+ # @return [String]
10586
+ attr_accessor :amendment_status
10587
+
10588
+ # Fully qualified urls of the automatically created reservations at start_time.
10589
+ # Corresponds to the JSON property `autoCreatedReservations`
10590
+ # @return [Array<String>]
10591
+ attr_accessor :auto_created_reservations
10592
+
10593
+ # [Output Only] Represents the existing matching usage for the future
10594
+ # reservation.
10595
+ # Corresponds to the JSON property `existingMatchingUsageInfo`
10596
+ # @return [Google::Apis::ComputeV1::FutureReservationStatusExistingMatchingUsageInfo]
10597
+ attr_accessor :existing_matching_usage_info
10598
+
10599
+ # This count indicates the fulfilled capacity so far. This is set during "
10600
+ # PROVISIONING" state. This count also includes capacity delivered as part of
10601
+ # existing matching reservations.
10602
+ # Corresponds to the JSON property `fulfilledCount`
10603
+ # @return [Fixnum]
10604
+ attr_accessor :fulfilled_count
10605
+
10606
+ # The state that the future reservation will be reverted to should the amendment
10607
+ # be declined.
10608
+ # Corresponds to the JSON property `lastKnownGoodState`
10609
+ # @return [Google::Apis::ComputeV1::FutureReservationStatusLastKnownGoodState]
10610
+ attr_accessor :last_known_good_state
10611
+
10612
+ # Time when Future Reservation would become LOCKED, after which no modifications
10613
+ # to Future Reservation will be allowed. Applicable only after the Future
10614
+ # Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The
10615
+ # procurement_status will transition to PROCURING state at this time.
10616
+ # Corresponds to the JSON property `lockTime`
10617
+ # @return [String]
10618
+ attr_accessor :lock_time
10619
+
10620
+ # Current state of this Future Reservation
10621
+ # Corresponds to the JSON property `procurementStatus`
10622
+ # @return [String]
10623
+ attr_accessor :procurement_status
10624
+
10625
+ # Properties to be set for the Future Reservation.
10626
+ # Corresponds to the JSON property `specificSkuProperties`
10627
+ # @return [Google::Apis::ComputeV1::FutureReservationStatusSpecificSkuProperties]
10628
+ attr_accessor :specific_sku_properties
10629
+
10630
+ def initialize(**args)
10631
+ update!(**args)
10632
+ end
10633
+
10634
+ # Update properties of this object
10635
+ def update!(**args)
10636
+ @amendment_status = args[:amendment_status] if args.key?(:amendment_status)
10637
+ @auto_created_reservations = args[:auto_created_reservations] if args.key?(:auto_created_reservations)
10638
+ @existing_matching_usage_info = args[:existing_matching_usage_info] if args.key?(:existing_matching_usage_info)
10639
+ @fulfilled_count = args[:fulfilled_count] if args.key?(:fulfilled_count)
10640
+ @last_known_good_state = args[:last_known_good_state] if args.key?(:last_known_good_state)
10641
+ @lock_time = args[:lock_time] if args.key?(:lock_time)
10642
+ @procurement_status = args[:procurement_status] if args.key?(:procurement_status)
10643
+ @specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
10644
+ end
10645
+ end
10646
+
10647
+ # [Output Only] Represents the existing matching usage for the future
10648
+ # reservation.
10649
+ class FutureReservationStatusExistingMatchingUsageInfo
10650
+ include Google::Apis::Core::Hashable
10651
+
10652
+ # Count to represent min(FR total_count, matching_reserved_capacity+
10653
+ # matching_unreserved_instances)
10654
+ # Corresponds to the JSON property `count`
10655
+ # @return [Fixnum]
10656
+ attr_accessor :count
10657
+
10658
+ # Timestamp when the matching usage was calculated
10659
+ # Corresponds to the JSON property `timestamp`
10660
+ # @return [String]
10661
+ attr_accessor :timestamp
10662
+
10663
+ def initialize(**args)
10664
+ update!(**args)
10665
+ end
10666
+
10667
+ # Update properties of this object
10668
+ def update!(**args)
10669
+ @count = args[:count] if args.key?(:count)
10670
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
10671
+ end
10672
+ end
10673
+
10674
+ # The state that the future reservation will be reverted to should the amendment
10675
+ # be declined.
10676
+ class FutureReservationStatusLastKnownGoodState
10677
+ include Google::Apis::Core::Hashable
10678
+
10679
+ # [Output Only] The description of the FutureReservation before an amendment was
10680
+ # requested.
10681
+ # Corresponds to the JSON property `description`
10682
+ # @return [String]
10683
+ attr_accessor :description
10684
+
10685
+ # [Output Only] Represents the existing matching usage for the future
10686
+ # reservation.
10687
+ # Corresponds to the JSON property `existingMatchingUsageInfo`
10688
+ # @return [Google::Apis::ComputeV1::FutureReservationStatusExistingMatchingUsageInfo]
10689
+ attr_accessor :existing_matching_usage_info
10690
+
10691
+ # The properties of the last known good state for the Future Reservation.
10692
+ # Corresponds to the JSON property `futureReservationSpecs`
10693
+ # @return [Google::Apis::ComputeV1::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs]
10694
+ attr_accessor :future_reservation_specs
10695
+
10696
+ # [Output Only] The lock time of the FutureReservation before an amendment was
10697
+ # requested.
10698
+ # Corresponds to the JSON property `lockTime`
10699
+ # @return [String]
10700
+ attr_accessor :lock_time
10701
+
10702
+ # [Output Only] The name prefix of the Future Reservation before an amendment
10703
+ # was requested.
10704
+ # Corresponds to the JSON property `namePrefix`
10705
+ # @return [String]
10706
+ attr_accessor :name_prefix
10707
+
10708
+ # [Output Only] The status of the last known good state for the Future
10709
+ # Reservation.
10710
+ # Corresponds to the JSON property `procurementStatus`
10711
+ # @return [String]
10712
+ attr_accessor :procurement_status
10713
+
10714
+ def initialize(**args)
10715
+ update!(**args)
10716
+ end
10717
+
10718
+ # Update properties of this object
10719
+ def update!(**args)
10720
+ @description = args[:description] if args.key?(:description)
10721
+ @existing_matching_usage_info = args[:existing_matching_usage_info] if args.key?(:existing_matching_usage_info)
10722
+ @future_reservation_specs = args[:future_reservation_specs] if args.key?(:future_reservation_specs)
10723
+ @lock_time = args[:lock_time] if args.key?(:lock_time)
10724
+ @name_prefix = args[:name_prefix] if args.key?(:name_prefix)
10725
+ @procurement_status = args[:procurement_status] if args.key?(:procurement_status)
10726
+ end
10727
+ end
10728
+
10729
+ # The properties of the last known good state for the Future Reservation.
10730
+ class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
10731
+ include Google::Apis::Core::Hashable
10732
+
10733
+ # The share setting for reservations and sole tenancy node groups.
10734
+ # Corresponds to the JSON property `shareSettings`
10735
+ # @return [Google::Apis::ComputeV1::ShareSettings]
10736
+ attr_accessor :share_settings
10737
+
10738
+ # [Output Only] The previous instance related properties of the Future
10739
+ # Reservation.
10740
+ # Corresponds to the JSON property `specificSkuProperties`
10741
+ # @return [Google::Apis::ComputeV1::FutureReservationSpecificSkuProperties]
10742
+ attr_accessor :specific_sku_properties
10743
+
10744
+ # [Output Only] The previous time window of the Future Reservation.
10745
+ # Corresponds to the JSON property `timeWindow`
10746
+ # @return [Google::Apis::ComputeV1::FutureReservationTimeWindow]
10747
+ attr_accessor :time_window
10748
+
10749
+ def initialize(**args)
10750
+ update!(**args)
10751
+ end
10752
+
10753
+ # Update properties of this object
10754
+ def update!(**args)
10755
+ @share_settings = args[:share_settings] if args.key?(:share_settings)
10756
+ @specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
10757
+ @time_window = args[:time_window] if args.key?(:time_window)
10758
+ end
10759
+ end
10760
+
10761
+ # Properties to be set for the Future Reservation.
10762
+ class FutureReservationStatusSpecificSkuProperties
10763
+ include Google::Apis::Core::Hashable
10764
+
10765
+ # ID of the instance template used to populate the Future Reservation properties.
10766
+ # Corresponds to the JSON property `sourceInstanceTemplateId`
10767
+ # @return [String]
10768
+ attr_accessor :source_instance_template_id
10769
+
10770
+ def initialize(**args)
10771
+ update!(**args)
10772
+ end
10773
+
10774
+ # Update properties of this object
10775
+ def update!(**args)
10776
+ @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id)
10777
+ end
10778
+ end
10779
+
10780
+ #
10781
+ class FutureReservationTimeWindow
10782
+ include Google::Apis::Core::Hashable
10783
+
10784
+ # A Duration represents a fixed-length span of time represented as a count of
10785
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
10786
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
10787
+ # 000 years.
10788
+ # Corresponds to the JSON property `duration`
10789
+ # @return [Google::Apis::ComputeV1::Duration]
10790
+ attr_accessor :duration
10791
+
10792
+ #
10793
+ # Corresponds to the JSON property `endTime`
10794
+ # @return [String]
10795
+ attr_accessor :end_time
10796
+
10797
+ # Start time of the Future Reservation. The start_time is an RFC3339 string.
10798
+ # Corresponds to the JSON property `startTime`
10799
+ # @return [String]
10800
+ attr_accessor :start_time
10801
+
10802
+ def initialize(**args)
10803
+ update!(**args)
10804
+ end
10805
+
10806
+ # Update properties of this object
10807
+ def update!(**args)
10808
+ @duration = args[:duration] if args.key?(:duration)
10809
+ @end_time = args[:end_time] if args.key?(:end_time)
10810
+ @start_time = args[:start_time] if args.key?(:start_time)
10811
+ end
10812
+ end
10813
+
10814
+ # Contains a list of future reservations.
10815
+ class FutureReservationsAggregatedListResponse
10816
+ include Google::Apis::Core::Hashable
10817
+
10818
+ #
10819
+ # Corresponds to the JSON property `etag`
10820
+ # @return [String]
10821
+ attr_accessor :etag
10822
+
10823
+ # [Output Only] Unique identifier for the resource; defined by the server.
10824
+ # Corresponds to the JSON property `id`
10825
+ # @return [String]
10826
+ attr_accessor :id
10827
+
10828
+ # A list of Future reservation resources.
10829
+ # Corresponds to the JSON property `items`
10830
+ # @return [Hash<String,Google::Apis::ComputeV1::FutureReservationsScopedList>]
10831
+ attr_accessor :items
10832
+
10833
+ # [Output Only] Type of resource. Always compute#
10834
+ # futureReservationsAggregatedListResponse for future resevation aggregated list
10835
+ # response.
10836
+ # Corresponds to the JSON property `kind`
10837
+ # @return [String]
10838
+ attr_accessor :kind
10839
+
10840
+ # [Output Only] This token allows you to get the next page of results for list
10841
+ # requests. If the number of results is larger than maxResults, use the
10842
+ # nextPageToken as a value for the query parameter pageToken in the next list
10843
+ # request. Subsequent list requests will have their own nextPageToken to
10844
+ # continue paging through the results.
10845
+ # Corresponds to the JSON property `nextPageToken`
10846
+ # @return [String]
10847
+ attr_accessor :next_page_token
10848
+
10849
+ # [Output Only] Server-defined URL for this resource.
10850
+ # Corresponds to the JSON property `selfLink`
10851
+ # @return [String]
10852
+ attr_accessor :self_link
10853
+
10854
+ # [Output Only] Unreachable resources.
10855
+ # Corresponds to the JSON property `unreachables`
10856
+ # @return [Array<String>]
10857
+ attr_accessor :unreachables
10858
+
10859
+ # [Output Only] Informational warning message.
10860
+ # Corresponds to the JSON property `warning`
10861
+ # @return [Google::Apis::ComputeV1::FutureReservationsAggregatedListResponse::Warning]
10862
+ attr_accessor :warning
10863
+
10864
+ def initialize(**args)
10865
+ update!(**args)
10866
+ end
10867
+
10868
+ # Update properties of this object
10869
+ def update!(**args)
10870
+ @etag = args[:etag] if args.key?(:etag)
10871
+ @id = args[:id] if args.key?(:id)
10872
+ @items = args[:items] if args.key?(:items)
10873
+ @kind = args[:kind] if args.key?(:kind)
10874
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10875
+ @self_link = args[:self_link] if args.key?(:self_link)
10876
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
10877
+ @warning = args[:warning] if args.key?(:warning)
10878
+ end
10879
+
10880
+ # [Output Only] Informational warning message.
10881
+ class Warning
10882
+ include Google::Apis::Core::Hashable
10883
+
10884
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
10885
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
10886
+ # Corresponds to the JSON property `code`
10887
+ # @return [String]
10888
+ attr_accessor :code
10889
+
10890
+ # [Output Only] Metadata about this warning in key: value format. For example: "
10891
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
10892
+ # Corresponds to the JSON property `data`
10893
+ # @return [Array<Google::Apis::ComputeV1::FutureReservationsAggregatedListResponse::Warning::Datum>]
10894
+ attr_accessor :data
10895
+
10896
+ # [Output Only] A human-readable description of the warning code.
10897
+ # Corresponds to the JSON property `message`
10898
+ # @return [String]
10899
+ attr_accessor :message
10900
+
10901
+ def initialize(**args)
10902
+ update!(**args)
10903
+ end
10904
+
10905
+ # Update properties of this object
10906
+ def update!(**args)
10907
+ @code = args[:code] if args.key?(:code)
10908
+ @data = args[:data] if args.key?(:data)
10909
+ @message = args[:message] if args.key?(:message)
10910
+ end
10911
+
10912
+ #
10913
+ class Datum
10914
+ include Google::Apis::Core::Hashable
10915
+
10916
+ # [Output Only] A key that provides more detail on the warning being returned.
10917
+ # For example, for warnings where there are no results in a list request for a
10918
+ # particular zone, this key might be scope and the key value might be the zone
10919
+ # name. Other examples might be a key indicating a deprecated resource and a
10920
+ # suggested replacement, or a warning about invalid network settings (for
10921
+ # example, if an instance attempts to perform IP forwarding but is not enabled
10922
+ # for IP forwarding).
10923
+ # Corresponds to the JSON property `key`
10924
+ # @return [String]
10925
+ attr_accessor :key
10926
+
10927
+ # [Output Only] A warning data value corresponding to the key.
10928
+ # Corresponds to the JSON property `value`
10929
+ # @return [String]
10930
+ attr_accessor :value
10931
+
10932
+ def initialize(**args)
10933
+ update!(**args)
10934
+ end
10935
+
10936
+ # Update properties of this object
10937
+ def update!(**args)
10938
+ @key = args[:key] if args.key?(:key)
10939
+ @value = args[:value] if args.key?(:value)
10940
+ end
10941
+ end
10942
+ end
10943
+ end
10944
+
10945
+ #
10946
+ class FutureReservationsListResponse
10947
+ include Google::Apis::Core::Hashable
10948
+
10949
+ #
10950
+ # Corresponds to the JSON property `etag`
10951
+ # @return [String]
10952
+ attr_accessor :etag
10953
+
10954
+ # [Output Only] The unique identifier for the resource. This identifier is
10955
+ # defined by the server.
10956
+ # Corresponds to the JSON property `id`
10957
+ # @return [String]
10958
+ attr_accessor :id
10959
+
10960
+ # [Output Only] A list of future reservation resources.
10961
+ # Corresponds to the JSON property `items`
10962
+ # @return [Array<Google::Apis::ComputeV1::FutureReservation>]
10963
+ attr_accessor :items
10964
+
10965
+ # [Output Only] Type of resource.Always compute#FutureReservationsListResponse
10966
+ # for lists of reservations
10967
+ # Corresponds to the JSON property `kind`
10968
+ # @return [String]
10969
+ attr_accessor :kind
10970
+
10971
+ # [Output Only] This token allows you to get the next page of results for list
10972
+ # requests. If the number of results is larger than maxResults, use the
10973
+ # nextPageToken as a value for the query parameter pageToken in the next list
10974
+ # request. Subsequent list requests will have their own nextPageToken to
10975
+ # continue paging through the results.
10976
+ # Corresponds to the JSON property `nextPageToken`
10977
+ # @return [String]
10978
+ attr_accessor :next_page_token
10979
+
10980
+ # [Output Only] Server-defined URL for this resource.
10981
+ # Corresponds to the JSON property `selfLink`
10982
+ # @return [String]
10983
+ attr_accessor :self_link
10984
+
10985
+ # [Output Only] Unreachable resources.
10986
+ # Corresponds to the JSON property `unreachables`
10987
+ # @return [Array<String>]
10988
+ attr_accessor :unreachables
10989
+
10990
+ # [Output Only] Informational warning message.
10991
+ # Corresponds to the JSON property `warning`
10992
+ # @return [Google::Apis::ComputeV1::FutureReservationsListResponse::Warning]
10993
+ attr_accessor :warning
10994
+
10995
+ def initialize(**args)
10996
+ update!(**args)
10997
+ end
10998
+
10999
+ # Update properties of this object
11000
+ def update!(**args)
11001
+ @etag = args[:etag] if args.key?(:etag)
11002
+ @id = args[:id] if args.key?(:id)
11003
+ @items = args[:items] if args.key?(:items)
11004
+ @kind = args[:kind] if args.key?(:kind)
11005
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
11006
+ @self_link = args[:self_link] if args.key?(:self_link)
11007
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
11008
+ @warning = args[:warning] if args.key?(:warning)
11009
+ end
11010
+
11011
+ # [Output Only] Informational warning message.
11012
+ class Warning
11013
+ include Google::Apis::Core::Hashable
11014
+
11015
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
11016
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
11017
+ # Corresponds to the JSON property `code`
11018
+ # @return [String]
11019
+ attr_accessor :code
11020
+
11021
+ # [Output Only] Metadata about this warning in key: value format. For example: "
11022
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
11023
+ # Corresponds to the JSON property `data`
11024
+ # @return [Array<Google::Apis::ComputeV1::FutureReservationsListResponse::Warning::Datum>]
11025
+ attr_accessor :data
11026
+
11027
+ # [Output Only] A human-readable description of the warning code.
11028
+ # Corresponds to the JSON property `message`
11029
+ # @return [String]
11030
+ attr_accessor :message
11031
+
11032
+ def initialize(**args)
11033
+ update!(**args)
11034
+ end
11035
+
11036
+ # Update properties of this object
11037
+ def update!(**args)
11038
+ @code = args[:code] if args.key?(:code)
11039
+ @data = args[:data] if args.key?(:data)
11040
+ @message = args[:message] if args.key?(:message)
11041
+ end
11042
+
11043
+ #
11044
+ class Datum
11045
+ include Google::Apis::Core::Hashable
11046
+
11047
+ # [Output Only] A key that provides more detail on the warning being returned.
11048
+ # For example, for warnings where there are no results in a list request for a
11049
+ # particular zone, this key might be scope and the key value might be the zone
11050
+ # name. Other examples might be a key indicating a deprecated resource and a
11051
+ # suggested replacement, or a warning about invalid network settings (for
11052
+ # example, if an instance attempts to perform IP forwarding but is not enabled
11053
+ # for IP forwarding).
11054
+ # Corresponds to the JSON property `key`
11055
+ # @return [String]
11056
+ attr_accessor :key
11057
+
11058
+ # [Output Only] A warning data value corresponding to the key.
11059
+ # Corresponds to the JSON property `value`
11060
+ # @return [String]
11061
+ attr_accessor :value
11062
+
11063
+ def initialize(**args)
11064
+ update!(**args)
11065
+ end
11066
+
11067
+ # Update properties of this object
11068
+ def update!(**args)
11069
+ @key = args[:key] if args.key?(:key)
11070
+ @value = args[:value] if args.key?(:value)
11071
+ end
11072
+ end
11073
+ end
11074
+ end
11075
+
11076
+ #
11077
+ class FutureReservationsScopedList
11078
+ include Google::Apis::Core::Hashable
11079
+
11080
+ # A list of future reservations contained in this scope.
11081
+ # Corresponds to the JSON property `futureReservations`
11082
+ # @return [Array<Google::Apis::ComputeV1::FutureReservation>]
11083
+ attr_accessor :future_reservations
11084
+
11085
+ # Informational warning which replaces the list of future reservations when the
11086
+ # list is empty.
11087
+ # Corresponds to the JSON property `warning`
11088
+ # @return [Google::Apis::ComputeV1::FutureReservationsScopedList::Warning]
11089
+ attr_accessor :warning
11090
+
11091
+ def initialize(**args)
11092
+ update!(**args)
11093
+ end
11094
+
11095
+ # Update properties of this object
11096
+ def update!(**args)
11097
+ @future_reservations = args[:future_reservations] if args.key?(:future_reservations)
11098
+ @warning = args[:warning] if args.key?(:warning)
11099
+ end
11100
+
11101
+ # Informational warning which replaces the list of future reservations when the
11102
+ # list is empty.
11103
+ class Warning
11104
+ include Google::Apis::Core::Hashable
11105
+
11106
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
11107
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
11108
+ # Corresponds to the JSON property `code`
11109
+ # @return [String]
11110
+ attr_accessor :code
11111
+
11112
+ # [Output Only] Metadata about this warning in key: value format. For example: "
11113
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
11114
+ # Corresponds to the JSON property `data`
11115
+ # @return [Array<Google::Apis::ComputeV1::FutureReservationsScopedList::Warning::Datum>]
11116
+ attr_accessor :data
11117
+
11118
+ # [Output Only] A human-readable description of the warning code.
11119
+ # Corresponds to the JSON property `message`
11120
+ # @return [String]
11121
+ attr_accessor :message
11122
+
11123
+ def initialize(**args)
11124
+ update!(**args)
11125
+ end
11126
+
11127
+ # Update properties of this object
11128
+ def update!(**args)
11129
+ @code = args[:code] if args.key?(:code)
11130
+ @data = args[:data] if args.key?(:data)
11131
+ @message = args[:message] if args.key?(:message)
11132
+ end
11133
+
11134
+ #
11135
+ class Datum
11136
+ include Google::Apis::Core::Hashable
11137
+
11138
+ # [Output Only] A key that provides more detail on the warning being returned.
11139
+ # For example, for warnings where there are no results in a list request for a
11140
+ # particular zone, this key might be scope and the key value might be the zone
11141
+ # name. Other examples might be a key indicating a deprecated resource and a
11142
+ # suggested replacement, or a warning about invalid network settings (for
11143
+ # example, if an instance attempts to perform IP forwarding but is not enabled
11144
+ # for IP forwarding).
11145
+ # Corresponds to the JSON property `key`
11146
+ # @return [String]
11147
+ attr_accessor :key
11148
+
11149
+ # [Output Only] A warning data value corresponding to the key.
11150
+ # Corresponds to the JSON property `value`
11151
+ # @return [String]
11152
+ attr_accessor :value
11153
+
11154
+ def initialize(**args)
11155
+ update!(**args)
11156
+ end
11157
+
11158
+ # Update properties of this object
11159
+ def update!(**args)
11160
+ @key = args[:key] if args.key?(:key)
11161
+ @value = args[:value] if args.key?(:value)
11162
+ end
11163
+ end
11164
+ end
11165
+ end
11166
+
10404
11167
  #
10405
11168
  class GrpcHealthCheck
10406
11169
  include Google::Apis::Core::Hashable
@@ -15346,7 +16109,8 @@ module Google
15346
16109
  attr_accessor :requested_run_duration
15347
16110
 
15348
16111
  # The number of instances to be created by this resize request. The group's
15349
- # target size will be increased by this number.
16112
+ # target size will be increased by this number. This field cannot be used
16113
+ # together with 'instances'.
15350
16114
  # Corresponds to the JSON property `resizeBy`
15351
16115
  # @return [Fixnum]
15352
16116
  attr_accessor :resize_by
@@ -18078,6 +18842,12 @@ module Google
18078
18842
  # @return [String]
18079
18843
  attr_accessor :name
18080
18844
 
18845
+ # [Output only] Priority of firewall policy association. Not applicable for type=
18846
+ # HIERARCHY.
18847
+ # Corresponds to the JSON property `priority`
18848
+ # @return [Fixnum]
18849
+ attr_accessor :priority
18850
+
18081
18851
  # The rules that apply to the network.
18082
18852
  # Corresponds to the JSON property `rules`
18083
18853
  # @return [Array<Google::Apis::ComputeV1::FirewallPolicyRule>]
@@ -18102,6 +18872,7 @@ module Google
18102
18872
  def update!(**args)
18103
18873
  @display_name = args[:display_name] if args.key?(:display_name)
18104
18874
  @name = args[:name] if args.key?(:name)
18875
+ @priority = args[:priority] if args.key?(:priority)
18105
18876
  @rules = args[:rules] if args.key?(:rules)
18106
18877
  @short_name = args[:short_name] if args.key?(:short_name)
18107
18878
  @type = args[:type] if args.key?(:type)
@@ -22228,6 +22999,11 @@ module Google
22228
22999
  # @return [Array<Google::Apis::ComputeV1::MachineType::Accelerator>]
22229
23000
  attr_accessor :accelerators
22230
23001
 
23002
+ # [Output Only] The architecture of the machine type.
23003
+ # Corresponds to the JSON property `architecture`
23004
+ # @return [String]
23005
+ attr_accessor :architecture
23006
+
22231
23007
  # [Output Only] Creation timestamp in RFC3339 text format.
22232
23008
  # Corresponds to the JSON property `creationTimestamp`
22233
23009
  # @return [String]
@@ -22317,6 +23093,7 @@ module Google
22317
23093
  # Update properties of this object
22318
23094
  def update!(**args)
22319
23095
  @accelerators = args[:accelerators] if args.key?(:accelerators)
23096
+ @architecture = args[:architecture] if args.key?(:architecture)
22320
23097
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
22321
23098
  @deprecated = args[:deprecated] if args.key?(:deprecated)
22322
23099
  @description = args[:description] if args.key?(:description)
@@ -48748,7 +49525,8 @@ module Google
48748
49525
 
48749
49526
  # Local traffic selector to use when establishing the VPN tunnel with the peer
48750
49527
  # VPN gateway. The value should be a CIDR formatted string, for example: 192.168.
48751
- # 0.0/16. The ranges must be disjoint. Only IPv4 is supported.
49528
+ # 0.0/16. The ranges must be disjoint. Only IPv4 is supported for Classic VPN
49529
+ # tunnels. This field is output only for HA VPN tunnels.
48752
49530
  # Corresponds to the JSON property `localTrafficSelector`
48753
49531
  # @return [Array<String>]
48754
49532
  attr_accessor :local_traffic_selector
@@ -48788,7 +49566,8 @@ module Google
48788
49566
  # @return [String]
48789
49567
  attr_accessor :peer_gcp_gateway
48790
49568
 
48791
- # IP address of the peer VPN gateway. Only IPv4 is supported.
49569
+ # IP address of the peer VPN gateway. Only IPv4 is supported. This field can be
49570
+ # set only for Classic VPN tunnels.
48792
49571
  # Corresponds to the JSON property `peerIp`
48793
49572
  # @return [String]
48794
49573
  attr_accessor :peer_ip
@@ -48802,7 +49581,8 @@ module Google
48802
49581
 
48803
49582
  # Remote traffic selectors to use when establishing the VPN tunnel with the peer
48804
49583
  # VPN gateway. The value should be a CIDR formatted string, for example: 192.168.
48805
- # 0.0/16. The ranges should be disjoint. Only IPv4 is supported.
49584
+ # 0.0/16. The ranges should be disjoint. Only IPv4 is supported for Classic VPN
49585
+ # tunnels. This field is output only for HA VPN tunnels.
48806
49586
  # Corresponds to the JSON property `remoteTrafficSelector`
48807
49587
  # @return [Array<String>]
48808
49588
  attr_accessor :remote_traffic_selector
@@ -48851,7 +49631,8 @@ module Google
48851
49631
  attr_accessor :status
48852
49632
 
48853
49633
  # URL of the Target VPN gateway with which this VPN tunnel is associated.
48854
- # Provided by the client when the VPN tunnel is created.
49634
+ # Provided by the client when the VPN tunnel is created. This field can be set
49635
+ # only for Classic VPN tunnels.
48855
49636
  # Corresponds to the JSON property `targetVpnGateway`
48856
49637
  # @return [String]
48857
49638
  attr_accessor :target_vpn_gateway