google-apis-networkmanagement_v1beta1 0.8.0 → 0.12.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: ea65e40900e53960445855d74938aa488fa7eb833d084c4da19d308526fa37c2
4
- data.tar.gz: 40b3263f8024c9e57c954ad591409c7212fe8cbd68090d36210f03d813698038
3
+ metadata.gz: 92737790566d00e3ddae3163bf1477f3af4112ec04174f4a927587721a01ff59
4
+ data.tar.gz: f7f86cfdf73cfda9bd7d40ad356c3da434c137c519e2a1a446349e89d6f957a6
5
5
  SHA512:
6
- metadata.gz: 0c901d5837b33750796c7213148d9785d0ae775c9f4d4da1fd0c16bb0af00d9cd50190b0f1054a02c115b24ce15e255e1f2434bf71fbf31681772172330bef08
7
- data.tar.gz: f77f446f9651dcd1800bd9e3e1fe90856edc7467945bcbbc3ece35fff9a346680fa967b98ff9d5267e8f1a899b57aaff2572fdb925f2f927fd613b46e83a19cb
6
+ metadata.gz: 0fe849b5051d956838395c6a0109755dab0efc95675d84d3264c9a265208d4d04b8d6972f0d432e1ac3c4c52634277deefcee7c1b530b4a64edc48efebec844b
7
+ data.tar.gz: ae1cca85a3b83d1fce770c163f224e319a910d122d08e7e43d2636cbd52352a6baa015cae15ce1d700ec02c59bac78407a3dfb5ccefbce8ccef748a1b88ccdc3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-networkmanagement_v1beta1
2
2
 
3
+ ### v0.12.0 (2021-11-13)
4
+
5
+ * Regenerated from discovery document revision 20211103
6
+
7
+ ### v0.11.0 (2021-10-31)
8
+
9
+ * Regenerated from discovery document revision 20211020
10
+
11
+ ### v0.10.0 (2021-10-23)
12
+
13
+ * Regenerated from discovery document revision 20210929
14
+
15
+ ### v0.9.0 (2021-08-21)
16
+
17
+ * Regenerated from discovery document revision 20210811
18
+
3
19
  ### v0.8.0 (2021-08-04)
4
20
 
5
21
  * Regenerated from discovery document revision 20210728
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Networkmanagement service in particular.)
67
67
 
@@ -118,7 +118,7 @@ module Google
118
118
  end
119
119
  end
120
120
 
121
- # Associates `members` with a `role`.
121
+ # Associates `members`, or principals, with a `role`.
122
122
  class Binding
123
123
  include Google::Apis::Core::Hashable
124
124
 
@@ -141,7 +141,7 @@ module Google
141
141
  # @return [Google::Apis::NetworkmanagementV1beta1::Expr]
142
142
  attr_accessor :condition
143
143
 
144
- # Specifies the identities requesting access for a Cloud Platform resource. `
144
+ # Specifies the principals requesting access for a Cloud Platform resource. `
145
145
  # members` can have the following values: * `allUsers`: A special identifier
146
146
  # that represents anyone who is on the internet; with or without a Google
147
147
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -171,8 +171,8 @@ module Google
171
171
  # @return [Array<String>]
172
172
  attr_accessor :members
173
173
 
174
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
175
- # , or `roles/owner`.
174
+ # Role that is assigned to the list of `members`, or principals. For example, `
175
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
176
176
  # Corresponds to the JSON property `role`
177
177
  # @return [String]
178
178
  attr_accessor :role
@@ -202,6 +202,25 @@ module Google
202
202
  end
203
203
  end
204
204
 
205
+ # Wrapper for cloud function attributes.
206
+ class CloudFunctionEndpoint
207
+ include Google::Apis::Core::Hashable
208
+
209
+ # A [Cloud function](https://cloud.google.com/functions) name.
210
+ # Corresponds to the JSON property `uri`
211
+ # @return [String]
212
+ attr_accessor :uri
213
+
214
+ def initialize(**args)
215
+ update!(**args)
216
+ end
217
+
218
+ # Update properties of this object
219
+ def update!(**args)
220
+ @uri = args[:uri] if args.key?(:uri)
221
+ end
222
+ end
223
+
205
224
  # For display only. Metadata associated with a Cloud SQL instance.
206
225
  class CloudSqlInstanceInfo
207
226
  include Google::Apis::Core::Hashable
@@ -411,6 +430,11 @@ module Google
411
430
  class Endpoint
412
431
  include Google::Apis::Core::Hashable
413
432
 
433
+ # Wrapper for cloud function attributes.
434
+ # Corresponds to the JSON property `cloudFunction`
435
+ # @return [Google::Apis::NetworkmanagementV1beta1::CloudFunctionEndpoint]
436
+ attr_accessor :cloud_function
437
+
414
438
  # A [Cloud SQL](https://cloud.google.com/sql) instance URI.
415
439
  # Corresponds to the JSON property `cloudSqlInstance`
416
440
  # @return [String]
@@ -469,6 +493,7 @@ module Google
469
493
 
470
494
  # Update properties of this object
471
495
  def update!(**args)
496
+ @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
472
497
  @cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
473
498
  @gke_master_cluster = args[:gke_master_cluster] if args.key?(:gke_master_cluster)
474
499
  @instance = args[:instance] if args.key?(:instance)
@@ -506,6 +531,11 @@ module Google
506
531
  # @return [String]
507
532
  attr_accessor :protocol
508
533
 
534
+ # URI of the source telemetry agent this packet originates from.
535
+ # Corresponds to the JSON property `sourceAgentUri`
536
+ # @return [String]
537
+ attr_accessor :source_agent_uri
538
+
509
539
  # Source IP address.
510
540
  # Corresponds to the JSON property `sourceIp`
511
541
  # @return [String]
@@ -531,6 +561,7 @@ module Google
531
561
  @destination_network_uri = args[:destination_network_uri] if args.key?(:destination_network_uri)
532
562
  @destination_port = args[:destination_port] if args.key?(:destination_port)
533
563
  @protocol = args[:protocol] if args.key?(:protocol)
564
+ @source_agent_uri = args[:source_agent_uri] if args.key?(:source_agent_uri)
534
565
  @source_ip = args[:source_ip] if args.key?(:source_ip)
535
566
  @source_network_uri = args[:source_network_uri] if args.key?(:source_network_uri)
536
567
  @source_port = args[:source_port] if args.key?(:source_port)
@@ -1260,31 +1291,31 @@ module Google
1260
1291
 
1261
1292
  # An Identity and Access Management (IAM) policy, which specifies access
1262
1293
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1263
- # A `binding` binds one or more `members` to a single `role`. Members can be
1264
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1265
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1266
- # role or a user-created custom role. For some types of Google Cloud resources,
1267
- # a `binding` can also specify a `condition`, which is a logical expression that
1268
- # allows access to a resource only if the expression evaluates to `true`. A
1269
- # condition can add constraints based on attributes of the request, the resource,
1270
- # or both. To learn which resources support conditions in their IAM policies,
1271
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1272
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1273
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1274
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1275
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1276
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1277
- # title": "expirable access", "description": "Does not grant access after Sep
1278
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1279
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1280
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1281
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1282
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1283
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1284
- # description: Does not grant access after Sep 2020 expression: request.time <
1285
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1286
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1287
- # google.com/iam/docs/).
1294
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1295
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1296
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1297
+ # an IAM predefined role or a user-created custom role. For some types of Google
1298
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1299
+ # logical expression that allows access to a resource only if the expression
1300
+ # evaluates to `true`. A condition can add constraints based on attributes of
1301
+ # the request, the resource, or both. To learn which resources support
1302
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1303
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1304
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1305
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1306
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1307
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1308
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1309
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1310
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1311
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1312
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1313
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1314
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1315
+ # access description: Does not grant access after Sep 2020 expression: request.
1316
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1317
+ # a description of IAM and its features, see the [IAM documentation](https://
1318
+ # cloud.google.com/iam/docs/).
1288
1319
  class Policy
1289
1320
  include Google::Apis::Core::Hashable
1290
1321
 
@@ -1293,9 +1324,14 @@ module Google
1293
1324
  # @return [Array<Google::Apis::NetworkmanagementV1beta1::AuditConfig>]
1294
1325
  attr_accessor :audit_configs
1295
1326
 
1296
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1297
- # condition` that determines how and when the `bindings` are applied. Each of
1298
- # the `bindings` must contain at least one member.
1327
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1328
+ # specify a `condition` that determines how and when the `bindings` are applied.
1329
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1330
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1331
+ # can be Google groups. Each occurrence of a principal counts towards these
1332
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1333
+ # example.com`, and not to any other principal, then you can add another 1,450
1334
+ # principals to the `bindings` in the `Policy`.
1299
1335
  # Corresponds to the JSON property `bindings`
1300
1336
  # @return [Array<Google::Apis::NetworkmanagementV1beta1::Binding>]
1301
1337
  attr_accessor :bindings
@@ -1548,31 +1584,31 @@ module Google
1548
1584
 
