google-apis-compute_beta 0.139.0 → 0.141.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.
@@ -6307,6 +6307,16 @@ module Google
6307
6307
  attr_accessor :enable
6308
6308
  alias_method :enable?, :enable
6309
6309
 
6310
+ # The list of request headers that will be logged to Stackdriver.
6311
+ # Corresponds to the JSON property `loggingHttpRequestHeaders`
6312
+ # @return [Array<Google::Apis::ComputeBeta::BackendServiceLogConfigLoggingHttpHeader>]
6313
+ attr_accessor :logging_http_request_headers
6314
+
6315
+ # The list of response headers that will be logged to Stackdriver.
6316
+ # Corresponds to the JSON property `loggingHttpResponseHeaders`
6317
+ # @return [Array<Google::Apis::ComputeBeta::BackendServiceLogConfigLoggingHttpHeader>]
6318
+ attr_accessor :logging_http_response_headers
6319
+
6310
6320
  # This field can only be specified if logging is enabled for this backend
6311
6321
  # service and "logConfig.optionalMode" was set to CUSTOM. Contains a list
6312
6322
  # of optional fields you want to include in the logs. For example:
@@ -6340,12 +6350,33 @@ module Google
6340
6350
  # Update properties of this object
6341
6351
  def update!(**args)
6342
6352
  @enable = args[:enable] if args.key?(:enable)
6353
+ @logging_http_request_headers = args[:logging_http_request_headers] if args.key?(:logging_http_request_headers)
6354
+ @logging_http_response_headers = args[:logging_http_response_headers] if args.key?(:logging_http_response_headers)
6343
6355
  @optional_fields = args[:optional_fields] if args.key?(:optional_fields)
6344
6356
  @optional_mode = args[:optional_mode] if args.key?(:optional_mode)
6345
6357
  @sample_rate = args[:sample_rate] if args.key?(:sample_rate)
6346
6358
  end
6347
6359
  end
6348
6360
 
6361
+ # Determines which HTTP headers will be logged to Stackdriver.
6362
+ class BackendServiceLogConfigLoggingHttpHeader
6363
+ include Google::Apis::Core::Hashable
6364
+
6365
+ # The name of the header to be logged.
6366
+ # Corresponds to the JSON property `headerName`
6367
+ # @return [String]
6368
+ attr_accessor :header_name
6369
+
6370
+ def initialize(**args)
6371
+ update!(**args)
6372
+ end
6373
+
6374
+ # Update properties of this object
6375
+ def update!(**args)
6376
+ @header_name = args[:header_name] if args.key?(:header_name)
6377
+ end
6378
+ end
6379
+
6349
6380
  #
6350
6381
  class BackendServiceNetworkPassThroughLbTrafficPolicy
6351
6382
  include Google::Apis::Core::Hashable
@@ -10318,6 +10349,100 @@ module Google
10318
10349
  end
10319
10350
  end
10320
10351
 
10352
+ # Represents civil time (or occasionally physical time).
10353
+ # This type can represent a civil time in one of a few possible ways:
10354
+ # * When utc_offset is set and time_zone is unset: a civil time on a calendar
10355
+ # day with a particular offset from UTC.
10356
+ # * When time_zone is set and utc_offset is unset: a civil time on a calendar
10357
+ # day in a particular time zone.
10358
+ # * When neither time_zone nor utc_offset is set: a civil time on a calendar
10359
+ # day in local time.
10360
+ # The date is relative to the Proleptic Gregorian Calendar.
10361
+ # If year, month, or day are 0, the DateTime is considered not to have a
10362
+ # specific year, month, or day respectively.
10363
+ # This type may also be used to represent a physical time if all the date and
10364
+ # time fields are set and either case of the `time_offset` oneof is set.
10365
+ # Consider using `Timestamp` message for physical time instead. If your use
10366
+ # case also would like to store the user's timezone, that can be done in
10367
+ # another field.
10368
+ # This type is more flexible than some applications may want. Make sure to
10369
+ # document and validate your application's limitations.
10370
+ class DateTime
10371
+ include Google::Apis::Core::Hashable
10372
+
10373
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and
10374
+ # month, or 0 if specifying a datetime without a day.
10375
+ # Corresponds to the JSON property `day`
10376
+ # @return [Fixnum]
10377
+ attr_accessor :day
10378
+
10379
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
10380
+ # to 0 (midnight). An API may choose to allow the value "24:00:00" for
10381
+ # scenarios like business closing time.
10382
+ # Corresponds to the JSON property `hours`
10383
+ # @return [Fixnum]
10384
+ attr_accessor :hours
10385
+
10386
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
10387
+ # Corresponds to the JSON property `minutes`
10388
+ # @return [Fixnum]
10389
+ attr_accessor :minutes
10390
+
10391
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
10392
+ # datetime without a month.
10393
+ # Corresponds to the JSON property `month`
10394
+ # @return [Fixnum]
10395
+ attr_accessor :month
10396
+
10397
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to
10398
+ # 999,999,999, defaults to 0.
10399
+ # Corresponds to the JSON property `nanos`
10400
+ # @return [Fixnum]
10401
+ attr_accessor :nanos
10402
+
10403
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
10404
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
10405
+ # Corresponds to the JSON property `seconds`
10406
+ # @return [Fixnum]
10407
+ attr_accessor :seconds
10408
+
10409
+ # Represents a time zone from the
10410
+ # [IANA Time Zone Database](https://www.iana.org/time-zones).
10411
+ # Corresponds to the JSON property `timeZone`
10412
+ # @return [Google::Apis::ComputeBeta::TimeZone]
10413
+ attr_accessor :time_zone
10414
+
10415
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours.
10416
+ # For example, a UTC offset of -4:00 would be represented as
10417
+ # ` seconds: -14400 `.
10418
+ # Corresponds to the JSON property `utcOffset`
10419
+ # @return [String]
10420
+ attr_accessor :utc_offset
10421
+
10422
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
10423
+ # datetime without a year.
10424
+ # Corresponds to the JSON property `year`
10425
+ # @return [Fixnum]
10426
+ attr_accessor :year
10427
+
10428
+ def initialize(**args)
10429
+ update!(**args)
10430
+ end
10431
+
10432
+ # Update properties of this object
10433
+ def update!(**args)
10434
+ @day = args[:day] if args.key?(:day)
10435
+ @hours = args[:hours] if args.key?(:hours)
10436
+ @minutes = args[:minutes] if args.key?(:minutes)
10437
+ @month = args[:month] if args.key?(:month)
10438
+ @nanos = args[:nanos] if args.key?(:nanos)
10439
+ @seconds = args[:seconds] if args.key?(:seconds)
10440
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
10441
+ @utc_offset = args[:utc_offset] if args.key?(:utc_offset)
10442
+ @year = args[:year] if args.key?(:year)
10443
+ end
10444
+ end
10445
+
10321
10446
  # Deprecation status for a public resource.
10322
10447
  class DeprecationStatus
10323
10448
  include Google::Apis::Core::Hashable
@@ -20536,6 +20661,126 @@ module Google
20536
20661
  end
20537
20662
  end
20538
20663
 
20664
+ # Represents a host resource.
20665
+ class Host
20666
+ include Google::Apis::Core::Hashable
20667
+
20668
+ # Output only. All aliases for this resource.
20669
+ # e.g.
20670
+ # projects/123/zones/us-centra1-a/reservation/r1/reservationBlock/b1/hosts/h1
20671
+ # Corresponds to the JSON property `aliasLinks`
20672
+ # @return [Array<String>]
20673
+ attr_accessor :alias_links
20674
+
20675
+ # Output only. The creation timestamp, formatted asRFC3339 text.
20676
+ # Corresponds to the JSON property `creationTimestamp`
20677
+ # @return [String]
20678
+ attr_accessor :creation_timestamp
20679
+
20680
+ # An optional description of this resource.
20681
+ # Corresponds to the JSON property `description`
20682
+ # @return [String]
20683
+ attr_accessor :description
20684
+
20685
+ # Output only. The unique identifier for this resource. This identifier is
20686
+ # defined by the server.
20687
+ # Corresponds to the JSON property `id`
20688
+ # @return [Fixnum]
20689
+ attr_accessor :id
20690
+
20691
+ # Output only. The type of resource. Alwayscompute#host for hosts.
20692
+ # Corresponds to the JSON property `kind`
20693
+ # @return [String]
20694
+ attr_accessor :kind
20695
+
20696
+ # Output only. The name of the host.
20697
+ # Corresponds to the JSON property `name`
20698
+ # @return [String]
20699
+ attr_accessor :name
20700
+
20701
+ # Output only. The self link of the host.
20702
+ # Corresponds to the JSON property `selfLink`
20703
+ # @return [String]
20704
+ attr_accessor :self_link
20705
+
20706
+ # Output only. The self link with id of the host.
20707
+ # Corresponds to the JSON property `selfLinkWithId`
20708
+ # @return [String]
20709
+ attr_accessor :self_link_with_id
20710
+
20711
+ # Output only. The state of the host.
20712
+ # Corresponds to the JSON property `state`
20713
+ # @return [String]
20714
+ attr_accessor :state
20715
+
20716
+ # Output only. The status of the host
20717
+ # Corresponds to the JSON property `status`
20718
+ # @return [Google::Apis::ComputeBeta::HostStatus]
20719
+ attr_accessor :status
20720
+
20721
+ # Output only. The zone in which the host resides.
20722
+ # Corresponds to the JSON property `zone`
20723
+ # @return [String]
20724
+ attr_accessor :zone
20725
+
20726
+ def initialize(**args)
20727
+ update!(**args)
20728
+ end
20729
+
20730
+ # Update properties of this object
20731
+ def update!(**args)
20732
+ @alias_links = args[:alias_links] if args.key?(:alias_links)
20733
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
20734
+ @description = args[:description] if args.key?(:description)
20735
+ @id = args[:id] if args.key?(:id)
20736
+ @kind = args[:kind] if args.key?(:kind)
20737
+ @name = args[:name] if args.key?(:name)
20738
+ @self_link = args[:self_link] if args.key?(:self_link)
20739
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
20740
+ @state = args[:state] if args.key?(:state)
20741
+ @status = args[:status] if args.key?(:status)
20742
+ @zone = args[:zone] if args.key?(:zone)
20743
+ end
20744
+ end
20745
+
20746
+ #
20747
+ class HostPhysicalTopology
20748
+ include Google::Apis::Core::Hashable
20749
+
20750
+ # The unique identifier of the capacity block within the cluster.
20751
+ # Corresponds to the JSON property `block`
20752
+ # @return [String]
20753
+ attr_accessor :block
20754
+
20755
+ # The cluster name of the reservation sub-block.
20756
+ # Corresponds to the JSON property `cluster`
20757
+ # @return [String]
20758
+ attr_accessor :cluster
20759
+
20760
+ # The unique identifier of the capacity host within the capacity sub-block.
20761
+ # Corresponds to the JSON property `host`
20762
+ # @return [String]
20763
+ attr_accessor :host
20764
+
20765
+ # The unique identifier of the capacity sub-block within the capacity
20766
+ # block.
20767
+ # Corresponds to the JSON property `subBlock`
20768
+ # @return [String]
20769
+ attr_accessor :sub_block
20770
+
20771
+ def initialize(**args)
20772
+ update!(**args)
20773
+ end
20774
+
20775
+ # Update properties of this object
20776
+ def update!(**args)
20777
+ @block = args[:block] if args.key?(:block)
20778
+ @cluster = args[:cluster] if args.key?(:cluster)
20779
+ @host = args[:host] if args.key?(:host)
20780
+ @sub_block = args[:sub_block] if args.key?(:sub_block)
20781
+ end
20782
+ end
20783
+
20539
20784
  # UrlMaps
20540
20785
  # A host-matching rule for a URL. If matched, will use the namedPathMatcher to
20541
20786
  # select the BackendService.
@@ -20579,6 +20824,188 @@ module Google
20579
20824
  end
20580
20825
  end
20581
20826
 
20827
+ #
20828
+ class HostStatus
20829
+ include Google::Apis::Core::Hashable
20830
+
20831
+ # Output only. The physical topology of the reservation sub-block, if
20832
+ # present
20833
+ # Corresponds to the JSON property `physicalTopology`
20834
+ # @return [Google::Apis::ComputeBeta::HostPhysicalTopology]
20835
+ attr_accessor :physical_topology
20836
+
20837
+ # Output only. The URIs of the instances currently running on this host.
20838
+ # Corresponds to the JSON property `runningInstances`
20839
+ # @return [Array<String>]
20840
+ attr_accessor :running_instances
20841
+
20842
+ def initialize(**args)
20843
+ update!(**args)
20844
+ end
20845
+
20846
+ # Update properties of this object
20847
+ def update!(**args)
20848
+ @physical_topology = args[:physical_topology] if args.key?(:physical_topology)
20849
+ @running_instances = args[:running_instances] if args.key?(:running_instances)
20850
+ end
20851
+ end
20852
+
20853
+ #
20854
+ class HostsGetVersionRequest
20855
+ include Google::Apis::Core::Hashable
20856
+
20857
+ # The SBOM selection to return. Duplicate values in the list will be ignored.
20858
+ # Corresponds to the JSON property `sbomSelections`
20859
+ # @return [Array<String>]
20860
+ attr_accessor :sbom_selections
20861
+
20862
+ def initialize(**args)
20863
+ update!(**args)
20864
+ end
20865
+
20866
+ # Update properties of this object
20867
+ def update!(**args)
20868
+ @sbom_selections = args[:sbom_selections] if args.key?(:sbom_selections)
20869
+ end
20870
+ end
20871
+
20872
+ #
20873
+ class HostsListResponse
20874
+ include Google::Apis::Core::Hashable
20875
+
20876
+ #
20877
+ # Corresponds to the JSON property `etag`
20878
+ # @return [String]
20879
+ attr_accessor :etag
20880
+
20881
+ # The unique identifier for the resource; defined by the server.
20882
+ # Corresponds to the JSON property `id`
20883
+ # @return [String]
20884
+ attr_accessor :id
20885
+
20886
+ # A list of host resources.
20887
+ # Corresponds to the JSON property `items`
20888
+ # @return [Array<Google::Apis::ComputeBeta::Host>]
20889
+ attr_accessor :items
20890
+
20891
+ # The type of resource. Always compute#host for a list of hosts.
20892
+ # Corresponds to the JSON property `kind`
20893
+ # @return [String]
20894
+ attr_accessor :kind
20895
+
20896
+ # This token allows you to get the next page of results for
20897
+ # list requests. If the number of results is larger thanmaxResults, use the
20898
+ # nextPageToken as a value for
20899
+ # the query parameter pageToken in the next list request.
20900
+ # Subsequent list requests will have their own nextPageToken to
20901
+ # continue paging through the results.
20902
+ # Corresponds to the JSON property `nextPageToken`
20903
+ # @return [String]
20904
+ attr_accessor :next_page_token
20905
+
20906
+ # The server-defined URL for this resource.
20907
+ # Corresponds to the JSON property `selfLink`
20908
+ # @return [String]
20909
+ attr_accessor :self_link
20910
+
20911
+ # Unreachable resources.
20912
+ # end_interface: MixerListResponseWithEtagBuilder
20913
+ # Corresponds to the JSON property `unreachables`
20914
+ # @return [Array<String>]
20915
+ attr_accessor :unreachables
20916
+
20917
+ # An informational warning message.
20918
+ # Corresponds to the JSON property `warning`
20919
+ # @return [Google::Apis::ComputeBeta::HostsListResponse::Warning]
20920
+ attr_accessor :warning
20921
+
20922
+ def initialize(**args)
20923
+ update!(**args)
20924
+ end
20925
+
20926
+ # Update properties of this object
20927
+ def update!(**args)
20928
+ @etag = args[:etag] if args.key?(:etag)
20929
+ @id = args[:id] if args.key?(:id)
20930
+ @items = args[:items] if args.key?(:items)
20931
+ @kind = args[:kind] if args.key?(:kind)
20932
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
20933
+ @self_link = args[:self_link] if args.key?(:self_link)
20934
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
20935
+ @warning = args[:warning] if args.key?(:warning)
20936
+ end
20937
+
20938
+ # An informational warning message.
20939
+ class Warning
20940
+ include Google::Apis::Core::Hashable
20941
+
20942
+ # [Output Only] A warning code, if applicable. For example, Compute
20943
+ # Engine returns NO_RESULTS_ON_PAGE if there
20944
+ # are no results in the response.
20945
+ # Corresponds to the JSON property `code`
20946
+ # @return [String]
20947
+ attr_accessor :code
20948
+
20949
+ # [Output Only] Metadata about this warning in key:
20950
+ # value format. For example:
20951
+ # "data": [
20952
+ # `
20953
+ # "key": "scope",
20954
+ # "value": "zones/us-east1-d"
20955
+ # `
20956
+ # Corresponds to the JSON property `data`
20957
+ # @return [Array<Google::Apis::ComputeBeta::HostsListResponse::Warning::Datum>]
20958
+ attr_accessor :data
20959
+
20960
+ # [Output Only] A human-readable description of the warning code.
20961
+ # Corresponds to the JSON property `message`
20962
+ # @return [String]
20963
+ attr_accessor :message
20964
+
20965
+ def initialize(**args)
20966
+ update!(**args)
20967
+ end
20968
+
20969
+ # Update properties of this object
20970
+ def update!(**args)
20971
+ @code = args[:code] if args.key?(:code)
20972
+ @data = args[:data] if args.key?(:data)
20973
+ @message = args[:message] if args.key?(:message)
20974
+ end
20975
+
20976
+ #
20977
+ class Datum
20978
+ include Google::Apis::Core::Hashable
20979
+
20980
+ # [Output Only] A key that provides more detail on the warning being
20981
+ # returned. For example, for warnings where there are no results in a list
20982
+ # request for a particular zone, this key might be scope and
20983
+ # the key value might be the zone name. Other examples might be a key
20984
+ # indicating a deprecated resource and a suggested replacement, or a
20985
+ # warning about invalid network settings (for example, if an instance
20986
+ # attempts to perform IP forwarding but is not enabled for IP forwarding).
20987
+ # Corresponds to the JSON property `key`
20988
+ # @return [String]
20989
+ attr_accessor :key
20990
+
20991
+ # [Output Only] A warning data value corresponding to the key.
20992
+ # Corresponds to the JSON property `value`
20993
+ # @return [String]
20994
+ attr_accessor :value
20995
+
20996
+ def initialize(**args)
20997
+ update!(**args)
20998
+ end
20999
+
21000
+ # Update properties of this object
21001
+ def update!(**args)
21002
+ @key = args[:key] if args.key?(:key)
21003
+ @value = args[:value] if args.key?(:value)
21004
+ end
21005
+ end
21006
+ end
21007
+ end
21008
+
20582
21009
  # Specification for how requests are aborted as part of fault injection.
20583
21010
  class HttpFaultAbort
20584
21011
  include Google::Apis::Core::Hashable
@@ -21366,6 +21793,16 @@ module Google
21366
21793
  # @return [Google::Apis::ComputeBeta::HttpFaultInjection]
21367
21794
  attr_accessor :fault_injection_policy
21368
21795
 
21796
+ # The configuration for Cloud CDN's image optimization feature. This feature
21797
+ # dynamically processes and delivers images from the network edge.
21798
+ # Image Optimization is only available for Global External Application Load
21799
+ # Balancers.
21800
+ # Either Cloud CDN must be enabled on the backend service or backend bucket
21801
+ # serving the route, or cache policy must be configured on the same route.
21802
+ # Corresponds to the JSON property `imageOptimizationPolicy`
21803
+ # @return [Google::Apis::ComputeBeta::ImageOptimizationPolicy]
21804
+ attr_accessor :image_optimization_policy
21805
+
21369
21806
  # A Duration represents a fixed-length span of time represented
21370
21807
  # as a count of seconds and fractions of seconds at nanosecond
21371
21808
  # resolution. It is independent of any calendar and concepts like "day"
@@ -21424,6 +21861,7 @@ module Google
21424
21861
  @cache_policy = args[:cache_policy] if args.key?(:cache_policy)
21425
21862
  @cors_policy = args[:cors_policy] if args.key?(:cors_policy)
21426
21863
  @fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
21864
+ @image_optimization_policy = args[:image_optimization_policy] if args.key?(:image_optimization_policy)
21427
21865
  @max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
21428
21866
  @request_mirror_policy = args[:request_mirror_policy] if args.key?(:request_mirror_policy)
21429
21867
  @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
@@ -22483,6 +22921,30 @@ module Google
22483
22921
  end
22484
22922
  end
22485
22923
 
22924
+ # The configuration for Cloud CDN's image optimization feature. This feature
22925
+ # dynamically processes and delivers images from the network edge.
22926
+ # Image Optimization is only available for Global External Application Load
22927
+ # Balancers.
22928
+ # Either Cloud CDN must be enabled on the backend service or backend bucket
22929
+ # serving the route, or cache policy must be configured on the same route.
22930
+ class ImageOptimizationPolicy
22931
+ include Google::Apis::Core::Hashable
22932
+
22933
+ # Specifies whether to interpret query parameters for image optimization.
22934
+ # Corresponds to the JSON property `queryParameterInterpretation`
22935
+ # @return [String]
22936
+ attr_accessor :query_parameter_interpretation
22937
+
22938
+ def initialize(**args)
22939
+ update!(**args)
22940
+ end
22941
+
22942
+ # Update properties of this object
22943
+ def update!(**args)
22944
+ @query_parameter_interpretation = args[:query_parameter_interpretation] if args.key?(:query_parameter_interpretation)
22945
+ end
22946
+ end
22947
+
22486
22948
  # Additional image params.
22487
22949
  class ImageParams
22488
22950
  include Google::Apis::Core::Hashable
@@ -22509,6 +22971,27 @@ module Google
22509
22971
  end
22510
22972
  end
22511
22973
 
22974
+ # Represents a read-only view of a global Image resource.
22975
+ class ImageView
22976
+ include Google::Apis::Core::Hashable
22977
+
22978
+ # Represents an Image resource.
22979
+ # You can use images to create boot disks for your VM instances.
22980
+ # For more information, read Images.
22981
+ # Corresponds to the JSON property `image`
22982
+ # @return [Google::Apis::ComputeBeta::Image]
22983
+ attr_accessor :image
22984
+
22985
+ def initialize(**args)
22986
+ update!(**args)
22987
+ end
22988
+
22989
+ # Update properties of this object
22990
+ def update!(**args)
22991
+ @image = args[:image] if args.key?(:image)
22992
+ end
22993
+ end
22994
+
22512
22995
  # Initial State for shielded instance,
22513
22996
  # these are public keys which are safe to store in public
22514
22997
  class InitialStateConfig
@@ -24011,6 +24494,12 @@ module Google
24011
24494
  # @return [Fixnum]
24012
24495
  attr_accessor :restarting
24013
24496
 
24497
+ # Output only. The number of instances in the managed instance group that
24498
+ # are scheduled to be restarted or are currently being restarted.
24499
+ # Corresponds to the JSON property `restartingInPlace`
24500
+ # @return [Fixnum]
24501
+ attr_accessor :restarting_in_place
24502
+
24014
24503
  # Output only. The number of instances in the managed instance group that
24015
24504
  # are scheduled to be resumed or are currently being resumed.
24016
24505
  # Corresponds to the JSON property `resuming`
@@ -24057,6 +24546,7 @@ module Google
24057
24546
  @recreating = args[:recreating] if args.key?(:recreating)
24058
24547
  @refreshing = args[:refreshing] if args.key?(:refreshing)
24059
24548
  @restarting = args[:restarting] if args.key?(:restarting)
24549
+ @restarting_in_place = args[:restarting_in_place] if args.key?(:restarting_in_place)
24060
24550
  @resuming = args[:resuming] if args.key?(:resuming)
24061
24551
  @starting = args[:starting] if args.key?(:starting)
24062
24552
  @stopping = args[:stopping] if args.key?(:stopping)
@@ -24354,13 +24844,14 @@ module Google
24354
24844
  include Google::Apis::Core::Hashable
24355
24845
 
24356
24846
  # The action that a MIG performs on a failed VM. If the value of the
24357
- # onFailedHealthCheck field
24358
- # is `DEFAULT_ACTION`, then the same action also applies to the VMs on which
24359
- # your application
24360
- # fails a health check. Valid values are - REPAIR (default): MIG automatically
24361
- # repairs a failed
24362
- # VM by recreating it. For more information, seeAbout repairing
24363
- # VMs in a MIG. - DO_NOTHING: MIG does not repair a failed VM.
24847
+ # onFailedHealthCheck field is `DEFAULT_ACTION`, then the same action also
24848
+ # applies to the VMs on which your application fails a health check.
24849
+ # Valid values are
24850
+ #
24851
+ # - REPAIR (default): MIG automatically repairs a failed VM
24852
+ # by recreating it. For more information, see About
24853
+ # repairing VMs in a MIG.
24854
+ # - DO_NOTHING: MIG does not repair a failed VM.
24364
24855
  # Corresponds to the JSON property `defaultActionOnFailure`
24365
24856
  # @return [String]
24366
24857
  attr_accessor :default_action_on_failure
@@ -25885,6 +26376,11 @@ module Google
25885
26376
  class InstanceGroupManagerUpdatePolicy
25886
26377
  include Google::Apis::Core::Hashable
25887
26378
 
