google-apis-compute_alpha 0.98.0 → 0.100.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f24cd0c05b39f06ca2d7f2374d041361471efab3ab1dc4b34a312c62289f549
4
- data.tar.gz: f9026f65062787de748c5d416650f639d9fa5241fb971d3af65b30d17f5efdea
3
+ metadata.gz: 7f5bc21525efea3314ce7920b39fa53d548ad16904802266970475a72902a3e5
4
+ data.tar.gz: d1bda9b9c5d885e4834dac09799af24cbc1bd8d1973b12e43b32ad3166f61e9e
5
5
  SHA512:
6
- metadata.gz: 621d53d69ffd60b35eab56d6202f64b6f6bee207a49ee8be4331e56e5b426699caa54434e60163bc6b3622803aaa4ef0f351c03db25219a82db248a54e5dafa4
7
- data.tar.gz: 6a8e29c63a477db80042cca300c3470c8a8df99b7130ee4fb883549ebed0e4c28885cb745df655a5cffa8946dd764c4665ed876f138d3caa1928305d52486493
6
+ metadata.gz: edf84f23a0b32028ac7408b2bfc1f028e8c5427fe131f6203be35f15132425dee6002cc918383be5413be6f57218d2dada85bb392bc074f2241b4850cdee96a3
7
+ data.tar.gz: 718623cfd5cf4934cd05cc3e72dc2c25ffc2cda788266996d8e60d11ffd3c3b789a7b85b6138c7831866620e68dbf7e9a41c3b3146c89189b6ee8ff8440f515e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.100.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240507
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.99.0 (2024-04-28)
9
+
10
+ * Regenerated from discovery document revision 20240421
11
+
3
12
  ### v0.98.0 (2024-04-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20240407
@@ -572,7 +572,7 @@ module Google
572
572
 
573
573
  # The DNS domain name for the public PTR record. You can set this field only if
574
574
  # the `setPublicPtr` field is enabled in accessConfig. If this field is
575
- # unspecified in ipv6AccessConfig, a default PTR record will be createc for
575
+ # unspecified in ipv6AccessConfig, a default PTR record will be created for
576
576
  # first IP in associated external IPv6 range.
577
577
  # Corresponds to the JSON property `publicPtrDomainName`
578
578
  # @return [String]
@@ -1460,7 +1460,6 @@ module Google
1460
1460
  end
1461
1461
 
1462
1462
  # This reservation type allows to pre allocate specific instance configuration.
1463
- # Next ID: 6
1464
1463
  class AllocationSpecificSkuReservation
1465
1464
  include Google::Apis::Core::Hashable
1466
1465
 
@@ -2085,25 +2084,6 @@ module Google
2085
2084
  end
2086
2085
  end
2087
2086
 
2088
- # This is deprecated and has no effect. Do not use.
2089
- class AuthorizationLoggingOptions
2090
- include Google::Apis::Core::Hashable
2091
-
2092
- # This is deprecated and has no effect. Do not use.
2093
- # Corresponds to the JSON property `permissionType`
2094
- # @return [String]
2095
- attr_accessor :permission_type
2096
-
2097
- def initialize(**args)
2098
- update!(**args)
2099
- end
2100
-
2101
- # Update properties of this object
2102
- def update!(**args)
2103
- @permission_type = args[:permission_type] if args.key?(:permission_type)
2104
- end
2105
- end
2106
-
2107
2087
  # Represents an Autoscaler resource. Google Compute Engine has two Autoscaler
2108
2088
  # resources: * [Zonal](/compute/docs/reference/rest/alpha/autoscalers) * [
2109
2089
  # Regional](/compute/docs/reference/rest/alpha/regionAutoscalers) Use
@@ -3946,6 +3926,11 @@ module Google
3946
3926
  # @return [String]
3947
3927
  attr_accessor :session_affinity
3948
3928
 
3929
+ # The HTTP cookie used for stateful session affinity.
3930
+ # Corresponds to the JSON property `strongSessionAffinityCookie`
3931
+ # @return [Google::Apis::ComputeAlpha::BackendServiceHttpCookie]
3932
+ attr_accessor :strong_session_affinity_cookie
3933
+
3949
3934
  # Subsetting configuration for this BackendService. Currently this is applicable
3950
3935
  # only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and
3951
3936
  # Traffic Director.
@@ -4032,6 +4017,7 @@ module Google
4032
4017
  @service_bindings = args[:service_bindings] if args.key?(:service_bindings)
