google-apis-networksecurity_v1beta1 0.4.0 → 0.7.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: a1bb41c6463f422e81c2c6c7872ac64e05db4d54f28db58ad265e9e0e99adb48
4
- data.tar.gz: 816f369640a93e41ce20ab0898ee63c29825d52d41c3acd41312caf6027016a4
3
+ metadata.gz: bafb45503312b6953d3caa10b1d7f8d4fa2268d22fba6a3bec99bc713e38627b
4
+ data.tar.gz: 1331ee8a0bfe86b2a3dc415c12375bfacbdbfd6c1f45f733da7e3dac9d278248
5
5
  SHA512:
6
- metadata.gz: 14c7e4429ee5fe36e099681c49b9c3f2eaff0a68fc8ed8b3d33c20b5c717dc2807e06a4c8e2ac080d81cf03a6957bc93340f4c759fdc9b9852f0c1a65ae8dd14
7
- data.tar.gz: e29e7e885c3fc36a9d52bc30be7ebcd365f9c843fbb38b2cea43e8ed01e6b54eb50dde4374414386c4586f6f262c63f6c9dd4cf04c5531e410a1111dcc6bb531
6
+ metadata.gz: a0465b413e11c8ac75f6ee39f78fe71b3fafeb4995a1e9630e447b7ae4e7e9002a12d5ad76d1d3c4677432780241d4900c67bb84b30ceed49dcaeb171d9dc35c
7
+ data.tar.gz: 6ad0c63f0f9e15d4c14cf71aa5466f6f38d5356694fc12865ea4e46738ee08dc566628c69dac5ed049dc6d9c3fe74028ce8b4b373b0f83d299c0cfe8c661cf2c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-networksecurity_v1beta1
2
2
 
3
+ ### v0.7.0 (2022-06-05)
4
+
5
+ * Regenerated from discovery document revision 20220128
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.6.0 (2022-01-16)
9
+
10
+ * Regenerated from discovery document revision 20220105
11
+ * Regenerated using generator version 0.4.1
12
+
13
+ ### v0.5.0 (2021-12-14)
14
+
15
+ * Unspecified changes
16
+
3
17
  ### v0.4.0 (2021-10-21)
4
18
 
5
19
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/networksecurity_v1beta1"
51
51
  client = Google::Apis::NetworksecurityV1beta1::NetworkSecurityService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -194,10 +194,10 @@ module Google
194
194
  class Destination
195
195
  include Google::Apis::Core::Hashable
196
196
 
197
- # Required. List of host names to match. Matched against HOST header in http
198
- # requests. At least one host should match. Each host can be an exact match, or
199
- # a prefix match (example "mydomain.*") or a suffix match (example // *.myorg.
200
- # com") or a presence(any) match "*".
197
+ # Required. List of host names to match. Matched against the ":authority" header
198
+ # in http requests. At least one host should match. Each host can be an exact
199
+ # match, or a prefix match (example "mydomain.*") or a suffix match (example // *
200
+ # .myorg.com") or a presence(any) match "*".
201
201
  # Corresponds to the JSON property `hosts`
202
202
  # @return [Array<String>]
203
203
  attr_accessor :hosts
@@ -422,7 +422,7 @@ module Google
422
422
  end
423
423
  end
424
424
 
425
- # Associates `members` with a `role`.
425
+ # Associates `members`, or principals, with a `role`.
426
426
  class GoogleIamV1Binding
427
427
  include Google::Apis::Core::Hashable
428
428
 
@@ -445,7 +445,7 @@ module Google
445
445
  # @return [Google::Apis::NetworksecurityV1beta1::Expr]
446
446
  attr_accessor :condition
447
447
 
448
- # Specifies the identities requesting access for a Cloud Platform resource. `
448
+ # Specifies the principals requesting access for a Cloud Platform resource. `
449
449
  # members` can have the following values: * `allUsers`: A special identifier
450
450
  # that represents anyone who is on the internet; with or without a Google
451
451
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -475,8 +475,8 @@ module Google
475
475
  # @return [Array<String>]
476
476
  attr_accessor :members
477
477
 
478
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
479
- # , or `roles/owner`.
478
+ # Role that is assigned to the list of `members`, or principals. For example, `
479
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
480
480
  # Corresponds to the JSON property `role`
481
481
  # @return [String]
482
482
  attr_accessor :role
@@ -495,31 +495,31 @@ module Google
495
495
 
496
496
  # An Identity and Access Management (IAM) policy, which specifies access
497
497
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
498
- # A `binding` binds one or more `members` to a single `role`. Members can be
499
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
500
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
501
- # role or a user-created custom role. For some types of Google Cloud resources,
502
- # a `binding` can also specify a `condition`, which is a logical expression that
503
- # allows access to a resource only if the expression evaluates to `true`. A
504
- # condition can add constraints based on attributes of the request, the resource,
505
- # or both. To learn which resources support conditions in their IAM policies,
506
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
507
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
508
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
509
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
510
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
511
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
512
- # title": "expirable access", "description": "Does not grant access after Sep
513
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
514
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
515
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
516
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
517
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
518
- # roles/resourcemanager.organizationViewer condition: title: expirable access
519
- # description: Does not grant access after Sep 2020 expression: request.time <
520
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
521
- # description of IAM and its features, see the [IAM documentation](https://cloud.
522
- # google.com/iam/docs/).
498
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
499
+ # Principals can be user accounts, service accounts, Google groups, and domains (
500
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
501
+ # an IAM predefined role or a user-created custom role. For some types of Google
502
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
503
+ # logical expression that allows access to a resource only if the expression
504
+ # evaluates to `true`. A condition can add constraints based on attributes of
505
+ # the request, the resource, or both. To learn which resources support
506
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
507
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
508
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
509
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
510
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
511
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
512
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
513
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
514
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
515
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
516
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
517
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
518
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
519
+ # access description: Does not grant access after Sep 2020 expression: request.
520
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
521
+ # a description of IAM and its features, see the [IAM documentation](https://
522
+ # cloud.google.com/iam/docs/).
523
523
  class GoogleIamV1Policy
524
524
  include Google::Apis::Core::Hashable
525
525
 
@@ -528,9 +528,14 @@ module Google
528
528
  # @return [Array<Google::Apis::NetworksecurityV1beta1::GoogleIamV1AuditConfig>]
529
529
  attr_accessor :audit_configs
530
530
 
531
- # Associates a list of `members` to a `role`. Optionally, may specify a `
532
- # condition` that determines how and when the `bindings` are applied. Each of
533
- # the `bindings` must contain at least one member.
531
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
532
+ # specify a `condition` that determines how and when the `bindings` are applied.
533
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
534
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
535
+ # can be Google groups. Each occurrence of a principal counts towards these
536
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
537
+ # example.com`, and not to any other principal, then you can add another 1,450
538
+ # principals to the `bindings` in the `Policy`.
534
539
  # Corresponds to the JSON property `bindings`
535
540
  # @return [Array<Google::Apis::NetworksecurityV1beta1::GoogleIamV1Binding>]
536
541
  attr_accessor :bindings
@@ -589,31 +594,31 @@ module Google
589
594
 
590
595
  # An Identity and Access Management (IAM) policy, which specifies access
591
596
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
592
- # A `binding` binds one or more `members` to a single `role`. Members can be
593
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
594
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
595
- # role or a user-created custom role. For some types of Google Cloud resources,
596
- # a `binding` can also specify a `condition`, which is a logical expression that
597
- # allows access to a resource only if the expression evaluates to `true`. A
598
- # condition can add constraints based on attributes of the request, the resource,
599
- # or both. To learn which resources support conditions in their IAM policies,
600
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
601
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
602
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
603
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
604
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
605
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
606
- # title": "expirable access", "description": "Does not grant access after Sep
607
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
608
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
609
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
610
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
611
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
612
- # roles/resourcemanager.organizationViewer condition: title: expirable access
613
- # description: Does not grant access after Sep 2020 expression: request.time <
614
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
615
- # description of IAM and its features, see the [IAM documentation](https://cloud.
616
- # google.com/iam/docs/).
597
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
598
+ # Principals can be user accounts, service accounts, Google groups, and domains (
599
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
600
+ # an IAM predefined role or a user-created custom role. For some types of Google
601
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
602
+ # logical expression that allows access to a resource only if the expression
603
+ # evaluates to `true`. A condition can add constraints based on attributes of
604
+ # the request, the resource, or both. To learn which resources support
605
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
606
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
607
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
608
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
609
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
610
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
611
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
612
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
613
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
614
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
615
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
616
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
617
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
618
+ # access description: Does not grant access after Sep 2020 expression: request.
619
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
620
+ # a description of IAM and its features, see the [IAM documentation](https://
621
+ # cloud.google.com/iam/docs/).
617
622
  # Corresponds to the JSON property `policy`
618
623
  # @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy]
619
624
  attr_accessor :policy
@@ -1134,7 +1139,9 @@ module Google
1134
1139
 
1135
1140
  # Optional. List of CIDR ranges to match based on source IP address. At least
1136
1141
  # one IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g., "1.2.3.
1137
- # 0/24") are supported.
1142
+ # 0/24") are supported. Authorization based on source IP alone should be avoided.
1143
+ # The IP addresses of any load balancers or proxies should be considered
1144
+ # untrusted.
1138
1145
  # Corresponds to the JSON property `ipBlocks`
1139
1146
  # @return [Array<String>]
1140
1147
  attr_accessor :ip_blocks
@@ -1142,7 +1149,9 @@ module Google
1142
1149
  # Optional. List of peer identities to match for authorization. At least one
1143
1150
  # principal should match. Each peer can be an exact match, or a prefix match (
1144
1151
  # example, "namespace/*") or a suffix match (example, // */service-account") or
1145
- # a presence match "*".
1152
+ # a presence match "*". Authorization based on the principal name without
1153
+ # certificate validation (configured by ServerTlsPolicy resource) is considered
1154
+ # insecure.
1146
1155
  # Corresponds to the JSON property `principals`
1147
1156
  # @return [Array<String>]
1148
1157
  attr_accessor :principals
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworksecurityV1beta1
18
18
  # Version of the google-apis-networksecurity_v1beta1 gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210818"
25
+ REVISION = "20220128"
26
26
  end
27
27
  end
28
28
  end
@@ -230,13 +230,16 @@ module Google
230
230
  # REQUIRED: The resource for which the policy is being requested. See the
231
231
  # operation documentation for the appropriate value for this field.
232
232
  # @param [Fixnum] options_requested_policy_version
233
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
234
- # 3. Requests specifying an invalid value will be rejected. Requests for
235
- # policies with any conditional bindings must specify version 3. Policies
236
- # without any conditional bindings may specify any valid value or leave the
237
- # field unset. To learn which resources support conditions in their IAM policies,
238
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
239
- # resource-policies).
233
+ # Optional. The maximum policy version that will be used to format the policy.
234
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
235
+ # rejected. Requests for policies with any conditional role bindings must
236
+ # specify version 3. Policies with no conditional role bindings may specify any
237
+ # valid value or leave the field unset. The policy in the response might use the
238
+ # policy version that you specified, or it might use a lower policy version. For
239
+ # example, if you specify version 3, but the policy has no conditional role
240
+ # bindings, the response uses version 1. To learn which resources support
241
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
242
+ # google.com/iam/help/conditions/resource-policies).
240
243
  # @param [String] fields
241
244
  # Selector specifying which fields to include in a partial response.
242
245
  # @param [String] quota_user
@@ -526,13 +529,16 @@ module Google
526
529
  # REQUIRED: The resource for which the policy is being requested. See the
527
530
  # operation documentation for the appropriate value for this field.
528
531
  # @param [Fixnum] options_requested_policy_version
529
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
530
- # 3. Requests specifying an invalid value will be rejected. Requests for
531
- # policies with any conditional bindings must specify version 3. Policies
532
- # without any conditional bindings may specify any valid value or leave the
533
- # field unset. To learn which resources support conditions in their IAM policies,
534
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
535
- # resource-policies).
532
+ # Optional. The maximum policy version that will be used to format the policy.
533
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
534
+ # rejected. Requests for policies with any conditional role bindings must
535
+ # specify version 3. Policies with no conditional role bindings may specify any
536
+ # valid value or leave the field unset. The policy in the response might use the
537
+ # policy version that you specified, or it might use a lower policy version. For
538
+ # example, if you specify version 3, but the policy has no conditional role
539
+ # bindings, the response uses version 1. To learn which resources support
540
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
541
+ # google.com/iam/help/conditions/resource-policies).
536
542
  # @param [String] fields
537
543
  # Selector specifying which fields to include in a partial response.
538
544
  # @param [String] quota_user
@@ -972,13 +978,16 @@ module Google
972
978
  # REQUIRED: The resource for which the policy is being requested. See the
973
979
  # operation documentation for the appropriate value for this field.
974
980
  # @param [Fixnum] options_requested_policy_version
975
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
976
- # 3. Requests specifying an invalid value will be rejected. Requests for
977
- # policies with any conditional bindings must specify version 3. Policies
978
- # without any conditional bindings may specify any valid value or leave the
979
- # field unset. To learn which resources support conditions in their IAM policies,
980
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
981
- # resource-policies).
981
+ # Optional. The maximum policy version that will be used to format the policy.
982
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
983
+ # rejected. Requests for policies with any conditional role bindings must
984
+ # specify version 3. Policies with no conditional role bindings may specify any
985
+ # valid value or leave the field unset. The policy in the response might use the
986
+ # policy version that you specified, or it might use a lower policy version. For
987
+ # example, if you specify version 3, but the policy has no conditional role
988
+ # bindings, the response uses version 1. To learn which resources support
989
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
990
+ # google.com/iam/help/conditions/resource-policies).
982
991
  # @param [String] fields
983
992
  # Selector specifying which fields to include in a partial response.
984
993
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networksecurity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.7.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-10-27 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-networksecurity_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Security API V1beta1