26379
+ # Actions that are allowed to update instances within MIG.
26380
+ # Corresponds to the JSON property `allowedActions`
26381
+ # @return [Array<String>]
26382
+ attr_accessor :allowed_actions
26383
+
25888
26384
  # The
25889
26385
  # instance redistribution policy for regional managed instance groups.
25890
26386
  # Valid values are:
@@ -25963,6 +26459,7 @@ module Google
25963
26459
 
25964
26460
  # Update properties of this object
25965
26461
  def update!(**args)
26462
+ @allowed_actions = args[:allowed_actions] if args.key?(:allowed_actions)
25966
26463
  @instance_redistribution_type = args[:instance_redistribution_type] if args.key?(:instance_redistribution_type)
25967
26464
  @max_surge = args[:max_surge] if args.key?(:max_surge)
25968
26465
  @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
@@ -26045,6 +26542,11 @@ module Google
26045
26542
  attr_accessor :all_instances
26046
26543
  alias_method :all_instances?, :all_instances
26047
26544
 
26545
+ # Actions that are allowed to update instances within MIG.
26546
+ # Corresponds to the JSON property `allowedActions`
26547
+ # @return [Array<String>]
26548
+ attr_accessor :allowed_actions
26549
+
26048
26550
  # The list of URLs of one or more instances for which you want to apply
26049
26551
  # updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/
26050
26552
  # instances/[INSTANCE_NAME].
@@ -26095,6 +26597,7 @@ module Google
26095
26597
  # Update properties of this object
26096
26598
  def update!(**args)
26097
26599
  @all_instances = args[:all_instances] if args.key?(:all_instances)
26600
+ @allowed_actions = args[:allowed_actions] if args.key?(:allowed_actions)
26098
26601
  @instances = args[:instances] if args.key?(:instances)
26099
26602
  @minimal_action = args[:minimal_action] if args.key?(:minimal_action)
26100
26603
  @most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
@@ -27584,21 +28087,20 @@ module Google
27584
28087
  class InstanceManagedByIgmError
27585
28088
  include Google::Apis::Core::Hashable
27586
28089
 
27587
- # Output only. [Output Only] Contents of the error.
28090
+ # Output only. Contents of the error.
27588
28091
  # Corresponds to the JSON property `error`
27589
28092
  # @return [Google::Apis::ComputeBeta::InstanceManagedByIgmErrorManagedInstanceError]
27590
28093
  attr_accessor :error
27591
28094
 
27592
- # Output only. [Output Only] Details of the instance action that triggered this
27593
- # error.
28095
+ # Output only. Details of the instance action that triggered this error.
27594
28096
  # May be null, if the error was not caused by an action on an instance.
27595
28097
  # This field is optional.
27596
28098
  # Corresponds to the JSON property `instanceActionDetails`
27597
28099
  # @return [Google::Apis::ComputeBeta::InstanceManagedByIgmErrorInstanceActionDetails]
27598
28100
  attr_accessor :instance_action_details
27599
28101
 
27600
- # Output only. [Output Only] The time that this error occurred.
27601
- # This value is in RFC3339 text format.
28102
+ # Output only. The time that this error occurred. This value is in RFC3339 text
28103
+ # format.
27602
28104
  # Corresponds to the JSON property `timestamp`
27603
28105
  # @return [String]
27604
28106
  attr_accessor :timestamp
@@ -27619,20 +28121,21 @@ module Google
27619
28121
  class InstanceManagedByIgmErrorInstanceActionDetails
27620
28122
  include Google::Apis::Core::Hashable
27621
28123
 
27622
- # Output only. [Output Only] Action that managed instance group was executing on
27623
- # the instance when the error occurred. Possible values:
28124
+ # Output only. Action that managed instance group was executing on the instance
28125
+ # when the
28126
+ # error occurred. Possible values:
27624
28127
  # Corresponds to the JSON property `action`
27625
28128
  # @return [String]
27626
28129
  attr_accessor :action
27627
28130
 
27628
- # Output only. [Output Only] The URL of the instance.
27629
- # The URL can be set even if the instance has not yet been created.
28131
+ # Output only. The URL of the instance. The URL can be set even if the instance
28132
+ # has not
28133
+ # yet been created.
27630
28134
  # Corresponds to the JSON property `instance`
27631
28135
  # @return [String]
27632
28136
  attr_accessor :instance
27633
28137
 
27634
- # Output only. [Output Only] Version this instance was created from, or was
27635
- # being
28138
+ # Output only. Version this instance was created from, or was being
27636
28139
  # created from, but the creation failed. Corresponds to one of the versions
27637
28140
  # that were set on the Instance Group Manager resource at the time this
27638
28141
  # instance was being created.
@@ -27656,12 +28159,12 @@ module Google
27656
28159
  class InstanceManagedByIgmErrorManagedInstanceError
27657
28160
  include Google::Apis::Core::Hashable
27658
28161
 
27659
- # Output only. [Output Only] Error code.
28162
+ # Output only. Error code.
27660
28163
  # Corresponds to the JSON property `code`
27661
28164
  # @return [String]
27662
28165
  attr_accessor :code
27663
28166
 
27664
- # Output only. [Output Only] Error message.
28167
+ # Output only. Error message.
27665
28168
  # Corresponds to the JSON property `message`
27666
28169
  # @return [String]
27667
28170
  attr_accessor :message
@@ -30014,8 +30517,7 @@ module Google
30014
30517
  # @return [String]
30015
30518
  attr_accessor :description
30016
30519
 
30017
- # Output only. [Output Only] URL of the InterconnectLocation object that
30018
- # represents where
30520
+ # Output only. URL of the InterconnectLocation object that represents where
30019
30521
  # this connection is to be provisioned. By default it will be the same as the
30020
30522
  # location field.
30021
30523
  # Corresponds to the JSON property `effectiveLocation`
@@ -45353,46 +45855,146 @@ module Google
45353
45855
  end
45354
45856
  end
45355
45857
 
45356
- # Contains a list of Operation resources.
45357
- class OperationList
45858
+ # Contains a list of Operation resources.
45859
+ class OperationList
45860
+ include Google::Apis::Core::Hashable
45861
+
45862
+ # [Output Only] The unique identifier for the resource. This identifier is
45863
+ # defined by the server.
45864
+ # Corresponds to the JSON property `id`
45865
+ # @return [String]
45866
+ attr_accessor :id
45867
+
45868
+ # [Output Only] A list of Operation resources.
45869
+ # Corresponds to the JSON property `items`
45870
+ # @return [Array<Google::Apis::ComputeBeta::Operation>]
45871
+ attr_accessor :items
45872
+
45873
+ # Output only. [Output Only] Type of resource. Always `compute#operations` for
45874
+ # Operations
45875
+ # resource.
45876
+ # Corresponds to the JSON property `kind`
45877
+ # @return [String]
45878
+ attr_accessor :kind
45879
+
45880
+ # [Output Only] This token allows you to get the next page of results for
45881
+ # list requests. If the number of results is larger than
45882
+ # `maxResults`, use the `nextPageToken` as a value for
45883
+ # the query parameter `pageToken` in the next list request.
45884
+ # Subsequent list requests will have their own `nextPageToken` to
45885
+ # continue paging through the results.
45886
+ # Corresponds to the JSON property `nextPageToken`
45887
+ # @return [String]
45888
+ attr_accessor :next_page_token
45889
+
45890
+ # [Output Only] Server-defined URL for this resource.
45891
+ # Corresponds to the JSON property `selfLink`
45892
+ # @return [String]
45893
+ attr_accessor :self_link
45894
+
45895
+ # [Output Only] Informational warning message.
45896
+ # Corresponds to the JSON property `warning`
45897
+ # @return [Google::Apis::ComputeBeta::OperationList::Warning]
45898
+ attr_accessor :warning
45899
+
45900
+ def initialize(**args)
45901
+ update!(**args)
45902
+ end
45903
+
45904
+ # Update properties of this object
45905
+ def update!(**args)
45906
+ @id = args[:id] if args.key?(:id)
45907
+ @items = args[:items] if args.key?(:items)
45908
+ @kind = args[:kind] if args.key?(:kind)
45909
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
45910
+ @self_link = args[:self_link] if args.key?(:self_link)
45911
+ @warning = args[:warning] if args.key?(:warning)
45912
+ end
45913
+
45914
+ # [Output Only] Informational warning message.
45915
+ class Warning
45916
+ include Google::Apis::Core::Hashable
45917
+
45918
+ # [Output Only] A warning code, if applicable. For example, Compute
45919
+ # Engine returns NO_RESULTS_ON_PAGE if there
45920
+ # are no results in the response.
45921
+ # Corresponds to the JSON property `code`
45922
+ # @return [String]
45923
+ attr_accessor :code
45924
+
45925
+ # [Output Only] Metadata about this warning in key:
45926
+ # value format. For example:
45927
+ # "data": [
45928
+ # `
45929
+ # "key": "scope",
45930
+ # "value": "zones/us-east1-d"
45931
+ # `
45932
+ # Corresponds to the JSON property `data`
45933
+ # @return [Array<Google::Apis::ComputeBeta::OperationList::Warning::Datum>]
45934
+ attr_accessor :data
45935
+
45936
+ # [Output Only] A human-readable description of the warning code.
45937
+ # Corresponds to the JSON property `message`
45938
+ # @return [String]
45939
+ attr_accessor :message
45940
+
45941
+ def initialize(**args)
45942
+ update!(**args)
45943
+ end
45944
+
45945
+ # Update properties of this object
45946
+ def update!(**args)
45947
+ @code = args[:code] if args.key?(:code)
45948
+ @data = args[:data] if args.key?(:data)
45949
+ @message = args[:message] if args.key?(:message)
45950
+ end
45951
+
45952
+ #
45953
+ class Datum
45954
+ include Google::Apis::Core::Hashable
45955
+
45956
+ # [Output Only] A key that provides more detail on the warning being
45957
+ # returned. For example, for warnings where there are no results in a list
45958
+ # request for a particular zone, this key might be scope and
45959
+ # the key value might be the zone name. Other examples might be a key
45960
+ # indicating a deprecated resource and a suggested replacement, or a
45961
+ # warning about invalid network settings (for example, if an instance
45962
+ # attempts to perform IP forwarding but is not enabled for IP forwarding).
45963
+ # Corresponds to the JSON property `key`
45964
+ # @return [String]
45965
+ attr_accessor :key
45966
+
45967
+ # [Output Only] A warning data value corresponding to the key.
45968
+ # Corresponds to the JSON property `value`
45969
+ # @return [String]
45970
+ attr_accessor :value
45971
+
45972
+ def initialize(**args)
45973
+ update!(**args)
45974
+ end
45975
+
45976
+ # Update properties of this object
45977
+ def update!(**args)
45978
+ @key = args[:key] if args.key?(:key)
45979
+ @value = args[:value] if args.key?(:value)
45980
+ end
45981
+ end
45982
+ end
45983
+ end
45984
+
45985
+ #
45986
+ class OperationsScopedList
45358
45987
  include Google::Apis::Core::Hashable
45359
45988
 
45360
- # [Output Only] The unique identifier for the resource. This identifier is
45361
- # defined by the server.
45362
- # Corresponds to the JSON property `id`
45363
- # @return [String]
45364
- attr_accessor :id
45365
-
45366
- # [Output Only] A list of Operation resources.
45367
- # Corresponds to the JSON property `items`
45989
+ # [Output Only] A list of operations contained in this scope.
45990
+ # Corresponds to the JSON property `operations`
45368
45991
  # @return [Array<Google::Apis::ComputeBeta::Operation>]
45369
- attr_accessor :items
45370
-
45371
- # Output only. [Output Only] Type of resource. Always `compute#operations` for
45372
- # Operations
45373
- # resource.
45374
- # Corresponds to the JSON property `kind`
45375
- # @return [String]
45376
- attr_accessor :kind
45377
-
45378
- # [Output Only] This token allows you to get the next page of results for
45379
- # list requests. If the number of results is larger than
45380
- # `maxResults`, use the `nextPageToken` as a value for
45381
- # the query parameter `pageToken` in the next list request.
45382
- # Subsequent list requests will have their own `nextPageToken` to
45383
- # continue paging through the results.
45384
- # Corresponds to the JSON property `nextPageToken`
45385
- # @return [String]
45386
- attr_accessor :next_page_token
45387
-
45388
- # [Output Only] Server-defined URL for this resource.
45389
- # Corresponds to the JSON property `selfLink`
45390
- # @return [String]
45391
- attr_accessor :self_link
45992
+ attr_accessor :operations
45392
45993
 
45393
- # [Output Only] Informational warning message.
45994
+ # [Output Only] Informational warning which replaces the list of operations
45995
+ # when the list is empty.
45394
45996
  # Corresponds to the JSON property `warning`
45395
- # @return [Google::Apis::ComputeBeta::OperationList::Warning]
45997
+ # @return [Google::Apis::ComputeBeta::OperationsScopedList::Warning]
45396
45998
  attr_accessor :warning
45397
45999
 
45398
46000
  def initialize(**args)
@@ -45401,15 +46003,12 @@ module Google
45401
46003
 
45402
46004
  # Update properties of this object
45403
46005
  def update!(**args)
45404
- @id = args[:id] if args.key?(:id)
45405
- @items = args[:items] if args.key?(:items)
45406
- @kind = args[:kind] if args.key?(:kind)
45407
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
45408
- @self_link = args[:self_link] if args.key?(:self_link)
46006
+ @operations = args[:operations] if args.key?(:operations)
45409
46007
  @warning = args[:warning] if args.key?(:warning)
45410
46008
  end
45411
46009
 
45412
- # [Output Only] Informational warning message.
46010
+ # [Output Only] Informational warning which replaces the list of operations
46011
+ # when the list is empty.
45413
46012
  class Warning
45414
46013
  include Google::Apis::Core::Hashable
45415
46014
 
@@ -45428,7 +46027,7 @@ module Google
45428
46027
  # "value": "zones/us-east1-d"
45429
46028
  # `
45430
46029
  # Corresponds to the JSON property `data`
45431
- # @return [Array<Google::Apis::ComputeBeta::OperationList::Warning::Datum>]
46030
+ # @return [Array<Google::Apis::ComputeBeta::OperationsScopedList::Warning::Datum>]
45432
46031
  attr_accessor :data
45433
46032
 
45434
46033
  # [Output Only] A human-readable description of the warning code.
@@ -45481,18 +46080,48 @@ module Google
45481
46080
  end
45482
46081
 
45483
46082
  #
45484
- class OperationsScopedList
46083
+ class OrganizationRolloutsListResponse
45485
46084
  include Google::Apis::Core::Hashable
45486
46085
 
45487
- # [Output Only] A list of operations contained in this scope.
45488
- # Corresponds to the JSON property `operations`
45489
- # @return [Array<Google::Apis::ComputeBeta::Operation>]
45490
- attr_accessor :operations
46086
+ #
46087
+ # Corresponds to the JSON property `etag`
46088
+ # @return [String]
46089
+ attr_accessor :etag
45491
46090
 
45492
- # [Output Only] Informational warning which replaces the list of operations
45493
- # when the list is empty.
46091
+ # [Output Only] Unique identifier for the resource; defined by the server.
46092
+ # Corresponds to the JSON property `id`
46093
+ # @return [String]
46094
+ attr_accessor :id
46095
+
46096
+ # A list of Rollout resources.
46097
+ # Corresponds to the JSON property `items`
46098
+ # @return [Array<Google::Apis::ComputeBeta::Rollout>]
46099
+ attr_accessor :items
46100
+
46101
+ # [Output Only] This token allows you to get the next page of results for
46102
+ # list requests. If the number of results is larger thanmaxResults, use the
46103
+ # nextPageToken as a value for
46104
+ # the query parameter pageToken in the next list request.
46105
+ # Subsequent list requests will have their own nextPageToken to
46106
+ # continue paging through the results.
46107
+ # Corresponds to the JSON property `nextPageToken`
46108
+ # @return [String]
46109
+ attr_accessor :next_page_token
46110
+
46111
+ # Output only. [Output Only] Server-defined URL for this resource.
46112
+ # Corresponds to the JSON property `selfLink`
46113
+ # @return [String]
46114
+ attr_accessor :self_link
46115
+
46116
+ # Output only. [Output Only] Unreachable resources.
46117
+ # end_interface: MixerListResponseWithEtagBuilder
46118
+ # Corresponds to the JSON property `unreachables`
46119
+ # @return [Array<String>]
46120
+ attr_accessor :unreachables
46121
+
46122
+ # [Output Only] Informational warning message.
45494
46123
  # Corresponds to the JSON property `warning`
45495
- # @return [Google::Apis::ComputeBeta::OperationsScopedList::Warning]
46124
+ # @return [Google::Apis::ComputeBeta::OrganizationRolloutsListResponse::Warning]
45496
46125
  attr_accessor :warning
45497
46126
 
45498
46127
  def initialize(**args)
@@ -45501,12 +46130,16 @@ module Google
45501
46130
 
45502
46131
  # Update properties of this object
45503
46132
  def update!(**args)
45504
- @operations = args[:operations] if args.key?(:operations)
46133
+ @etag = args[:etag] if args.key?(:etag)
46134
+ @id = args[:id] if args.key?(:id)
46135
+ @items = args[:items] if args.key?(:items)
46136
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
46137
+ @self_link = args[:self_link] if args.key?(:self_link)
46138
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
45505
46139
  @warning = args[:warning] if args.key?(:warning)
45506
46140
  end
45507
46141
 
45508
- # [Output Only] Informational warning which replaces the list of operations
45509
- # when the list is empty.
46142
+ # [Output Only] Informational warning message.
45510
46143
  class Warning
45511
46144
  include Google::Apis::Core::Hashable
45512
46145
 
@@ -45525,7 +46158,7 @@ module Google
45525
46158
  # "value": "zones/us-east1-d"
45526
46159
  # `
45527
46160
  # Corresponds to the JSON property `data`
45528
- # @return [Array<Google::Apis::ComputeBeta::OperationsScopedList::Warning::Datum>]
46161
+ # @return [Array<Google::Apis::ComputeBeta::OrganizationRolloutsListResponse::Warning::Datum>]
45529
46162
  attr_accessor :data
45530
46163
 
45531
46164
  # [Output Only] A human-readable description of the warning code.
@@ -46689,6 +47322,86 @@ module Google
46689
47322
  end
46690
47323
  end
46691
47324
 
47325
+ # The periodic partial maintenance schedule includes 52 weeks worth of
47326
+ # maintenance windows.
47327
+ # LINT.IfChange(PeriodicPartialMaintenanceSchedule)
47328
+ class PeriodicPartialMaintenanceSchedule
47329
+ include Google::Apis::Core::Hashable
47330
+
47331
+ # The maintenance type in which the zone is during the given window.
47332
+ # Corresponds to the JSON property `subType`
47333
+ # @return [String]
47334
+ attr_accessor :sub_type
47335
+
47336
+ # The target resource that the maintenance window is for.
47337
+ # For example, "projects/my-project/zones/us-central1-a".
47338
+ # Corresponds to the JSON property `targetResource`
47339
+ # @return [String]
47340
+ attr_accessor :target_resource
47341
+
47342
+ #
47343
+ # Corresponds to the JSON property `type`
47344
+ # @return [String]
47345
+ attr_accessor :type
47346
+
47347
+ # Represents civil time (or occasionally physical time).
47348
+ # This type can represent a civil time in one of a few possible ways:
47349
+ # * When utc_offset is set and time_zone is unset: a civil time on a calendar
47350
+ # day with a particular offset from UTC.
47351
+ # * When time_zone is set and utc_offset is unset: a civil time on a calendar
47352
+ # day in a particular time zone.
47353
+ # * When neither time_zone nor utc_offset is set: a civil time on a calendar
47354
+ # day in local time.
47355
+ # The date is relative to the Proleptic Gregorian Calendar.
47356
+ # If year, month, or day are 0, the DateTime is considered not to have a
47357
+ # specific year, month, or day respectively.
47358
+ # This type may also be used to represent a physical time if all the date and
47359
+ # time fields are set and either case of the `time_offset` oneof is set.
47360
+ # Consider using `Timestamp` message for physical time instead. If your use
47361
+ # case also would like to store the user's timezone, that can be done in
47362
+ # another field.
47363
+ # This type is more flexible than some applications may want. Make sure to
47364
+ # document and validate your application's limitations.
47365
+ # Corresponds to the JSON property `windowEndTime`
47366
+ # @return [Google::Apis::ComputeBeta::DateTime]
47367
+ attr_accessor :window_end_time
47368
+
47369
+ # Represents civil time (or occasionally physical time).
47370
+ # This type can represent a civil time in one of a few possible ways:
47371
+ # * When utc_offset is set and time_zone is unset: a civil time on a calendar
47372
+ # day with a particular offset from UTC.
47373
+ # * When time_zone is set and utc_offset is unset: a civil time on a calendar
47374
+ # day in a particular time zone.
47375
+ # * When neither time_zone nor utc_offset is set: a civil time on a calendar
47376
+ # day in local time.
47377
+ # The date is relative to the Proleptic Gregorian Calendar.
47378
+ # If year, month, or day are 0, the DateTime is considered not to have a
47379
+ # specific year, month, or day respectively.
47380
+ # This type may also be used to represent a physical time if all the date and
47381
+ # time fields are set and either case of the `time_offset` oneof is set.
47382
+ # Consider using `Timestamp` message for physical time instead. If your use
47383
+ # case also would like to store the user's timezone, that can be done in
47384
+ # another field.
47385
+ # This type is more flexible than some applications may want. Make sure to
47386
+ # document and validate your application's limitations.
47387
+ # Corresponds to the JSON property `windowStartTime`
47388
+ # @return [Google::Apis::ComputeBeta::DateTime]
47389
+ attr_accessor :window_start_time
47390
+
47391
+ def initialize(**args)
47392
+ update!(**args)
47393
+ end
47394
+
47395
+ # Update properties of this object
47396
+ def update!(**args)
47397
+ @sub_type = args[:sub_type] if args.key?(:sub_type)
47398
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
47399
+ @type = args[:type] if args.key?(:type)
47400
+ @window_end_time = args[:window_end_time] if args.key?(:window_end_time)
47401
+ @window_start_time = args[:window_start_time] if args.key?(:window_start_time)
47402
+ end
47403
+ end
47404
+
46692
47405
  # An Identity and Access Management (IAM) policy, which specifies access
46693
47406
  # controls for Google Cloud resources.
46694
47407
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
@@ -47431,6 +48144,30 @@ module Google
47431
48144
  end
47432
48145
  end
47433
48146
 
48147
+ # Represents a ProjectView resource.
48148
+ # A ProjectView resource contains read-only project data which is available
48149
+ # globally.
48150
+ class ProjectView
48151
+ include Google::Apis::Core::Hashable
48152
+
48153
+ # Represents a Project resource.
48154
+ # A project is used to organize resources in a Google Cloud Platform
48155
+ # environment. For more information, read about the
48156
+ # Resource Hierarchy.
48157
+ # Corresponds to the JSON property `project`
48158
+ # @return [Google::Apis::ComputeBeta::Project]
48159
+ attr_accessor :project
48160
+
48161
+ def initialize(**args)
48162
+ update!(**args)
48163
+ end
48164
+
48165
+ # Update properties of this object
48166
+ def update!(**args)
48167
+ @project = args[:project] if args.key?(:project)
48168
+ end
48169
+ end
48170
+
47434
48171
  #
47435
48172
  class ProjectsDisableXpnResourceRequest
47436
48173
  include Google::Apis::Core::Hashable
@@ -49781,6 +50518,11 @@ module Google
49781
50518
  attr_accessor :all_instances
49782
50519
  alias_method :all_instances?, :all_instances
49783
50520
 
50521
+ # Actions that are allowed to update instances within MIG.
50522
+ # Corresponds to the JSON property `allowedActions`
50523
+ # @return [Array<String>]
50524
+ attr_accessor :allowed_actions
50525
+
49784
50526
  # The list of URLs of one or more instances for which you want to apply
49785
50527
  # updates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/
49786
50528
  # instances/[INSTANCE_NAME].
@@ -49831,6 +50573,7 @@ module Google
49831
50573
  # Update properties of this object
49832
50574
  def update!(**args)
49833
50575
  @all_instances = args[:all_instances] if args.key?(:all_instances)
50576
+ @allowed_actions = args[:allowed_actions] if args.key?(:allowed_actions)
49834
50577
  @instances = args[:instances] if args.key?(:instances)
49835
50578
  @minimal_action = args[:minimal_action] if args.key?(:minimal_action)
49836
50579
  @most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
@@ -51403,6 +52146,11 @@ module Google
51403
52146
  class ReservationBlock
51404
52147
  include Google::Apis::Core::Hashable
51405
52148
 
52149
+ # Health information for the reservation block.
52150
+ # Corresponds to the JSON property `blockHealthInfo`
52151
+ # @return [Google::Apis::ComputeBeta::ReservationBlockHealthInfo]
52152
+ attr_accessor :block_health_info
52153
+
51406
52154
  # Output only. [Output Only] The number of resources that are allocated in this
51407
52155
  # reservation block.
51408
52156
  # Corresponds to the JSON property `count`
@@ -51414,11 +52162,6 @@ module Google
51414
52162
  # @return [String]
51415
52163
  attr_accessor :creation_timestamp
51416
52164
 
51417
- # Health information for the reservation block.
51418
- # Corresponds to the JSON property `healthInfo`
51419
- # @return [Google::Apis::ComputeBeta::ReservationBlockHealthInfo]
51420
- attr_accessor :health_info
51421
-
51422
52165
  # Output only. [Output Only] The unique identifier for the resource. This
51423
52166
  # identifier is
51424
52167
  # defined by the server.
@@ -51507,9 +52250,9 @@ module Google
51507
52250
 
51508
52251
  # Update properties of this object
51509
52252
  def update!(**args)
52253
+ @block_health_info = args[:block_health_info] if args.key?(:block_health_info)
51510
52254
  @count = args[:count] if args.key?(:count)
51511
52255
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
51512
- @health_info = args[:health_info] if args.key?(:health_info)
51513
52256
  @id = args[:id] if args.key?(:id)
51514
52257
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
51515
52258
  @in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
@@ -52275,11 +53018,6 @@ module Google
52275
53018
  # @return [String]
52276
53019
  attr_accessor :creation_timestamp
52277
53020
 
52278
- # Health information for the reservation subBlock.
52279
- # Corresponds to the JSON property `healthInfo`
52280
- # @return [Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo]
52281
- attr_accessor :health_info
52282
-
52283
53021
  # Output only. [Output Only] The unique identifier for the resource. This
52284
53022
  # identifier is
52285
53023
  # defined by the server.
@@ -52342,6 +53080,11 @@ module Google
52342
53080
  # @return [String]
52343
53081
  attr_accessor :status
52344
53082
 
53083
+ # Health information for the reservation subBlock.
53084
+ # Corresponds to the JSON property `subBlockHealthInfo`
53085
+ # @return [Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo]
53086
+ attr_accessor :sub_block_health_info
53087
+
52345
53088
  # Output only. [Output Only] Zone in which the reservation subBlock resides.
52346
53089
  # Corresponds to the JSON property `zone`
52347
53090
  # @return [String]
@@ -52356,7 +53099,6 @@ module Google
52356
53099
  @accelerator_topologies_info = args[:accelerator_topologies_info] if args.key?(:accelerator_topologies_info)
52357
53100
  @count = args[:count] if args.key?(:count)
52358
53101
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
52359
- @health_info = args[:health_info] if args.key?(:health_info)
52360
53102
  @id = args[:id] if args.key?(:id)
52361
53103
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
52362
53104
  @in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
@@ -52367,6 +53109,7 @@ module Google
52367
53109
  @self_link = args[:self_link] if args.key?(:self_link)
52368
53110
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
52369
53111
  @status = args[:status] if args.key?(:status)
53112
+ @sub_block_health_info = args[:sub_block_health_info] if args.key?(:sub_block_health_info)
52370
53113
  @zone = args[:zone] if args.key?(:zone)
52371
53114
  end
52372
53115
  end
@@ -54019,6 +54762,11 @@ module Google
54019
54762
  class ResourceStatusPhysicalHostTopology
54020
54763
  include Google::Apis::Core::Hashable
54021
54764
 
54765
+ # Additional location information of the running instance.
54766
+ # Corresponds to the JSON property `additionalAttributes`
54767
+ # @return [Google::Apis::ComputeBeta::ResourceStatusPhysicalHostTopologyAdditionalAttributes]
54768
+ attr_accessor :additional_attributes
54769
+
54022
54770
  # [Output Only] The ID of the block in which the running instance is
54023
54771
  # located. Instances within the same block experience low network latency.
54024
54772
  # Corresponds to the JSON property `block`
@@ -54051,6 +54799,7 @@ module Google
54051
54799
 
54052
54800
  # Update properties of this object
54053
54801
  def update!(**args)
54802
+ @additional_attributes = args[:additional_attributes] if args.key?(:additional_attributes)
54054
54803
  @block = args[:block] if args.key?(:block)
54055
54804
  @cluster = args[:cluster] if args.key?(:cluster)
54056
54805
  @host = args[:host] if args.key?(:host)
@@ -54058,6 +54807,29 @@ module Google
54058
54807
  end
54059
54808
  end
54060
54809
 
54810
+ # Additional location information of the running instance.
54811
+ class ResourceStatusPhysicalHostTopologyAdditionalAttributes
54812
+ include Google::Apis::Core::Hashable
54813
+
54814
+ # Output only. The IDs of the accelerator topologies the instance belongs to.
54815
+ # For
54816
+ # example
54817
+ # The key will be topologies like "4x4", "2x2x2" and the value will be
54818
+ # the location ID of the topologies.
54819
+ # Corresponds to the JSON property `acceleratorTopologyIds`
54820
+ # @return [Hash<String,String>]
54821
+ attr_accessor :accelerator_topology_ids
54822
+
54823
+ def initialize(**args)
54824
+ update!(**args)
54825
+ end
54826
+
54827
+ # Update properties of this object
54828
+ def update!(**args)
54829
+ @accelerator_topology_ids = args[:accelerator_topology_ids] if args.key?(:accelerator_topology_ids)
54830
+ end
54831
+ end
54832
+
54061
54833
  # Reservation consumption information that the instance is consuming from.
54062
54834
  class ResourceStatusReservationConsumptionInfo
54063
54835
  include Google::Apis::Core::Hashable
@@ -54068,6 +54840,20 @@ module Google
54068
54840
  # @return [String]
54069
54841
  attr_accessor :consumed_reservation
54070
54842
 
54843
+ # Output only. [Output Only] The full resource name of the reservation block
54844
+ # that this
54845
+ # instance is consuming from.
54846
+ # Corresponds to the JSON property `consumedReservationBlock`
54847
+ # @return [String]
54848
+ attr_accessor :consumed_reservation_block
54849
+
54850
+ # Output only. [Output Only] The full resource name of the reservation sub-block
54851
+ # that
54852
+ # this instance is consuming from.
54853
+ # Corresponds to the JSON property `consumedReservationSubBlock`
54854
+ # @return [String]
54855
+ attr_accessor :consumed_reservation_sub_block
54856
+
54071
54857
  def initialize(**args)
54072
54858
  update!(**args)
54073
54859
  end
@@ -54075,6 +54861,8 @@ module Google
54075
54861
  # Update properties of this object
54076
54862
  def update!(**args)
54077
54863
  @consumed_reservation = args[:consumed_reservation] if args.key?(:consumed_reservation)
54864
+ @consumed_reservation_block = args[:consumed_reservation_block] if args.key?(:consumed_reservation_block)
54865
+ @consumed_reservation_sub_block = args[:consumed_reservation_sub_block] if args.key?(:consumed_reservation_sub_block)
54078
54866
  end
54079
54867
  end
54080
54868
 
@@ -54212,6 +55000,16 @@ module Google
54212
55000
  # @return [String]
54213
55001
  attr_accessor :name
54214
55002
 
55003
+ # Output only. The timestamp at which the Rollout was paused.
55004
+ # Corresponds to the JSON property `pauseTime`
55005
+ # @return [String]
55006
+ attr_accessor :pause_time
55007
+
55008
+ # Output only. The timestamp at which the Rollout was resumed.
55009
+ # Corresponds to the JSON property `resumeTime`
55010
+ # @return [String]
55011
+ attr_accessor :resume_time
55012
+
54215
55013
  # Specifications of the resource to roll out.
54216
55014
  # Corresponds to the JSON property `rolloutEntity`
54217
55015
  # @return [Google::Apis::ComputeBeta::RolloutRolloutEntity]
@@ -54259,6 +55057,8 @@ module Google
54259
55057
  @id = args[:id] if args.key?(:id)
54260
55058
  @kind = args[:kind] if args.key?(:kind)
54261
55059
  @name = args[:name] if args.key?(:name)
55060
+ @pause_time = args[:pause_time] if args.key?(:pause_time)
55061
+ @resume_time = args[:resume_time] if args.key?(:resume_time)
54262
55062
  @rollout_entity = args[:rollout_entity] if args.key?(:rollout_entity)
54263
55063
  @rollout_plan = args[:rollout_plan] if args.key?(:rollout_plan)
54264
55064
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -56641,6 +57441,15 @@ module Google
56641
57441
  # @return [Array<String>]
56642
57442
  attr_accessor :drain_nat_ips
56643
57443
 
57444
+ # Output only. Effective timeout (in seconds) for TCP connections that are in
57445
+ # TIME_WAIT
57446
+ # state. This value is equal to tcp_time_wait_timeout_sec.
57447
+ # If tcp_time_wait_timeout_sec isn't set, the effective timeout is 30s or
57448
+ # 120s. The field is output only.
57449
+ # Corresponds to the JSON property `effectiveTcpTimeWaitTimeoutSec`
57450
+ # @return [Fixnum]
57451
+ attr_accessor :effective_tcp_time_wait_timeout_sec
57452
+
56644
57453
  # Enable Dynamic Port Allocation.
56645
57454
  # If not specified, it is disabled by default.
56646
57455
  # If set to true,
@@ -56814,6 +57623,7 @@ module Google
56814
57623
  def update!(**args)
56815
57624
  @auto_network_tier = args[:auto_network_tier] if args.key?(:auto_network_tier)
56816
57625
  @drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
57626
+ @effective_tcp_time_wait_timeout_sec = args[:effective_tcp_time_wait_timeout_sec] if args.key?(:effective_tcp_time_wait_timeout_sec)
56817
57627
  @enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
56818
57628
  @enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
56819
57629
  @endpoint_types = args[:endpoint_types] if args.key?(:endpoint_types)
@@ -60811,6 +61621,12 @@ module Google
60811
61621
  # @return [String]
60812
61622
  attr_accessor :name
60813
61623
 
61624
+ # The number of NAT IP addresses to be allocated per connected endpoint.
61625
+ # If not specified, the default value is 1.
61626
+ # Corresponds to the JSON property `natIpsPerEndpoint`
61627
+ # @return [Fixnum]
61628
+ attr_accessor :nat_ips_per_endpoint
61629
+
60814
61630
  # An array of URLs where each entry is the URL of a subnet provided
60815
61631
  # by the service producer to use for NAT in this service attachment.
60816
61632
  # Corresponds to the JSON property `natSubnets`
@@ -60908,6 +61724,7 @@ module Google
60908
61724
  @kind = args[:kind] if args.key?(:kind)
60909
61725
  @metadata = args[:metadata] if args.key?(:metadata)
60910
61726
  @name = args[:name] if args.key?(:name)
61727
+ @nat_ips_per_endpoint = args[:nat_ips_per_endpoint] if args.key?(:nat_ips_per_endpoint)
60911
61728
  @nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
60912
61729
  @producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
60913
61730
  @propagated_connection_limit = args[:propagated_connection_limit] if args.key?(:propagated_connection_limit)
@@ -61458,6 +62275,14 @@ module Google
61458
62275
  class ShareSettings
61459
62276
  include Google::Apis::Core::Hashable
61460
62277
 
62278
+ # A map of folder id and folder config to specify consumer projects for this
62279
+ # shared-reservation. This is only valid when share_type's value is
62280
+ # DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS.
62281
+ # Folder id should be a string of number, and without "folders/" prefix.
62282
+ # Corresponds to the JSON property `folderMap`
62283
+ # @return [Hash<String,Google::Apis::ComputeBeta::ShareSettingsFolderConfig>]
62284
+ attr_accessor :folder_map
62285
+
61461
62286
  # A map of project id and project config. This is only valid when
61462
62287
  # share_type's value is SPECIFIC_PROJECTS.
61463
62288
  # Corresponds to the JSON property `projectMap`
@@ -61482,12 +62307,34 @@ module Google
61482
62307
 
61483
62308
  # Update properties of this object
61484
62309
  def update!(**args)
62310
+ @folder_map = args[:folder_map] if args.key?(:folder_map)
61485
62311
  @project_map = args[:project_map] if args.key?(:project_map)
61486
62312
  @projects = args[:projects] if args.key?(:projects)
61487
62313
  @share_type = args[:share_type] if args.key?(:share_type)
61488
62314
  end
61489
62315
  end
61490
62316
 
62317
+ # Config for each folder in the share settings.
62318
+ class ShareSettingsFolderConfig
62319
+ include Google::Apis::Core::Hashable
62320
+
62321
+ # The folder ID, should be same as the key of this folder config in the
62322
+ # parent map.
62323
+ # Folder id should be a string of number, and without "folders/" prefix.
62324
+ # Corresponds to the JSON property `folderId`
62325
+ # @return [String]
62326
+ attr_accessor :folder_id
62327
+
62328
+ def initialize(**args)
62329
+ update!(**args)
62330
+ end
62331
+
62332
+ # Update properties of this object
62333
+ def update!(**args)
62334
+ @folder_id = args[:folder_id] if args.key?(:folder_id)
62335
+ end
62336
+ end
62337
+
61491
62338
  # Config for each project in the share settings.
61492
62339
  class ShareSettingsProjectConfig
61493
62340
  include Google::Apis::Core::Hashable
@@ -62075,11 +62922,13 @@ module Google
62075
62922
  # @return [Fixnum]
62076
62923
  attr_accessor :storage_bytes
62077
62924
 
62078
- # Output only. [Output Only] An indicator whether storageBytes is in a
62925
+ # Output only. [Deprecated] Instead, check the storageBytes field. After
62926
+ # snapshot creation, the storageBytesStatus field is alwaysUP_TO_DATE.
62927
+ # [Output Only] An indicator whether storageBytes is in a
62079
62928
  # stable state or it is being adjusted as a result of shared storage
62080
- # reallocation. This status can either be UPDATING, meaning
62081
- # the size of the snapshot is being updated, or UP_TO_DATE,
62082
- # meaning the size of the snapshot is up-to-date.
62929
+ # reallocation. This status can either be unset, meaning the snapshot is
62930
+ # being created, or UP_TO_DATE, meaning the size of the snapshot
62931
+ # is up-to-date.
62083
62932
  # Corresponds to the JSON property `storageBytesStatus`
62084
62933
  # @return [String]
62085
62934
  attr_accessor :storage_bytes_status
@@ -70957,6 +71806,32 @@ module Google
70957
71806
  end
70958
71807
  end
70959
71808
 
71809
+ # Represents a time zone from the
71810
+ # [IANA Time Zone Database](https://www.iana.org/time-zones).
71811
+ class TimeZone
71812
+ include Google::Apis::Core::Hashable
71813
+
71814
+ # IANA Time Zone Database time zone. For example "America/New_York".
71815
+ # Corresponds to the JSON property `id`
71816
+ # @return [String]
71817
+ attr_accessor :id
71818
+
71819
+ # Optional. IANA Time Zone Database version number. For example "2019a".
71820
+ # Corresponds to the JSON property `version`
71821
+ # @return [String]
71822
+ attr_accessor :version
71823
+
71824
+ def initialize(**args)
71825
+ update!(**args)
71826
+ end
71827
+
71828
+ # Update properties of this object
71829
+ def update!(**args)
71830
+ @id = args[:id] if args.key?(:id)
71831
+ @version = args[:version] if args.key?(:version)
71832
+ end
71833
+ end
71834
+
70960
71835
  #
70961
71836
  class Uint128
70962
71837
  include Google::Apis::Core::Hashable
@@ -75432,6 +76307,11 @@ module Google
75432
76307
  # @return [String]
75433
76308
  attr_accessor :region
75434
76309
 
76310
+ #
76311
+ # Corresponds to the JSON property `resourceStatus`
76312
+ # @return [Google::Apis::ComputeBeta::ZoneResourceStatus]
76313
+ attr_accessor :resource_status
76314
+
75435
76315
  # [Output Only] Server-defined URL for the resource.
75436
76316
  # Corresponds to the JSON property `selfLink`
75437
76317
  # @return [String]
@@ -75462,6 +76342,7 @@ module Google
75462
76342
  @kind = args[:kind] if args.key?(:kind)
75463
76343
  @name = args[:name] if args.key?(:name)
75464
76344
  @region = args[:region] if args.key?(:region)
76345
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
75465
76346
  @self_link = args[:self_link] if args.key?(:self_link)
75466
76347
  @status = args[:status] if args.key?(:status)
75467
76348
  @supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
@@ -75592,6 +76473,25 @@ module Google
75592
76473
  end
75593
76474
  end
75594
76475
 
76476
+ #
76477
+ class ZoneResourceStatus
76478
+ include Google::Apis::Core::Hashable
76479
+
76480
+ # Output only. [Output Only] The upcoming maintenance schedule.
76481
+ # Corresponds to the JSON property `upcomingMaintenances`
76482
+ # @return [Array<Google::Apis::ComputeBeta::PeriodicPartialMaintenanceSchedule>]
76483
+ attr_accessor :upcoming_maintenances
76484
+
76485
+ def initialize(**args)
76486
+ update!(**args)
76487
+ end
76488
+
76489
+ # Update properties of this object
76490
+ def update!(**args)
76491
+ @upcoming_maintenances = args[:upcoming_maintenances] if args.key?(:upcoming_maintenances)
76492
+ end
76493
+ end
76494
+
75595
76495
  #
75596
76496
  class ZoneSetLabelsRequest
75597
76497
  include Google::Apis::Core::Hashable