google-apis-compute_alpha 0.29.0 → 0.32.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: cdecb8230cd13fa0d0330072ac00861c0c0aacd94a603517c9356baa41807716
4
- data.tar.gz: 9e24db4b2c27b4f85633e2169e9baa44cf7a80bba3d1fd43116810eaac7cbfd3
3
+ metadata.gz: 255bbc916b6f5fd0474eaa87676603ff5edc82d55a7f0a01bd16d10e4659b0fa
4
+ data.tar.gz: 23ff923008f49562aa020a321ef06c7e4c6e641eb8f78fe16ca1c1f0c29cfd08
5
5
  SHA512:
6
- metadata.gz: f5badd56b10eabfdf77cad040255706ecb626c31340888521e5d58e1d569f8678f46dde59c1e813af21aa418ec4cdf7f3fdd7f5be64a2e53474cd274e05a4eae
7
- data.tar.gz: b6ad0bf5726aa7fcb98f21a509df0dcd356aeebcaca64db7a2893b71a43254957a3f7b77d61ee02ccb01d6eb60eb9b06cdd1ba1e617bde29c90fed066fcd50c8
6
+ metadata.gz: 4e90e0dab70620f78d2e9624dfe88be6a34d2308c80fe587a4af7f66b011d9a09d9f3ebed7a0a7d97c5e371c2db0f755cda53d1a94d1dac341c476ee14890477
7
+ data.tar.gz: 434d784ddb855fffc80bfad72fe782a63f7a9a0f742f1768a099676c6daac6fbe3ed6033d2d3234b6c2e15bd32cc237004da364b12eeffd770dcdfbb74bca966
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.32.0 (2022-04-21)
4
+
5
+ * Regenerated from discovery document revision 20220420
6
+
7
+ ### v0.31.0 (2022-03-30)
8
+
9
+ * Regenerated from discovery document revision 20220322
10
+
11
+ ### v0.30.0 (2022-03-23)
12
+
13
+ * Regenerated from discovery document revision 20220315
14
+
3
15
  ### v0.29.0 (2022-03-18)
4
16
 
5
17
  * Regenerated from discovery document revision 20220312
@@ -1382,9 +1382,10 @@ module Google
1382
1382
 
1383
1383
  # [Input Only] Specifies the parameters for a new disk that will be created
1384
1384
  # alongside the new instance. Use initialization parameters to create boot disks
1385
- # or local SSDs attached to the new instance. This property is mutually
1386
- # exclusive with the source property; you can only define one or the other, but
1387
- # not both.
1385
+ # or local SSDs attached to the new instance. This field is persisted and
1386
+ # returned for instanceTemplate and not returned in the context of instance.
1387
+ # This property is mutually exclusive with the source property; you can only
1388
+ # define one or the other, but not both.
1388
1389
  # Corresponds to the JSON property `initializeParams`
1389
1390
  # @return [Google::Apis::ComputeAlpha::AttachedDiskInitializeParams]
1390
1391
  attr_accessor :initialize_params
@@ -1495,9 +1496,10 @@ module Google
1495
1496
 
1496
1497
  # [Input Only] Specifies the parameters for a new disk that will be created
1497
1498
  # alongside the new instance. Use initialization parameters to create boot disks
1498
- # or local SSDs attached to the new instance. This property is mutually
1499
- # exclusive with the source property; you can only define one or the other, but
1500
- # not both.
1499
+ # or local SSDs attached to the new instance. This field is persisted and
1500
+ # returned for instanceTemplate and not returned in the context of instance.
1501
+ # This property is mutually exclusive with the source property; you can only
1502
+ # define one or the other, but not both.
1501
1503
  class AttachedDiskInitializeParams
1502
1504
  include Google::Apis::Core::Hashable
1503
1505
 
@@ -3140,9 +3142,9 @@ module Google
3140
3142
  # @return [Array<String>]
3141
3143
  attr_accessor :include_http_headers
3142
3144
 
3143
- # Names of query string parameters to include in cache keys. All other
3144
- # parameters will be excluded. '&' and '=' will be percent encoded and not
3145
- # treated as delimiters.
3145
+ # Names of query string parameters to include in cache keys. Default parameters
3146
+ # are always included. '&' and '=' will be percent encoded and not treated as
3147
+ # delimiters.
3146
3148
  # Corresponds to the JSON property `queryStringWhitelist`
3147
3149
  # @return [Array<String>]
3148
3150
  attr_accessor :query_string_whitelist
@@ -3463,6 +3465,15 @@ module Google
3463
3465
  # @return [String]
3464
3466
  attr_accessor :load_balancing_scheme
3465
3467
 
3468
+ # A list of locality load balancing policies to be used in order of preference.
3469
+ # Either the policy or the customPolicy field should be set. Overrides any value
3470
+ # set in the localityLbPolicy field. localityLbPolicies is only supported when
3471
+ # the BackendService is referenced by a URL Map that is referenced by a target
3472
+ # gRPC proxy that has the validateForProxyless field set to true.
3473
+ # Corresponds to the JSON property `localityLbPolicies`
3474
+ # @return [Array<Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig>]
3475
+ attr_accessor :locality_lb_policies
3476
+
3466
3477
  # The load balancing algorithm used within the scope of the locality. The
3467
3478
  # possible values are: - ROUND_ROBIN: This is a simple policy in which each
3468
3479
  # healthy backend is selected in round robin order. This is the default. -
@@ -3652,6 +3663,7 @@ module Google
3652
3663
  @id = args[:id] if args.key?(:id)
3653
3664
  @kind = args[:kind] if args.key?(:kind)
3654
3665
  @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
3666
+ @locality_lb_policies = args[:locality_lb_policies] if args.key?(:locality_lb_policies)
3655
3667
  @locality_lb_policy = args[:locality_lb_policy] if args.key?(:locality_lb_policy)
3656
3668
  @log_config = args[:log_config] if args.key?(:log_config)
3657
3669
  @max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
@@ -4359,6 +4371,88 @@ module Google
4359
4371
  end
4360
4372
  end
4361
4373
 
4374
+ # Container for either a built-in LB policy supported by gRPC or Envoy or a
4375
+ # custom one implemented by the end user.
4376
+ class BackendServiceLocalityLoadBalancingPolicyConfig
4377
+ include Google::Apis::Core::Hashable
4378
+
4379
+ # The configuration for a custom policy implemented by the user and deployed
4380
+ # with the client.
4381
+ # Corresponds to the JSON property `customPolicy`
4382
+ # @return [Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]
4383
+ attr_accessor :custom_policy
4384
+
4385
+ # The configuration for a built-in load balancing policy.
4386
+ # Corresponds to the JSON property `policy`
4387
+ # @return [Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy]
4388
+ attr_accessor :policy
4389
+
4390
+ def initialize(**args)
4391
+ update!(**args)
4392
+ end
4393
+
4394
+ # Update properties of this object
4395
+ def update!(**args)
4396
+ @custom_policy = args[:custom_policy] if args.key?(:custom_policy)
4397
+ @policy = args[:policy] if args.key?(:policy)
4398
+ end
4399
+ end
4400
+
4401
+ # The configuration for a custom policy implemented by the user and deployed
4402
+ # with the client.
4403
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
4404
+ include Google::Apis::Core::Hashable
4405
+
4406
+ # An optional, arbitrary JSON object with configuration data, understood by a
4407
+ # locally installed custom policy implementation.
4408
+ # Corresponds to the JSON property `data`
4409
+ # @return [String]
4410
+ attr_accessor :data
4411
+
4412
+ # Identifies the custom policy. The value should match the type the custom
4413
+ # implementation is registered with on the gRPC clients. It should follow
4414
+ # protocol buffer message naming conventions and include the full path (e.g.
4415
+ # myorg.CustomLbPolicy). The maximum length is 256 characters. Note that
4416
+ # specifying the same custom policy more than once for a backend is not a valid
4417
+ # configuration and will be rejected.
4418
+ # Corresponds to the JSON property `name`
4419
+ # @return [String]
4420
+ attr_accessor :name
4421
+
4422
+ def initialize(**args)
4423
+ update!(**args)
4424
+ end
4425
+
4426
+ # Update properties of this object
4427
+ def update!(**args)
4428
+ @data = args[:data] if args.key?(:data)
4429
+ @name = args[:name] if args.key?(:name)
4430
+ end
4431
+ end
4432
+
4433
+ # The configuration for a built-in load balancing policy.
4434
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
4435
+ include Google::Apis::Core::Hashable
4436
+
4437
+ # The name of a locality load balancer policy to be used. The value should be
4438
+ # one of the predefined ones as supported by localityLbPolicy, although at the
4439
+ # moment only ROUND_ROBIN is supported. This field should only be populated when
4440
+ # the customPolicy field is not used. Note that specifying the same policy more
4441
+ # than once for a backend is not a valid configuration and will be rejected.
4442
+ # Corresponds to the JSON property `name`
4443
+ # @return [String]
4444
+ attr_accessor :name
4445
+
4446
+ def initialize(**args)
4447
+ update!(**args)
4448
+ end
4449
+
4450
+ # Update properties of this object
4451
+ def update!(**args)
4452
+ @name = args[:name] if args.key?(:name)
4453
+ end
4454
+ end
4455
+
4362
4456
  # The available logging options for the load balancer traffic served by this
4363
4457
  # backend service.
4364
4458
  class BackendServiceLogConfig
@@ -4803,7 +4897,7 @@ module Google
4803
4897
  # @return [Google::Apis::ComputeAlpha::Expr]
4804
4898
  attr_accessor :condition
4805
4899
 
4806
- # Specifies the principals requesting access for a Cloud Platform resource. `
4900
+ # Specifies the principals requesting access for a Google Cloud resource. `
4807
4901
  # members` can have the following values: * `allUsers`: A special identifier
4808
4902
  # that represents anyone who is on the internet; with or without a Google
4809
4903
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -5776,6 +5870,11 @@ module Google
5776
5870
  class ConfidentialInstanceConfig
5777
5871
  include Google::Apis::Core::Hashable
5778
5872
 
5873
+ # Defines the type of technology used by the confidential instance.
5874
+ # Corresponds to the JSON property `confidentialInstanceType`
5875
+ # @return [String]
5876
+ attr_accessor :confidential_instance_type
5877
+
5779
5878
  # Defines whether the instance should have confidential compute enabled.
5780
5879
  # Corresponds to the JSON property `enableConfidentialCompute`
5781
5880
  # @return [Boolean]
@@ -5788,6 +5887,7 @@ module Google
5788
5887
 
5789
5888
  # Update properties of this object
5790
5889
  def update!(**args)
5890
+ @confidential_instance_type = args[:confidential_instance_type] if args.key?(:confidential_instance_type)
5791
5891
  @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
5792
5892
  end
5793
5893
  end
@@ -10762,13 +10862,9 @@ module Google
10762
10862
  # @return [String]
10763
10863
  attr_accessor :label_fingerprint
10764
10864
 
10765
- # A list of labels to apply for this resource. Each label key & value must
10766
- # comply with RFC1035. Specifically, the name must be 1-63 characters long and
10767
- # match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
10768
- # first character must be a lowercase letter, and all following characters must
10769
- # be a dash, lowercase letter, or digit, except the last character, which cannot
10770
- # be a dash. For example, "webserver-frontend": "images". A label value can also
10771
- # be empty (e.g. "my-label": "").
10865
+ # A list of labels to apply for this resource. Each label must comply with the
10866
+ # requirements for labels. For example, "webserver-frontend": "images". A label
10867
+ # value can also be empty (e.g. "my-label": "").
10772
10868
  # Corresponds to the JSON property `labels`
10773
10869
  # @return [Hash<String,String>]
10774
10870
  attr_accessor :labels
@@ -10985,9 +11081,9 @@ module Google
10985
11081
 
10986
11082
  # The ID of a supported feature. To add multiple values, use commas to separate
10987
11083
  # values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
10988
- # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC -
10989
- # SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information,
10990
- # see Enabling guest operating system features.
11084
+ # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
11085
+ # SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling
11086
+ # guest operating system features.
10991
11087
  # Corresponds to the JSON property `type`
10992
11088
  # @return [String]
10993
11089
  attr_accessor :type
@@ -14265,7 +14361,8 @@ module Google
14265
14361
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
14266
14362
  attr_accessor :instance_encryption_key
14267
14363
 
14268
- # KeyRevocationActionType of the instance.
14364
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
14365
+ # NONE". The default value is "NONE" if it is not specified.
14269
14366
  # Corresponds to the JSON property `keyRevocationActionType`
14270
14367
  # @return [String]
14271
14368
  attr_accessor :key_revocation_action_type
@@ -15124,8 +15221,8 @@ module Google
15124
15221
  class InstanceGroupManager
15125
15222
  include Google::Apis::Core::Hashable
15126
15223
 
15127
- # Specifies the instances configs overrides that should be applied for all
15128
- # instances in the MIG.
15224
+ # Specifies configuration that overrides the instance template configuration for
15225
+ # the group.
15129
15226
  # Corresponds to the JSON property `allInstancesConfig`
15130
15227
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerAllInstancesConfig]
15131
15228
  attr_accessor :all_instances_config
@@ -15884,8 +15981,7 @@ module Google
15884
15981
  class InstanceGroupManagerStatus
15885
15982
  include Google::Apis::Core::Hashable
15886
15983
 
15887
- # [Output Only] A status of consistency of Instances' config applied to
15888
- # instances with Instances' config defined in managed instance group.
15984
+ # [Output only] Status of all-instances configuration on the group.
15889
15985
  # Corresponds to the JSON property `allInstancesConfig`
15890
15986
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAllInstancesConfig]
15891
15987
  attr_accessor :all_instances_config
@@ -15936,14 +16032,14 @@ module Google
15936
16032
  class InstanceGroupManagerStatusAllInstancesConfig
15937
16033
  include Google::Apis::Core::Hashable
15938
16034
 
15939
- # [Output Only] Current instances' config revision. This value is in RFC3339
15940
- # text format.
16035
+ # [Output Only] Current all-instances configuration revision. This value is in
16036
+ # RFC3339 text format.
15941
16037
  # Corresponds to the JSON property `currentRevision`
