google-apis-networkmanagement_v1 0.19.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: 8e9c04bac79a800ca0a5470de4f970ce92b8cb8a3a9c5bf25eae5ef7c9f85fbd
4
- data.tar.gz: 895c3dd3e49efe5a19008057cd667dcc89faa85c9230e387f9513ff40a87523e
3
+ metadata.gz: 5510e241fae34f6e10854730739bfc16862b1c3fe882d03d90886489e865cff3
4
+ data.tar.gz: 0e33c0317a301e6f86a2e4c56e6c9d7e9078bc858291767f740a53ea75ca606f
5
5
  SHA512:
6
- metadata.gz: 136527cc9c066bd663496d1e0aa0f57596d50be869221ddd4b9cc7dc02e00e4ac2fd72404f2f2f341c539980d8e44f6792b542dfb2d903e82240e212f2d17ad9
7
- data.tar.gz: 134813b54acf2db1f7ea57a83721235c6b164bc16a815fa09085c08d3ed3336ba7c6c4494d4379b4aef55c314a4db633c689330124b138815e2316365527717e
6
+ metadata.gz: 7b3cc2333108760ea405fea65f198bc2cc8ec754eeb8a25991c55c152faf5b5a156f43d9a2f08bf3f5c99bcb3352a4d2eb76f848718955b313d9b450c08916fb
7
+ data.tar.gz: f73f5161d36995b62bece8e976bc09a519c48ace433ec1fe4253eea2d4916a2d79f2889599075600703334cddacb4525bc4fa15ebf61f927dc951277f5cc6692
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-networkmanagement_v1
2
2
 
3
+ ### v0.20.0 (2022-08-20)
4
+
5
+ * Regenerated from discovery document revision 20220812
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.19.0 (2022-07-02)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -31,6 +31,13 @@ module Google
31
31
  # @return [String]
32
32
  attr_accessor :cause
33
33
 
34
+ # List of project IDs that the user has specified in the request but does not
35
+ # have permission to access network configs. Analysis is aborted in this case
36
+ # with the PERMISSION_DENIED cause.
37
+ # Corresponds to the JSON property `projectsMissingPermission`
38
+ # @return [Array<String>]
39
+ attr_accessor :projects_missing_permission
40
+
34
41
  # URI of the resource that caused the abort.
35
42
  # Corresponds to the JSON property `resourceUri`
36
43
  # @return [String]
@@ -43,6 +50,7 @@ module Google
43
50
  # Update properties of this object
44
51
  def update!(**args)
45
52
  @cause = args[:cause] if args.key?(:cause)
53
+ @projects_missing_permission = args[:projects_missing_permission] if args.key?(:projects_missing_permission)
46
54
  @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
47
55
  end
48
56
  end
@@ -148,25 +156,28 @@ module Google
148
156
  # anyone who is authenticated with a Google account or a service account. * `
149
157
  # user:`emailid``: An email address that represents a specific Google account.
150
158
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
151
- # address that represents a service account. For example, `my-other-app@appspot.
152
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
153
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
154
- # `uniqueid``: An email address (plus unique identifier) representing a user
155
- # that has been recently deleted. For example, `alice@example.com?uid=
156
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
157
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
158
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
159
- # identifier) representing a service account that has been recently deleted. For
160
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
161
- # If the service account is undeleted, this value reverts to `serviceAccount:`
162
- # emailid`` and the undeleted service account retains the role in the binding. *
163
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
164
- # identifier) representing a Google group that has been recently deleted. For
165
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
166
- # recovered, this value reverts to `group:`emailid`` and the recovered group
167
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
168
- # primary) that represents all the users of that domain. For example, `google.
169
- # com` or `example.com`.
159
+ # address that represents a Google service account. For example, `my-other-app@
160
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
161
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
162
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
163
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
164
+ # . * `group:`emailid``: An email address that represents a Google group. For
165
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
166
+ # email address (plus unique identifier) representing a user that has been
167
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
168
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
169
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
170
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
171
+ # representing a service account that has been recently deleted. For example, `
172
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
173
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
174
+ # and the undeleted service account retains the role in the binding. * `deleted:
175
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
176
+ # representing a Google group that has been recently deleted. For example, `
177
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
178
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
179
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
180
+ # all the users of that domain. For example, `google.com` or `example.com`.
170
181
  # Corresponds to the JSON property `members`
171
182
  # @return [Array<String>]
172
183
  attr_accessor :members
@@ -202,6 +213,62 @@ module Google
202
213
  end
203
214
  end
204
215
 
216
+ # Wrapper for cloud function attributes.
217
+ class CloudFunctionEndpoint
218
+ include Google::Apis::Core::Hashable
219
+
220
+ # A [Cloud function](https://cloud.google.com/functions) name.
221
+ # Corresponds to the JSON property `uri`
222
+ # @return [String]
223
+ attr_accessor :uri
224
+
225
+ def initialize(**args)
226
+ update!(**args)
227
+ end
228
+
229
+ # Update properties of this object
230
+ def update!(**args)
231
+ @uri = args[:uri] if args.key?(:uri)
232
+ end
233
+ end
234
+
235
+ # For display only. Metadata associated with a Cloud function.
236
+ class CloudFunctionInfo
237
+ include Google::Apis::Core::Hashable
238
+
239
+ # Name of a Cloud function.
240
+ # Corresponds to the JSON property `displayName`
241
+ # @return [String]
242
+ attr_accessor :display_name
243
+
244
+ # Location in which the Cloud function is deployed.
245
+ # Corresponds to the JSON property `location`
246
+ # @return [String]
247
+ attr_accessor :location
248
+
249
+ # URI of a Cloud function.
250
+ # Corresponds to the JSON property `uri`
251
+ # @return [String]
252
+ attr_accessor :uri
253
+
254
+ # Latest successfully deployed version id of the Cloud function.
255
+ # Corresponds to the JSON property `versionId`
256
+ # @return [Fixnum]
257
+ attr_accessor :version_id
258
+
259
+ def initialize(**args)
260
+ update!(**args)
261
+ end
262
+
263
+ # Update properties of this object
264
+ def update!(**args)
265
+ @display_name = args[:display_name] if args.key?(:display_name)
266
+ @location = args[:location] if args.key?(:location)
267
+ @uri = args[:uri] if args.key?(:uri)
268
+ @version_id = args[:version_id] if args.key?(:version_id)
269
+ end
270
+ end
271
+
205
272
  # For display only. Metadata associated with a Cloud SQL instance.
206
273
  class CloudSqlInstanceInfo
207
274
  include Google::Apis::Core::Hashable
@@ -404,6 +471,11 @@ module Google
404
471
  class Endpoint
405
472
  include Google::Apis::Core::Hashable
406
473
 
474
+ # Wrapper for cloud function attributes.
475
+ # Corresponds to the JSON property `cloudFunction`
476
+ # @return [Google::Apis::NetworkmanagementV1::CloudFunctionEndpoint]
477
+ attr_accessor :cloud_function
478
+
407
479
  # A [Cloud SQL](https://cloud.google.com/sql) instance URI.
408
480
  # Corresponds to the JSON property `cloudSqlInstance`
409
481
  # @return [String]
@@ -461,6 +533,7 @@ module Google
461
533
 
462
534
  # Update properties of this object
463
535
  def update!(**args)
536
+ @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
464
537
  @cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
465
538
  @gke_master_cluster = args[:gke_master_cluster] if args.key?(:gke_master_cluster)
466
539
  @instance = args[:instance] if args.key?(:instance)
@@ -1534,6 +1607,11 @@ module Google
1534
1607
  attr_accessor :causes_drop
1535
1608
  alias_method :causes_drop?, :causes_drop
1536
1609
 
1610
+ # For display only. Metadata associated with a Cloud function.
1611
+ # Corresponds to the JSON property `cloudFunction`
1612
+ # @return [Google::Apis::NetworkmanagementV1::CloudFunctionInfo]
1613
+ attr_accessor :cloud_function
1614
+
1537
1615
  # For display only. Metadata associated with a Cloud SQL instance.
1538
1616
  # Corresponds to the JSON property `cloudSqlInstance`
1539
1617
  # @return [Google::Apis::NetworkmanagementV1::CloudSqlInstanceInfo]
@@ -1613,6 +1691,11 @@ module Google
1613
1691
  # @return [String]
1614
1692
  attr_accessor :state
1615
1693
 
1694
+ # For display only. Metadata associated with a VPC connector.
1695
+ # Corresponds to the JSON property `vpcConnector`
1696
+ # @return [Google::Apis::NetworkmanagementV1::VpcConnectorInfo]
1697
+ attr_accessor :vpc_connector
1698
+
1616
1699
  # For display only. Metadata associated with a Compute Engine VPN gateway.
1617
1700
  # Corresponds to the JSON property `vpnGateway`
1618
1701
  # @return [Google::Apis::NetworkmanagementV1::VpnGatewayInfo]
@@ -1631,6 +1714,7 @@ module Google
1631
1714
  def update!(**args)
1632
1715
  @abort = args[:abort] if args.key?(:abort)
1633
1716
  @causes_drop = args[:causes_drop] if args.key?(:causes_drop)
1717
+ @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
1634
1718
  @cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
1635
1719
  @deliver = args[:deliver] if args.key?(:deliver)
1636
1720
  @description = args[:description] if args.key?(:description)
@@ -1646,6 +1730,7 @@ module Google
1646
1730
  @project_id = args[:project_id] if args.key?(:project_id)
1647
1731
  @route = args[:route] if args.key?(:route)
1648
1732
  @state = args[:state] if args.key?(:state)
1733
+ @vpc_connector = args[:vpc_connector] if args.key?(:vpc_connector)
1649
1734
  @vpn_gateway = args[:vpn_gateway] if args.key?(:vpn_gateway)
1650
1735
  @vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
1651
1736
  end
@@ -1727,6 +1812,37 @@ module Google
1727
1812
  end
1728
1813
  end
1729
1814
 
1815
+ # For display only. Metadata associated with a VPC connector.
1816
+ class VpcConnectorInfo
1817
+ include Google::Apis::Core::Hashable
1818
+
1819
+ # Name of a VPC connector.
1820
+ # Corresponds to the JSON property `displayName`
1821
+ # @return [String]
1822
+ attr_accessor :display_name
1823
+
1824
+ # Location in which the VPC connector is deployed.
1825
+ # Corresponds to the JSON property `location`
1826
+ # @return [String]
1827
+ attr_accessor :location
1828
+
1829
+ # URI of a VPC connector.
1830
+ # Corresponds to the JSON property `uri`
1831
+ # @return [String]
1832
+ attr_accessor :uri
1833
+
1834
+ def initialize(**args)
1835
+ update!(**args)
1836
+ end
1837
+
1838
+ # Update properties of this object
1839
+ def update!(**args)
1840
+ @display_name = args[:display_name] if args.key?(:display_name)
1841
+ @location = args[:location] if args.key?(:location)
1842
+ @uri = args[:uri] if args.key?(:uri)
1843
+ end
1844
+ end
1845
+
1730
1846
  # For display only. Metadata associated with a Compute Engine VPN gateway.
1731
1847
  class VpnGatewayInfo
1732
1848
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkmanagementV1
18
18
  # Version of the google-apis-networkmanagement_v1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220504"
25
+ REVISION = "20220812"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,18 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class CloudFunctionEndpoint
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CloudFunctionInfo
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
55
67
  class CloudSqlInstanceInfo
56
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
69
 
@@ -244,6 +256,12 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class VpcConnectorInfo
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
247
265
  class VpnGatewayInfo
248
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
267
 
@@ -260,6 +278,7 @@ module Google
260
278
  # @private
261
279
  class Representation < Google::Apis::Core::JsonRepresentation
262
280
  property :cause, as: 'cause'
281
+ collection :projects_missing_permission, as: 'projectsMissingPermission'
263
282
  property :resource_uri, as: 'resourceUri'
264
283
  end
265
284
  end
@@ -297,6 +316,23 @@ module Google
297
316
  end
298
317
  end
299
318
 
319
+ class CloudFunctionEndpoint
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ property :uri, as: 'uri'
323
+ end
324
+ end
325
+
326
+ class CloudFunctionInfo
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ property :display_name, as: 'displayName'
330
+ property :location, as: 'location'
331
+ property :uri, as: 'uri'
332
+ property :version_id, :numeric_string => true, as: 'versionId'
333
+ end
334
+ end
335
+
300
336
  class CloudSqlInstanceInfo
301
337
  # @private
302
338
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -354,6 +390,8 @@ module Google
354
390
  class Endpoint
355
391
  # @private
356
392
  class Representation < Google::Apis::Core::JsonRepresentation
393
+ property :cloud_function, as: 'cloudFunction', class: Google::Apis::NetworkmanagementV1::CloudFunctionEndpoint, decorator: Google::Apis::NetworkmanagementV1::CloudFunctionEndpoint::Representation
394
+
357
395
  property :cloud_sql_instance, as: 'cloudSqlInstance'
358
396
  property :gke_master_cluster, as: 'gkeMasterCluster'
359
397
  property :instance, as: 'instance'
@@ -614,6 +652,8 @@ module Google
614
652
  property :abort, as: 'abort', class: Google::Apis::NetworkmanagementV1::AbortInfo, decorator: Google::Apis::NetworkmanagementV1::AbortInfo::Representation
615
653
 
616
654
  property :causes_drop, as: 'causesDrop'
655
+ property :cloud_function, as: 'cloudFunction', class: Google::Apis::NetworkmanagementV1::CloudFunctionInfo, decorator: Google::Apis::NetworkmanagementV1::CloudFunctionInfo::Representation
656
+
617
657
  property :cloud_sql_instance, as: 'cloudSqlInstance', class: Google::Apis::NetworkmanagementV1::CloudSqlInstanceInfo, decorator: Google::Apis::NetworkmanagementV1::CloudSqlInstanceInfo::Representation
618
658
 
619
659
  property :deliver, as: 'deliver', class: Google::Apis::NetworkmanagementV1::DeliverInfo, decorator: Google::Apis::NetworkmanagementV1::DeliverInfo::Representation
@@ -641,6 +681,8 @@ module Google
641
681
  property :route, as: 'route', class: Google::Apis::NetworkmanagementV1::RouteInfo, decorator: Google::Apis::NetworkmanagementV1::RouteInfo::Representation
642
682
 
643
683
  property :state, as: 'state'
684
+ property :vpc_connector, as: 'vpcConnector', class: Google::Apis::NetworkmanagementV1::VpcConnectorInfo, decorator: Google::Apis::NetworkmanagementV1::VpcConnectorInfo::Representation
685
+
644
686
  property :vpn_gateway, as: 'vpnGateway', class: Google::Apis::NetworkmanagementV1::VpnGatewayInfo, decorator: Google::Apis::NetworkmanagementV1::VpnGatewayInfo::Representation
645
687
 
646
688
  property :vpn_tunnel, as: 'vpnTunnel', class: Google::Apis::NetworkmanagementV1::VpnTunnelInfo, decorator: Google::Apis::NetworkmanagementV1::VpnTunnelInfo::Representation
@@ -672,6 +714,15 @@ module Google
672
714
  end
673
715
  end
674
716
 
717
+ class VpcConnectorInfo
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ property :display_name, as: 'displayName'
721
+ property :location, as: 'location'
722
+ property :uri, as: 'uri'
723
+ end
724
+ end
725
+
675
726
  class VpnGatewayInfo
676
727
  # @private
677
728
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-08-22 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-networkmanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []