google-apis-compute_alpha 0.24.0 → 0.25.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.
@@ -1692,11 +1692,6 @@ module Google
1692
1692
  # @return [Array<Google::Apis::ComputeAlpha::AuditLogConfig>]
1693
1693
  attr_accessor :audit_log_configs
1694
1694
 
1695
- # This is deprecated and has no effect. Do not use.
1696
- # Corresponds to the JSON property `exemptedMembers`
1697
- # @return [Array<String>]
1698
- attr_accessor :exempted_members
1699
-
1700
1695
  # Specifies a service that will be enabled for audit logging. For example, `
1701
1696
  # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
1702
1697
  # value that covers all services.
@@ -1711,7 +1706,6 @@ module Google
1711
1706
  # Update properties of this object
1712
1707
  def update!(**args)
1713
1708
  @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
1714
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
1715
1709
  @service = args[:service] if args.key?(:service)
1716
1710
  end
1717
1711
  end
@@ -3598,9 +3592,13 @@ module Google
3598
3592
  # @return [Google::Apis::ComputeAlpha::Subsetting]
3599
3593
  attr_accessor :subsetting
3600
3594
 
3601
- # Not supported when the backend service is referenced by a URL map that is
3602
- # bound to target gRPC proxy that has validateForProxyless field set to true.
3603
- # Instead, use maxStreamDuration.
3595
+ # The backend service timeout has a different meaning depending on the type of
3596
+ # load balancer. For more information see, Backend service settings The default
3597
+ # is 30 seconds. The full range of timeout values allowed is 1 - 2,147,483,647
3598
+ # seconds. This value can be overridden in the PathMatcher configuration of the
3599
+ # UrlMap that references this backend service. Not supported when the backend
3600
+ # service is referenced by a URL map that is bound to target gRPC proxy that has
3601
+ # validateForProxyless field set to true. Instead, use maxStreamDuration.
3604
3602
  # Corresponds to the JSON property `timeoutSec`
3605
3603
  # @return [Fixnum]
3606
3604
  attr_accessor :timeout_sec
@@ -5106,14 +5104,18 @@ module Google
5106
5104
  # @return [Google::Apis::ComputeAlpha::Duration]
5107
5105
  attr_accessor :connect_timeout
5108
5106
 
5109
- # Not supported when the backend service is referenced by a URL map that is
5110
- # bound to target gRPC proxy that has validateForProxyless field set to true.
5107
+ # The maximum number of connections to the backend service. If not specified,
5108
+ # there is no limit. Not supported when the backend service is referenced by a
5109
+ # URL map that is bound to target gRPC proxy that has validateForProxyless field
5110
+ # set to true.
5111
5111
  # Corresponds to the JSON property `maxConnections`
5112
5112
  # @return [Fixnum]
5113
5113
  attr_accessor :max_connections
5114
5114
 
5115
- # Not supported when the backend service is referenced by a URL map that is
5116
- # bound to target gRPC proxy that has validateForProxyless field set to true.
5115
+ # The maximum number of pending requests allowed to the backend service. If not
5116
+ # specified, there is no limit. Not supported when the backend service is
5117
+ # referenced by a URL map that is bound to target gRPC proxy that has
5118
+ # validateForProxyless field set to true.
5117
5119
  # Corresponds to the JSON property `maxPendingRequests`
5118
5120
  # @return [Fixnum]
5119
5121
  attr_accessor :max_pending_requests
@@ -5124,14 +5126,20 @@ module Google
5124
5126
  # @return [Fixnum]
5125
5127
  attr_accessor :max_requests
5126
5128
 
5127
- # Not supported when the backend service is referenced by a URL map that is
5128
- # bound to target gRPC proxy that has validateForProxyless field set to true.
5129
+ # Maximum requests for a single connection to the backend service. This
5130
+ # parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not
5131
+ # specified, there is no limit. Setting this parameter to 1 will effectively
5132
+ # disable keep alive. Not supported when the backend service is referenced by a
5133
+ # URL map that is bound to target gRPC proxy that has validateForProxyless field
5134
+ # set to true.
5129
5135
  # Corresponds to the JSON property `maxRequestsPerConnection`
5130
5136
  # @return [Fixnum]
5131
5137
  attr_accessor :max_requests_per_connection
5132
5138
 
5133
- # Not supported when the backend service is referenced by a URL map that is
5134
- # bound to target gRPC proxy that has validateForProxyless field set to true.
5139
+ # The maximum number of parallel retries allowed to the backend cluster. If not
5140
+ # specified, the default is 1. Not supported when the backend service is
5141
+ # referenced by a URL map that is bound to target gRPC proxy that has
5142
+ # validateForProxyless field set to true.
5135
5143
  # Corresponds to the JSON property `maxRetries`
5136
5144
  # @return [Fixnum]
5137
5145
  attr_accessor :max_retries
@@ -6095,6 +6103,16 @@ module Google
6095
6103
  # @return [String]
6096
6104
  attr_accessor :architecture
6097
6105
 
6106
+ # Disk asynchronously replicated into this disk.
6107
+ # Corresponds to the JSON property `asyncPrimaryDisk`
6108
+ # @return [Google::Apis::ComputeAlpha::DiskAsyncReplication]
6109
+ attr_accessor :async_primary_disk
6110
+
6111
+ # [Output Only] A list of disks this disk is asynchronously replicated to.
6112
+ # Corresponds to the JSON property `asyncSecondaryDisks`
6113
+ # @return [Hash<String,Google::Apis::ComputeAlpha::DiskAsyncReplicationList>]
6114
+ attr_accessor :async_secondary_disks
6115
+
6098
6116
  # [Output Only] Creation timestamp in RFC3339 text format.
6099
6117
  # Corresponds to the JSON property `creationTimestamp`
6100
6118
  # @return [String]
@@ -6270,6 +6288,11 @@ module Google
6270
6288
  # @return [Array<String>]
6271
6289
  attr_accessor :resource_policies
6272
6290
 
6291
+ # [Output Only] Status information for the disk resource.
6292
+ # Corresponds to the JSON property `resourceStatus`
6293
+ # @return [Google::Apis::ComputeAlpha::DiskResourceStatus]
6294
+ attr_accessor :resource_status
6295
+
6273
6296
  # [Output Only] Reserved for future use.
6274
6297
  # Corresponds to the JSON property `satisfiesPzs`
6275
6298
  # @return [Boolean]
@@ -6295,6 +6318,18 @@ module Google
6295
6318
  # @return [Fixnum]
6296
6319
  attr_accessor :size_gb
6297
6320
 
6321
+ # [Output Only] URL of the DiskConsistencyGroupPolicy for a secondary disk that
6322
+ # was created using a consistency group.
6323
+ # Corresponds to the JSON property `sourceConsistencyGroupPolicy`
6324
+ # @return [String]
6325
+ attr_accessor :source_consistency_group_policy
6326
+
6327
+ # [Output Only] ID of the DiskConsistencyGroupPolicy for a secondary disk that
6328
+ # was created using a consistency group.
6329
+ # Corresponds to the JSON property `sourceConsistencyGroupPolicyId`
6330
+ # @return [String]
6331
+ attr_accessor :source_consistency_group_policy_id
6332
+
6298
6333
  # The source disk used to create this disk. You can provide this as a partial or
6299
6334
  # full URL to the resource. For example, the following are valid values: - https:
6300
6335
  # //www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk -
@@ -6445,6 +6480,8 @@ module Google
6445
6480
  # Update properties of this object
6446
6481
  def update!(**args)
6447
6482
  @architecture = args[:architecture] if args.key?(:architecture)
6483
+ @async_primary_disk = args[:async_primary_disk] if args.key?(:async_primary_disk)
6484
+ @async_secondary_disks = args[:async_secondary_disks] if args.key?(:async_secondary_disks)
6448
6485
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6449
6486
  @description = args[:description] if args.key?(:description)
6450
6487
  @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
@@ -6469,10 +6506,13 @@ module Google
6469
6506
  @region = args[:region] if args.key?(:region)
6470
6507
  @replica_zones = args[:replica_zones] if args.key?(:replica_zones)
6471
6508
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
6509
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
6472
6510
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
6473
6511
  @self_link = args[:self_link] if args.key?(:self_link)
6474
6512
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
6475
6513
  @size_gb = args[:size_gb] if args.key?(:size_gb)
6514
+ @source_consistency_group_policy = args[:source_consistency_group_policy] if args.key?(:source_consistency_group_policy)
6515
+ @source_consistency_group_policy_id = args[:source_consistency_group_policy_id] if args.key?(:source_consistency_group_policy_id)
6476
6516
  @source_disk = args[:source_disk] if args.key?(:source_disk)
6477
6517
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
6478
6518
  @source_image = args[:source_image] if args.key?(:source_image)
@@ -6617,6 +6657,59 @@ module Google
6617
6657
  end
6618
6658
  end
6619
6659
 
6660
+ #
6661
+ class DiskAsyncReplication
6662
+ include Google::Apis::Core::Hashable
6663
+
6664
+ # The other disk asynchronously replicated to or from the current disk. You can
6665
+ # provide this as a partial or full URL to the resource. For example, the
6666
+ # following are valid values: - https://www.googleapis.com/compute/v1/projects/
6667
+ # project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk -
6668
+ # zones/zone/disks/disk
6669
+ # Corresponds to the JSON property `disk`
6670
+ # @return [String]
6671
+ attr_accessor :disk
6672
+
6673
+ # [Output Only] The unique ID of the other disk asynchronously replicated to or
6674
+ # from the current disk. This value identifies the exact disk that was used to
6675
+ # create this replication. For example, if you started replicating the
6676
+ # persistent disk from a disk that was later deleted and recreated under the
6677
+ # same name, the disk ID would identify the exact version of the disk that was
6678
+ # used.
6679
+ # Corresponds to the JSON property `diskId`
6680
+ # @return [String]
6681
+ attr_accessor :disk_id
6682
+
6683
+ def initialize(**args)
6684
+ update!(**args)
6685
+ end
6686
+
6687
+ # Update properties of this object
6688
+ def update!(**args)
6689
+ @disk = args[:disk] if args.key?(:disk)
6690
+ @disk_id = args[:disk_id] if args.key?(:disk_id)
6691
+ end
6692
+ end
6693
+
6694
+ #
6695
+ class DiskAsyncReplicationList
6696
+ include Google::Apis::Core::Hashable
6697
+
6698
+ #
6699
+ # Corresponds to the JSON property `asyncReplicationDisk`
6700
+ # @return [Google::Apis::ComputeAlpha::DiskAsyncReplication]
6701
+ attr_accessor :async_replication_disk
6702
+
6703
+ def initialize(**args)
6704
+ update!(**args)
6705
+ end
6706
+
6707
+ # Update properties of this object
6708
+ def update!(**args)
6709
+ @async_replication_disk = args[:async_replication_disk] if args.key?(:async_replication_disk)
6710
+ end
6711
+ end
6712
+
6620
6713
  # A specification of the desired way to instantiate a disk in the instance
6621
6714
  # template when its created from a source instance.
6622
6715
  class DiskInstantiationConfig
@@ -6815,6 +6908,50 @@ module Google
6815
6908
  end
6816
6909
  end
6817
6910
 
6911
+ #
6912
+ class DiskResourceStatus
6913
+ include Google::Apis::Core::Hashable
6914
+
6915
+ #
6916
+ # Corresponds to the JSON property `asyncPrimaryDisk`
6917
+ # @return [Google::Apis::ComputeAlpha::DiskResourceStatusAsyncReplicationStatus]
6918
+ attr_accessor :async_primary_disk
6919
+
6920
+ # Key: disk, value: AsyncReplicationStatus message
6921
+ # Corresponds to the JSON property `asyncSecondaryDisks`
6922
+ # @return [Hash<String,Google::Apis::ComputeAlpha::DiskResourceStatusAsyncReplicationStatus>]
6923
+ attr_accessor :async_secondary_disks
6924
+
6925
+ def initialize(**args)
6926
+ update!(**args)
6927
+ end
6928
+
6929
+ # Update properties of this object
6930
+ def update!(**args)
6931
+ @async_primary_disk = args[:async_primary_disk] if args.key?(:async_primary_disk)
6932
+ @async_secondary_disks = args[:async_secondary_disks] if args.key?(:async_secondary_disks)
6933
+ end
6934
+ end
6935
+
6936
+ #
6937
+ class DiskResourceStatusAsyncReplicationStatus
6938
+ include Google::Apis::Core::Hashable
6939
+
6940
+ #
6941
+ # Corresponds to the JSON property `state`
6942
+ # @return [String]
6943
+ attr_accessor :state
6944
+
6945
+ def initialize(**args)
6946
+ update!(**args)
6947
+ end
6948
+
6949
+ # Update properties of this object
6950
+ def update!(**args)
6951
+ @state = args[:state] if args.key?(:state)
6952
+ end
6953
+ end
6954
+
6818
6955
  # Represents a Disk Type resource. Google Compute Engine has two Disk Type
6819
6956
  # resources: * [Regional](/compute/docs/reference/rest/alpha/regionDiskTypes) * [
6820
6957
  # Zonal](/compute/docs/reference/rest/alpha/diskTypes) You can choose from a
@@ -7393,6 +7530,79 @@ module Google
7393
7530
  end
7394
7531
  end
7395
7532
 
7533
+ #
7534
+ class DisksStartAsyncReplicationRequest
7535
+ include Google::Apis::Core::Hashable
7536
+
7537
+ # The secondary disk to start asynchronous replication to. You can provide this
7538
+ # as a partial or full URL to the resource. For example, the following are valid
7539
+ # values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
7540
+ # disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/
7541
+ # region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/
7542
+ # regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
7543
+ # Corresponds to the JSON property `asyncSecondaryDisk`
7544
+ # @return [String]
7545
+ attr_accessor :async_secondary_disk
7546
+
7547
+ def initialize(**args)
7548
+ update!(**args)
7549
+ end
7550
+
7551
+ # Update properties of this object
7552
+ def update!(**args)
7553
+ @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
7554
+ end
7555
+ end
7556
+
7557
+ #
7558
+ class DisksStopAsyncReplicationRequest
7559
+ include Google::Apis::Core::Hashable
7560
+
7561
+ # The secondary disk to stop asynchronous replication to. Supplied if and only
7562
+ # if the target disk is a primary disk in an asynchronously replicated pair. You
7563
+ # can provide this as a partial or full URL to the resource. For example, the
7564
+ # following are valid values: - https://www.googleapis.com/compute/v1/projects/
7565
+ # project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/
7566
+ # projects/project/regions/region /disks/disk - projects/project/zones/zone/
7567
+ # disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/
7568
+ # disk - regions/region/disks/disk
7569
+ # Corresponds to the JSON property `asyncSecondaryDisk`
7570
+ # @return [String]
7571
+ attr_accessor :async_secondary_disk
7572
+
7573
+ def initialize(**args)
7574
+ update!(**args)
7575
+ end
7576
+
7577
+ # Update properties of this object
7578
+ def update!(**args)
7579
+ @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
7580
+ end
7581
+ end
7582
+
7583
+ #
7584
+ class DisksStopGroupAsyncReplicationRequest
7585
+ include Google::Apis::Core::Hashable
7586
+
7587
+ # The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This
7588
+ # may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/
7589
+ # projects/project/regions/region /resourcePolicies/resourcePolicy - projects/
7590
+ # project/regions/region/resourcePolicies/resourcePolicy - regions/region/
7591
+ # resourcePolicies/resourcePolicy
7592
+ # Corresponds to the JSON property `resourcePolicy`
7593
+ # @return [String]
7594
+ attr_accessor :resource_policy
7595
+
7596
+ def initialize(**args)
7597
+ update!(**args)
7598
+ end
7599
+
7600
+ # Update properties of this object
7601
+ def update!(**args)
7602
+ @resource_policy = args[:resource_policy] if args.key?(:resource_policy)
7603
+ end
7604
+ end
7605
+
7396
7606
  # A set of Display Device options
7397
7607
  class DisplayDevice
7398
7608
  include Google::Apis::Core::Hashable
@@ -8795,6 +9005,12 @@ module Google
8795
9005
  # @return [Fixnum]
8796
9006
  attr_accessor :priority
8797
9007
 
9008
+ # An optional name for the rule. This field is not a unique identifier and can
9009
+ # be updated.
9010
+ # Corresponds to the JSON property `ruleName`
9011
+ # @return [String]
9012
+ attr_accessor :rule_name
9013
+
8798
9014
  # [Output Only] Calculation of the complexity of a single firewall policy rule.
8799
9015
  # Corresponds to the JSON property `ruleTupleCount`
8800
9016
  # @return [Fixnum]
@@ -8839,6 +9055,7 @@ module Google
8839
9055
  @kind = args[:kind] if args.key?(:kind)
8840
9056
  @match = args[:match] if args.key?(:match)
8841
9057
  @priority = args[:priority] if args.key?(:priority)
9058
+ @rule_name = args[:rule_name] if args.key?(:rule_name)
8842
9059
  @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
8843
9060
  @target_resources = args[:target_resources] if args.key?(:target_resources)
8844
9061
  @target_secure_tags = args[:target_secure_tags] if args.key?(:target_secure_tags)
@@ -10720,8 +10937,8 @@ module Google
10720
10937
  # The ID of a supported feature. To add multiple values, use commas to separate
10721
10938
  # values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
10722
10939
  # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC -
10723
- # SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE For more information, see Enabling
10724
- # guest operating system features.
10940
+ # SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information,
10941
+ # see Enabling guest operating system features.
10725
10942
  # Corresponds to the JSON property `type`
10726
10943
  # @return [String]
10727
10944
  attr_accessor :type
@@ -14536,8 +14753,8 @@ module Google
14536
14753
  # Assigns a name to a port number. For example: `name: "http", port: 80` This
14537
14754
  # allows the system to reference ports by the assigned name instead of a port
14538
14755
  # number. Named ports can also contain multiple ports. For example: [`name: "
14539
- # http", port: 80`,`name: "http", port: 8080`] Named ports apply to all
14540
- # instances in this instance group.
14756
+ # app1", port: 8080`, `name: "app1", port: 8081`, `name: "app2", port: 8082`]
14757
+ # Named ports apply to all instances in this instance group.
14541
14758
  # Corresponds to the JSON property `namedPorts`
14542
14759
  # @return [Array<Google::Apis::ComputeAlpha::NamedPort>]
14543
14760
  attr_accessor :named_ports
@@ -14948,6 +15165,12 @@ module Google
14948
15165
  # @return [String]
14949
15166
  attr_accessor :kind
14950
15167
 
15168
+ # Pagination behavior of listManagedInstances API method for this Managed
15169
+ # Instance Group.
15170
+ # Corresponds to the JSON property `listManagedInstancesResults`
15171
+ # @return [String]
15172
+ attr_accessor :list_managed_instances_results
15173
+
14951
15174
  # The name of the managed instance group. The name must be 1-63 characters long,
14952
15175
  # and comply with RFC1035.
14953
15176
  # Corresponds to the JSON property `name`
@@ -15072,6 +15295,7 @@ module Google
15072
15295
  @instance_lifecycle_policy = args[:instance_lifecycle_policy] if args.key?(:instance_lifecycle_policy)
15073
15296
  @instance_template = args[:instance_template] if args.key?(:instance_template)
15074
15297
  @kind = args[:kind] if args.key?(:kind)
15298
+ @list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
15075
15299
  @name = args[:name] if args.key?(:name)
15076
15300
  @named_ports = args[:named_ports] if args.key?(:named_ports)
15077
15301
  @region = args[:region] if args.key?(:region)
@@ -17803,7 +18027,8 @@ module Google
17803
18027
  # @return [String]
17804
18028
  attr_accessor :short_name
17805
18029
 
17806
- # [Output Only] The type of the firewall policy.
18030
+ # [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
18031
+ # NETWORK, NETWORK_REGIONAL.
17807
18032
  # Corresponds to the JSON property `type`
17808
18033
  # @return [String]
17809
18034
  attr_accessor :type
@@ -19101,10 +19326,9 @@ module Google
19101
19326
  # @return [String]
19102
19327
  attr_accessor :customer_router_ipv6_interface_id
19103
19328
 
19104
- # [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.
19105
- # ] Dataplane version for this InterconnectAttachment. This field is only
19106
- # present for Dataplane version 2 and higher. Absence of this field in the API
19107
- # output indicates that the Dataplane is version 1.
19329
+ # [Output Only] Dataplane version for this InterconnectAttachment. This field is
19330
+ # only present for Dataplane version 2 and higher. Absence of this field in the
19331
+ # API output indicates that the Dataplane is version 1.
19108
19332
  # Corresponds to the JSON property `dataplaneVersion`
19109
19333
  # @return [Fixnum]
19110
19334
  attr_accessor :dataplane_version
@@ -21490,6 +21714,11 @@ module Google
21490
21714
  class LocationPolicyLocation
21491
21715
  include Google::Apis::Core::Hashable
21492
21716
 
21717
+ # Per-zone constraints on location policy for this zone.
21718
+ # Corresponds to the JSON property `constraints`
21719
+ # @return [Google::Apis::ComputeAlpha::LocationPolicyLocationConstraints]
21720
+ attr_accessor :constraints
21721
+
21493
21722
  # Preference for a given location.
21494
21723
  # Corresponds to the JSON property `preference`
21495
21724
  # @return [String]
@@ -21501,10 +21730,31 @@ module Google
21501
21730
 
21502
21731
  # Update properties of this object
21503
21732
  def update!(**args)
21733
+ @constraints = args[:constraints] if args.key?(:constraints)
21504
21734
  @preference = args[:preference] if args.key?(:preference)
21505
21735
  end
21506
21736
  end
21507
21737
 
21738
+ # Per-zone constraints on location policy for this zone.
21739
+ class LocationPolicyLocationConstraints
21740
+ include Google::Apis::Core::Hashable
21741
+
21742
+ # Maximum number of items that are allowed to be placed in this zone. The value
21743
+ # must be non-negative.
21744
+ # Corresponds to the JSON property `maxCount`
21745
+ # @return [Fixnum]
21746
+ attr_accessor :max_count
21747
+
21748
+ def initialize(**args)
21749
+ update!(**args)
21750
+ end
21751
+
21752
+ # Update properties of this object
21753
+ def update!(**args)
21754
+ @max_count = args[:max_count] if args.key?(:max_count)
21755
+ end
21756
+ end
21757
+
21508
21758
  # This is deprecated and has no effect. Do not use.
21509
21759
  class LogConfig
21510
21760
  include Google::Apis::Core::Hashable
@@ -22950,7 +23200,9 @@ module Google
22950
23200
  # @return [String]
22951
23201
  attr_accessor :name
22952
23202
 
22953
- #
23203
+ # The network firewall policy enforcement order. Can be either
23204
+ # AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to
23205
+ # AFTER_CLASSIC_FIREWALL if the field is not specified.
22954
23206
  # Corresponds to the JSON property `networkFirewallPolicyEnforcementOrder`
22955
23207
  # @return [String]
22956
23208
  attr_accessor :network_firewall_policy_enforcement_order
@@ -23467,8 +23719,8 @@ module Google
23467
23719
  attr_accessor :network
23468
23720
 
23469
23721
  # Type of network endpoints in this network endpoint group. Can be one of
23470
- # GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT,
23471
- # SERVERLESS, PRIVATE_SERVICE_CONNECT.
23722
+ # GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,
23723
+ # INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
23472
23724
  # Corresponds to the JSON property `networkEndpointType`
23473
23725
  # @return [String]
23474
23726
  attr_accessor :network_endpoint_type
@@ -23776,13 +24028,13 @@ module Google
23776
24028
  # @return [String]
23777
24029
  attr_accessor :tag
23778
24030
 
23779
- # A template to parse service and tag fields from a request URL. URL mask allows
23780
- # for routing to multiple Run services without having to create multiple network
23781
- # endpoint groups and backend services. For example, request URLs "foo1.domain.
23782
- # com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless
23783
- # Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will
23784
- # parse them to ` service="bar1", tag="foo1" ` and ` service="bar2", tag="foo2" `
23785
- # respectively.
24031
+ # A template to parse <service> and <tag> fields from a request URL. URL mask
24032
+ # allows for routing to multiple Run services without having to create multiple
24033
+ # network endpoint groups and backend services. For example, request URLs "foo1.
24034
+ # domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same
24035
+ # Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<
24036
+ # service>". The URL mask will parse them to ` service="bar1", tag="foo1" ` and `
24037
+ # service="bar2", tag="foo2" ` respectively.
23786
24038
  # Corresponds to the JSON property `urlMask`
23787
24039
  # @return [String]
23788
24040
  attr_accessor :url_mask
@@ -29638,6 +29890,16 @@ module Google
29638
29890
  # @return [String]
29639
29891
  attr_accessor :name
29640
29892
 
29893
+ # Specifies how child public delegated prefix will be scoped. It could be one of
29894
+ # following values: - `REGIONAL`: The public delegated prefix is regional only.
29895
+ # The provisioning will take a few minutes. - `GLOBAL`: The public delegated
29896
+ # prefix is global only. The provisioning will take ~4 weeks. - `
29897
+ # GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1
29898
+ # legacy prefix. This is output only value and no longer supported in BYOIP V2.
29899
+ # Corresponds to the JSON property `pdpScope`
29900
+ # @return [String]
29901
+ attr_accessor :pdp_scope
29902
+
29641
29903
  # [Output Only] The list of public delegated prefixes that exist for this public
29642
29904
  # advertised prefix.
29643
29905
  # Corresponds to the JSON property `publicDelegatedPrefixs`
@@ -29684,6 +29946,7 @@ module Google
29684
29946
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
29685
29947
  @kind = args[:kind] if args.key?(:kind)
29686
29948
  @name = args[:name] if args.key?(:name)
29949
+ @pdp_scope = args[:pdp_scope] if args.key?(:pdp_scope)
29687
29950
  @public_delegated_prefixs = args[:public_delegated_prefixs] if args.key?(:public_delegated_prefixs)