15942
16038
  # @return [String]
15943
16039
  attr_accessor :current_revision
15944
16040
 
15945
- # [Output Only] A bit indicating whether instances' config has been applied to
15946
- # all managed instances in managed instance group.
16041
+ # [Output Only] A bit indicating whether this configuration has been applied to
16042
+ # all managed instances in the group.
15947
16043
  # Corresponds to the JSON property `effective`
15948
16044
  # @return [Boolean]
15949
16045
  attr_accessor :effective
@@ -15967,8 +16063,9 @@ module Google
15967
16063
  # [Output Only] A bit indicating whether the managed instance group has stateful
15968
16064
  # configuration, that is, if you have configured any items in a stateful policy
15969
16065
  # or in per-instance configs. The group might report that it has no stateful
15970
- # config even when there is still some preserved state on a managed instance,
15971
- # for example, if you have deleted all PICs but not yet applied those deletions.
16066
+ # configuration even when there is still some preserved state on a managed
16067
+ # instance, for example, if you have deleted all PICs but not yet applied those
16068
+ # deletions.
15972
16069
  # Corresponds to the JSON property `hasStatefulConfig`
15973
16070
  # @return [Boolean]
15974
16071
  attr_accessor :has_stateful_config
@@ -15977,15 +16074,15 @@ module Google
15977
16074
  # [Output Only] A bit indicating whether the managed instance group has stateful
15978
16075
  # configuration, that is, if you have configured any items in a stateful policy
15979
16076
  # or in per-instance configs. The group might report that it has no stateful
15980
- # config even when there is still some preserved state on a managed instance,
15981
- # for example, if you have deleted all PICs but not yet applied those deletions.
15982
- # This field is deprecated in favor of has_stateful_config.
16077
+ # configuration even when there is still some preserved state on a managed
16078
+ # instance, for example, if you have deleted all PICs but not yet applied those
16079
+ # deletions. This field is deprecated in favor of has_stateful_config.
15983
16080
  # Corresponds to the JSON property `isStateful`
15984
16081
  # @return [Boolean]
15985
16082
  attr_accessor :is_stateful
15986
16083
  alias_method :is_stateful?, :is_stateful
15987
16084
 
15988
- # [Output Only] Status of per-instance configs on the instance.
16085
+ # [Output Only] Status of per-instance configurations on the instance.
15989
16086
  # Corresponds to the JSON property `perInstanceConfigs`
15990
16087
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs]
15991
16088
  attr_accessor :per_instance_configs
@@ -16006,9 +16103,9 @@ module Google
16006
16103
  class InstanceGroupManagerStatusStatefulPerInstanceConfigs
16007
16104
  include Google::Apis::Core::Hashable
16008
16105
 
16009
- # A bit indicating if all of the group's per-instance configs (listed in the
16010
- # output of a listPerInstanceConfigs API call) have status EFFECTIVE or there
16011
- # are no per-instance-configs.
16106
+ # A bit indicating if all of the group's per-instance configurations (listed in
16107
+ # the output of a listPerInstanceConfigs API call) have status EFFECTIVE or
16108
+ # there are no per-instance-configs.
16012
16109
  # Corresponds to the JSON property `allEffective`
16013
16110
  # @return [Boolean]
16014
16111
  attr_accessor :all_effective
@@ -16483,8 +16580,8 @@ module Google
16483
16580
  class InstanceGroupManagersPatchPerInstanceConfigsReq
16484
16581
  include Google::Apis::Core::Hashable
16485
16582
 
16486
- # The list of per-instance configs to insert or patch on this managed instance
16487
- # group.
16583
+ # The list of per-instance configurations to insert or patch on this managed
16584
+ # instance group.
16488
16585
  # Corresponds to the JSON property `perInstanceConfigs`
16489
16586
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
16490
16587
  attr_accessor :per_instance_configs
@@ -16827,8 +16924,8 @@ module Google
16827
16924
  class InstanceGroupManagersUpdatePerInstanceConfigsReq
16828
16925
  include Google::Apis::Core::Hashable
16829
16926
 
16830
- # The list of per-instance configs to insert or patch on this managed instance
16831
- # group.
16927
+ # The list of per-instance configurations to insert or patch on this managed
16928
+ # instance group.
16832
16929
  # Corresponds to the JSON property `perInstanceConfigs`
16833
16930
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
16834
16931
  attr_accessor :per_instance_configs
@@ -17580,7 +17677,8 @@ module Google
17580
17677
  # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
17581
17678
  attr_accessor :guest_accelerators
17582
17679
 
17583
- # KeyRevocationActionType of the instance.
17680
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
17681
+ # NONE". The default value is "NONE" if it is not specified.
17584
17682
  # Corresponds to the JSON property `keyRevocationActionType`
17585
17683
  # @return [String]
17586
17684
  attr_accessor :key_revocation_action_type
@@ -22673,7 +22771,8 @@ module Google
22673
22771
  class ManagedInstance
22674
22772
  include Google::Apis::Core::Hashable
22675
22773
 
22676
- # [Output Only] Instances config revision applied to this instance.
22774
+ # [Output Only] Current all-instances configuration revision applied to this
22775
+ # instance.
22677
22776
  # Corresponds to the JSON property `allInstancesConfig`
22678
22777
  # @return [Google::Apis::ComputeAlpha::ManagedInstanceAllInstancesConfig]
22679
22778
  attr_accessor :all_instances_config
@@ -22788,7 +22887,8 @@ module Google
22788
22887
  class ManagedInstanceAllInstancesConfig
22789
22888
  include Google::Apis::Core::Hashable
22790
22889
 
22791
- # [Output Only] Instances config revision. This value is in RFC3339 text format.
22890
+ # [Output Only] Current all-instances configuration revision. This value is in
22891
+ # RFC3339 text format.
22792
22892
  # Corresponds to the JSON property `revision`
22793
22893
  # @return [String]
22794
22894
  attr_accessor :revision
@@ -23770,7 +23870,8 @@ module Google
23770
23870
  attr_accessor :network_endpoint_type
23771
23871
 
23772
23872
  # The target service url used to set up private service connection to a Google
23773
- # API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
23873
+ # API or a PSC Producer Service Attachment. An example value is: "asia-
23874
+ # northeast3-cloudkms.googleapis.com"
23774
23875
  # Corresponds to the JSON property `pscTargetService`
23775
23876
  # @return [String]
23776
23877
  attr_accessor :psc_target_service
@@ -24260,10 +24361,8 @@ module Google
24260
24361
  class NetworkEndpointGroupServerlessDeployment
24261
24362
  include Google::Apis::Core::Hashable
24262
24363
 
24263
- # The platform of the backend target(s) of this NEG. Possible values include: 1.
24264
- # API Gateway: apigateway.googleapis.com 2. App Engine: appengine.googleapis.com
24265
- # 3. Cloud Functions: cloudfunctions.googleapis.com 4. Cloud Run: run.googleapis.
24266
- # com
24364
+ # The platform of the backend target(s) of this NEG. The only supported value is
24365
+ # API Gateway: apigateway.googleapis.com.
24267
24366
  # Corresponds to the JSON property `platform`
24268
24367
  # @return [String]
24269
24368
  attr_accessor :platform
@@ -25018,6 +25117,12 @@ module Google
25018
25117
  # @return [Fixnum]
25019
25118
  attr_accessor :peer_mtu
25020
25119
 
25120
+ # Which IP version(s) of traffic and routes are allowed to be imported or
25121
+ # exported between peer networks. The default value is IPV4_ONLY.
25122
+ # Corresponds to the JSON property `stackType`
25123
+ # @return [String]
25124
+ attr_accessor :stack_type
25125
+
25021
25126
  # [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The
25022
25127
  # peering is `ACTIVE` when there's a matching configuration in the peer network.
25023
25128
  # Corresponds to the JSON property `state`
@@ -25045,6 +25150,7 @@ module Google
25045
25150
  @name = args[:name] if args.key?(:name)
25046
25151
  @network = args[:network] if args.key?(:network)
25047
25152
  @peer_mtu = args[:peer_mtu] if args.key?(:peer_mtu)
25153
+ @stack_type = args[:stack_type] if args.key?(:stack_type)
25048
25154
  @state = args[:state] if args.key?(:state)
25049
25155
  @state_details = args[:state_details] if args.key?(:state_details)
25050
25156
  end
@@ -29165,18 +29271,18 @@ module Google
29165
29271
  # Fingerprint of this per-instance config. This field can be used in optimistic
29166
29272
  # locking. It is ignored when inserting a per-instance config. An up-to-date
29167
29273
  # fingerprint must be provided in order to update an existing per-instance
29168
- # config or the field needs to be unset.
29274
+ # configuration or the field needs to be unset.
29169
29275
  # Corresponds to the JSON property `fingerprint`
29170
29276
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
29171
29277
  # @return [String]
29172
29278
  attr_accessor :fingerprint
29173
29279
 
29174
- # The name of a per-instance config and its corresponding instance. Serves as a
29175
- # merge key during UpdatePerInstanceConfigs operations, that is, if a per-
29176
- # instance config with the same name exists then it will be updated, otherwise a
29177
- # new one will be created for the VM instance with the same name. An attempt to
29178
- # create a per-instance config for a VM instance that either doesn't exist or is
29179
- # not part of the group will result in an error.
29280
+ # The name of a per-instance configuration and its corresponding instance.
29281
+ # Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if
29282
+ # a per-instance configuration with the same name exists then it will be updated,
29283
+ # otherwise a new one will be created for the VM instance with the same name.
29284
+ # An attempt to create a per-instance configconfiguration for a VM instance that
29285
+ # either doesn't exist or is not part of the group will result in an error.
29180
29286
  # Corresponds to the JSON property `name`
29181
29287
  # @return [String]
29182
29288
  attr_accessor :name
@@ -29186,8 +29292,8 @@ module Google
29186
29292
  # @return [Google::Apis::ComputeAlpha::PreservedState]
29187
29293
  attr_accessor :preserved_state
29188
29294
 
29189
- # The status of applying this per-instance config on the corresponding managed
29190
- # instance.
29295
+ # The status of applying this per-instance configuration on the corresponding
29296
+ # managed instance.
29191
29297
  # Corresponds to the JSON property `status`
29192
29298
  # @return [String]
29193
29299
  attr_accessor :status
@@ -31525,8 +31631,8 @@ module Google
31525
31631
  class RegionInstanceGroupManagerPatchInstanceConfigReq
31526
31632
  include Google::Apis::Core::Hashable
31527
31633
 
31528
- # The list of per-instance configs to insert or patch on this managed instance
31529
- # group.
31634
+ # The list of per-instance configurations to insert or patch on this managed
31635
+ # instance group.
31530
31636
  # Corresponds to the JSON property `perInstanceConfigs`
31531
31637
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
31532
31638
  attr_accessor :per_instance_configs
@@ -31545,8 +31651,8 @@ module Google
31545
31651
  class RegionInstanceGroupManagerUpdateInstanceConfigReq
31546
31652
  include Google::Apis::Core::Hashable
31547
31653
 
31548
- # The list of per-instance configs to insert or patch on this managed instance
31549
- # group.
31654
+ # The list of per-instance configurations to insert or patch on this managed
31655
+ # instance group.
31550
31656
  # Corresponds to the JSON property `perInstanceConfigs`
31551
31657
  # @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
31552
31658
  attr_accessor :per_instance_configs
@@ -34184,6 +34290,11 @@ module Google
34184
34290
  # @return [Fixnum]
34185
34291
  attr_accessor :availability_domain
34186
34292
 
34293
+ # Time in future when the instance will be terminated in RFC3339 text format.
34294
+ # Corresponds to the JSON property `terminationTimestamp`
34295
+ # @return [String]
34296
+ attr_accessor :termination_timestamp
34297
+
34187
34298
  def initialize(**args)
34188
34299
  update!(**args)
34189
34300
  end
@@ -34191,6 +34302,7 @@ module Google
34191
34302
  # Update properties of this object
34192
34303
  def update!(**args)
34193
34304
  @availability_domain = args[:availability_domain] if args.key?(:availability_domain)
34305
+ @termination_timestamp = args[:termination_timestamp] if args.key?(:termination_timestamp)
34194
34306
  end
34195
34307
  end
34196
34308
 
@@ -39573,7 +39685,8 @@ module Google
39573
39685
  # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
39574
39686
  attr_accessor :guest_accelerators
39575
39687
 
39576
- # KeyRevocationActionType of the instance.
39688
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
39689
+ # NONE". The default value is "NONE" if it is not specified.
39577
39690
  # Corresponds to the JSON property `keyRevocationActionType`
39578
39691
  # @return [String]
39579
39692
  attr_accessor :key_revocation_action_type
@@ -40916,7 +41029,7 @@ module Google
40916
41029
  attr_accessor :enable_private_v6_access
40917
41030
  alias_method :enable_private_v6_access?, :enable_private_v6_access
40918
41031
 
40919
- # [Output Only] The range of external IPv6 addresses that are owned by this
41032
+ # [Output Only] The external IPv6 address range that is assigned to this
40920
41033
  # subnetwork.
40921
41034
  # Corresponds to the JSON property `externalIpv6Prefix`
40922
41035
  # @return [String]
@@ -40954,9 +41067,8 @@ module Google
40954
41067
  # @return [Fixnum]
40955
41068
  attr_accessor :id
40956
41069
 
40957
- # [Output Only] The range of internal IPv6 addresses that are owned by this
40958
- # subnetwork. Note this is for general VM to VM communication, not to be
40959
- # confused with the ipv6_cidr_range field.
41070
+ # [Output Only] The internal IPv6 address range that is assigned to this
41071
+ # subnetwork.
40960
41072
  # Corresponds to the JSON property `internalIpv6Prefix`
40961
41073
  # @return [String]
40962
41074
  attr_accessor :internal_ipv6_prefix
@@ -40973,14 +41085,12 @@ module Google
40973
41085
 
40974
41086
  # The access type of IPv6 address this subnet holds. It's immutable and can only
40975
41087
  # be specified during creation or the first time the subnet is updated into
40976
- # IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot
40977
- # enable direct path.
41088
+ # IPV4_IPV6 dual stack.
40978
41089
  # Corresponds to the JSON property `ipv6AccessType`
40979
41090
  # @return [String]
40980
41091
  attr_accessor :ipv6_access_type
40981
41092
 
40982
- # [Output Only] The range of internal IPv6 addresses that are owned by this
40983
- # subnetwork. Note this will be for private google access only eventually.
41093
+ # [Output Only] This field is for internal use.
40984
41094
  # Corresponds to the JSON property `ipv6CidrRange`
40985
41095
  # @return [String]
40986
41096
  attr_accessor :ipv6_cidr_range
@@ -41029,10 +41139,8 @@ module Google
41029
41139
  attr_accessor :private_ip_google_access
41030
41140
  alias_method :private_ip_google_access?, :private_ip_google_access
41031
41141
 
41032
- # The private IPv6 google access type for the VMs in this subnet. This is an
41033
- # expanded field of enablePrivateV6Access. If both fields are set,
41034
- # privateIpv6GoogleAccess will take priority. This field can be both set at
41035
- # resource creation time and updated using patch.
41142
+ # This field is for internal use. This field can be both set at resource
41143
+ # creation time and updated using patch.
41036
41144
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
41037
41145
  # @return [String]
41038
41146
  attr_accessor :private_ipv6_google_access
@@ -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.29.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220312"
25
+ REVISION = "20220420"
26
26
  end
27
27
  end
28
28
  end
@@ -478,6 +478,24 @@ module Google
478
478
  include Google::Apis::Core::JsonObjectSupport
479
479
  end
480
480
 
481
+ class BackendServiceLocalityLoadBalancingPolicyConfig
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
481
499
  class BackendServiceLogConfig
482
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
501
 
@@ -7157,6 +7175,8 @@ module Google
7157
7175
  property :id, :numeric_string => true, as: 'id'
7158
7176
  property :kind, as: 'kind'
7159
7177
  property :load_balancing_scheme, as: 'loadBalancingScheme'
7178
+ collection :locality_lb_policies, as: 'localityLbPolicies', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig::Representation
7179
+
7160
7180
  property :locality_lb_policy, as: 'localityLbPolicy'
7161
7181
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::BackendServiceLogConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLogConfig::Representation
7162
7182
 
@@ -7335,6 +7355,31 @@ module Google
7335
7355
  end
7336
7356
  end
7337
7357
 
7358
+ class BackendServiceLocalityLoadBalancingPolicyConfig
7359
+ # @private
7360
+ class Representation < Google::Apis::Core::JsonRepresentation
7361
+ property :custom_policy, as: 'customPolicy', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy::Representation
7362
+
7363
+ property :policy, as: 'policy', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy::Representation
7364
+
7365
+ end
7366
+ end
7367
+
7368
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
7369
+ # @private
7370
+ class Representation < Google::Apis::Core::JsonRepresentation
7371
+ property :data, as: 'data'
7372
+ property :name, as: 'name'
7373
+ end
7374
+ end
7375
+
7376
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
7377
+ # @private
7378
+ class Representation < Google::Apis::Core::JsonRepresentation
7379
+ property :name, as: 'name'
7380
+ end
7381
+ end
7382
+
7338
7383
  class BackendServiceLogConfig
7339
7384
  # @private
7340
7385
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7672,6 +7717,7 @@ module Google
7672
7717
  class ConfidentialInstanceConfig
7673
7718
  # @private
7674
7719
  class Representation < Google::Apis::Core::JsonRepresentation
7720
+ property :confidential_instance_type, as: 'confidentialInstanceType'
7675
7721
  property :enable_confidential_compute, as: 'enableConfidentialCompute'
7676
7722
  end
7677
7723
  end
@@ -12372,6 +12418,7 @@ module Google
12372
12418
  property :name, as: 'name'
12373
12419
  property :network, as: 'network'
12374
12420
  property :peer_mtu, as: 'peerMtu'
12421
+ property :stack_type, as: 'stackType'
12375
12422
  property :state, as: 'state'
12376
12423
  property :state_details, as: 'stateDetails'
12377
12424
  end
@@ -14807,6 +14854,7 @@ module Google
14807
14854
  # @private
14808
14855
  class Representation < Google::Apis::Core::JsonRepresentation
14809
14856
  property :availability_domain, as: 'availabilityDomain'
14857
+ property :termination_timestamp, as: 'terminationTimestamp'
14810
14858
  end
14811
14859
  end
14812
14860
 
@@ -9663,8 +9663,8 @@ module Google
9663
9663
  execute_or_queue_command(command, &block)
9664
9664
  end
9665
9665
 
9666
- # Creates instances with per-instance configs in this managed instance group.
9667
- # Instances are created using the current instance template. The create
9666
+ # Creates instances with per-instance configurations in this managed instance
9667
+ # group. Instances are created using the current instance template. The create
9668
9668
  # instances operation is marked DONE if the createInstances request is
9669
9669
  # successful. The underlying actions take additional time. You must separately
9670
9670
  # verify the status of the creating or actions with the listmanagedinstances
@@ -9836,7 +9836,7 @@ module Google
9836
9836
  execute_or_queue_command(command, &block)
9837
9837
  end
9838
9838
 
9839
- # Deletes selected per-instance configs for the managed instance group.
9839
+ # Deletes selected per-instance configurations for the managed instance group.
9840
9840
  # @param [String] project
9841
9841
  # Project ID for this request.
9842
9842
  # @param [String] zone
@@ -10232,8 +10232,8 @@ module Google
10232
10232
  execute_or_queue_command(command, &block)
10233
10233
  end
10234
10234
 
10235
- # Lists all of the per-instance configs defined for the managed instance group.
10236
- # The orderBy query parameter is not supported.
10235
+ # Lists all of the per-instance configurations defined for the managed instance
10236
+ # group. The orderBy query parameter is not supported.
10237
10237
  # @param [String] project
10238
10238
  # Project ID for this request.
10239
10239
  # @param [String] zone
@@ -10379,7 +10379,7 @@ module Google
10379
10379
  execute_or_queue_command(command, &block)
10380
10380
  end
10381
10381
 
10382
- # Inserts or patches per-instance configs for the managed instance group.
10382
+ # Inserts or patches per-instance configurations for the managed instance group.
10383
10383
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
10384
10384
  # insert or patch.
10385
10385
  # @param [String] project
@@ -11169,7 +11169,7 @@ module Google
11169
11169
  execute_or_queue_command(command, &block)
11170
11170
  end
11171
11171
 
11172
- # Inserts or updates per-instance configs for the managed instance group.
11172
+ # Inserts or updates per-instance configurations for the managed instance group.
11173
11173
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
11174
11174
  # insert or patch.
11175
11175
  # @param [String] project
@@ -27198,9 +27198,9 @@ module Google
27198
27198
  execute_or_queue_command(command, &block)
27199
27199
  end
27200
27200
 
27201
- # Creates instances with per-instance configs in this regional managed instance
27202
- # group. Instances are created using the current instance template. The create
27203
- # instances operation is marked DONE if the createInstances request is
27201
+ # Creates instances with per-instance configurations in this regional managed
27202
+ # instance group. Instances are created using the current instance template. The
27203
+ # create instances operation is marked DONE if the createInstances request is
27204
27204
  # successful. The underlying actions take additional time. You must separately
27205
27205
  # verify the status of the creating or actions with the listmanagedinstances
27206
27206
  # method.
@@ -27370,7 +27370,7 @@ module Google
27370
27370
  execute_or_queue_command(command, &block)
27371
27371
  end
27372
27372
 
27373
- # Deletes selected per-instance configs for the managed instance group.
27373
+ # Deletes selected per-instance configurations for the managed instance group.
27374
27374
  # @param [String] project
27375
27375
  # Project ID for this request.
27376
27376
  # @param [String] region
@@ -27759,8 +27759,8 @@ module Google
27759
27759
  execute_or_queue_command(command, &block)
27760
27760
  end
27761
27761
 
27762
- # Lists all of the per-instance configs defined for the managed instance group.
27763
- # The orderBy query parameter is not supported.
27762
+ # Lists all of the per-instance configurations defined for the managed instance
27763
+ # group. The orderBy query parameter is not supported.
27764
27764
  # @param [String] project
27765
27765
  # Project ID for this request.
27766
27766
  # @param [String] region
@@ -27905,7 +27905,7 @@ module Google
27905
27905
  execute_or_queue_command(command, &block)
27906
27906
  end
27907
27907
 
27908
- # Inserts or patches per-instance configs for the managed instance group.
27908
+ # Inserts or patches per-instance configurations for the managed instance group.
27909
27909
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
27910
27910
  # insert or patch.
27911
27911
  # @param [String] project
@@ -28682,7 +28682,7 @@ module Google
28682
28682
  execute_or_queue_command(command, &block)
28683
28683
  end
28684
28684
 
28685
- # Inserts or updates per-instance configs for the managed instance group.
28685
+ # Inserts or updates per-instance configurations for the managed instance group.
28686
28686
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
28687
28687
  # insert or patch.
28688
28688
  # @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.29.0
4
+ version: 0.32.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: 2022-03-21 00:00:00.000000000 Z
11
+ date: 2022-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.32.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: []