google-apis-networksecurity_v1 0.18.0 → 0.20.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: 2069795cc6f82c6b7a8a3b16c6a9a4ff991316c409aeadbc05fd988732a7859b
4
- data.tar.gz: f9ef220a79aa9bd8039015bab773eddb0c16b7c9ab603f73a8943de4ce7ae072
3
+ metadata.gz: 63cc1b0eec393f74db335e0bcf11fe749bad739a7344f7980ef106a2aee4433b
4
+ data.tar.gz: 061d0dd6a1d429005963353041c02fb5d9073e2cde2e5619839c0d2b2fdda229
5
5
  SHA512:
6
- metadata.gz: 1732d5f66a632054c8c0f89a43f28425b73851c265a9f212ac59aec5edbaa4d9e26754fa7cce635057f8846c24972f9ec4778b1ca9db0857bf681ff8989fb473
7
- data.tar.gz: 64e6c82346fc9bfa1f4c4b3f52d903d624eaa5a8c743d2ced1302855b92ec0f856af9bbd6d7b96063a0ddb7e07c6ff02ed31846bc0ff5fa7ca17add6382de6d7
6
+ metadata.gz: 37c967f95b88af0a834558019f6955670e28f5a9e57c4fb1b04ee0099fb183c993b668f09695160fb3550727d43b0fb22f6b306491ec98e62600cc7a88a9e13e
7
+ data.tar.gz: e36ac244cc8df9bf899723d3755d4817f2802f899eead06d326a9dbd6d4166a5acc254b50ee4680fe050c3b63aec0cd9dae2ae4672cc76d1f67b3a39e35e8439
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networksecurity_v1
2
2
 
3
+ ### v0.20.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230511
6
+
7
+ ### v0.19.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230420
10
+
3
11
  ### v0.18.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230415
@@ -22,6 +22,109 @@ module Google
22
22
  module Apis
23
23
  module NetworksecurityV1
24
24
 
25
+ # Request used by the AddAddressGroupItems method.
26
+ class AddAddressGroupItemsRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Required. List of items to add.
30
+ # Corresponds to the JSON property `items`
31
+ # @return [Array<String>]
32
+ attr_accessor :items
33
+
34
+ # Optional. An optional request ID to identify requests. Specify a unique
35
+ # request ID so that if you must retry your request, the server will know to
36
+ # ignore the request if it has already been completed. The server will guarantee
37
+ # that for at least 60 minutes since the first request. For example, consider a
38
+ # situation where you make an initial request and the request times out. If you
39
+ # make the request again with the same request ID, the server can check if
40
+ # original operation with the same request ID was received, and if so, will
41
+ # ignore the second request. This prevents clients from accidentally creating
42
+ # duplicate commitments. The request ID must be a valid UUID with the exception
43
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
44
+ # Corresponds to the JSON property `requestId`
45
+ # @return [String]
46
+ attr_accessor :request_id
47
+
48
+ def initialize(**args)
49
+ update!(**args)
50
+ end
51
+
52
+ # Update properties of this object
53
+ def update!(**args)
54
+ @items = args[:items] if args.key?(:items)
55
+ @request_id = args[:request_id] if args.key?(:request_id)
56
+ end
57
+ end
58
+
59
+ # AddressGroup is a resource that specifies how a collection of IP/DNS used in
60
+ # Firewall Policy.
61
+ class AddressGroup
62
+ include Google::Apis::Core::Hashable
63
+
64
+ # Required. Capacity of the Address Group
65
+ # Corresponds to the JSON property `capacity`
66
+ # @return [Fixnum]
67
+ attr_accessor :capacity
68
+
69
+ # Output only. The timestamp when the resource was created.
70
+ # Corresponds to the JSON property `createTime`
71
+ # @return [String]
72
+ attr_accessor :create_time
73
+
74
+ # Optional. Free-text description of the resource.
75
+ # Corresponds to the JSON property `description`
76
+ # @return [String]
77
+ attr_accessor :description
78
+
79
+ # Optional. List of items.
80
+ # Corresponds to the JSON property `items`
81
+ # @return [Array<String>]
82
+ attr_accessor :items
83
+
84
+ # Optional. Set of label tags associated with the AddressGroup resource.
85
+ # Corresponds to the JSON property `labels`
86
+ # @return [Hash<String,String>]
87
+ attr_accessor :labels
88
+
89
+ # Required. Name of the AddressGroup resource. It matches pattern `projects/*/
90
+ # locations/`location`/addressGroups/`.
91
+ # Corresponds to the JSON property `name`
92
+ # @return [String]
93
+ attr_accessor :name
94
+
95
+ # Output only. Server-defined fully-qualified URL for this resource.
96
+ # Corresponds to the JSON property `selfLink`
97
+ # @return [String]
98
+ attr_accessor :self_link
99
+
100
+ # Required. The type of the Address Group. Possible values are "IPv4" or "IPV6".
101
+ # Corresponds to the JSON property `type`
102
+ # @return [String]
103
+ attr_accessor :type
104
+
105
+ # Output only. The timestamp when the resource was updated.
106
+ # Corresponds to the JSON property `updateTime`
107
+ # @return [String]
108
+ attr_accessor :update_time
109
+
110
+ def initialize(**args)
111
+ update!(**args)
112
+ end
113
+
114
+ # Update properties of this object
115
+ def update!(**args)
116
+ @capacity = args[:capacity] if args.key?(:capacity)
117
+ @create_time = args[:create_time] if args.key?(:create_time)
118
+ @description = args[:description] if args.key?(:description)
119
+ @items = args[:items] if args.key?(:items)
120
+ @labels = args[:labels] if args.key?(:labels)
121
+ @name = args[:name] if args.key?(:name)
122
+ @self_link = args[:self_link] if args.key?(:self_link)
123
+ @type = args[:type] if args.key?(:type)
124
+ @update_time = args[:update_time] if args.key?(:update_time)
125
+ end
126
+ end
127
+
25
128
  # AuthorizationPolicy is a resource that specifies how a server should authorize
26
129
  # incoming connections. This resource in itself does not change the
27
130
  # configuration unless it's attached to a target https proxy or endpoint config
@@ -190,6 +293,40 @@ module Google
190
293
  end
191
294
  end
192
295
 
296
+ # Request used by the CloneAddressGroupItems method.
297
+ class CloneAddressGroupItemsRequest
298
+ include Google::Apis::Core::Hashable
299
+
300
+ # Optional. An optional request ID to identify requests. Specify a unique
301
+ # request ID so that if you must retry your request, the server will know to
302
+ # ignore the request if it has already been completed. The server will guarantee
303
+ # that for at least 60 minutes since the first request. For example, consider a
304
+ # situation where you make an initial request and the request times out. If you
305
+ # make the request again with the same request ID, the server can check if
306
+ # original operation with the same request ID was received, and if so, will
307
+ # ignore the second request. This prevents clients from accidentally creating
308
+ # duplicate commitments. The request ID must be a valid UUID with the exception
309
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
310
+ # Corresponds to the JSON property `requestId`
311
+ # @return [String]
312
+ attr_accessor :request_id
313
+
314
+ # Required. Source address group to clone items from.
315
+ # Corresponds to the JSON property `sourceAddressGroup`
316
+ # @return [String]
317
+ attr_accessor :source_address_group
318
+
319
+ def initialize(**args)
320
+ update!(**args)
321
+ end
322
+
323
+ # Update properties of this object
324
+ def update!(**args)
325
+ @request_id = args[:request_id] if args.key?(:request_id)
326
+ @source_address_group = args[:source_address_group] if args.key?(:source_address_group)
327
+ end
328
+ end
329
+
193
330
  # Specification of traffic destination attributes.
194
331
  class Destination
195
332
  include Google::Apis::Core::Hashable
@@ -845,6 +982,85 @@ module Google
845
982
  end
846
983
  end
847
984
 
985
+ # Response of the ListAddressGroupReferences method.
986
+ class ListAddressGroupReferencesResponse
987
+ include Google::Apis::Core::Hashable
988
+
989
+ # A list of references that matches the specified filter in the request.
990
+ # Corresponds to the JSON property `addressGroupReferences`
991
+ # @return [Array<Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponseAddressGroupReference>]
992
+ attr_accessor :address_group_references
993
+
994
+ # If there might be more results than those appearing in this response, then `
995
+ # next_page_token` is included. To get the next set of results, call this method
996
+ # again using the value of `next_page_token` as `page_token`.
997
+ # Corresponds to the JSON property `nextPageToken`
998
+ # @return [String]
999
+ attr_accessor :next_page_token
1000
+
1001
+ def initialize(**args)
1002
+ update!(**args)
1003
+ end
1004
+
1005
+ # Update properties of this object
1006
+ def update!(**args)
1007
+ @address_group_references = args[:address_group_references] if args.key?(:address_group_references)
1008
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1009
+ end
1010
+ end
1011
+
1012
+ # The Reference of AddressGroup.
1013
+ class ListAddressGroupReferencesResponseAddressGroupReference
1014
+ include Google::Apis::Core::Hashable
1015
+
1016
+ # FirewallPolicy that is using the Address Group.
1017
+ # Corresponds to the JSON property `firewallPolicy`
1018
+ # @return [String]
1019
+ attr_accessor :firewall_policy
1020
+
1021
+ # Rule priority of the FirewallPolicy that is using the Address Group.
1022
+ # Corresponds to the JSON property `rulePriority`
1023
+ # @return [Fixnum]
1024
+ attr_accessor :rule_priority
1025
+
1026
+ def initialize(**args)
1027
+ update!(**args)
1028
+ end
1029
+
1030
+ # Update properties of this object
1031
+ def update!(**args)
1032
+ @firewall_policy = args[:firewall_policy] if args.key?(:firewall_policy)
1033
+ @rule_priority = args[:rule_priority] if args.key?(:rule_priority)
1034
+ end
1035
+ end
1036
+
1037
+ # Response returned by the ListAddressGroups method.
1038
+ class ListAddressGroupsResponse
1039
+ include Google::Apis::Core::Hashable
1040
+
1041
+ # List of AddressGroups resources.
1042
+ # Corresponds to the JSON property `addressGroups`
1043
+ # @return [Array<Google::Apis::NetworksecurityV1::AddressGroup>]
1044
+ attr_accessor :address_groups
1045
+
1046
+ # If there might be more results than those appearing in this response, then `
1047
+ # next_page_token` is included. To get the next set of results, call this method
1048
+ # again using the value of `next_page_token` as `page_token`.
1049
+ # Corresponds to the JSON property `nextPageToken`
1050
+ # @return [String]
1051
+ attr_accessor :next_page_token
1052
+
1053
+ def initialize(**args)
1054
+ update!(**args)
1055
+ end
1056
+
1057
+ # Update properties of this object
1058
+ def update!(**args)
1059
+ @address_groups = args[:address_groups] if args.key?(:address_groups)
1060
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1061
+ end
1062
+ end
1063
+
848
1064
  # Response returned by the ListAuthorizationPolicies method.
849
1065
  class ListAuthorizationPoliciesResponse
850
1066
  include Google::Apis::Core::Hashable
@@ -1108,7 +1324,7 @@ module Google
1108
1324
  end
1109
1325
  end
1110
1326
 
1111
- # A resource that represents Google Cloud Platform location.
1327
+ # A resource that represents a Google Cloud location.
1112
1328
  class Location
1113
1329
  include Google::Apis::Core::Hashable
1114
1330
 
@@ -1315,6 +1531,40 @@ module Google
1315
1531
  end
1316
1532
  end
1317
1533
 
1534
+ # Request used by the RemoveAddressGroupItems method.
1535
+ class RemoveAddressGroupItemsRequest
1536
+ include Google::Apis::Core::Hashable
1537
+
1538
+ # Required. List of items to remove.
1539
+ # Corresponds to the JSON property `items`
1540
+ # @return [Array<String>]
1541
+ attr_accessor :items
1542
+
1543
+ # Optional. An optional request ID to identify requests. Specify a unique
1544
+ # request ID so that if you must retry your request, the server will know to
1545
+ # ignore the request if it has already been completed. The server will guarantee
1546
+ # that for at least 60 minutes since the first request. For example, consider a
1547
+ # situation where you make an initial request and the request times out. If you
1548
+ # make the request again with the same request ID, the server can check if
1549
+ # original operation with the same request ID was received, and if so, will
1550
+ # ignore the second request. This prevents clients from accidentally creating
1551
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1552
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1553
+ # Corresponds to the JSON property `requestId`
1554
+ # @return [String]
1555
+ attr_accessor :request_id
1556
+
1557
+ def initialize(**args)
1558
+ update!(**args)
1559
+ end
1560
+
1561
+ # Update properties of this object
1562
+ def update!(**args)
1563
+ @items = args[:items] if args.key?(:items)
1564
+ @request_id = args[:request_id] if args.key?(:request_id)
1565
+ end
1566
+ end
1567
+
1318
1568
  # Specification of rules.
1319
1569
  class Rule
1320
1570
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworksecurityV1
18
18
  # Version of the google-apis-networksecurity_v1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.20.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 = "20230415"
25
+ REVISION = "20230511"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module NetworksecurityV1
24
24
 
25
+ class AddAddressGroupItemsRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AddressGroup
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class AuthorizationPolicy
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -46,6 +58,12 @@ module Google
46
58
  include Google::Apis::Core::JsonObjectSupport
47
59
  end
48
60
 
61
+ class CloneAddressGroupItemsRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
49
67
  class Destination
50
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
69
 
@@ -136,6 +154,24 @@ module Google
136
154
  include Google::Apis::Core::JsonObjectSupport
137
155
  end
138
156
 
157
+ class ListAddressGroupReferencesResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ListAddressGroupReferencesResponseAddressGroupReference
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ListAddressGroupsResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
139
175
  class ListAuthorizationPoliciesResponse
140
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
177
 
@@ -214,6 +250,12 @@ module Google
214
250
  include Google::Apis::Core::JsonObjectSupport
215
251
  end
216
252
 
253
+ class RemoveAddressGroupItemsRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
217
259
  class Rule
218
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
261
 
@@ -256,6 +298,29 @@ module Google
256
298
  include Google::Apis::Core::JsonObjectSupport
257
299
  end
258
300
 
301
+ class AddAddressGroupItemsRequest
302
+ # @private
303
+ class Representation < Google::Apis::Core::JsonRepresentation
304
+ collection :items, as: 'items'
305
+ property :request_id, as: 'requestId'
306
+ end
307
+ end
308
+
309
+ class AddressGroup
310
+ # @private
311
+ class Representation < Google::Apis::Core::JsonRepresentation
312
+ property :capacity, as: 'capacity'
313
+ property :create_time, as: 'createTime'
314
+ property :description, as: 'description'
315
+ collection :items, as: 'items'
316
+ hash :labels, as: 'labels'
317
+ property :name, as: 'name'
318
+ property :self_link, as: 'selfLink'
319
+ property :type, as: 'type'
320
+ property :update_time, as: 'updateTime'
321
+ end
322
+ end
323
+
259
324
  class AuthorizationPolicy
260
325
  # @private
261
326
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -299,6 +364,14 @@ module Google
299
364
  end
300
365
  end
301
366
 
367
+ class CloneAddressGroupItemsRequest
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :request_id, as: 'requestId'
371
+ property :source_address_group, as: 'sourceAddressGroup'
372
+ end
373
+ end
374
+
302
375
  class Destination
303
376
  # @private
304
377
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -440,6 +513,32 @@ module Google
440
513
  end
441
514
  end
442
515
 
516
+ class ListAddressGroupReferencesResponse
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ collection :address_group_references, as: 'addressGroupReferences', class: Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponseAddressGroupReference, decorator: Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponseAddressGroupReference::Representation
520
+
521
+ property :next_page_token, as: 'nextPageToken'
522
+ end
523
+ end
524
+
525
+ class ListAddressGroupReferencesResponseAddressGroupReference
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :firewall_policy, as: 'firewallPolicy'
529
+ property :rule_priority, as: 'rulePriority'
530
+ end
531
+ end
532
+
533
+ class ListAddressGroupsResponse
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ collection :address_groups, as: 'addressGroups', class: Google::Apis::NetworksecurityV1::AddressGroup, decorator: Google::Apis::NetworksecurityV1::AddressGroup::Representation
537
+
538
+ property :next_page_token, as: 'nextPageToken'
539
+ end
540
+ end
541
+
443
542
  class ListAuthorizationPoliciesResponse
444
543
  # @private
445
544
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -571,6 +670,14 @@ module Google
571
670
  end
572
671
  end
573
672
 
673
+ class RemoveAddressGroupItemsRequest
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
676
+ collection :items, as: 'items'
677
+ property :request_id, as: 'requestId'
678
+ end
679
+ end
680
+
574
681
  class Rule
575
682
  # @private
576
683
  class Representation < Google::Apis::Core::JsonRepresentation