google-apis-compute_alpha 0.28.0 → 0.31.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12a0d7d352784bf3d35456512fb138ced5ad6b1217f9e0b6f9bd2be9e4aa1150
4
- data.tar.gz: bcf24ee4bfb3e061f8941bd78949fe6599a002da2992c5824b46b484f3a420b4
3
+ metadata.gz: bf3e0f258664d9bbe34a6d34e0eaa582bacc07ade20b406ab1a64d0ae1c099da
4
+ data.tar.gz: fefc1035246c1905d2ce5df7eb759adb4c4193fdea6a6d4a51e897f6fb9735e4
5
5
  SHA512:
6
- metadata.gz: 1310a932328f78af34a401d3053c9fedeaeb7caad270824febc24bd8c5ef417830765d31d37407653dab254ac7726514fcacc53aaa9fb9f0af9271ee6c1f62e6
7
- data.tar.gz: fcb28cffdf939d5844be21f01ec9ac34de91e644ab3352d6958cc4390269175c7a77e57334c00f2d9cd5ab6cbbf06d9a39676176a5795a7594db42a31e200dfd
6
+ metadata.gz: a62817847f8899eacc323be4dc0feeedc1d5a5914914c1c8cbb3eb1b29b7f2655c839faf10e7c073258396e04bd1483745df3a1339a7bc9bb55399980cdc0af7
7
+ data.tar.gz: c3c891a7b6a215dcddb433e157a784b9c97ab6aabea15c2717c524052462e505b658c3348da428568c446e8a89e9a3b22f36de545fa413a607d236bdc1345da7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.31.0 (2022-03-30)
4
+
5
+ * Regenerated from discovery document revision 20220322
6
+
7
+ ### v0.30.0 (2022-03-23)
8
+
9
+ * Regenerated from discovery document revision 20220315
10
+
11
+ ### v0.29.0 (2022-03-18)
12
+
13
+ * Regenerated from discovery document revision 20220312
14
+
3
15
  ### v0.28.0 (2022-03-09)
4
16
 
5
17
  * Regenerated from discovery document revision 20220301
@@ -3463,6 +3463,15 @@ module Google
3463
3463
  # @return [String]
3464
3464
  attr_accessor :load_balancing_scheme
3465
3465
 
3466
+ # A list of locality load balancing policies to be used in order of preference.
3467
+ # Either the policy or the customPolicy field should be set. Overrides any value
3468
+ # set in the localityLbPolicy field. localityLbPolicies is only supported when
3469
+ # the BackendService is referenced by a URL Map that is referenced by a target
3470
+ # gRPC proxy that has the validateForProxyless field set to true.
3471
+ # Corresponds to the JSON property `localityLbPolicies`
3472
+ # @return [Array<Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig>]
3473
+ attr_accessor :locality_lb_policies
3474
+
3466
3475
  # The load balancing algorithm used within the scope of the locality. The
3467
3476
  # possible values are: - ROUND_ROBIN: This is a simple policy in which each
3468
3477
  # healthy backend is selected in round robin order. This is the default. -
@@ -3614,12 +3623,13 @@ module Google
3614
3623
  attr_accessor :subsetting
3615
3624
 
3616
3625
  # The backend service timeout has a different meaning depending on the type of
3617
- # load balancer. For more information see, Backend service settings The default
3618
- # is 30 seconds. The full range of timeout values allowed is 1 - 2,147,483,647
3619
- # seconds. This value can be overridden in the PathMatcher configuration of the
3620
- # UrlMap that references this backend service. Not supported when the backend
3621
- # service is referenced by a URL map that is bound to target gRPC proxy that has
3622
- # validateForProxyless field set to true. Instead, use maxStreamDuration.
3626
+ # load balancer. For more information see, Backend service settings. The default
3627
+ # is 30 seconds. The full range of timeout values allowed goes from 1 through 2,
3628
+ # 147,483,647 seconds. This value can be overridden in the PathMatcher
3629
+ # configuration of the UrlMap that references this backend service. Not
3630
+ # supported when the backend service is referenced by a URL map that is bound to
3631
+ # target gRPC proxy that has validateForProxyless field set to true. Instead,
3632
+ # use maxStreamDuration.
3623
3633
  # Corresponds to the JSON property `timeoutSec`
3624
3634
  # @return [Fixnum]
3625
3635
  attr_accessor :timeout_sec
@@ -3651,6 +3661,7 @@ module Google
3651
3661
  @id = args[:id] if args.key?(:id)
3652
3662
  @kind = args[:kind] if args.key?(:kind)
3653
3663
  @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
3664
+ @locality_lb_policies = args[:locality_lb_policies] if args.key?(:locality_lb_policies)
3654
3665
  @locality_lb_policy = args[:locality_lb_policy] if args.key?(:locality_lb_policy)
3655
3666
  @log_config = args[:log_config] if args.key?(:log_config)
3656
3667
  @max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
@@ -4358,6 +4369,88 @@ module Google
4358
4369
  end
4359
4370
  end
4360
4371
 
4372
+ # Container for either a built-in LB policy supported by gRPC or Envoy or a
4373
+ # custom one implemented by the end user.
4374
+ class BackendServiceLocalityLoadBalancingPolicyConfig
4375
+ include Google::Apis::Core::Hashable
4376
+
4377
+ # The configuration for a custom policy implemented by the user and deployed
4378
+ # with the client.
4379
+ # Corresponds to the JSON property `customPolicy`
4380
+ # @return [Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]
4381
+ attr_accessor :custom_policy
4382
+
4383
+ # The configuration for a built-in load balancing policy.
4384
+ # Corresponds to the JSON property `policy`
4385
+ # @return [Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy]
4386
+ attr_accessor :policy
4387
+
4388
+ def initialize(**args)
4389
+ update!(**args)
4390
+ end
4391
+
4392
+ # Update properties of this object
4393
+ def update!(**args)
4394
+ @custom_policy = args[:custom_policy] if args.key?(:custom_policy)
4395
+ @policy = args[:policy] if args.key?(:policy)
4396
+ end
4397
+ end
4398
+
4399
+ # The configuration for a custom policy implemented by the user and deployed
4400
+ # with the client.
4401
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
4402
+ include Google::Apis::Core::Hashable
4403
+
4404
+ # An optional, arbitrary JSON object with configuration data, understood by a
4405
+ # locally installed custom policy implementation.
4406
+ # Corresponds to the JSON property `data`
4407
+ # @return [String]
4408
+ attr_accessor :data
4409
+
4410
+ # Identifies the custom policy. The value should match the type the custom
4411
+ # implementation is registered with on the gRPC clients. It should follow
4412
+ # protocol buffer message naming conventions and include the full path (e.g.
4413
+ # myorg.CustomLbPolicy). The maximum length is 256 characters. Note that
4414
+ # specifying the same custom policy more than once for a backend is not a valid
4415
+ # configuration and will be rejected.
4416
+ # Corresponds to the JSON property `name`
4417
+ # @return [String]
4418
+ attr_accessor :name
4419
+
4420
+ def initialize(**args)
4421
+ update!(**args)
4422
+ end
4423
+
4424
+ # Update properties of this object
4425
+ def update!(**args)
4426
+ @data = args[:data] if args.key?(:data)
4427
+ @name = args[:name] if args.key?(:name)
4428
+ end
4429
+ end
4430
+
4431
+ # The configuration for a built-in load balancing policy.
4432
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
4433
+ include Google::Apis::Core::Hashable
4434
+
4435
+ # The name of a locality load balancer policy to be used. The value should be
4436
+ # one of the predefined ones as supported by localityLbPolicy, although at the
4437
+ # moment only ROUND_ROBIN is supported. This field should only be populated when
4438
+ # the customPolicy field is not used. Note that specifying the same policy more
4439
+ # than once for a backend is not a valid configuration and will be rejected.
4440
+ # Corresponds to the JSON property `name`
4441
+ # @return [String]
4442
+ attr_accessor :name
4443
+
4444
+ def initialize(**args)
4445
+ update!(**args)
4446
+ end
4447
+
4448
+ # Update properties of this object
4449
+ def update!(**args)
4450
+ @name = args[:name] if args.key?(:name)
4451
+ end
4452
+ end
4453
+
4361
4454
  # The available logging options for the load balancer traffic served by this
4362
4455
  # backend service.
4363
4456
  class BackendServiceLogConfig
@@ -9480,6 +9573,14 @@ module Google
9480
9573
  # @return [String]
9481
9574
  attr_accessor :network_tier
9482
9575
 
9576
+ # This is used in PSC consumer ForwardingRule to control whether it should try
9577
+ # to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
9578
+ # field.
9579
+ # Corresponds to the JSON property `noAutomateDnsZone`
9580
+ # @return [Boolean]
9581
+ attr_accessor :no_automate_dns_zone
9582
+ alias_method :no_automate_dns_zone?, :no_automate_dns_zone
9583
+
9483
9584
  # This field can be used only if: - Load balancing scheme is one of EXTERNAL,
9484
9585
  # INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or
9485
9586
  # SCTP. Packets addressed to ports in the specified range will be forwarded to
@@ -9607,6 +9708,7 @@ module Google
9607
9708
  @name = args[:name] if args.key?(:name)
9608
9709
  @network = args[:network] if args.key?(:network)
9609
9710
  @network_tier = args[:network_tier] if args.key?(:network_tier)
9711
+ @no_automate_dns_zone = args[:no_automate_dns_zone] if args.key?(:no_automate_dns_zone)
9610
9712
  @port_range = args[:port_range] if args.key?(:port_range)
9611
9713
  @ports = args[:ports] if args.key?(:ports)
9612
9714
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
@@ -10752,13 +10854,9 @@ module Google
10752
10854
  # @return [String]
10753
10855
  attr_accessor :label_fingerprint
10754
10856
 
10755
- # A list of labels to apply for this resource. Each label key & value must
10756
- # comply with RFC1035. Specifically, the name must be 1-63 characters long and
10757
- # match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
10758
- # first character must be a lowercase letter, and all following characters must
10759
- # be a dash, lowercase letter, or digit, except the last character, which cannot
10760
- # be a dash. For example, "webserver-frontend": "images". A label value can also
10761
- # be empty (e.g. "my-label": "").
10857
+ # A list of labels to apply for this resource. Each label must comply with the
10858
+ # requirements for labels. For example, "webserver-frontend": "images". A label
10859
+ # value can also be empty (e.g. "my-label": "").
10762
10860
  # Corresponds to the JSON property `labels`
10763
10861
  # @return [Hash<String,String>]
10764
10862
  attr_accessor :labels
@@ -10975,9 +11073,9 @@ module Google
10975
11073
 
10976
11074
  # The ID of a supported feature. To add multiple values, use commas to separate
10977
11075
  # values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
10978
- # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC -
10979
- # SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information,
10980
- # see Enabling guest operating system features.
11076
+ # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
11077
+ # SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling
11078
+ # guest operating system features.
10981
11079
  # Corresponds to the JSON property `type`
10982
11080
  # @return [String]
10983
11081
  attr_accessor :type
@@ -14255,7 +14353,8 @@ module Google
14255
14353
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
14256
14354
  attr_accessor :instance_encryption_key
14257
14355
 
14258
- # KeyRevocationActionType of the instance.
14356
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
14357
+ # NONE". The default value is "NONE" if it is not specified.
14259
14358
  # Corresponds to the JSON property `keyRevocationActionType`
14260
14359
  # @return [String]
14261
14360
  attr_accessor :key_revocation_action_type
@@ -17570,7 +17669,8 @@ module Google
17570
17669
  # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
17571
17670
  attr_accessor :guest_accelerators
17572
17671
 
17573
- # KeyRevocationActionType of the instance.
17672
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
17673
+ # NONE". The default value is "NONE" if it is not specified.
17574
17674
  # Corresponds to the JSON property `keyRevocationActionType`
17575
17675
  # @return [String]
17576
17676
  attr_accessor :key_revocation_action_type
@@ -24250,10 +24350,8 @@ module Google
24250
24350
  class NetworkEndpointGroupServerlessDeployment
24251
24351
  include Google::Apis::Core::Hashable
24252
24352
 
24253
- # The platform of the backend target(s) of this NEG. Possible values include: 1.
24254
- # API Gateway: apigateway.googleapis.com 2. App Engine: appengine.googleapis.com
24255
- # 3. Cloud Functions: cloudfunctions.googleapis.com 4. Cloud Run: run.googleapis.
24256
- # com
24353
+ # The platform of the backend target(s) of this NEG. The only supported value is
24354
+ # API Gateway: apigateway.googleapis.com.
24257
24355
  # Corresponds to the JSON property `platform`
24258
24356
  # @return [String]
24259
24357
  attr_accessor :platform
@@ -24671,7 +24769,8 @@ module Google
24671
24769
  attr_accessor :kind
24672
24770
 
24673
24771
  # [Output Only] The name of the network interface, which is generated by the
24674
- # server. For network devices, these are eth0, eth1, etc.
24772
+ # server. For a VM, the network interface uses the nicN naming format. Where N
24773
+ # is a value between 0 and 7. The default interface value is nic0.
24675
24774
  # Corresponds to the JSON property `name`
24676
24775
  # @return [String]
24677
24776
  attr_accessor :name
@@ -25007,6 +25106,12 @@ module Google
25007
25106
  # @return [Fixnum]
25008
25107
  attr_accessor :peer_mtu
25009
25108
 
25109
+ # Which IP version(s) of traffic and routes are allowed to be imported or
25110
+ # exported between peer networks. The default value is IPV4_ONLY.
25111
+ # Corresponds to the JSON property `stackType`
25112
+ # @return [String]
25113
+ attr_accessor :stack_type
25114
+
25010
25115
  # [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The
25011
25116
  # peering is `ACTIVE` when there's a matching configuration in the peer network.
25012
25117
  # Corresponds to the JSON property `state`
@@ -25034,6 +25139,7 @@ module Google
25034
25139
  @name = args[:name] if args.key?(:name)
25035
25140
  @network = args[:network] if args.key?(:network)
25036
25141
  @peer_mtu = args[:peer_mtu] if args.key?(:peer_mtu)
25142
+ @stack_type = args[:stack_type] if args.key?(:stack_type)
25037
25143
  @state = args[:state] if args.key?(:state)
25038
25144
  @state_details = args[:state_details] if args.key?(:state_details)
25039
25145
  end
@@ -34173,6 +34279,11 @@ module Google
34173
34279
  # @return [Fixnum]
34174
34280
  attr_accessor :availability_domain
34175
34281
 
34282
+ # Time in future when the instance will be terminated in RFC3339 text format.
34283
+ # Corresponds to the JSON property `terminationTimestamp`
34284
+ # @return [String]
34285
+ attr_accessor :termination_timestamp
34286
+
34176
34287
  def initialize(**args)
34177
34288
  update!(**args)
34178
34289
  end
@@ -34180,6 +34291,7 @@ module Google
34180
34291
  # Update properties of this object
34181
34292
  def update!(**args)
34182
34293
  @availability_domain = args[:availability_domain] if args.key?(:availability_domain)
34294
+ @termination_timestamp = args[:termination_timestamp] if args.key?(:termination_timestamp)
34183
34295
  end
34184
34296
  end
34185
34297
 
@@ -39562,7 +39674,8 @@ module Google
39562
39674
  # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
39563
39675
  attr_accessor :guest_accelerators
39564
39676
 
39565
- # KeyRevocationActionType of the instance.
39677
+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
39678
+ # NONE". The default value is "NONE" if it is not specified.
39566
39679
  # Corresponds to the JSON property `keyRevocationActionType`
39567
39680
  # @return [String]
39568
39681
  attr_accessor :key_revocation_action_type
@@ -40905,7 +41018,7 @@ module Google
40905
41018
  attr_accessor :enable_private_v6_access
40906
41019
  alias_method :enable_private_v6_access?, :enable_private_v6_access
40907
41020
 
40908
- # [Output Only] The range of external IPv6 addresses that are owned by this
41021
+ # [Output Only] The external IPv6 address range that is assigned to this
40909
41022
  # subnetwork.
40910
41023
  # Corresponds to the JSON property `externalIpv6Prefix`
40911
41024
  # @return [String]
@@ -40943,9 +41056,8 @@ module Google
40943
41056
  # @return [Fixnum]
40944
41057
  attr_accessor :id
40945
41058
 
40946
- # [Output Only] The range of internal IPv6 addresses that are owned by this
40947
- # subnetwork. Note this is for general VM to VM communication, not to be
40948
- # confused with the ipv6_cidr_range field.
41059
+ # [Output Only] The internal IPv6 address range that is assigned to this
41060
+ # subnetwork.
40949
41061
  # Corresponds to the JSON property `internalIpv6Prefix`
40950
41062
  # @return [String]
40951
41063
  attr_accessor :internal_ipv6_prefix
@@ -40962,14 +41074,12 @@ module Google
40962
41074
 
40963
41075
  # The access type of IPv6 address this subnet holds. It's immutable and can only
40964
41076
  # be specified during creation or the first time the subnet is updated into
40965
- # IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot
40966
- # enable direct path.
41077
+ # IPV4_IPV6 dual stack.
40967
41078
  # Corresponds to the JSON property `ipv6AccessType`
40968
41079
  # @return [String]
40969
41080
  attr_accessor :ipv6_access_type
40970
41081
 
40971
- # [Output Only] The range of internal IPv6 addresses that are owned by this
40972
- # subnetwork. Note this will be for private google access only eventually.
41082
+ # [Output Only] This field is for internal use.
40973
41083
  # Corresponds to the JSON property `ipv6CidrRange`
40974
41084
  # @return [String]
40975
41085
  attr_accessor :ipv6_cidr_range
@@ -41018,10 +41128,8 @@ module Google
41018
41128
  attr_accessor :private_ip_google_access
41019
41129
  alias_method :private_ip_google_access?, :private_ip_google_access
41020
41130
 
41021
- # The private IPv6 google access type for the VMs in this subnet. This is an
41022
- # expanded field of enablePrivateV6Access. If both fields are set,
41023
- # privateIpv6GoogleAccess will take priority. This field can be both set at
41024
- # resource creation time and updated using patch.
41131
+ # This field is for internal use. This field can be both set at resource
41132
+ # creation time and updated using patch.
41025
41133
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
41026
41134
  # @return [String]
41027
41135
  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.28.0"
19
+ GEM_VERSION = "0.31.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 = "20220301"
25
+ REVISION = "20220322"
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
@@ -8513,6 +8558,7 @@ module Google
8513
8558
  property :name, as: 'name'
8514
8559
  property :network, as: 'network'
8515
8560
  property :network_tier, as: 'networkTier'
8561
+ property :no_automate_dns_zone, as: 'noAutomateDnsZone'
8516
8562
  property :port_range, as: 'portRange'
8517
8563
  collection :ports, as: 'ports'
8518
8564
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
@@ -12371,6 +12417,7 @@ module Google
12371
12417
  property :name, as: 'name'
12372
12418
  property :network, as: 'network'
12373
12419
  property :peer_mtu, as: 'peerMtu'
12420
+ property :stack_type, as: 'stackType'
12374
12421
  property :state, as: 'state'
12375
12422
  property :state_details, as: 'stateDetails'
12376
12423
  end
@@ -14806,6 +14853,7 @@ module Google
14806
14853
  # @private
14807
14854
  class Representation < Google::Apis::Core::JsonRepresentation
14808
14855
  property :availability_domain, as: 'availabilityDomain'
14856
+ property :termination_timestamp, as: 'terminationTimestamp'
14809
14857
  end
14810
14858
  end
14811
14859
 
@@ -23247,6 +23247,53 @@ module Google
23247
23247
  execute_or_queue_command(command, &block)
23248
23248
  end
23249
23249
 
23250
+ # Announces the specified PublicAdvertisedPrefix
23251
+ # @param [String] project
23252
+ # Project ID for this request.
23253
+ # @param [String] public_advertised_prefix
23254
+ # The name of the public advertised prefix. It should comply with RFC1035.
23255
+ # @param [String] request_id
23256
+ # An optional request ID to identify requests. Specify a unique request ID so
23257
+ # that if you must retry your request, the server will know to ignore the
23258
+ # request if it has already been completed. For example, consider a situation
23259
+ # where you make an initial request and the request times out. If you make the
23260
+ # request again with the same request ID, the server can check if original
23261
+ # operation with the same request ID was received, and if so, will ignore the
23262
+ # second request. This prevents clients from accidentally creating duplicate
23263
+ # commitments. The request ID must be a valid UUID with the exception that zero
23264
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
23265
+ # @param [String] fields
23266
+ # Selector specifying which fields to include in a partial response.
23267
+ # @param [String] quota_user
23268
+ # Available to use for quota purposes for server-side applications. Can be any
23269
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23270
+ # @param [String] user_ip
23271
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23272
+ # @param [Google::Apis::RequestOptions] options
23273
+ # Request-specific options
23274
+ #
23275
+ # @yield [result, err] Result & error if block supplied
23276
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
23277
+ # @yieldparam err [StandardError] error object if request failed
23278
+ #
23279
+ # @return [Google::Apis::ComputeAlpha::Operation]
23280
+ #
23281
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23282
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23283
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23284
+ def announce_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23285
+ command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce', options)
23286
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
23287
+ command.response_class = Google::Apis::ComputeAlpha::Operation
23288
+ command.params['project'] = project unless project.nil?
23289
+ command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
23290
+ command.query['requestId'] = request_id unless request_id.nil?
23291
+ command.query['fields'] = fields unless fields.nil?
23292
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23293
+ command.query['userIp'] = user_ip unless user_ip.nil?
23294
+ execute_or_queue_command(command, &block)
23295
+ end
23296
+
23250
23297
  # Deletes the specified PublicAdvertisedPrefix
23251
23298
  # @param [String] project
23252
23299
  # Project ID for this request.
@@ -23507,6 +23554,53 @@ module Google
23507
23554
  execute_or_queue_command(command, &block)
23508
23555
  end
23509
23556
 
23557
+ # Withdraws the specified PublicAdvertisedPrefix
23558
+ # @param [String] project
23559
+ # Project ID for this request.
23560
+ # @param [String] public_advertised_prefix
23561
+ # The name of the public advertised prefix. It should comply with RFC1035.
23562
+ # @param [String] request_id
23563
+ # An optional request ID to identify requests. Specify a unique request ID so
23564
+ # that if you must retry your request, the server will know to ignore the
23565
+ # request if it has already been completed. For example, consider a situation
23566
+ # where you make an initial request and the request times out. If you make the
23567
+ # request again with the same request ID, the server can check if original
23568
+ # operation with the same request ID was received, and if so, will ignore the
23569
+ # second request. This prevents clients from accidentally creating duplicate
23570
+ # commitments. The request ID must be a valid UUID with the exception that zero
23571
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
23572
+ # @param [String] fields
23573
+ # Selector specifying which fields to include in a partial response.
23574
+ # @param [String] quota_user
23575
+ # Available to use for quota purposes for server-side applications. Can be any
23576
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23577
+ # @param [String] user_ip
23578
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23579
+ # @param [Google::Apis::RequestOptions] options
23580
+ # Request-specific options
23581
+ #
23582
+ # @yield [result, err] Result & error if block supplied
23583
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
23584
+ # @yieldparam err [StandardError] error object if request failed
23585
+ #
23586
+ # @return [Google::Apis::ComputeAlpha::Operation]
23587
+ #
23588
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23589
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23590
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23591
+ def withdraw_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23592
+ command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw', options)
23593
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
23594
+ command.response_class = Google::Apis::ComputeAlpha::Operation
23595
+ command.params['project'] = project unless project.nil?
23596
+ command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
23597
+ command.query['requestId'] = request_id unless request_id.nil?
23598
+ command.query['fields'] = fields unless fields.nil?
23599
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23600
+ command.query['userIp'] = user_ip unless user_ip.nil?
23601
+ execute_or_queue_command(command, &block)
23602
+ end
23603
+
23510
23604
  # Lists all PublicDelegatedPrefix resources owned by the specific project across
23511
23605
  # all scopes.
23512
23606
  # @param [String] project
@@ -23593,6 +23687,57 @@ module Google
23593
23687
  execute_or_queue_command(command, &block)
23594
23688
  end
23595
23689
 
23690
+ # Announces the specified PublicDelegatedPrefix in the given region.
23691
+ # @param [String] project
23692
+ # Project ID for this request.
23693
+ # @param [String] region
23694
+ # The name of the region where the public delegated prefix is located. It should
23695
+ # comply with RFC1035.
23696
+ # @param [String] public_delegated_prefix
23697
+ # The name of the public delegated prefix. It should comply with RFC1035.
23698
+ # @param [String] request_id
23699
+ # An optional request ID to identify requests. Specify a unique request ID so
23700
+ # that if you must retry your request, the server will know to ignore the
23701
+ # request if it has already been completed. For example, consider a situation
23702
+ # where you make an initial request and the request times out. If you make the
23703
+ # request again with the same request ID, the server can check if original
23704
+ # operation with the same request ID was received, and if so, will ignore the
23705
+ # second request. This prevents clients from accidentally creating duplicate
23706
+ # commitments. The request ID must be a valid UUID with the exception that zero
23707
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
23708
+ # @param [String] fields
23709
+ # Selector specifying which fields to include in a partial response.
23710
+ # @param [String] quota_user
23711
+ # Available to use for quota purposes for server-side applications. Can be any
23712
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23713
+ # @param [String] user_ip
23714
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23715
+ # @param [Google::Apis::RequestOptions] options
23716
+ # Request-specific options
23717
+ #
23718
+ # @yield [result, err] Result & error if block supplied
23719
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
23720
+ # @yieldparam err [StandardError] error object if request failed
23721
+ #
23722
+ # @return [Google::Apis::ComputeAlpha::Operation]
23723
+ #
23724
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23725
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23726
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23727
+ def announce_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23728
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce', options)
23729
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
23730
+ command.response_class = Google::Apis::ComputeAlpha::Operation
23731
+ command.params['project'] = project unless project.nil?
23732
+ command.params['region'] = region unless region.nil?
23733
+ command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
23734
+ command.query['requestId'] = request_id unless request_id.nil?
23735
+ command.query['fields'] = fields unless fields.nil?
23736
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23737
+ command.query['userIp'] = user_ip unless user_ip.nil?
23738
+ execute_or_queue_command(command, &block)
23739
+ end
23740
+
23596
23741
  # Deletes the specified PublicDelegatedPrefix in the given region.
23597
23742
  # @param [String] project
23598
23743
  # Project ID for this request.
@@ -23868,6 +24013,57 @@ module Google
23868
24013
  execute_or_queue_command(command, &block)
23869
24014
  end
23870
24015
 
24016
+ # Withdraws the specified PublicDelegatedPrefix in the given region.
24017
+ # @param [String] project
24018
+ # Project ID for this request.
24019
+ # @param [String] region
24020
+ # The name of the region where the public delegated prefix is located. It should
24021
+ # comply with RFC1035.
24022
+ # @param [String] public_delegated_prefix
24023
+ # The name of the public delegated prefix. It should comply with RFC1035.
24024
+ # @param [String] request_id
24025
+ # An optional request ID to identify requests. Specify a unique request ID so
24026
+ # that if you must retry your request, the server will know to ignore the
24027
+ # request if it has already been completed. For example, consider a situation
24028
+ # where you make an initial request and the request times out. If you make the
24029
+ # request again with the same request ID, the server can check if original
24030
+ # operation with the same request ID was received, and if so, will ignore the
24031
+ # second request. This prevents clients from accidentally creating duplicate
24032
+ # commitments. The request ID must be a valid UUID with the exception that zero
24033
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
24034
+ # @param [String] fields
24035
+ # Selector specifying which fields to include in a partial response.
24036
+ # @param [String] quota_user
24037
+ # Available to use for quota purposes for server-side applications. Can be any
24038
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24039
+ # @param [String] user_ip
24040
+ # Legacy name for parameter that has been superseded by `quotaUser`.
24041
+ # @param [Google::Apis::RequestOptions] options
24042
+ # Request-specific options
24043
+ #
24044
+ # @yield [result, err] Result & error if block supplied
24045
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
24046
+ # @yieldparam err [StandardError] error object if request failed
24047
+ #
24048
+ # @return [Google::Apis::ComputeAlpha::Operation]
24049
+ #
24050
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24051
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24052
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24053
+ def withdraw_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24054
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw', options)
24055
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
24056
+ command.response_class = Google::Apis::ComputeAlpha::Operation
24057
+ command.params['project'] = project unless project.nil?
24058
+ command.params['region'] = region unless region.nil?
24059
+ command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
24060
+ command.query['requestId'] = request_id unless request_id.nil?
24061
+ command.query['fields'] = fields unless fields.nil?
24062
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24063
+ command.query['userIp'] = user_ip unless user_ip.nil?
24064
+ execute_or_queue_command(command, &block)
24065
+ end
24066
+
23871
24067
  # Deletes the specified autoscaler.
23872
24068
  # @param [String] project
23873
24069
  # Project ID for this request.
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.28.0
4
+ version: 0.31.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-14 00:00:00.000000000 Z
11
+ date: 2022-04-04 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.31.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: []