1549
1585
  # An Identity and Access Management (IAM) policy, which specifies access
1550
1586
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1551
- # A `binding` binds one or more `members` to a single `role`. Members can be
1552
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1553
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1554
- # role or a user-created custom role. For some types of Google Cloud resources,
1555
- # a `binding` can also specify a `condition`, which is a logical expression that
1556
- # allows access to a resource only if the expression evaluates to `true`. A
1557
- # condition can add constraints based on attributes of the request, the resource,
1558
- # or both. To learn which resources support conditions in their IAM policies,
1559
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1560
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1561
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1562
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1563
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1564
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1565
- # title": "expirable access", "description": "Does not grant access after Sep
1566
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1567
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1568
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1569
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1570
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1571
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1572
- # description: Does not grant access after Sep 2020 expression: request.time <
1573
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1574
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1575
- # google.com/iam/docs/).
1587
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1588
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1589
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1590
+ # an IAM predefined role or a user-created custom role. For some types of Google
1591
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1592
+ # logical expression that allows access to a resource only if the expression
1593
+ # evaluates to `true`. A condition can add constraints based on attributes of
1594
+ # the request, the resource, or both. To learn which resources support
1595
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1596
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1597
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1598
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1599
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1600
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1601
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1602
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1603
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1604
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1605
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1606
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1607
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1608
+ # access description: Does not grant access after Sep 2020 expression: request.
1609
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1610
+ # a description of IAM and its features, see the [IAM documentation](https://
1611
+ # cloud.google.com/iam/docs/).
1576
1612
  # Corresponds to the JSON property `policy`
1577
1613
  # @return [Google::Apis::NetworkmanagementV1beta1::Policy]
1578
1614
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkmanagementV1beta1
18
18
  # Version of the google-apis-networkmanagement_v1beta1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210728"
25
+ REVISION = "20211103"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ 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
+
55
61
  class CloudSqlInstanceInfo
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -315,6 +321,13 @@ module Google
315
321
  end
316
322
  end
317
323
 
324
+ class CloudFunctionEndpoint
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ property :uri, as: 'uri'
328
+ end
329
+ end
330
+
318
331
  class CloudSqlInstanceInfo
319
332
  # @private
320
333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -374,6 +387,8 @@ module Google
374
387
  class Endpoint
375
388
  # @private
376
389
  class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :cloud_function, as: 'cloudFunction', class: Google::Apis::NetworkmanagementV1beta1::CloudFunctionEndpoint, decorator: Google::Apis::NetworkmanagementV1beta1::CloudFunctionEndpoint::Representation
391
+
377
392
  property :cloud_sql_instance, as: 'cloudSqlInstance'
378
393
  property :gke_master_cluster, as: 'gkeMasterCluster'
379
394
  property :instance, as: 'instance'
@@ -392,6 +407,7 @@ module Google
392
407
  property :destination_network_uri, as: 'destinationNetworkUri'
393
408
  property :destination_port, as: 'destinationPort'
394
409
  property :protocol, as: 'protocol'
410
+ property :source_agent_uri, as: 'sourceAgentUri'
395
411
  property :source_ip, as: 'sourceIp'
396
412
  property :source_network_uri, as: 'sourceNetworkUri'
397
413
  property :source_port, as: 'sourcePort'
@@ -239,13 +239,16 @@ module Google
239
239
  # REQUIRED: The resource for which the policy is being requested. See the
240
240
  # operation documentation for the appropriate value for this field.
241
241
  # @param [Fixnum] options_requested_policy_version
242
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
243
- # 3. Requests specifying an invalid value will be rejected. Requests for
244
- # policies with any conditional bindings must specify version 3. Policies
245
- # without any conditional bindings may specify any valid value or leave the
246
- # field unset. To learn which resources support conditions in their IAM policies,
247
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
248
- # resource-policies).
242
+ # Optional. The maximum policy version that will be used to format the policy.
243
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
244
+ # rejected. Requests for policies with any conditional role bindings must
245
+ # specify version 3. Policies with no conditional role bindings may specify any
246
+ # valid value or leave the field unset. The policy in the response might use the
247
+ # policy version that you specified, or it might use a lower policy version. For
248
+ # example, if you specify version 3, but the policy has no conditional role
249
+ # bindings, the response uses version 1. To learn which resources support
250
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
251
+ # google.com/iam/help/conditions/resource-policies).
249
252
  # @param [String] fields
250
253
  # Selector specifying which fields to include in a partial response.
251
254
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkmanagement_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.12.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: 2021-08-09 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkmanagement_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkmanagement_v1beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: