google-apis-compute_v1 0.77.0 → 0.79.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.77.0"
19
+ GEM_VERSION = "0.79.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230814"
25
+ REVISION = "20230912"
26
26
  end
27
27
  end
28
28
  end
@@ -2110,6 +2110,12 @@ module Google
2110
2110
  include Google::Apis::Core::JsonObjectSupport
2111
2111
  end
2112
2112
 
2113
+ class InstancesSetSecurityPolicyRequest
2114
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2115
+
2116
+ include Google::Apis::Core::JsonObjectSupport
2117
+ end
2118
+
2113
2119
  class InstancesSetServiceAccountRequest
2114
2120
  class Representation < Google::Apis::Core::JsonRepresentation; end
2115
2121
 
@@ -3484,6 +3490,18 @@ module Google
3484
3490
  include Google::Apis::Core::JsonObjectSupport
3485
3491
  end
3486
3492
 
3493
+ class PreservedStatePreservedNetworkIp
3494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3495
+
3496
+ include Google::Apis::Core::JsonObjectSupport
3497
+ end
3498
+
3499
+ class PreservedStatePreservedNetworkIpIpAddress
3500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3501
+
3502
+ include Google::Apis::Core::JsonObjectSupport
3503
+ end
3504
+
3487
3505
  class Project
3488
3506
  class Representation < Google::Apis::Core::JsonRepresentation; end
3489
3507
 
@@ -4564,6 +4582,18 @@ module Google
4564
4582
  include Google::Apis::Core::JsonObjectSupport
4565
4583
  end
4566
4584
 
4585
+ class SecurityPolicyRuleNetworkMatcher
4586
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4587
+
4588
+ include Google::Apis::Core::JsonObjectSupport
4589
+ end
4590
+
4591
+ class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
4592
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4593
+
4594
+ include Google::Apis::Core::JsonObjectSupport
4595
+ end
4596
+
4567
4597
  class SecurityPolicyRulePreconfiguredWafConfig
4568
4598
  class Representation < Google::Apis::Core::JsonRepresentation; end
4569
4599
 
@@ -4606,6 +4636,12 @@ module Google
4606
4636
  include Google::Apis::Core::JsonObjectSupport
4607
4637
  end
4608
4638
 
4639
+ class SecurityPolicyUserDefinedField
4640
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4641
+
4642
+ include Google::Apis::Core::JsonObjectSupport
4643
+ end
4644
+
4609
4645
  class SecuritySettings
4610
4646
  class Representation < Google::Apis::Core::JsonRepresentation; end
4611
4647
 
@@ -4972,6 +5008,12 @@ module Google
4972
5008
  include Google::Apis::Core::JsonObjectSupport
4973
5009
  end
4974
5010
 
5011
+ class StatefulPolicyPreservedStateNetworkIp
5012
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5013
+
5014
+ include Google::Apis::Core::JsonObjectSupport
5015
+ end
5016
+
4975
5017
  class Status
4976
5018
  class Representation < Google::Apis::Core::JsonRepresentation; end
4977
5019
 
@@ -6135,6 +6177,7 @@ module Google
6135
6177
  property :nat_ip, as: 'natIP'
6136
6178
  property :network_tier, as: 'networkTier'
6137
6179
  property :public_ptr_domain_name, as: 'publicPtrDomainName'
6180
+ property :security_policy, as: 'securityPolicy'
6138
6181
  property :set_public_ptr, as: 'setPublicPtr'
6139
6182
  property :type, as: 'type'
6140
6183
  end
@@ -10004,6 +10047,14 @@ module Google
10004
10047
  end
10005
10048
  end
10006
10049
 
10050
+ class InstancesSetSecurityPolicyRequest
10051
+ # @private
10052
+ class Representation < Google::Apis::Core::JsonRepresentation
10053
+ collection :network_interfaces, as: 'networkInterfaces'
10054
+ property :security_policy, as: 'securityPolicy'
10055
+ end
10056
+ end
10057
+
10007
10058
  class InstancesSetServiceAccountRequest
10008
10059
  # @private
10009
10060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12587,6 +12638,10 @@ module Google
12587
12638
  class Representation < Google::Apis::Core::JsonRepresentation
12588
12639
  hash :disks, as: 'disks', class: Google::Apis::ComputeV1::PreservedStatePreservedDisk, decorator: Google::Apis::ComputeV1::PreservedStatePreservedDisk::Representation
12589
12640
 
12641
+ hash :external_i_ps, as: 'externalIPs', class: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp, decorator: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp::Representation
12642
+
12643
+ hash :internal_i_ps, as: 'internalIPs', class: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp, decorator: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp::Representation
12644
+
12590
12645
  hash :metadata, as: 'metadata'
12591
12646
  end
12592
12647
  end
@@ -12600,6 +12655,23 @@ module Google
12600
12655
  end
12601
12656
  end
12602
12657
 
12658
+ class PreservedStatePreservedNetworkIp
12659
+ # @private
12660
+ class Representation < Google::Apis::Core::JsonRepresentation
12661
+ property :auto_delete, as: 'autoDelete'
12662
+ property :ip_address, as: 'ipAddress', class: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIpIpAddress, decorator: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIpIpAddress::Representation
12663
+
12664
+ end
12665
+ end
12666
+
12667
+ class PreservedStatePreservedNetworkIpIpAddress
12668
+ # @private
12669
+ class Representation < Google::Apis::Core::JsonRepresentation
12670
+ property :address, as: 'address'
12671
+ property :literal, as: 'literal'
12672
+ end
12673
+ end
12674
+
12603
12675
  class Project
12604
12676
  # @private
12605
12677
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14385,6 +14457,8 @@ module Google
14385
14457
 
14386
14458
  property :self_link, as: 'selfLink'
14387
14459
  property :type, as: 'type'
14460
+ collection :user_defined_fields, as: 'userDefinedFields', class: Google::Apis::ComputeV1::SecurityPolicyUserDefinedField, decorator: Google::Apis::ComputeV1::SecurityPolicyUserDefinedField::Representation
14461
+
14388
14462
  end
14389
14463
  end
14390
14464
 
@@ -14496,6 +14570,8 @@ module Google
14496
14570
  property :kind, as: 'kind'
14497
14571
  property :match, as: 'match', class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcher, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleMatcher::Representation
14498
14572
 
14573
+ property :network_match, as: 'networkMatch', class: Google::Apis::ComputeV1::SecurityPolicyRuleNetworkMatcher, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleNetworkMatcher::Representation
14574
+
14499
14575
  property :preconfigured_waf_config, as: 'preconfiguredWafConfig', class: Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfig::Representation
14500
14576
 
14501
14577
  property :preview, as: 'preview'
@@ -14541,6 +14617,29 @@ module Google
14541
14617
  end
14542
14618
  end
14543
14619
 
14620
+ class SecurityPolicyRuleNetworkMatcher
14621
+ # @private
14622
+ class Representation < Google::Apis::Core::JsonRepresentation
14623
+ collection :dest_ip_ranges, as: 'destIpRanges'
14624
+ collection :dest_ports, as: 'destPorts'
14625
+ collection :ip_protocols, as: 'ipProtocols'
14626
+ collection :src_asns, as: 'srcAsns'
14627
+ collection :src_ip_ranges, as: 'srcIpRanges'
14628
+ collection :src_ports, as: 'srcPorts'
14629
+ collection :src_region_codes, as: 'srcRegionCodes'
14630
+ collection :user_defined_fields, as: 'userDefinedFields', class: Google::Apis::ComputeV1::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch::Representation
14631
+
14632
+ end
14633
+ end
14634
+
14635
+ class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
14636
+ # @private
14637
+ class Representation < Google::Apis::Core::JsonRepresentation
14638
+ property :name, as: 'name'
14639
+ collection :values, as: 'values'
14640
+ end
14641
+ end
14642
+
14544
14643
  class SecurityPolicyRulePreconfiguredWafConfig
14545
14644
  # @private
14546
14645
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14616,6 +14715,17 @@ module Google
14616
14715
  end
14617
14716
  end
14618
14717
 
14718
+ class SecurityPolicyUserDefinedField
14719
+ # @private
14720
+ class Representation < Google::Apis::Core::JsonRepresentation
14721
+ property :base, as: 'base'
14722
+ property :mask, as: 'mask'
14723
+ property :name, as: 'name'
14724
+ property :offset, as: 'offset'
14725
+ property :size, as: 'size'
14726
+ end
14727
+ end
14728
+
14619
14729
  class SecuritySettings
14620
14730
  # @private
14621
14731
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15273,6 +15383,10 @@ module Google
15273
15383
  class Representation < Google::Apis::Core::JsonRepresentation
15274
15384
  hash :disks, as: 'disks', class: Google::Apis::ComputeV1::StatefulPolicyPreservedStateDiskDevice, decorator: Google::Apis::ComputeV1::StatefulPolicyPreservedStateDiskDevice::Representation
15275
15385
 
15386
+ hash :external_i_ps, as: 'externalIPs', class: Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp, decorator: Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp::Representation
15387
+
15388
+ hash :internal_i_ps, as: 'internalIPs', class: Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp, decorator: Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp::Representation
15389
+
15276
15390
  end
15277
15391
  end
15278
15392
 
@@ -15283,6 +15397,13 @@ module Google
15283
15397
  end
15284
15398
  end
15285
15399
 
15400
+ class StatefulPolicyPreservedStateNetworkIp
15401
+ # @private
15402
+ class Representation < Google::Apis::Core::JsonRepresentation
15403
+ property :auto_delete, as: 'autoDelete'
15404
+ end
15405
+ end
15406
+
15286
15407
  class Status
15287
15408
  # @private
15288
15409
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15764,6 +15885,7 @@ module Google
15764
15885
  property :name, as: 'name'
15765
15886
  property :nat_policy, as: 'natPolicy'
15766
15887
  property :network, as: 'network'
15888
+ property :security_policy, as: 'securityPolicy'
15767
15889
  property :self_link, as: 'selfLink'
15768
15890
  property :zone, as: 'zone'
15769
15891
  end
@@ -15875,6 +15997,7 @@ module Google
15875
15997
  property :kind, as: 'kind'
15876
15998
  property :name, as: 'name'
15877
15999
  property :region, as: 'region'
16000
+ property :security_policy, as: 'securityPolicy'
15878
16001
  property :self_link, as: 'selfLink'
15879
16002
  property :session_affinity, as: 'sessionAffinity'
15880
16003
  end