4033
4018
  @service_lb_policy = args[:service_lb_policy] if args.key?(:service_lb_policy)
4034
4019
  @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
4020
+ @strong_session_affinity_cookie = args[:strong_session_affinity_cookie] if args.key?(:strong_session_affinity_cookie)
4035
4021
  @subsetting = args[:subsetting] if args.key?(:subsetting)
4036
4022
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
4037
4023
  @used_by = args[:used_by] if args.key?(:used_by)
@@ -4594,6 +4580,40 @@ module Google
4594
4580
  end
4595
4581
  end
4596
4582
 
4583
+ # The HTTP cookie used for stateful session affinity.
4584
+ class BackendServiceHttpCookie
4585
+ include Google::Apis::Core::Hashable
4586
+
4587
+ # Name of the cookie.
4588
+ # Corresponds to the JSON property `name`
4589
+ # @return [String]
4590
+ attr_accessor :name
4591
+
4592
+ # Path to set for the cookie.
4593
+ # Corresponds to the JSON property `path`
4594
+ # @return [String]
4595
+ attr_accessor :path
4596
+
4597
+ # A Duration represents a fixed-length span of time represented as a count of
4598
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
4599
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
4600
+ # 000 years.
4601
+ # Corresponds to the JSON property `ttl`
4602
+ # @return [Google::Apis::ComputeAlpha::Duration]
4603
+ attr_accessor :ttl
4604
+
4605
+ def initialize(**args)
4606
+ update!(**args)
4607
+ end
4608
+
4609
+ # Update properties of this object
4610
+ def update!(**args)
4611
+ @name = args[:name] if args.key?(:name)
4612
+ @path = args[:path] if args.key?(:path)
4613
+ @ttl = args[:ttl] if args.key?(:ttl)
4614
+ end
4615
+ end
4616
+
4597
4617
  # Identity-Aware Proxy
4598
4618
  class BackendServiceIap
4599
4619
  include Google::Apis::Core::Hashable
@@ -12826,6 +12846,7 @@ module Google
12826
12846
  attr_accessor :proxy_header
12827
12847
 
12828
12848
  # The request path of the HTTP/2 health check request. The default value is /.
12849
+ # Must comply with RFC3986.
12829
12850
  # Corresponds to the JSON property `requestPath`
12830
12851
  # @return [String]
12831
12852
  attr_accessor :request_path
@@ -12914,6 +12935,7 @@ module Google
12914
12935
  attr_accessor :proxy_header
12915
12936
 
12916
12937
  # The request path of the HTTP health check request. The default value is /.
12938
+ # Must comply with RFC3986.
12917
12939
  # Corresponds to the JSON property `requestPath`
12918
12940
  # @return [String]
12919
12941
  attr_accessor :request_path
@@ -13002,6 +13024,7 @@ module Google
13002
13024
  attr_accessor :proxy_header
13003
13025
 
13004
13026
  # The request path of the HTTPS health check request. The default value is /.
13027
+ # Must comply with RFC3986.
13005
13028
  # Corresponds to the JSON property `requestPath`
13006
13029
  # @return [String]
13007
13030
  attr_accessor :request_path
@@ -13144,13 +13167,13 @@ module Google
13144
13167
 
13145
13168
  # The list of cloud regions from which health checks are performed. If any
13146
13169
  # regions are specified, then exactly 3 regions should be specified. The region
13147
- # names must be valid names of GCP regions. This can only be set for global
13148
- # health check. If this list is non-empty, then there are restrictions on what
13149
- # other health check fields are supported and what other resources can use this
13150
- # health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP
13151
- # request field is not supported. - The proxyHeader field for HTTP, HTTPS, and
13152
- # TCP is not supported. - The checkIntervalSec field must be at least 30. - The
13153
- # health check cannot be used with BackendService nor with managed instance
13170
+ # names must be valid names of Google Cloud regions. This can only be set for
13171
+ # global health check. If this list is non-empty, then there are restrictions on
13172
+ # what other health check fields are supported and what other resources can use
13173
+ # this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The
13174
+ # TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS,
13175
+ # and TCP is not supported. - The checkIntervalSec field must be at least 30. -
13176
+ # The health check cannot be used with BackendService nor with managed instance
13154
13177
  # group auto-healing.
13155
13178
  # Corresponds to the JSON property `sourceRegions`
13156
13179
  # @return [Array<String>]
@@ -22009,6 +22032,13 @@ module Google
22009
22032
  class Interconnect
22010
22033
  include Google::Apis::Core::Hashable
22011
22034
 
22035
+ # Enable or disable the Application Aware Interconnect(AAI) feature on this
22036
+ # interconnect.
22037
+ # Corresponds to the JSON property `aaiEnabled`
22038
+ # @return [Boolean]
22039
+ attr_accessor :aai_enabled
22040
+ alias_method :aai_enabled?, :aai_enabled
22041
+
22012
22042
  # Administrative status of the interconnect. When this is set to true, the
22013
22043
  # Interconnect is functional and can carry traffic. When set to false, no
22014
22044
  # packets can be carried over the interconnect and no BGP routes are exchanged
@@ -22244,6 +22274,7 @@ module Google
22244
22274
 
22245
22275
  # Update properties of this object
22246
22276
  def update!(**args)
22277
+ @aai_enabled = args[:aai_enabled] if args.key?(:aai_enabled)
22247
22278
  @admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
22248
22279
  @application_aware_interconnect = args[:application_aware_interconnect] if args.key?(:application_aware_interconnect)
22249
22280
  @available_features = args[:available_features] if args.key?(:available_features)
@@ -25454,11 +25485,6 @@ module Google
25454
25485
  class LogConfigCloudAuditOptions
25455
25486
  include Google::Apis::Core::Hashable
25456
25487
 
25457
- # This is deprecated and has no effect. Do not use.
25458
- # Corresponds to the JSON property `authorizationLoggingOptions`
25459
- # @return [Google::Apis::ComputeAlpha::AuthorizationLoggingOptions]
25460
- attr_accessor :authorization_logging_options
25461
-
25462
25488
  # This is deprecated and has no effect. Do not use.
25463
25489
  # Corresponds to the JSON property `logName`
25464
25490
  # @return [String]
@@ -25470,7 +25496,6 @@ module Google
25470
25496
 
25471
25497
  # Update properties of this object
25472
25498
  def update!(**args)
25473
- @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
25474
25499
  @log_name = args[:log_name] if args.key?(:log_name)
25475
25500
  end
25476
25501
  end
@@ -29658,7 +29683,7 @@ module Google
29658
29683
  end
29659
29684
  end
29660
29685
 
29661
- # NetworkPlacement Represents a Google managed network placement resource.
29686
+ # NetworkPlacement represents a Google managed network placement resource.
29662
29687
  class NetworkPlacement
29663
29688
  include Google::Apis::Core::Hashable
29664
29689
 
@@ -33455,7 +33480,7 @@ module Google
33455
33480
  # @return [String]
33456
33481
  attr_accessor :enable
33457
33482
 
33458
- # Filter for mirrored traffic. If unspecified, all traffic is mirrored.
33483
+ # Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
33459
33484
  # Corresponds to the JSON property `filter`
33460
33485
  # @return [Google::Apis::ComputeAlpha::PacketMirroringFilter]
33461
33486
  attr_accessor :filter
@@ -33676,7 +33701,7 @@ module Google
33676
33701
  # @return [Array<String>]
33677
33702
  attr_accessor :ip_protocols
33678
33703
 
33679
- # One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (
33704
+ # One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (
33680
33705
  # ingress) or destination (egress) IP in the IP header. If no ranges are
33681
33706
  # specified, all IPv4 traffic that matches the specified IPProtocols is mirrored.
33682
33707
  # If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is
@@ -36112,18 +36137,16 @@ module Google
36112
36137
  end
36113
36138
  end
36114
36139
 
36115
- # [Output only] Result of queuing and provisioning based on deferred capacity.
36140
+ #
36116
36141
  class QueuedResourceStatus
36117
36142
  include Google::Apis::Core::Hashable
36118
36143
 
36119
- # Additional status detail for the FAILED state.
36144
+ #
36120
36145
  # Corresponds to the JSON property `failedData`
36121
36146
  # @return [Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData]
36122
36147
  attr_accessor :failed_data
36123
36148
 
36124
- # [Output only] Fully qualified URL of the provisioning GCE operation to track
36125
- # the provisioning along with provisioning errors. The referenced operation may
36126
- # not exist after having been deleted or expired.
36149
+ #
36127
36150
  # Corresponds to the JSON property `provisioningOperations`
36128
36151
  # @return [Array<String>]
36129
36152
  attr_accessor :provisioning_operations
@@ -36145,11 +36168,11 @@ module Google
36145
36168
  end
36146
36169
  end
36147
36170
 
36148
- # Additional status detail for the FAILED state.
36171
+ #
36149
36172
  class QueuedResourceStatusFailedData
36150
36173
  include Google::Apis::Core::Hashable
36151
36174
 
36152
- # The error(s) that caused the QueuedResource to enter the FAILED state.
36175
+ #
36153
36176
  # Corresponds to the JSON property `error`
36154
36177
  # @return [Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error]
36155
36178
  attr_accessor :error
@@ -36163,7 +36186,7 @@ module Google
36163
36186
  @error = args[:error] if args.key?(:error)
36164
36187
  end
36165
36188
 
36166
- # The error(s) that caused the QueuedResource to enter the FAILED state.
36189
+ #
36167
36190
  class Error
36168
36191
  include Google::Apis::Core::Hashable
36169
36192
 
@@ -38684,7 +38707,6 @@ module Google
38684
38707
  attr_accessor :share_settings
38685
38708
 
38686
38709
  # This reservation type allows to pre allocate specific instance configuration.
38687
- # Next ID: 6
38688
38710
  # Corresponds to the JSON property `specificReservation`
38689
38711
  # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation]
38690
38712
  attr_accessor :specific_reservation
@@ -41335,7 +41357,8 @@ module Google
41335
41357
  attr_accessor :enable_ipv4
41336
41358
  alias_method :enable_ipv4?, :enable_ipv4
41337
41359
 
41338
- # Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
41360
+ # Enable IPv6 traffic over BGP Peer. It is enabled by default if the
41361
+ # peerIpAddress is version 6.
41339
41362
  # Corresponds to the JSON property `enableIpv6`
41340
41363
  # @return [Boolean]
41341
41364
  attr_accessor :enable_ipv6
@@ -41343,14 +41366,16 @@ module Google
41343
41366
 
41344
41367
  # List of export policies applied to this peer, in the order they must be
41345
41368
  # evaluated. The name must correspond to an existing policy that has
41346
- # ROUTE_POLICY_TYPE_EXPORT type.
41369
+ # ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently
41370
+ # available in preview. Please use Beta API to use Route Policies.
41347
41371
  # Corresponds to the JSON property `exportPolicies`
41348
41372
  # @return [Array<String>]
41349
41373
  attr_accessor :export_policies
41350
41374
 
41351
41375
  # List of import policies applied to this peer, in the order they must be
41352
41376
  # evaluated. The name must correspond to an existing policy that has
41353
- # ROUTE_POLICY_TYPE_IMPORT type.
41377
+ # ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently
41378
+ # available in preview. Please use Beta API to use Route Policies.
41354
41379
  # Corresponds to the JSON property `importPolicies`
41355
41380
  # @return [Array<String>]
41356
41381
  attr_accessor :import_policies
@@ -41360,8 +41385,7 @@ module Google
41360
41385
  # @return [String]
41361
41386
  attr_accessor :interface_name
41362
41387
 
41363
- # IP address of the interface inside Google Cloud Platform. Only IPv4 is
41364
- # supported.
41388
+ # IP address of the interface inside Google Cloud Platform.
41365
41389
  # Corresponds to the JSON property `ipAddress`
41366
41390
  # @return [String]
41367
41391
  attr_accessor :ip_address
@@ -41409,8 +41433,7 @@ module Google
41409
41433
  # @return [Fixnum]
41410
41434
  attr_accessor :peer_asn
41411
41435
 
41412
- # IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is
41413
- # supported.
41436
+ # IP address of the BGP interface outside Google Cloud Platform.
41414
41437
  # Corresponds to the JSON property `peerIpAddress`
41415
41438
  # @return [String]
41416
41439
  attr_accessor :peer_ip_address
@@ -41576,10 +41599,15 @@ module Google
41576
41599
  class RouterInterface
41577
41600
  include Google::Apis::Core::Hashable
41578
41601
 
41579
- # IP address and range of the interface. The IP range must be in the RFC3927
41580
- # link-local IP address space. The value must be a CIDR-formatted string, for
41581
- # example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents
41582
- # the IP address of the interface.
41602
+ # IP address and range of the interface. - For Internet Protocol version 4 (IPv4)
41603
+ # , the IP range must be in the RFC3927 link-local IP address space. The value
41604
+ # must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not
41605
+ # truncate the IP address, as it represents the IP address of the interface. -
41606
+ # For Internet Protocol version 6 (IPv6), the value must be a unique local
41607
+ # address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This
41608
+ # value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112.
41609
+ # Within the router's VPC, this IPv6 prefix will be reserved exclusively for
41610
+ # this connection and cannot be used for any other purpose.
41583
41611
  # Corresponds to the JSON property `ipRange`
41584
41612
  # @return [String]
41585
41613
  attr_accessor :ip_range
@@ -42215,7 +42243,8 @@ module Google
42215
42243
  attr_accessor :enable_ipv4
42216
42244
  alias_method :enable_ipv4?, :enable_ipv4
42217
42245
 
42218
- # Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
42246
+ # Enable IPv6 traffic over BGP Peer. It is enabled by default if the
42247
+ # peerIpAddress is version 6.
42219
42248
  # Corresponds to the JSON property `enableIpv6`
42220
42249
  # @return [Boolean]
42221
42250
  attr_accessor :enable_ipv6
@@ -43506,6 +43535,12 @@ module Google
43506
43535
  # @return [String]
43507
43536
  attr_accessor :termination_time
43508
43537
 
43538
+ # Represents the Windows Server License Optimization Mode of the VM. If
43539
+ # unspecified, the default mode is `OFF`.
43540
+ # Corresponds to the JSON property `windowsLicenseOptimizationMode`
43541
+ # @return [String]
43542
+ attr_accessor :windows_license_optimization_mode
43543
+
43509
43544
  def initialize(**args)
43510
43545
  update!(**args)
43511
43546
  end
@@ -43532,6 +43567,7 @@ module Google
43532
43567
  @preemptible = args[:preemptible] if args.key?(:preemptible)
43533
43568
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
43534
43569
  @termination_time = args[:termination_time] if args.key?(:termination_time)
43570
+ @windows_license_optimization_mode = args[:windows_license_optimization_mode] if args.key?(:windows_license_optimization_mode)
43535
43571
  end
43536
43572
  end
43537
43573
 
@@ -44073,6 +44109,18 @@ module Google
44073
44109
  # @return [String]
44074
44110
  attr_accessor :self_link_with_id
44075
44111
 
44112
+ # User-provided name of the organization security policy. The name should be
44113
+ # unique in the organization in which the security policy is created. This
44114
+ # should only be used when SecurityPolicyType is CLOUD_ARMOR. The name must be 1-
44115
+ # 63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt.
44116
+ # Specifically, the name must be 1-63 characters long and match the regular
44117
+ # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
44118
+ # be a lowercase letter, and all following characters must be a dash, lowercase
44119
+ # letter, or digit, except the last character, which cannot be a dash.
44120
+ # Corresponds to the JSON property `shortName`
44121
+ # @return [String]
44122
+ attr_accessor :short_name
44123
+
44076
44124
  # The type indicates the intended use of the security policy. - CLOUD_ARMOR:
44077
44125
  # Cloud Armor backend security policies can be configured to filter incoming
44078
44126
  # HTTP requests targeting backend services. They filter requests before they hit
@@ -44129,6 +44177,7 @@ module Google
44129
44177
  @rules = args[:rules] if args.key?(:rules)
44130
44178
  @self_link = args[:self_link] if args.key?(:self_link)
44131
44179
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
44180
+ @short_name = args[:short_name] if args.key?(:short_name)
44132
44181
  @type = args[:type] if args.key?(:type)
44133
44182
  @user_defined_fields = args[:user_defined_fields] if args.key?(:user_defined_fields)
44134
44183
  end
@@ -44414,6 +44463,16 @@ module Google
44414
44463
  # @return [String]
44415
44464
  attr_accessor :display_name
44416
44465
 
44466
+ # A list of folders to exclude from the security policy.
44467
+ # Corresponds to the JSON property `excludedFolders`
44468
+ # @return [Array<String>]
44469
+ attr_accessor :excluded_folders
44470
+
44471
+ # A list of projects to exclude from the security policy.
44472
+ # Corresponds to the JSON property `excludedProjects`
44473
+ # @return [Array<String>]
44474
+ attr_accessor :excluded_projects
44475
+
44417
44476
  # The name for an association.
44418
44477
  # Corresponds to the JSON property `name`
44419
44478
  # @return [String]
@@ -44424,6 +44483,11 @@ module Google
44424
44483
  # @return [String]
44425
44484
  attr_accessor :security_policy_id
44426
44485
 
44486
+ # [Output Only] The short name of the security policy of the association.
44487
+ # Corresponds to the JSON property `shortName`
44488
+ # @return [String]
44489
+ attr_accessor :short_name
44490
+
44427
44491
  def initialize(**args)
44428
44492
  update!(**args)
44429
44493
  end
@@ -44432,8 +44496,11 @@ module Google
44432
44496
  def update!(**args)
44433
44497
  @attachment_id = args[:attachment_id] if args.key?(:attachment_id)
44434
44498
  @display_name = args[:display_name] if args.key?(:display_name)
44499
+ @excluded_folders = args[:excluded_folders] if args.key?(:excluded_folders)
44500
+ @excluded_projects = args[:excluded_projects] if args.key?(:excluded_projects)
44435
44501
  @name = args[:name] if args.key?(:name)
44436
44502
  @security_policy_id = args[:security_policy_id] if args.key?(:security_policy_id)
44503
+ @short_name = args[:short_name] if args.key?(:short_name)
44437
44504
  end
44438
44505
  end
44439
44506
 
@@ -47521,7 +47588,8 @@ module Google
47521
47588
  include Google::Apis::Core::Hashable
47522
47589
 
47523
47590
  # When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the
47524
- # locations listed in this field. Keys are GCS bucket locations.
47591
+ # locations listed in this field. Keys are Cloud Storage bucket locations. Only
47592
+ # one location can be specified.
47525
47593
  # Corresponds to the JSON property `locations`
47526
47594
  # @return [Hash<String,Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettingsStorageLocationPreference>]
47527
47595
  attr_accessor :locations
@@ -47546,7 +47614,8 @@ module Google
47546
47614
  class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
47547
47615
  include Google::Apis::Core::Hashable
47548
47616
 
47549
- # Name of the location. It should be one of the GCS buckets.
47617
+ # Name of the location. It should be one of the Cloud Storage buckets. Only one
47618
+ # location can be specified.
47550
47619
  # Corresponds to the JSON property `name`
47551
47620
  # @return [String]
47552
47621
  attr_accessor :name
@@ -52303,7 +52372,7 @@ module Google
52303
52372
 
52304
52373
  # URLs to networkservices.HttpFilter resources enabled for xDS clients using
52305
52374
  # this configuration. For example, https://networkservices.googleapis.com/beta/
52306
- # projects/project/locations/ locationhttpFilters/httpFilter Only filters that
52375
+ # projects/project/locations/ location/httpFilters/httpFilter Only filters that
52307
52376
  # handle outbound connection and stream events may be specified. These filters
52308
52377
  # work in conjunction with a default set of HTTP filters that may already be
52309
52378
  # configured by Traffic Director. Traffic Director will determine the final
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.98.0"
19
+ GEM_VERSION = "0.100.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240407"
25
+ REVISION = "20240507"
26
26
  end
27
27
  end
28
28
  end
@@ -256,12 +256,6 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
- class AuthorizationLoggingOptions
260
- class Representation < Google::Apis::Core::JsonRepresentation; end
261
-
262
- include Google::Apis::Core::JsonObjectSupport
263
- end
264
-
265
259
  class Autoscaler
266
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
261
 
@@ -502,6 +496,12 @@ module Google
502
496
  include Google::Apis::Core::JsonObjectSupport
503
497
  end
504
498
 
499
+ class BackendServiceHttpCookie
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
505
  class BackendServiceIap
506
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
507
 
@@ -8152,13 +8152,6 @@ module Google
8152
8152
  end
8153
8153
  end
8154
8154
 
8155
- class AuthorizationLoggingOptions
8156
- # @private
8157
- class Representation < Google::Apis::Core::JsonRepresentation
8158
- property :permission_type, as: 'permissionType'
8159
- end
8160
- end
8161
-
8162
8155
  class Autoscaler
8163
8156
  # @private
8164
8157
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8540,6 +8533,8 @@ module Google
8540
8533
  collection :service_bindings, as: 'serviceBindings'
8541
8534
  property :service_lb_policy, as: 'serviceLbPolicy'
8542
8535
  property :session_affinity, as: 'sessionAffinity'
8536
+ property :strong_session_affinity_cookie, as: 'strongSessionAffinityCookie', class: Google::Apis::ComputeAlpha::BackendServiceHttpCookie, decorator: Google::Apis::ComputeAlpha::BackendServiceHttpCookie::Representation
8537
+
8543
8538
  property :subsetting, as: 'subsetting', class: Google::Apis::ComputeAlpha::Subsetting, decorator: Google::Apis::ComputeAlpha::Subsetting::Representation
8544
8539
 
8545
8540
  property :timeout_sec, as: 'timeoutSec'
@@ -8672,6 +8667,16 @@ module Google
8672
8667
  end
8673
8668
  end
8674
8669
 
8670
+ class BackendServiceHttpCookie
8671
+ # @private
8672
+ class Representation < Google::Apis::Core::JsonRepresentation
8673
+ property :name, as: 'name'
8674
+ property :path, as: 'path'
8675
+ property :ttl, as: 'ttl', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
8676
+
8677
+ end
8678
+ end
8679
+
8675
8680
  class BackendServiceIap
8676
8681
  # @private
8677
8682
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12909,6 +12914,7 @@ module Google
12909
12914
  class Interconnect
12910
12915
  # @private
12911
12916
  class Representation < Google::Apis::Core::JsonRepresentation
12917
+ property :aai_enabled, as: 'aaiEnabled'
12912
12918
  property :admin_enabled, as: 'adminEnabled'
12913
12919
  property :application_aware_interconnect, as: 'applicationAwareInterconnect', class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnect, decorator: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnect::Representation
12914
12920
 
@@ -13736,8 +13742,6 @@ module Google
13736
13742
  class LogConfigCloudAuditOptions
13737
13743
  # @private
13738
13744
  class Representation < Google::Apis::Core::JsonRepresentation
13739
- property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::ComputeAlpha::AuthorizationLoggingOptions, decorator: Google::Apis::ComputeAlpha::AuthorizationLoggingOptions::Representation
13740
-
13741
13745
  property :log_name, as: 'logName'
13742
13746
  end
13743
13747
  end
@@ -18336,6 +18340,7 @@ module Google
18336
18340
  property :preemptible, as: 'preemptible'
18337
18341
  property :provisioning_model, as: 'provisioningModel'
18338
18342
  property :termination_time, as: 'terminationTime'
18343
+ property :windows_license_optimization_mode, as: 'windowsLicenseOptimizationMode'
18339
18344
  end
18340
18345
  end
18341
18346
 
@@ -18489,6 +18494,7 @@ module Google
18489
18494
 
18490
18495
  property :self_link, as: 'selfLink'
18491
18496
  property :self_link_with_id, as: 'selfLinkWithId'
18497
+ property :short_name, as: 'shortName'
18492
18498
  property :type, as: 'type'
18493
18499
  collection :user_defined_fields, as: 'userDefinedFields', class: Google::Apis::ComputeAlpha::SecurityPolicyUserDefinedField, decorator: Google::Apis::ComputeAlpha::SecurityPolicyUserDefinedField::Representation
18494
18500
 
@@ -18573,8 +18579,11 @@ module Google
18573
18579
  class Representation < Google::Apis::Core::JsonRepresentation
18574
18580
  property :attachment_id, as: 'attachmentId'
18575
18581
  property :display_name, as: 'displayName'
18582
+ collection :excluded_folders, as: 'excludedFolders'
18583
+ collection :excluded_projects, as: 'excludedProjects'
18576
18584
  property :name, as: 'name'
18577
18585
  property :security_policy_id, as: 'securityPolicyId'
18586
+ property :short_name, as: 'shortName'
18578
18587
  end
18579
18588
  end
18580
18589
 
@@ -41699,6 +41699,112 @@ module Google
41699
41699
  execute_or_queue_command(command, &block)
41700
41700
  end
41701
41701
 
41702
+ # Patches Named Set
41703
+ # @param [String] project
41704
+ # Project ID for this request.
41705
+ # @param [String] region
41706
+ # Name of the region for this request.
41707
+ # @param [String] router
41708
+ # Name of the Router resource where Named Set is defined.
41709
+ # @param [Google::Apis::ComputeAlpha::NamedSet] named_set_object
41710
+ # @param [String] request_id
41711
+ # An optional request ID to identify requests. Specify a unique request ID so
41712
+ # that if you must retry your request, the server will know to ignore the
41713
+ # request if it has already been completed. For example, consider a situation
41714
+ # where you make an initial request and the request times out. If you make the
41715
+ # request again with the same request ID, the server can check if original
41716
+ # operation with the same request ID was received, and if so, will ignore the
41717
+ # second request. This prevents clients from accidentally creating duplicate
41718
+ # commitments. The request ID must be a valid UUID with the exception that zero
41719
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
41720
+ # @param [String] fields
41721
+ # Selector specifying which fields to include in a partial response.
41722
+ # @param [String] quota_user
41723
+ # Available to use for quota purposes for server-side applications. Can be any
41724
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
41725
+ # @param [String] user_ip
41726
+ # Legacy name for parameter that has been superseded by `quotaUser`.
41727
+ # @param [Google::Apis::RequestOptions] options
41728
+ # Request-specific options
41729
+ #
41730
+ # @yield [result, err] Result & error if block supplied
41731
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
41732
+ # @yieldparam err [StandardError] error object if request failed
41733
+ #
41734
+ # @return [Google::Apis::ComputeAlpha::Operation]
41735
+ #
41736
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41737
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41738
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
41739
+ def patch_router_named_set(project, region, router, named_set_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41740
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/patchNamedSet', options)
41741
+ command.request_representation = Google::Apis::ComputeAlpha::NamedSet::Representation
41742
+ command.request_object = named_set_object
41743
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
41744
+ command.response_class = Google::Apis::ComputeAlpha::Operation
41745
+ command.params['project'] = project unless project.nil?
41746
+ command.params['region'] = region unless region.nil?
41747
+ command.params['router'] = router unless router.nil?
41748
+ command.query['requestId'] = request_id unless request_id.nil?
41749
+ command.query['fields'] = fields unless fields.nil?
41750
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
41751
+ command.query['userIp'] = user_ip unless user_ip.nil?
41752
+ execute_or_queue_command(command, &block)
41753
+ end
41754
+
41755
+ # Patches Route Policy
41756
+ # @param [String] project
41757
+ # Project ID for this request.
41758
+ # @param [String] region
41759
+ # Name of the region for this request.
41760
+ # @param [String] router
41761
+ # Name of the Router resource where Route Policy is defined.
41762
+ # @param [Google::Apis::ComputeAlpha::RoutePolicy] route_policy_object
41763
+ # @param [String] request_id
41764
+ # An optional request ID to identify requests. Specify a unique request ID so
41765
+ # that if you must retry your request, the server will know to ignore the
41766
+ # request if it has already been completed. For example, consider a situation
41767
+ # where you make an initial request and the request times out. If you make the
41768
+ # request again with the same request ID, the server can check if original
41769
+ # operation with the same request ID was received, and if so, will ignore the
41770
+ # second request. This prevents clients from accidentally creating duplicate
41771
+ # commitments. The request ID must be a valid UUID with the exception that zero
41772
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
41773
+ # @param [String] fields
41774
+ # Selector specifying which fields to include in a partial response.
41775
+ # @param [String] quota_user
41776
+ # Available to use for quota purposes for server-side applications. Can be any
41777
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
41778
+ # @param [String] user_ip
41779
+ # Legacy name for parameter that has been superseded by `quotaUser`.
41780
+ # @param [Google::Apis::RequestOptions] options
41781
+ # Request-specific options
41782
+ #
41783
+ # @yield [result, err] Result & error if block supplied
41784
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
41785
+ # @yieldparam err [StandardError] error object if request failed
41786
+ #
41787
+ # @return [Google::Apis::ComputeAlpha::Operation]
41788
+ #
41789
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41790
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41791
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
41792
+ def patch_router_route_policy(project, region, router, route_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41793
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/patchRoutePolicy', options)
41794
+ command.request_representation = Google::Apis::ComputeAlpha::RoutePolicy::Representation
41795
+ command.request_object = route_policy_object
41796
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
41797
+ command.response_class = Google::Apis::ComputeAlpha::Operation
41798
+ command.params['project'] = project unless project.nil?
41799
+ command.params['region'] = region unless region.nil?
41800
+ command.params['router'] = router unless router.nil?
41801
+ command.query['requestId'] = request_id unless request_id.nil?
41802
+ command.query['fields'] = fields unless fields.nil?
41803
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
41804
+ command.query['userIp'] = user_ip unless user_ip.nil?
41805
+ execute_or_queue_command(command, &block)
41806
+ end
41807
+
41702
41808
  # Preview fields auto-generated during router create and update operations.
41703
41809
  # Calling this method does NOT create or update the router.
41704
41810
  # @param [String] project
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.98.0
4
+ version: 0.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-21 00:00:00.000000000 Z
11
+ date: 2024-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.98.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.100.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []