google-apis-compute_alpha 0.68.0 → 0.70.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3078,6 +3078,16 @@ module Google
3078
3078
  # @return [Float]
3079
3079
  attr_accessor :max_utilization
3080
3080
 
3081
+ # This field indicates whether this backend should be fully utilized before
3082
+ # sending traffic to backends with default preference. The possible values are: -
3083
+ # PREFERRED: Backends with this preference level will be filled up to their
3084
+ # capacity limits first, based on RTT. - DEFAULT: If preferred backends don't
3085
+ # have enough capacity, backends in this layer would be used and traffic would
3086
+ # be assigned based on the load balancing algorithm you use. This is the default
3087
+ # Corresponds to the JSON property `preference`
3088
+ # @return [String]
3089
+ attr_accessor :preference
3090
+
3081
3091
  def initialize(**args)
3082
3092
  update!(**args)
3083
3093
  end
@@ -3096,6 +3106,7 @@ module Google
3096
3106
  @max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint)
3097
3107
  @max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance)
3098
3108
  @max_utilization = args[:max_utilization] if args.key?(:max_utilization)
3109
+ @preference = args[:preference] if args.key?(:preference)
3099
3110
  end
3100
3111
  end
3101
3112
 
@@ -6638,7 +6649,9 @@ module Google
6638
6649
 
6639
6650
  # The name of the encryption key that is stored in Google Cloud KMS. For example:
6640
6651
  # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/
6641
- # cryptoKeys/key
6652
+ # cryptoKeys/key The fully-qualifed key name may be returned for resource GET
6653
+ # requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/
6654
+ # keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
6642
6655
  # Corresponds to the JSON property `kmsKeyName`
6643
6656
  # @return [String]
6644
6657
  attr_accessor :kms_key_name
@@ -7722,6 +7735,61 @@ module Google
7722
7735
  end
7723
7736
  end
7724
7737
 
7738
+ #
7739
+ class DiskSettings
7740
+ include Google::Apis::Core::Hashable
7741
+
7742
+ # An optional parameter for storing the default resource policies that will be
7743
+ # used for the Disks created in the given scope. The Key is a string type,
7744
+ # provided by customers to uniquely identify the default Resource Policy entry.
7745
+ # The Value is a Default ResourcePolicyDetails Object used to represent the
7746
+ # detailed information of the Resource Policy entry.
7747
+ # Corresponds to the JSON property `defaultResourcePolicies`
7748
+ # @return [Hash<String,Google::Apis::ComputeAlpha::DiskSettingsResourcePolicyDetails>]
7749
+ attr_accessor :default_resource_policies
7750
+
7751
+ def initialize(**args)
7752
+ update!(**args)
7753
+ end
7754
+
7755
+ # Update properties of this object
7756
+ def update!(**args)
7757
+ @default_resource_policies = args[:default_resource_policies] if args.key?(:default_resource_policies)
7758
+ end
7759
+ end
7760
+
7761
+ # This is the object for storing the detail information about the Resource
7762
+ # Policy that will be set as default ones for the Disks that is using the
7763
+ # DiskSettings. It contains: - one target Resource Policy referenced by its
7764
+ # Fully-Qualified URL, - [output only] Disk Types that will be excluded from
7765
+ # using this Resource Policy, - Other filtering support (e.g. Label filtering)
7766
+ # for Default Resource Policy can be added here as well
7767
+ class DiskSettingsResourcePolicyDetails
7768
+ include Google::Apis::Core::Hashable
7769
+
7770
+ # [Output Only] A list of Disk Types that will be excluded from applying the
7771
+ # Resource Policy referenced here. If absent, Disks created in any DiskType can
7772
+ # use the referenced default Resource Policy.
7773
+ # Corresponds to the JSON property `excludedDiskTypes`
7774
+ # @return [Array<String>]
7775
+ attr_accessor :excluded_disk_types
7776
+
7777
+ # The target Resource Policies identified by their Fully-Qualified URL.
7778
+ # Corresponds to the JSON property `resourcePolicy`
7779
+ # @return [String]
7780
+ attr_accessor :resource_policy
7781
+
7782
+ def initialize(**args)
7783
+ update!(**args)
7784
+ end
7785
+
7786
+ # Update properties of this object
7787
+ def update!(**args)
7788
+ @excluded_disk_types = args[:excluded_disk_types] if args.key?(:excluded_disk_types)
7789
+ @resource_policy = args[:resource_policy] if args.key?(:resource_policy)
7790
+ end
7791
+ end
7792
+
7725
7793
  # Represents a Disk Type resource. Google Compute Engine has two Disk Type
7726
7794
  # resources: * [Regional](/compute/docs/reference/rest/alpha/regionDiskTypes) * [
7727
7795
  # Zonal](/compute/docs/reference/rest/alpha/diskTypes) You can choose from a
@@ -8324,27 +8392,6 @@ module Google
8324
8392
  end
8325
8393
  end
8326
8394
 
8327
- #
8328
- class DisksStopAsyncReplicationRequest
8329
- include Google::Apis::Core::Hashable
8330
-
8331
- # [Deprecated] The secondary disk to stop asynchronous replication to. This
8332
- # field will not be included in the beta or v1 APIs and will be removed from the
8333
- # alpha API in the near future.
8334
- # Corresponds to the JSON property `asyncSecondaryDisk`
8335
- # @return [String]
8336
- attr_accessor :async_secondary_disk
8337
-
8338
- def initialize(**args)
8339
- update!(**args)
8340
- end
8341
-
8342
- # Update properties of this object
8343
- def update!(**args)
8344
- @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
8345
- end
8346
- end
8347
-
8348
8395
  # A transient resource used in compute.disks.stopGroupAsyncReplication and
8349
8396
  # compute.regionDisks.stopGroupAsyncReplication. It is only used to process
8350
8397
  # requests and is not persisted.
@@ -15525,6 +15572,12 @@ module Google
15525
15572
  # @return [Google::Apis::ComputeAlpha::InstanceParams]
15526
15573
  attr_accessor :params
15527
15574
 
15575
+ # Partner Metadata assigned to the instance. A map from a subdomain (namespace)
15576
+ # to entries map.
15577
+ # Corresponds to the JSON property `partnerMetadata`
15578
+ # @return [Hash<String,Google::Apis::ComputeAlpha::StructuredEntries>]
15579
+ attr_accessor :partner_metadata
15580
+
15528
15581
  # PostKeyRevocationActionType of the instance.
15529
15582
  # Corresponds to the JSON property `postKeyRevocationActionType`
15530
15583
  # @return [String]
@@ -15705,6 +15758,7 @@ module Google
15705
15758
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
15706
15759
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
15707
15760
  @params = args[:params] if args.key?(:params)
15761
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
15708
15762
  @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
15709
15763
  @preserved_state_size_gb = args[:preserved_state_size_gb] if args.key?(:preserved_state_size_gb)
15710
15764
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
@@ -19233,6 +19287,12 @@ module Google
19233
19287
  # @return [Google::Apis::ComputeAlpha::NetworkPerformanceConfig]
19234
19288
  attr_accessor :network_performance_config
19235
19289
 
19290
+ # Partner Metadata assigned to the instance properties. A map from a subdomain (
19291
+ # namespace) to entries map.
19292
+ # Corresponds to the JSON property `partnerMetadata`
19293
+ # @return [Hash<String,Google::Apis::ComputeAlpha::StructuredEntries>]
19294
+ attr_accessor :partner_metadata
19295
+
19236
19296
  # PostKeyRevocationActionType of the instance.
19237
19297
  # Corresponds to the JSON property `postKeyRevocationActionType`
19238
19298
  # @return [String]
@@ -19323,6 +19383,7 @@ module Google
19323
19383
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
19324
19384
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
19325
19385
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
19386
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
19326
19387
  @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
19327
19388
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
19328
19389
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
@@ -19401,14 +19462,6 @@ module Google
19401
19462
  # @return [String]
19402
19463
  attr_accessor :kind
19403
19464
 
19404
- # Partial URL of the machine type resource to use for this instance, in the
19405
- # format: machineTypes/machine-type. This is either provided by the client or
19406
- # chosen by the system. For example, the following is a valid partial url to a
19407
- # predefined machine type: machineTypes/n2-standard-1
19408
- # Corresponds to the JSON property `machineType`
19409
- # @return [String]
19410
- attr_accessor :machine_type
19411
-
19412
19465
  # [Output Only] URL of the zone where the resource resides You must specify this
19413
19466
  # field as part of the HTTP request URL. It is not settable as a field in the
19414
19467
  # request body.
@@ -19424,7 +19477,6 @@ module Google
19424
19477
  def update!(**args)
19425
19478
  @email = args[:email] if args.key?(:email)
19426
19479
  @kind = args[:kind] if args.key?(:kind)
19427
- @machine_type = args[:machine_type] if args.key?(:machine_type)
19428
19480
  @zone = args[:zone] if args.key?(:zone)
19429
19481
  end
19430
19482
  end
@@ -26229,6 +26281,13 @@ module Google
26229
26281
  # @return [String]
26230
26282
  attr_accessor :ip_address
26231
26283
 
26284
+ # The IPv6 address assigned to the producer instance network interface. This is
26285
+ # only assigned when the stack types of both the instance network interface and
26286
+ # the consumer subnet are IPv4_IPv6.
26287
+ # Corresponds to the JSON property `ipv6Address`
26288
+ # @return [String]
26289
+ attr_accessor :ipv6_address
26290
+
26232
26291
  # The project id or number of the interface to which the IP was assigned.
26233
26292
  # Corresponds to the JSON property `projectIdOrNum`
26234
26293
  # @return [String]
@@ -26257,6 +26316,7 @@ module Google
26257
26316
  # Update properties of this object
26258
26317
  def update!(**args)
26259
26318
  @ip_address = args[:ip_address] if args.key?(:ip_address)
26319
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
26260
26320
  @project_id_or_num = args[:project_id_or_num] if args.key?(:project_id_or_num)
26261
26321
  @secondary_ip_cidr_ranges = args[:secondary_ip_cidr_ranges] if args.key?(:secondary_ip_cidr_ranges)
26262
26322
  @status = args[:status] if args.key?(:status)
@@ -32356,6 +32416,37 @@ module Google
32356
32416
  end
32357
32417
  end
32358
32418
 
32419
+ # Model definition of partner_metadata field. To be used in dedicated Partner
32420
+ # Metadata methods and to be inlined in the Instance and InstanceTemplate
32421
+ # resources.
32422
+ class PartnerMetadata
32423
+ include Google::Apis::Core::Hashable
32424
+
32425
+ # Instance-level hash to be used for optimistic locking.
32426
+ # Corresponds to the JSON property `fingerprint`
32427
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
32428
+ # @return [String]
32429
+ attr_accessor :fingerprint
32430
+
32431
+ # Partner Metadata assigned to the instance. A map from a subdomain to entries
32432
+ # map. Subdomain name must be compliant with RFC1035 definition. The total size
32433
+ # of all keys and values must be less than 2MB. Subdomain 'metadata.compute.
32434
+ # googleapis.com' is reserverd for instance's metadata.
32435
+ # Corresponds to the JSON property `partnerMetadata`
32436
+ # @return [Hash<String,Google::Apis::ComputeAlpha::StructuredEntries>]
32437
+ attr_accessor :partner_metadata
32438
+
32439
+ def initialize(**args)
32440
+ update!(**args)
32441
+ end
32442
+
32443
+ # Update properties of this object
32444
+ def update!(**args)
32445
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
32446
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
32447
+ end
32448
+ end
32449
+
32359
32450
  # A matcher for the path portion of the URL. The BackendService from the longest-
32360
32451
  # matched rule will serve the URL. If no rule was matched, the default service
32361
32452
  # is used.
@@ -34743,6 +34834,12 @@ module Google
34743
34834
  # @return [Hash<String,String>]
34744
34835
  attr_accessor :dimensions
34745
34836
 
34837
+ # Future quota limit being rolled out. The limit's unit depends on the quota
34838
+ # type or metric.
34839
+ # Corresponds to the JSON property `futureLimit`
34840
+ # @return [Float]
34841
+ attr_accessor :future_limit
34842
+
34746
34843
  # Current effective quota limit. The limit's unit depends on the quota type or
34747
34844
  # metric.
34748
34845
  # Corresponds to the JSON property `limit`
@@ -34759,6 +34856,11 @@ module Google
34759
34856
  # @return [String]
34760
34857
  attr_accessor :metric_name
34761
34858
 
34859
+ # Rollout status of the future quota limit.
34860
+ # Corresponds to the JSON property `rolloutStatus`
34861
+ # @return [String]
34862
+ attr_accessor :rollout_status
34863
+
34762
34864
  def initialize(**args)
34763
34865
  update!(**args)
34764
34866
  end
@@ -34766,9 +34868,11 @@ module Google
34766
34868
  # Update properties of this object
34767
34869
  def update!(**args)
34768
34870
  @dimensions = args[:dimensions] if args.key?(:dimensions)
34871
+ @future_limit = args[:future_limit] if args.key?(:future_limit)
34769
34872
  @limit = args[:limit] if args.key?(:limit)
34770
34873
  @limit_name = args[:limit_name] if args.key?(:limit_name)
34771
34874
  @metric_name = args[:metric_name] if args.key?(:metric_name)
34875
+ @rollout_status = args[:rollout_status] if args.key?(:rollout_status)
34772
34876
  end
34773
34877
  end
34774
34878
 
@@ -35296,27 +35400,6 @@ module Google
35296
35400
  end
35297
35401
  end
35298
35402
 
35299
- #
35300
- class RegionDisksStopAsyncReplicationRequest
35301
- include Google::Apis::Core::Hashable
35302
-
35303
- # [Deprecated] The secondary disk to stop asynchronous replication to. This
35304
- # field will not be included in the beta or v1 APIs and will be removed from the
35305
- # alpha API in the near future.
35306
- # Corresponds to the JSON property `asyncSecondaryDisk`
35307
- # @return [String]
35308
- attr_accessor :async_secondary_disk
35309
-
35310
- def initialize(**args)
35311
- update!(**args)
35312
- end
35313
-
35314
- # Update properties of this object
35315
- def update!(**args)
35316
- @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
35317
- end
35318
- end
35319
-
35320
35403
  # Contains a list of InstanceGroup resources.
35321
35404
  class RegionInstanceGroupList
35322
35405
  include Google::Apis::Core::Hashable
@@ -38511,8 +38594,8 @@ module Google
38511
38594
  # @return [String]
38512
38595
  attr_accessor :next_hop_gateway
38513
38596
 
38514
- # [Output Only] The full resource name of the network connectivity center hub
38515
- # that should handle matching packets.
38597
+ # [Output Only] The full resource name of the Network Connectivity Center hub
38598
+ # that will handle matching packets.
38516
38599
  # Corresponds to the JSON property `nextHopHub`
38517
38600
  # @return [String]
38518
38601
  attr_accessor :next_hop_hub
@@ -39153,6 +39236,14 @@ module Google
39153
39236
  # @return [Fixnum]
39154
39237
  attr_accessor :asn
39155
39238
 
39239
+ # Explicitly specifies a range of valid BGP Identifiers for this Router. It is
39240
+ # provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /
39241
+ # 30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4
39242
+ # BGP session ranges. Other vendors commonly call this "router ID".
39243
+ # Corresponds to the JSON property `identifierRange`
39244
+ # @return [String]
39245
+ attr_accessor :identifier_range
39246
+
39156
39247
  # The interval in seconds between BGP keepalive messages that are sent to the
39157
39248
  # peer. Hold time is three times the interval at which keepalive messages are
39158
39249
  # sent, and the hold time is the maximum number of seconds allowed to elapse
@@ -39174,6 +39265,7 @@ module Google
39174
39265
  @advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
39175
39266
  @advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
39176
39267
  @asn = args[:asn] if args.key?(:asn)
39268
+ @identifier_range = args[:identifier_range] if args.key?(:identifier_range)
39177
39269
  @keepalive_interval = args[:keepalive_interval] if args.key?(:keepalive_interval)
39178
39270
  end
39179
39271
  end
@@ -39241,6 +39333,13 @@ module Google
39241
39333
  # @return [String]
39242
39334
  attr_accessor :enable
39243
39335
 
39336
+ # Enable IPv4 traffic over BGP Peer. It is enabled by default if the
39337
+ # peerIpAddress is version 4.
39338
+ # Corresponds to the JSON property `enableIpv4`
39339
+ # @return [Boolean]
39340
+ attr_accessor :enable_ipv4
39341
+ alias_method :enable_ipv4?, :enable_ipv4
39342
+
39244
39343
  # Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
39245
39344
  # Corresponds to the JSON property `enableIpv6`
39246
39345
  # @return [Boolean]
@@ -39258,6 +39357,11 @@ module Google
39258
39357
  # @return [String]
39259
39358
  attr_accessor :ip_address
39260
39359
 
39360
+ # IPv4 address of the interface inside Google Cloud Platform.
39361
+ # Corresponds to the JSON property `ipv4NexthopAddress`
39362
+ # @return [String]
39363
+ attr_accessor :ipv4_nexthop_address
39364
+
39261
39365
  # IPv6 address of the interface inside Google Cloud Platform.
39262
39366
  # Corresponds to the JSON property `ipv6NexthopAddress`
39263
39367
  # @return [String]
@@ -39302,6 +39406,11 @@ module Google
39302
39406
  # @return [String]
39303
39407
  attr_accessor :peer_ip_address
39304
39408
 
39409
+ # IPv4 address of the BGP interface outside Google Cloud Platform.
39410
+ # Corresponds to the JSON property `peerIpv4NexthopAddress`
39411
+ # @return [String]
39412
+ attr_accessor :peer_ipv4_nexthop_address
39413
+
39305
39414
  # IPv6 address of the BGP interface outside Google Cloud Platform.
39306
39415
  # Corresponds to the JSON property `peerIpv6NexthopAddress`
39307
39416
  # @return [String]
@@ -39329,15 +39438,18 @@ module Google
39329
39438
  @custom_learned_ip_ranges = args[:custom_learned_ip_ranges] if args.key?(:custom_learned_ip_ranges)
39330
39439
  @custom_learned_route_priority = args[:custom_learned_route_priority] if args.key?(:custom_learned_route_priority)
39331
39440
  @enable = args[:enable] if args.key?(:enable)
39441
+ @enable_ipv4 = args[:enable_ipv4] if args.key?(:enable_ipv4)
39332
39442
  @enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
39333
39443
  @interface_name = args[:interface_name] if args.key?(:interface_name)
39334
39444
  @ip_address = args[:ip_address] if args.key?(:ip_address)
39445
+ @ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
39335
39446
  @ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
39336
39447
  @management_type = args[:management_type] if args.key?(:management_type)
39337
39448
  @md5_authentication_key_name = args[:md5_authentication_key_name] if args.key?(:md5_authentication_key_name)
39338
39449
  @name = args[:name] if args.key?(:name)
39339
39450
  @peer_asn = args[:peer_asn] if args.key?(:peer_asn)
39340
39451
  @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
39452
+ @peer_ipv4_nexthop_address = args[:peer_ipv4_nexthop_address] if args.key?(:peer_ipv4_nexthop_address)
39341
39453
  @peer_ipv6_nexthop_address = args[:peer_ipv6_nexthop_address] if args.key?(:peer_ipv6_nexthop_address)
39342
39454
  @router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
39343
39455
  end
@@ -39461,6 +39573,11 @@ module Google
39461
39573
  # @return [String]
39462
39574
  attr_accessor :ip_range
39463
39575
 
39576
+ # IP version of this interface.
39577
+ # Corresponds to the JSON property `ipVersion`
39578
+ # @return [String]
39579
+ attr_accessor :ip_version
39580
+
39464
39581
  # URI of the linked Interconnect attachment. It must be in the same region as
39465
39582
  # the router. Each interface can have one linked resource, which can be a VPN
39466
39583
  # tunnel, an Interconnect attachment, or a virtual machine instance.
@@ -39531,6 +39648,7 @@ module Google
39531
39648
  # Update properties of this object
39532
39649
  def update!(**args)
39533
39650
  @ip_range = args[:ip_range] if args.key?(:ip_range)
39651
+ @ip_version = args[:ip_version] if args.key?(:ip_version)
39534
39652
  @linked_interconnect_attachment = args[:linked_interconnect_attachment] if args.key?(:linked_interconnect_attachment)
39535
39653
  @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
39536
39654
  @management_type = args[:management_type] if args.key?(:management_type)
@@ -44205,6 +44323,11 @@ module Google
44205
44323
  # @return [String]
44206
44324
  attr_accessor :source_instant_snapshot
44207
44325
 
44326
+ # Customer provided encryption key when creating Snapshot from Instant Snapshot.
44327
+ # Corresponds to the JSON property `sourceInstantSnapshotEncryptionKey`
44328
+ # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
44329
+ attr_accessor :source_instant_snapshot_encryption_key
44330
+
44208
44331
  # [Output Only] The unique ID of the instant snapshot used to create this
44209
44332
  # snapshot. This value identifies the exact instant snapshot that was used to
44210
44333
  # create this persistent disk. For example, if you created the persistent disk
@@ -44293,6 +44416,7 @@ module Google
44293
44416
  @source_disk_for_recovery_checkpoint = args[:source_disk_for_recovery_checkpoint] if args.key?(:source_disk_for_recovery_checkpoint)
44294
44417
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
44295
44418
  @source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
44419
+ @source_instant_snapshot_encryption_key = args[:source_instant_snapshot_encryption_key] if args.key?(:source_instant_snapshot_encryption_key)
44296
44420
  @source_instant_snapshot_id = args[:source_instant_snapshot_id] if args.key?(:source_instant_snapshot_id)
44297
44421
  @source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
44298
44422
  @source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
@@ -45887,6 +46011,12 @@ module Google
45887
46011
  # @return [Fixnum]
45888
46012
  attr_accessor :provisioned_iops
45889
46013
 
46014
+ # Provisioned throughput of the storage pool. Only relevant if the storage pool
46015
+ # type is hyperdisk-balanced or hyperdisk-throughput.
46016
+ # Corresponds to the JSON property `provisionedThroughput`
46017
+ # @return [Fixnum]
46018
+ attr_accessor :provisioned_throughput
46019
+
45890
46020
  # [Output Only] Contains output only fields.
45891
46021
  # Corresponds to the JSON property `resourceStatus`
45892
46022
  # @return [Google::Apis::ComputeAlpha::StoragePoolResourceStatus]
@@ -45914,6 +46044,16 @@ module Google
45914
46044
  # @return [String]
45915
46045
  attr_accessor :state
45916
46046
 
46047
+ # [Output Only] Contains output only fields.
46048
+ # Corresponds to the JSON property `status`
46049
+ # @return [Google::Apis::ComputeAlpha::StoragePoolResourceStatus]
46050
+ attr_accessor :status
46051
+
46052
+ # Type of the storage pool.
46053
+ # Corresponds to the JSON property `storagePoolType`
46054
+ # @return [String]
46055
+ attr_accessor :storage_pool_type
46056
+
45917
46057
  # Type of the storage pool
45918
46058
  # Corresponds to the JSON property `type`
45919
46059
  # @return [String]
@@ -45940,11 +46080,14 @@ module Google
45940
46080
  @labels = args[:labels] if args.key?(:labels)
45941
46081
  @name = args[:name] if args.key?(:name)
45942
46082
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
46083
+ @provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
45943
46084
  @resource_status = args[:resource_status] if args.key?(:resource_status)
45944
46085
  @self_link = args[:self_link] if args.key?(:self_link)
45945
46086
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
45946
46087
  @size_gb = args[:size_gb] if args.key?(:size_gb)
45947
46088
  @state = args[:state] if args.key?(:state)
46089
+ @status = args[:status] if args.key?(:status)
46090
+ @storage_pool_type = args[:storage_pool_type] if args.key?(:storage_pool_type)
45948
46091
  @type = args[:type] if args.key?(:type)
45949
46092
  @zone = args[:zone] if args.key?(:zone)
45950
46093
  end
@@ -46080,6 +46223,86 @@ module Google
46080
46223
  end
46081
46224
  end
46082
46225
 
46226
+ #
46227
+ class StoragePoolDisk
46228
+ include Google::Apis::Core::Hashable
46229
+
46230
+ # [Output Only] Instances this disk is attached to.
46231
+ # Corresponds to the JSON property `attachedInstances`
46232
+ # @return [Array<String>]
46233
+ attr_accessor :attached_instances
46234
+
46235
+ # [Output Only] Creation timestamp in RFC3339 text format.
46236
+ # Corresponds to the JSON property `creationTimestamp`
46237
+ # @return [String]
46238
+ attr_accessor :creation_timestamp
46239
+
46240
+ # [Output Only] The URL of the disk.
46241
+ # Corresponds to the JSON property `disk`
46242
+ # @return [String]
46243
+ attr_accessor :disk
46244
+
46245
+ # [Output Only] The name of the disk.
46246
+ # Corresponds to the JSON property `name`
46247
+ # @return [String]
46248
+ attr_accessor :name
46249
+
46250
+ # [Output Only] The number of IOPS provisioned for the disk.
46251
+ # Corresponds to the JSON property `provisionedIops`
46252
+ # @return [Fixnum]
46253
+ attr_accessor :provisioned_iops
46254
+
46255
+ # [Output Only] The throughput provisioned for the disk.
46256
+ # Corresponds to the JSON property `provisionedThroughput`
46257
+ # @return [Fixnum]
46258
+ attr_accessor :provisioned_throughput
46259
+
46260
+ # [Output Only] Resource policies applied to disk for automatic snapshot
46261
+ # creations.
46262
+ # Corresponds to the JSON property `resourcePolicies`
46263
+ # @return [Array<String>]
46264
+ attr_accessor :resource_policies
46265
+
46266
+ # [Output Only] The disk size, in GB.
46267
+ # Corresponds to the JSON property `sizeGb`
46268
+ # @return [Fixnum]
46269
+ attr_accessor :size_gb
46270
+
46271
+ # [Output Only] The disk status.
46272
+ # Corresponds to the JSON property `status`
46273
+ # @return [String]
46274
+ attr_accessor :status
46275
+
46276
+ # [Output Only] The disk type.
46277
+ # Corresponds to the JSON property `type`
46278
+ # @return [String]
46279
+ attr_accessor :type
46280
+
46281
+ # [Output Only] Amount of disk space used.
46282
+ # Corresponds to the JSON property `usedBytes`
46283
+ # @return [Fixnum]
46284
+ attr_accessor :used_bytes
46285
+
46286
+ def initialize(**args)
46287
+ update!(**args)
46288
+ end
46289
+
46290
+ # Update properties of this object
46291
+ def update!(**args)
46292
+ @attached_instances = args[:attached_instances] if args.key?(:attached_instances)
46293
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
46294
+ @disk = args[:disk] if args.key?(:disk)
46295
+ @name = args[:name] if args.key?(:name)
46296
+ @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
46297
+ @provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
46298
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
46299
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
46300
+ @status = args[:status] if args.key?(:status)
46301
+ @type = args[:type] if args.key?(:type)
46302
+ @used_bytes = args[:used_bytes] if args.key?(:used_bytes)
46303
+ end
46304
+ end
46305
+
46083
46306
  # A list of StoragePool resources.
46084
46307
  class StoragePoolList
46085
46308
  include Google::Apis::Core::Hashable
@@ -46211,6 +46434,137 @@ module Google
46211
46434
  end
46212
46435
  end
46213
46436
 
46437
+ #
46438
+ class StoragePoolListDisks
46439
+ include Google::Apis::Core::Hashable
46440
+
46441
+ #
46442
+ # Corresponds to the JSON property `etag`
46443
+ # @return [String]
46444
+ attr_accessor :etag
46445
+
46446
+ # [Output Only] Unique identifier for the resource; defined by the server.
46447
+ # Corresponds to the JSON property `id`
46448
+ # @return [String]
46449
+ attr_accessor :id
46450
+
46451
+ # A list of StoragePoolDisk resources.
46452
+ # Corresponds to the JSON property `items`
46453
+ # @return [Array<Google::Apis::ComputeAlpha::StoragePoolDisk>]
46454
+ attr_accessor :items
46455
+
46456
+ # [Output Only] Type of resource. Always compute#storagePoolListDisks for lists
46457
+ # of disks in a storagePool.
46458
+ # Corresponds to the JSON property `kind`
46459
+ # @return [String]
46460
+ attr_accessor :kind
46461
+
46462
+ # [Output Only] This token allows you to get the next page of results for list
46463
+ # requests. If the number of results is larger than maxResults, use the
46464
+ # nextPageToken as a value for the query parameter pageToken in the next list
46465
+ # request. Subsequent list requests will have their own nextPageToken to
46466
+ # continue paging through the results.
46467
+ # Corresponds to the JSON property `nextPageToken`
46468
+ # @return [String]
46469
+ attr_accessor :next_page_token
46470
+
46471
+ # [Output Only] Server-defined URL for this resource.
46472
+ # Corresponds to the JSON property `selfLink`
46473
+ # @return [String]
46474
+ attr_accessor :self_link
46475
+
46476
+ # [Output Only] Unreachable resources. end_interface:
46477
+ # MixerListResponseWithEtagBuilder
46478
+ # Corresponds to the JSON property `unreachables`
46479
+ # @return [Array<String>]
46480
+ attr_accessor :unreachables
46481
+
46482
+ # [Output Only] Informational warning message.
46483
+ # Corresponds to the JSON property `warning`
46484
+ # @return [Google::Apis::ComputeAlpha::StoragePoolListDisks::Warning]
46485
+ attr_accessor :warning
46486
+
46487
+ def initialize(**args)
46488
+ update!(**args)
46489
+ end
46490
+
46491
+ # Update properties of this object
46492
+ def update!(**args)
46493
+ @etag = args[:etag] if args.key?(:etag)
46494
+ @id = args[:id] if args.key?(:id)
46495
+ @items = args[:items] if args.key?(:items)
46496
+ @kind = args[:kind] if args.key?(:kind)
46497
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
46498
+ @self_link = args[:self_link] if args.key?(:self_link)
46499
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
46500
+ @warning = args[:warning] if args.key?(:warning)
46501
+ end
46502
+
46503
+ # [Output Only] Informational warning message.
46504
+ class Warning
46505
+ include Google::Apis::Core::Hashable
46506
+
46507
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
46508
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
46509
+ # Corresponds to the JSON property `code`
46510
+ # @return [String]
46511
+ attr_accessor :code
46512
+
46513
+ # [Output Only] Metadata about this warning in key: value format. For example: "
46514
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
46515
+ # Corresponds to the JSON property `data`
46516
+ # @return [Array<Google::Apis::ComputeAlpha::StoragePoolListDisks::Warning::Datum>]
46517
+ attr_accessor :data
46518
+
46519
+ # [Output Only] A human-readable description of the warning code.
46520
+ # Corresponds to the JSON property `message`
46521
+ # @return [String]
46522
+ attr_accessor :message
46523
+
46524
+ def initialize(**args)
46525
+ update!(**args)
46526
+ end
46527
+
46528
+ # Update properties of this object
46529
+ def update!(**args)
46530
+ @code = args[:code] if args.key?(:code)
46531
+ @data = args[:data] if args.key?(:data)
46532
+ @message = args[:message] if args.key?(:message)
46533
+ end
46534
+
46535
+ #
46536
+ class Datum
46537
+ include Google::Apis::Core::Hashable
46538
+
46539
+ # [Output Only] A key that provides more detail on the warning being returned.
46540
+ # For example, for warnings where there are no results in a list request for a
46541
+ # particular zone, this key might be scope and the key value might be the zone
46542
+ # name. Other examples might be a key indicating a deprecated resource and a
46543
+ # suggested replacement, or a warning about invalid network settings (for
46544
+ # example, if an instance attempts to perform IP forwarding but is not enabled
46545
+ # for IP forwarding).
46546
+ # Corresponds to the JSON property `key`
46547
+ # @return [String]
46548
+ attr_accessor :key
46549
+
46550
+ # [Output Only] A warning data value corresponding to the key.
46551
+ # Corresponds to the JSON property `value`
46552
+ # @return [String]
46553
+ attr_accessor :value
46554
+
46555
+ def initialize(**args)
46556
+ update!(**args)
46557
+ end
46558
+
46559
+ # Update properties of this object
46560
+ def update!(**args)
46561
+ @key = args[:key] if args.key?(:key)
46562
+ @value = args[:value] if args.key?(:value)
46563
+ end
46564
+ end
46565
+ end
46566
+ end
46567
+
46214
46568
  # [Output Only] Contains output only fields.
46215
46569
  class StoragePoolResourceStatus
46216
46570
  include Google::Apis::Core::Hashable
@@ -46360,6 +46714,26 @@ module Google
46360
46714
  end
46361
46715
  end
46362
46716
 
46717
+ #
46718
+ class StructuredEntries
46719
+ include Google::Apis::Core::Hashable
46720
+
46721
+ # Map of a partner metadata that belong to the same subdomain. It accepts any
46722
+ # value including google.protobuf.Struct.
46723
+ # Corresponds to the JSON property `entries`
46724
+ # @return [Hash<String,Object>]
46725
+ attr_accessor :entries
46726
+
46727
+ def initialize(**args)
46728
+ update!(**args)
46729
+ end
46730
+
46731
+ # Update properties of this object
46732
+ def update!(**args)
46733
+ @entries = args[:entries] if args.key?(:entries)
46734
+ end
46735
+ end
46736
+
46363
46737
  # Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
46364
46738
  # logical partition of a Virtual Private Cloud network with one primary IP range
46365
46739
  # and zero or more secondary IP ranges. For more information, read Virtual
@@ -51139,8 +51513,7 @@ module Google
51139
51513
  class UpcomingMaintenance
51140
51514
  include Google::Apis::Core::Hashable
51141
51515
 
51142
- # Indicates if the maintenance can be customer triggered. From more detail, see
51143
- # go/sf-ctm-design.
51516
+ # Indicates if the maintenance can be customer triggered.
51144
51517
  # Corresponds to the JSON property `canReschedule`
51145
51518
  # @return [Boolean]
51146
51519
  attr_accessor :can_reschedule