google-apis-compute_v1 0.61.0 → 0.63.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: 7ec3a1ed034df6e2bb12672dcf62f0b99b015dbe23b47c6e437415d84c624648
4
- data.tar.gz: fd0eedaffee5e1a68b700ef6462338e4361e82575675fe48f8b795c6f1ffe010
3
+ metadata.gz: 22f56772a1a41962896b6cf12acf7924e49acce1f6b3868ac8df2645f5e7c568
4
+ data.tar.gz: ac519130f836d8807bda641a5882f391491743d89c0bb6d3ded8c60b05341f16
5
5
  SHA512:
6
- metadata.gz: eea843e55a394c570c91987e5f94185262143e71a71de6380e648a721d7efaacc30ba389fc05999cc1884d212fb26e9c9c5fb8c4753b70e4b40a7fb4f3631ea3
7
- data.tar.gz: 2bc76d764123a6f07ca4cbe98ab909f46d50e868d994d696986063c35fabb69cd85ed45d34885fe3c51b6683b369302f701e072c866dbf16999ddcefbcdc74b8
6
+ metadata.gz: 5c5b540ac6cfeced8063649c9035fb09763294e7e8837fd337fc94dd9f7c4e3c02cacccac81f25e6f3a6f30335030cbaff8f40fb83c6832034f63dac740ae351
7
+ data.tar.gz: 36f99a70002d124eb3fc564e09a7fb9dc944be593387aaa84192be6f6e8e67c24d1c88fc996c01de6fc2d0aa51b42e7541e36431cd1fd91e6f734e416afc1a90
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.63.0 (2023-03-05)
4
+
5
+ * Regenerated from discovery document revision 20230221
6
+
7
+ ### v0.62.0 (2023-02-19)
8
+
9
+ * Regenerated from discovery document revision 20230210
10
+ * Regenerated using generator version 0.12.0
11
+
3
12
  ### v0.61.0 (2023-02-12)
4
13
 
5
14
  * Regenerated from discovery document revision 20230201
@@ -467,7 +467,7 @@ module Google
467
467
  # The first IPv6 address of the external IPv6 range associated with this
468
468
  # instance, prefix length is stored in externalIpv6PrefixLength in
469
469
  # ipv6AccessConfig. To use a static external IP address, it must be unused and
470
- # in the same region as the instance's zone. If not specified, GCP will
470
+ # in the same region as the instance's zone. If not specified, Google Cloud will
471
471
  # automatically assign an external IPv6 address from the instance's subnetwork.
472
472
  # Corresponds to the JSON property `externalIpv6`
473
473
  # @return [String]
@@ -8759,6 +8759,15 @@ module Google
8759
8759
  # @return [String]
8760
8760
  attr_accessor :backend_service
8761
8761
 
8762
+ # [Output Only] The URL for the corresponding base Forwarding Rule. By base
8763
+ # Forwarding Rule, we mean the Forwarding Rule that has the same IP address,
8764
+ # protocol, and port settings with the current Forwarding Rule, but without
8765
+ # sourceIPRanges specified. Always empty if the current Forwarding Rule does not
8766
+ # have sourceIPRanges specified.
8767
+ # Corresponds to the JSON property `baseForwardingRule`
8768
+ # @return [String]
8769
+ attr_accessor :base_forwarding_rule
8770
+
8762
8771
  # [Output Only] Creation timestamp in RFC3339 text format.
8763
8772
  # Corresponds to the JSON property `creationTimestamp`
8764
8773
  # @return [String]
@@ -8973,6 +8982,16 @@ module Google
8973
8982
  # @return [String]
8974
8983
  attr_accessor :service_name
8975
8984
 
8985
+ # If not empty, this Forwarding Rule will only forward the traffic when the
8986
+ # source IP address matches one of the IP addresses or CIDR ranges set here.
8987
+ # Note that a Forwarding Rule can only have up to 64 source IP ranges, and this
8988
+ # field can only be used with a regional Forwarding Rule whose scheme is
8989
+ # EXTERNAL. Each source_ip_range entry should be either an IP address (for
8990
+ # example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).
8991
+ # Corresponds to the JSON property `sourceIpRanges`
8992
+ # @return [Array<String>]
8993
+ attr_accessor :source_ip_ranges
8994
+
8976
8995
  # This field identifies the subnetwork that the load balanced IP should belong
8977
8996
  # to for this Forwarding Rule, used in internal load balancing and network load
8978
8997
  # balancing with IPv6. If the network specified is in auto subnet mode, this
@@ -9008,6 +9027,7 @@ module Google
9008
9027
  @all_ports = args[:all_ports] if args.key?(:all_ports)
9009
9028
  @allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
9010
9029
  @backend_service = args[:backend_service] if args.key?(:backend_service)
9030
+ @base_forwarding_rule = args[:base_forwarding_rule] if args.key?(:base_forwarding_rule)
9011
9031
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
9012
9032
  @description = args[:description] if args.key?(:description)
9013
9033
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -9032,6 +9052,7 @@ module Google
9032
9052
  @service_directory_registrations = args[:service_directory_registrations] if args.key?(:service_directory_registrations)
9033
9053
  @service_label = args[:service_label] if args.key?(:service_label)
9034
9054
  @service_name = args[:service_name] if args.key?(:service_name)
9055
+ @source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
9035
9056
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
9036
9057
  @target = args[:target] if args.key?(:target)
9037
9058
  end
@@ -12230,10 +12251,13 @@ module Google
12230
12251
  # @return [Fixnum]
12231
12252
  attr_accessor :disk_size_gb
12232
12253
 
12233
- # The name of the image family to which this image belongs. You can create disks
12234
- # by specifying an image family instead of a specific image name. The image
12235
- # family always returns its latest image that is not deprecated. The name of the
12236
- # image family must comply with RFC1035.
12254
+ # The name of the image family to which this image belongs. The image family
12255
+ # name can be from a publicly managed image family provided by Compute Engine,
12256
+ # or from a custom image family you create. For example, centos-stream-9 is a
12257
+ # publicly available image family. For more information, see Image family best
12258
+ # practices. When creating disks, you can specify an image family instead of a
12259
+ # specific image name. The image family always returns its latest image that is
12260
+ # not deprecated. The name of the image family must comply with RFC1035.
12237
12261
  # Corresponds to the JSON property `family`
12238
12262
  # @return [String]
12239
12263
  attr_accessor :family
@@ -15796,6 +15820,12 @@ module Google
15796
15820
  # @return [Google::Apis::ComputeV1::InstanceProperties]
15797
15821
  attr_accessor :properties
15798
15822
 
15823
+ # [Output Only] URL of the region where the instance template resides. Only
15824
+ # applicable for regional resources.
15825
+ # Corresponds to the JSON property `region`
15826
+ # @return [String]
15827
+ attr_accessor :region
15828
+
15799
15829
  # [Output Only] The URL for this instance template. The server defines this URL.
15800
15830
  # Corresponds to the JSON property `selfLink`
15801
15831
  # @return [String]
@@ -15827,12 +15857,130 @@ module Google
15827
15857
  @kind = args[:kind] if args.key?(:kind)
15828
15858
  @name = args[:name] if args.key?(:name)
15829
15859
  @properties = args[:properties] if args.key?(:properties)
15860
+ @region = args[:region] if args.key?(:region)
15830
15861
  @self_link = args[:self_link] if args.key?(:self_link)
15831
15862
  @source_instance = args[:source_instance] if args.key?(:source_instance)
15832
15863
  @source_instance_params = args[:source_instance_params] if args.key?(:source_instance_params)
15833
15864
  end
15834
15865
  end
15835
15866
 
15867
+ # Contains a list of InstanceTemplatesScopedList.
15868
+ class InstanceTemplateAggregatedList
15869
+ include Google::Apis::Core::Hashable
15870
+
15871
+ # [Output Only] Unique identifier for the resource; defined by the server.
15872
+ # Corresponds to the JSON property `id`
15873
+ # @return [String]
15874
+ attr_accessor :id
15875
+
15876
+ # A list of InstanceTemplatesScopedList resources.
15877
+ # Corresponds to the JSON property `items`
15878
+ # @return [Hash<String,Google::Apis::ComputeV1::InstanceTemplatesScopedList>]
15879
+ attr_accessor :items
15880
+
15881
+ # Type of resource.
15882
+ # Corresponds to the JSON property `kind`
15883
+ # @return [String]
15884
+ attr_accessor :kind
15885
+
15886
+ # [Output Only] This token allows you to get the next page of results for list
15887
+ # requests. If the number of results is larger than maxResults, use the
15888
+ # nextPageToken as a value for the query parameter pageToken in the next list
15889
+ # request. Subsequent list requests will have their own nextPageToken to
15890
+ # continue paging through the results.
15891
+ # Corresponds to the JSON property `nextPageToken`
15892
+ # @return [String]
15893
+ attr_accessor :next_page_token
15894
+
15895
+ # [Output Only] Server-defined URL for this resource.
15896
+ # Corresponds to the JSON property `selfLink`
15897
+ # @return [String]
15898
+ attr_accessor :self_link
15899
+
15900
+ # [Output Only] Informational warning message.
15901
+ # Corresponds to the JSON property `warning`
15902
+ # @return [Google::Apis::ComputeV1::InstanceTemplateAggregatedList::Warning]
15903
+ attr_accessor :warning
15904
+
15905
+ def initialize(**args)
15906
+ update!(**args)
15907
+ end
15908
+
15909
+ # Update properties of this object
15910
+ def update!(**args)
15911
+ @id = args[:id] if args.key?(:id)
15912
+ @items = args[:items] if args.key?(:items)
15913
+ @kind = args[:kind] if args.key?(:kind)
15914
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
15915
+ @self_link = args[:self_link] if args.key?(:self_link)
15916
+ @warning = args[:warning] if args.key?(:warning)
15917
+ end
15918
+
15919
+ # [Output Only] Informational warning message.
15920
+ class Warning
15921
+ include Google::Apis::Core::Hashable
15922
+
15923
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
15924
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
15925
+ # Corresponds to the JSON property `code`
15926
+ # @return [String]
15927
+ attr_accessor :code
15928
+
15929
+ # [Output Only] Metadata about this warning in key: value format. For example: "
15930
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
15931
+ # Corresponds to the JSON property `data`
15932
+ # @return [Array<Google::Apis::ComputeV1::InstanceTemplateAggregatedList::Warning::Datum>]
15933
+ attr_accessor :data
15934
+
15935
+ # [Output Only] A human-readable description of the warning code.
15936
+ # Corresponds to the JSON property `message`
15937
+ # @return [String]
15938
+ attr_accessor :message
15939
+
15940
+ def initialize(**args)
15941
+ update!(**args)
15942
+ end
15943
+
15944
+ # Update properties of this object
15945
+ def update!(**args)
15946
+ @code = args[:code] if args.key?(:code)
15947
+ @data = args[:data] if args.key?(:data)
15948
+ @message = args[:message] if args.key?(:message)
15949
+ end
15950
+
15951
+ #
15952
+ class Datum
15953
+ include Google::Apis::Core::Hashable
15954
+
15955
+ # [Output Only] A key that provides more detail on the warning being returned.
15956
+ # For example, for warnings where there are no results in a list request for a
15957
+ # particular zone, this key might be scope and the key value might be the zone
15958
+ # name. Other examples might be a key indicating a deprecated resource and a
15959
+ # suggested replacement, or a warning about invalid network settings (for
15960
+ # example, if an instance attempts to perform IP forwarding but is not enabled
15961
+ # for IP forwarding).
15962
+ # Corresponds to the JSON property `key`
15963
+ # @return [String]
15964
+ attr_accessor :key
15965
+
15966
+ # [Output Only] A warning data value corresponding to the key.
15967
+ # Corresponds to the JSON property `value`
15968
+ # @return [String]
15969
+ attr_accessor :value
15970
+
15971
+ def initialize(**args)
15972
+ update!(**args)
15973
+ end
15974
+
15975
+ # Update properties of this object
15976
+ def update!(**args)
15977
+ @key = args[:key] if args.key?(:key)
15978
+ @value = args[:value] if args.key?(:value)
15979
+ end
15980
+ end
15981
+ end
15982
+ end
15983
+
15836
15984
  # A list of instance templates.
15837
15985
  class InstanceTemplateList
15838
15986
  include Google::Apis::Core::Hashable
@@ -15951,6 +16099,98 @@ module Google
15951
16099
  end
15952
16100
  end
15953
16101
 
16102
+ #
16103
+ class InstanceTemplatesScopedList
16104
+ include Google::Apis::Core::Hashable
16105
+
16106
+ # [Output Only] A list of instance templates that are contained within the
16107
+ # specified project and zone.
16108
+ # Corresponds to the JSON property `instanceTemplates`
16109
+ # @return [Array<Google::Apis::ComputeV1::InstanceTemplate>]
16110
+ attr_accessor :instance_templates
16111
+
16112
+ # [Output Only] An informational warning that replaces the list of instance
16113
+ # templates when the list is empty.
16114
+ # Corresponds to the JSON property `warning`
16115
+ # @return [Google::Apis::ComputeV1::InstanceTemplatesScopedList::Warning]
16116
+ attr_accessor :warning
16117
+
16118
+ def initialize(**args)
16119
+ update!(**args)
16120
+ end
16121
+
16122
+ # Update properties of this object
16123
+ def update!(**args)
16124
+ @instance_templates = args[:instance_templates] if args.key?(:instance_templates)
16125
+ @warning = args[:warning] if args.key?(:warning)
16126
+ end
16127
+
16128
+ # [Output Only] An informational warning that replaces the list of instance
16129
+ # templates when the list is empty.
16130
+ class Warning
16131
+ include Google::Apis::Core::Hashable
16132
+
16133
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
16134
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
16135
+ # Corresponds to the JSON property `code`
16136
+ # @return [String]
16137
+ attr_accessor :code
16138
+
16139
+ # [Output Only] Metadata about this warning in key: value format. For example: "
16140
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
16141
+ # Corresponds to the JSON property `data`
16142
+ # @return [Array<Google::Apis::ComputeV1::InstanceTemplatesScopedList::Warning::Datum>]
16143
+ attr_accessor :data
16144
+
16145
+ # [Output Only] A human-readable description of the warning code.
16146
+ # Corresponds to the JSON property `message`
16147
+ # @return [String]
16148
+ attr_accessor :message
16149
+
16150
+ def initialize(**args)
16151
+ update!(**args)
16152
+ end
16153
+
16154
+ # Update properties of this object
16155
+ def update!(**args)
16156
+ @code = args[:code] if args.key?(:code)
16157
+ @data = args[:data] if args.key?(:data)
16158
+ @message = args[:message] if args.key?(:message)
16159
+ end
16160
+
16161
+ #
16162
+ class Datum
16163
+ include Google::Apis::Core::Hashable
16164
+
16165
+ # [Output Only] A key that provides more detail on the warning being returned.
16166
+ # For example, for warnings where there are no results in a list request for a
16167
+ # particular zone, this key might be scope and the key value might be the zone
16168
+ # name. Other examples might be a key indicating a deprecated resource and a
16169
+ # suggested replacement, or a warning about invalid network settings (for
16170
+ # example, if an instance attempts to perform IP forwarding but is not enabled
16171
+ # for IP forwarding).
16172
+ # Corresponds to the JSON property `key`
16173
+ # @return [String]
16174
+ attr_accessor :key
16175
+
16176
+ # [Output Only] A warning data value corresponding to the key.
16177
+ # Corresponds to the JSON property `value`
16178
+ # @return [String]
16179
+ attr_accessor :value
16180
+
16181
+ def initialize(**args)
16182
+ update!(**args)
16183
+ end
16184
+
16185
+ # Update properties of this object
16186
+ def update!(**args)
16187
+ @key = args[:key] if args.key?(:key)
16188
+ @value = args[:value] if args.key?(:value)
16189
+ end
16190
+ end
16191
+ end
16192
+ end
16193
+
15954
16194
  #
15955
16195
  class InstanceWithNamedPorts
15956
16196
  include Google::Apis::Core::Hashable
@@ -16268,6 +16508,32 @@ module Google
16268
16508
  end
16269
16509
  end
16270
16510
 
16511
+ #
16512
+ class InstancesSetNameRequest
16513
+ include Google::Apis::Core::Hashable
16514
+
16515
+ # The current name of this resource, used to prevent conflicts. Provide the
16516
+ # latest name when making a request to change name.
16517
+ # Corresponds to the JSON property `currentName`
16518
+ # @return [String]
16519
+ attr_accessor :current_name
16520
+
16521
+ # The name to be applied to the instance. Needs to be RFC 1035 compliant.
16522
+ # Corresponds to the JSON property `name`
16523
+ # @return [String]
16524
+ attr_accessor :name
16525
+
16526
+ def initialize(**args)
16527
+ update!(**args)
16528
+ end
16529
+
16530
+ # Update properties of this object
16531
+ def update!(**args)
16532
+ @current_name = args[:current_name] if args.key?(:current_name)
16533
+ @name = args[:name] if args.key?(:name)
16534
+ end
16535
+ end
16536
+
16271
16537
  #
16272
16538
  class InstancesSetServiceAccountRequest
16273
16539
  include Google::Apis::Core::Hashable
@@ -16485,9 +16751,7 @@ module Google
16485
16751
  # @return [Fixnum]
16486
16752
  attr_accessor :requested_link_count
16487
16753
 
16488
- # [Output Only] Set to true if the resource satisfies the zone separation
16489
- # organization policy constraints and false otherwise. Defaults to false if the
16490
- # field is not present.
16754
+ # [Output Only] Reserved for future use.
16491
16755
  # Corresponds to the JSON property `satisfiesPzs`
16492
16756
  # @return [Boolean]
16493
16757
  attr_accessor :satisfies_pzs
@@ -16771,9 +17035,7 @@ module Google
16771
17035
  # @return [String]
16772
17036
  attr_accessor :router
16773
17037
 
16774
- # [Output Only] Set to true if the resource satisfies the zone separation
16775
- # organization policy constraints and false otherwise. Defaults to false if the
16776
- # field is not present.
17038
+ # [Output Only] Reserved for future use.
16777
17039
  # Corresponds to the JSON property `satisfiesPzs`
16778
17040
  # @return [Boolean]
16779
17041
  attr_accessor :satisfies_pzs
@@ -17708,8 +17970,7 @@ module Google
17708
17970
  # @return [String]
17709
17971
  attr_accessor :status
17710
17972
 
17711
- # [Output Only] Set to true for locations that support physical zone separation.
17712
- # Defaults to false if the field is not present.
17973
+ # [Output Only] Reserved for future use.
17713
17974
  # Corresponds to the JSON property `supportsPzs`
17714
17975
  # @return [Boolean]
17715
17976
  attr_accessor :supports_pzs
@@ -21695,8 +21956,8 @@ module Google
21695
21956
 
21696
21957
  # An IPv6 internal network address for this network interface. To use a static
21697
21958
  # internal IP address, it must be unused and in the same region as the instance'
21698
- # s zone. If not specified, GCP will automatically assign an internal IPv6
21699
- # address from the instance's subnetwork.
21959
+ # s zone. If not specified, Google Cloud will automatically assign an internal
21960
+ # IPv6 address from the instance's subnetwork.
21700
21961
  # Corresponds to the JSON property `ipv6Address`
21701
21962
  # @return [String]
21702
21963
  attr_accessor :ipv6_address
@@ -23090,10 +23351,7 @@ module Google
23090
23351
  # @return [String]
23091
23352
  attr_accessor :node_type
23092
23353
 
23093
- # The flexible properties of the desired node type. Node groups that use this
23094
- # node template will create nodes of a type that matches these properties. This
23095
- # field is mutually exclusive with the node_type property; you can only define
23096
- # one or the other, but not both.
23354
+ # Do not use. Instead, use the node_type property.
23097
23355
  # Corresponds to the JSON property `nodeTypeFlexibility`
23098
23356
  # @return [Google::Apis::ComputeV1::NodeTemplateNodeTypeFlexibility]
23099
23357
  attr_accessor :node_type_flexibility
@@ -29739,7 +29997,7 @@ module Google
29739
29997
  attr_accessor :start_time
29740
29998
 
29741
29999
  # Specifies the time zone to be used in interpreting Schedule.schedule. The
29742
- # value of this field must be a time zone name from the tz database: http://en.
30000
+ # value of this field must be a time zone name from the tz database: https://
29743
30001
  # wikipedia.org/wiki/Tz_database.
29744
30002
  # Corresponds to the JSON property `timeZone`
29745
30003
  # @return [String]
@@ -30876,10 +31134,10 @@ module Google
30876
31134
  # @return [String]
30877
31135
  attr_accessor :advertise_mode
30878
31136
 
30879
- # User-specified list of prefix groups to advertise in custom mode, which can
30880
- # take one of the following options: - ALL_SUBNETS: Advertises all available
30881
- # subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router'
30882
- # s own VPC subnets. Note that this field can only be populated if
31137
+ # User-specified list of prefix groups to advertise in custom mode, which
31138
+ # currently supports the following option: - ALL_SUBNETS: Advertises all of the
31139
+ # router's own VPC subnets. This excludes any routes learned for subnets that
31140
+ # use VPC Network Peering. Note that this field can only be populated if
30883
31141
  # advertise_mode is CUSTOM and overrides the list defined for the router (in the
30884
31142
  # "bgp" message). These groups are advertised in addition to any specified
30885
31143
  # prefixes. Leave this field blank to advertise no custom groups.
@@ -33207,6 +33465,13 @@ module Google
33207
33465
  # @return [Google::Apis::ComputeV1::SecurityPolicyRuleMatcher]
33208
33466
  attr_accessor :match
33209
33467
 
33468
+ # Preconfigured WAF configuration to be applied for the rule. If the rule does
33469
+ # not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is
33470
+ # not used, this field will have no effect.
33471
+ # Corresponds to the JSON property `preconfiguredWafConfig`
33472
+ # @return [Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfig]
33473
+ attr_accessor :preconfigured_waf_config
33474
+
33210
33475
  # If set to true, the specified action is not enforced.
33211
33476
  # Corresponds to the JSON property `preview`
33212
33477
  # @return [Boolean]
@@ -33244,6 +33509,7 @@ module Google
33244
33509
  @header_action = args[:header_action] if args.key?(:header_action)
33245
33510
  @kind = args[:kind] if args.key?(:kind)
33246
33511
  @match = args[:match] if args.key?(:match)
33512
+ @preconfigured_waf_config = args[:preconfigured_waf_config] if args.key?(:preconfigured_waf_config)
33247
33513
  @preview = args[:preview] if args.key?(:preview)
33248
33514
  @priority = args[:priority] if args.key?(:priority)
33249
33515
  @rate_limit_options = args[:rate_limit_options] if args.key?(:rate_limit_options)
@@ -33365,6 +33631,107 @@ module Google
33365
33631
  end
33366
33632
  end
33367
33633
 
33634
+ #
33635
+ class SecurityPolicyRulePreconfiguredWafConfig
33636
+ include Google::Apis::Core::Hashable
33637
+
33638
+ # A list of exclusions to apply during preconfigured WAF evaluation.
33639
+ # Corresponds to the JSON property `exclusions`
33640
+ # @return [Array<Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfigExclusion>]
33641
+ attr_accessor :exclusions
33642
+
33643
+ def initialize(**args)
33644
+ update!(**args)
33645
+ end
33646
+
33647
+ # Update properties of this object
33648
+ def update!(**args)
33649
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
33650
+ end
33651
+ end
33652
+
33653
+ #
33654
+ class SecurityPolicyRulePreconfiguredWafConfigExclusion
33655
+ include Google::Apis::Core::Hashable
33656
+
33657
+ # A list of request cookie names whose value will be excluded from inspection
33658
+ # during preconfigured WAF evaluation.
33659
+ # Corresponds to the JSON property `requestCookiesToExclude`
33660
+ # @return [Array<Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
33661
+ attr_accessor :request_cookies_to_exclude
33662
+
33663
+ # A list of request header names whose value will be excluded from inspection
33664
+ # during preconfigured WAF evaluation.
33665
+ # Corresponds to the JSON property `requestHeadersToExclude`
33666
+ # @return [Array<Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
33667
+ attr_accessor :request_headers_to_exclude
33668
+
33669
+ # A list of request query parameter names whose value will be excluded from
33670
+ # inspection during preconfigured WAF evaluation. Note that the parameter can be
33671
+ # in the query string or in the POST body.
33672
+ # Corresponds to the JSON property `requestQueryParamsToExclude`
33673
+ # @return [Array<Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
33674
+ attr_accessor :request_query_params_to_exclude
33675
+
33676
+ # A list of request URIs from the request line to be excluded from inspection
33677
+ # during preconfigured WAF evaluation. When specifying this field, the query or
33678
+ # fragment part should be excluded.
33679
+ # Corresponds to the JSON property `requestUrisToExclude`
33680
+ # @return [Array<Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
33681
+ attr_accessor :request_uris_to_exclude
33682
+
33683
+ # A list of target rule IDs under the WAF rule set to apply the preconfigured
33684
+ # WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule
33685
+ # set.
33686
+ # Corresponds to the JSON property `targetRuleIds`
33687
+ # @return [Array<String>]
33688
+ attr_accessor :target_rule_ids
33689
+
33690
+ # Target WAF rule set to apply the preconfigured WAF exclusion.
33691
+ # Corresponds to the JSON property `targetRuleSet`
33692
+ # @return [String]
33693
+ attr_accessor :target_rule_set
33694
+
33695
+ def initialize(**args)
33696
+ update!(**args)
33697
+ end
33698
+
33699
+ # Update properties of this object
33700
+ def update!(**args)
33701
+ @request_cookies_to_exclude = args[:request_cookies_to_exclude] if args.key?(:request_cookies_to_exclude)
33702
+ @request_headers_to_exclude = args[:request_headers_to_exclude] if args.key?(:request_headers_to_exclude)
33703
+ @request_query_params_to_exclude = args[:request_query_params_to_exclude] if args.key?(:request_query_params_to_exclude)
33704
+ @request_uris_to_exclude = args[:request_uris_to_exclude] if args.key?(:request_uris_to_exclude)
33705
+ @target_rule_ids = args[:target_rule_ids] if args.key?(:target_rule_ids)
33706
+ @target_rule_set = args[:target_rule_set] if args.key?(:target_rule_set)
33707
+ end
33708
+ end
33709
+
33710
+ #
33711
+ class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
33712
+ include Google::Apis::Core::Hashable
33713
+
33714
+ # The match operator for the field.
33715
+ # Corresponds to the JSON property `op`
33716
+ # @return [String]
33717
+ attr_accessor :op
33718
+
33719
+ # The value of the field.
33720
+ # Corresponds to the JSON property `val`
33721
+ # @return [String]
33722
+ attr_accessor :val
33723
+
33724
+ def initialize(**args)
33725
+ update!(**args)
33726
+ end
33727
+
33728
+ # Update properties of this object
33729
+ def update!(**args)
33730
+ @op = args[:op] if args.key?(:op)
33731
+ @val = args[:val] if args.key?(:val)
33732
+ end
33733
+ end
33734
+
33368
33735
  #
33369
33736
  class SecurityPolicyRuleRateLimitOptions
33370
33737
  include Google::Apis::Core::Hashable
@@ -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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230201"
25
+ REVISION = "20230221"
26
26
  end
27
27
  end
28
28
  end