29688
29951
  @self_link = args[:self_link] if args.key?(:self_link)
29689
29952
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@@ -30884,6 +31147,79 @@ module Google
30884
31147
  end
30885
31148
  end
30886
31149
 
31150
+ #
31151
+ class RegionDisksStartAsyncReplicationRequest
31152
+ include Google::Apis::Core::Hashable
31153
+
31154
+ # The secondary disk to start asynchronous replication to. You can provide this
31155
+ # as a partial or full URL to the resource. For example, the following are valid
31156
+ # values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
31157
+ # disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/
31158
+ # region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/
31159
+ # regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
31160
+ # Corresponds to the JSON property `asyncSecondaryDisk`
31161
+ # @return [String]
31162
+ attr_accessor :async_secondary_disk
31163
+
31164
+ def initialize(**args)
31165
+ update!(**args)
31166
+ end
31167
+
31168
+ # Update properties of this object
31169
+ def update!(**args)
31170
+ @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
31171
+ end
31172
+ end
31173
+
31174
+ #
31175
+ class RegionDisksStopAsyncReplicationRequest
31176
+ include Google::Apis::Core::Hashable
31177
+
31178
+ # The secondary disk to stop asynchronous replication to. Supplied if and only
31179
+ # if the target disk is a primary disk in an asynchronously replicated pair. You
31180
+ # can provide this as a partial or full URL to the resource. For example, the
31181
+ # following are valid values: - https://www.googleapis.com/compute/v1/projects/
31182
+ # project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/
31183
+ # projects/project/regions/region /disks/disk - projects/project/zones/zone/
31184
+ # disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/
31185
+ # disk - regions/region/disks/disk
31186
+ # Corresponds to the JSON property `asyncSecondaryDisk`
31187
+ # @return [String]
31188
+ attr_accessor :async_secondary_disk
31189
+
31190
+ def initialize(**args)
31191
+ update!(**args)
31192
+ end
31193
+
31194
+ # Update properties of this object
31195
+ def update!(**args)
31196
+ @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
31197
+ end
31198
+ end
31199
+
31200
+ #
31201
+ class RegionDisksStopGroupAsyncReplicationRequest
31202
+ include Google::Apis::Core::Hashable
31203
+
31204
+ # The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This
31205
+ # may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/
31206
+ # projects/project/regions/region /resourcePolicies/resourcePolicy - projects/
31207
+ # project/regions/region/resourcePolicies/resourcePolicy - regions/region/
31208
+ # resourcePolicies/resourcePolicy
31209
+ # Corresponds to the JSON property `resourcePolicy`
31210
+ # @return [String]
31211
+ attr_accessor :resource_policy
31212
+
31213
+ def initialize(**args)
31214
+ update!(**args)
31215
+ end
31216
+
31217
+ # Update properties of this object
31218
+ def update!(**args)
31219
+ @resource_policy = args[:resource_policy] if args.key?(:resource_policy)
31220
+ end
31221
+ end
31222
+
30887
31223
  # Contains a list of InstanceGroup resources.
30888
31224
  class RegionInstanceGroupList
30889
31225
  include Google::Apis::Core::Hashable
@@ -32059,7 +32395,8 @@ module Google
32059
32395
  # @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRule>]
32060
32396
  attr_accessor :rules
32061
32397
 
32062
- # [Output Only] The type of the firewall policy.
32398
+ # [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
32399
+ # NETWORK, NETWORK_REGIONAL.
32063
32400
  # Corresponds to the JSON property `type`
32064
32401
  # @return [String]
32065
32402
  attr_accessor :type
@@ -33142,8 +33479,8 @@ module Google
33142
33479
  class ResourcePolicyDailyCycle
33143
33480
  include Google::Apis::Core::Hashable
33144
33481
 
33145
- # Defines a schedule with units measured in months. The value determines how
33146
- # many months pass between the start of each cycle.
33482
+ # Defines a schedule with units measured in days. The value determines how many
33483
+ # days pass between the start of each cycle.
33147
33484
  # Corresponds to the JSON property `daysInCycle`
33148
33485
  # @return [Fixnum]
33149
33486
  attr_accessor :days_in_cycle
@@ -35501,7 +35838,8 @@ module Google
35501
35838
  # @return [String]
35502
35839
  attr_accessor :router_appliance_instance
35503
35840
 
35504
- # BGP state as specified in RFC1771.
35841
+ # The state of the BGP session. For a list of possible values for this field,
35842
+ # see BGP session states.
35505
35843
  # Corresponds to the JSON property `state`
35506
35844
  # @return [String]
35507
35845
  attr_accessor :state
@@ -36758,10 +37096,10 @@ module Google
36758
37096
  # @return [String]
36759
37097
  attr_accessor :self_link_with_id
36760
37098
 
36761
- # The type indicates the intended use of the security policy. CLOUD_ARMOR -
37099
+ # The type indicates the intended use of the security policy. - CLOUD_ARMOR:
36762
37100
  # Cloud Armor backend security policies can be configured to filter incoming
36763
37101
  # HTTP requests targeting backend services. They filter requests before they hit
36764
- # the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can
37102
+ # the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can
36765
37103
  # be configured to filter incoming HTTP requests targeting backend services (
36766
37104
  # including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
36767
37105
  # filter requests before the request is served from Google's cache.
@@ -37490,10 +37828,11 @@ module Google
37490
37828
  # present in the request, the key type defaults to ALL. - XFF_IP: The first IP
37491
37829
  # address (i.e. the originating client IP address) specified in the list of IPs
37492
37830
  # under X-Forwarded-For HTTP header. If no such header is present or the value
37493
- # is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of
37494
- # the HTTP cookie whose name is configured under "enforce_on_key_name". The key
37495
- # value is truncated to the first 128 bytes of the cookie value. If no such
37496
- # cookie is present in the request, the key type defaults to ALL.
37831
+ # is not a valid IP, the key defaults to the source IP address of the request i.
37832
+ # e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is
37833
+ # configured under "enforce_on_key_name". The key value is truncated to the
37834
+ # first 128 bytes of the cookie value. If no such cookie is present in the
37835
+ # request, the key type defaults to ALL.
37497
37836
  # Corresponds to the JSON property `enforceOnKey`
37498
37837
  # @return [String]
37499
37838
  attr_accessor :enforce_on_key
@@ -37507,9 +37846,9 @@ module Google
37507
37846
 
37508
37847
  # Action to take for requests that are above the configured rate limit threshold,
37509
37848
  # to either deny with a specified HTTP response code, or redirect to a
37510
- # different endpoint. Valid options are "deny()" where valid values for status
37511
- # are 403, 404, 429, and 502, and "redirect" where the redirect parameters come
37512
- # from exceed_redirect_options below.
37849
+ # different endpoint. Valid options are "deny(status)", where valid values for
37850
+ # status are 403, 404, 429, and 502, and "redirect" where the redirect
37851
+ # parameters come from exceedRedirectOptions below.
37513
37852
  # Corresponds to the JSON property `exceedAction`
37514
37853
  # @return [String]
37515
37854
  attr_accessor :exceed_action
@@ -40542,6 +40881,13 @@ module Google
40542
40881
  # @return [Fixnum]
40543
40882
  attr_accessor :id
40544
40883
 
40884
+ # [Output Only] The range of internal IPv6 addresses that are owned by this
40885
+ # subnetwork. Note this is for general VM to VM communication, not to be
40886
+ # confused with the ipv6_cidr_range field.
40887
+ # Corresponds to the JSON property `internalIpv6Prefix`
40888
+ # @return [String]
40889
+ attr_accessor :internal_ipv6_prefix
40890
+
40545
40891
  # The range of internal addresses that are owned by this subnetwork. Provide
40546
40892
  # this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.
40547
40893
  # 64.0.0/10. Ranges must be unique and non-overlapping within a network. Only
@@ -40720,6 +41066,7 @@ module Google
40720
41066
  @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
40721
41067
  @gateway_address = args[:gateway_address] if args.key?(:gateway_address)
40722
41068
  @id = args[:id] if args.key?(:id)
41069
+ @internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
40723
41070
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
40724
41071
  @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
40725
41072
  @ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
@@ -41007,8 +41354,9 @@ module Google
41007
41354
  attr_accessor :enable
41008
41355
  alias_method :enable?, :enable
41009
41356
 
41010
- # Can only be specified if VPC flow logs for this subnetwork is enabled. Export
41011
- # filter used to define which VPC flow logs should be logged.
41357
+ # Can only be specified if VPC flow logs for this subnetwork is enabled. The
41358
+ # filter expression is used to define which VPC flow logs should be exported to
41359
+ # Cloud Logging.
41012
41360
  # Corresponds to the JSON property `filterExpr`
41013
41361
  # @return [String]
41014
41362
  attr_accessor :filter_expr