google-apis-networkmanagement_v1beta1 0.7.0 → 0.11.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: e6b355f82e26117a8fca9ada9b55e2407cbfb5f3e6a2e93f384ff31fb613092d
4
- data.tar.gz: 7d9d3f304d16f6a7e464df7dde2925bfda8e3bddac53ef7c2f4cb093ba9a734d
3
+ metadata.gz: 218f7b91c36d4c66bcb2c7f895f859a22c0614db77967fe33f6e49f48b26b856
4
+ data.tar.gz: 0b6cc402b667e6a37fc5e5f23168f34be2d8ce5afebfa47c319c75533f07fddc
5
5
  SHA512:
6
- metadata.gz: dd7e3d43c3f6850af00be3e5bcc363b6e127965cfebcf729b38a2923e8e7c06615d823a094c601986c5bbc9540c6fad1b7546557513449c84ac916c3815544ed
7
- data.tar.gz: 27a7fe588c96c72981974e1d769054b967ed2380d996061627b720b1e33deea432ef23a3119d6e4348525fda2be98a5a1d2f9846698d3dbd0ed30b22b0d437fa
6
+ metadata.gz: 8917fde6c2c4e675e671c9060472c5f963c8e27130b5e730bdafcf4098a3238eba9e99bdd69a220c7721e275482d6bbd3948388d95d963e452a2c231850b3bd0
7
+ data.tar.gz: 38b17d724c99a87112ed89c7cc6805f28a4d305dafe9a3819eb180bdf0dd96933d2002ef681fe38ea0a3b934a3275deb07548d67b6d2d9ae897162d5e641e497
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-networkmanagement_v1beta1
2
2
 
3
+ ### v0.11.0 (2021-10-31)
4
+
5
+ * Regenerated from discovery document revision 20211020
6
+
7
+ ### v0.10.0 (2021-10-23)
8
+
9
+ * Regenerated from discovery document revision 20210929
10
+
11
+ ### v0.9.0 (2021-08-21)
12
+
13
+ * Regenerated from discovery document revision 20210811
14
+
15
+ ### v0.8.0 (2021-08-04)
16
+
17
+ * Regenerated from discovery document revision 20210728
18
+
3
19
  ### v0.7.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
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.7.0"
19
+ GEM_VERSION = "0.11.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 = "20210610"
25
+ REVISION = "20211020"
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'
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1beta1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
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.7.0
4
+ version: 0.11.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-11-01 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.7.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.11.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: