google-apis-networksecurity_v1beta1 0.29.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13471d0ca34e8f3f27393b341083881f47575d5af65dfdc783000e117744716b
4
- data.tar.gz: b8cac38c83d5efadf1e8c4b2690bef0a05bab9a0be6974c94e3abde02d5de0fc
3
+ metadata.gz: 35a4d03a5476ebd16e13b2a42cd9c01c6cbbccb705631f2de82d3dced88b1a02
4
+ data.tar.gz: 89b5e2d87fe8a59233c6588925daeae75d1c54c7835b169a6aa541bc4a9379c2
5
5
  SHA512:
6
- metadata.gz: 7312de8810aa32e9e6608534a054fe23fdb2e31e48ea825e2b2809a02c028f5ebf974f09e9a9d2e44ae6839644e60c79eb1fcb5d8ea08deb2a3892d0e1688ac7
7
- data.tar.gz: efd9e045b626cca0dfeff5d96021137effb851b196900c66c21c1cdd7655c387072279bd8468a96edb3d44d9117ed2474ab0420a729040282a8d903bd46a171e
6
+ metadata.gz: f27ac549d0d3412bb70a8c89f6e34f0e9afe9038b7c8d50891c2e6eec573bfce5d17eee9a380dcf1942d8dd654eddd8f7689b280a94ca9581da60e419f8423df
7
+ data.tar.gz: 033ad1d37f266175442383628021cd3309dce45490d429c41266784d18201541b8e2465a037d03571da333e816471d2739aef0e3203eb54aff8d6591d4eead22
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-networksecurity_v1beta1
2
2
 
3
+ ### v0.31.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240102
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.30.0 (2023-12-10)
9
+
10
+ * Regenerated from discovery document revision 20231205
11
+
3
12
  ### v0.29.0 (2023-11-12)
4
13
 
5
14
  * Regenerated from discovery document revision 20231101
@@ -450,6 +450,13 @@ module Google
450
450
  # @return [Array<String>]
451
451
  attr_accessor :associated_networks
452
452
 
453
+ # Output only. List of FirewallEndpointAssociations that are associated to this
454
+ # endpoint. An association will only appear in this list after traffic routing
455
+ # is fully configured.
456
+ # Corresponds to the JSON property `associations`
457
+ # @return [Array<Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociationReference>]
458
+ attr_accessor :associations
459
+
453
460
  # Optional. Project to bill on endpoint uptime usage.
454
461
  # Corresponds to the JSON property `billingProjectId`
455
462
  # @return [String]
@@ -470,7 +477,7 @@ module Google
470
477
  # @return [Hash<String,String>]
471
478
  attr_accessor :labels
472
479
 
473
- # Output only. name of resource
480
+ # Immutable. Identifier. name of resource
474
481
  # Corresponds to the JSON property `name`
475
482
  # @return [String]
476
483
  attr_accessor :name
@@ -499,6 +506,7 @@ module Google
499
506
  # Update properties of this object
500
507
  def update!(**args)
501
508
  @associated_networks = args[:associated_networks] if args.key?(:associated_networks)
509
+ @associations = args[:associations] if args.key?(:associations)
502
510
  @billing_project_id = args[:billing_project_id] if args.key?(:billing_project_id)
503
511
  @create_time = args[:create_time] if args.key?(:create_time)
504
512
  @description = args[:description] if args.key?(:description)
@@ -529,7 +537,7 @@ module Google
529
537
  # @return [Hash<String,String>]
530
538
  attr_accessor :labels
531
539
 
532
- # Output only. name of resource
540
+ # Immutable. Identifier. name of resource
533
541
  # Corresponds to the JSON property `name`
534
542
  # @return [String]
535
543
  attr_accessor :name
@@ -579,6 +587,34 @@ module Google
579
587
  end
580
588
  end
581
589
 
590
+ # This is a subset of the FirewallEndpointAssociation message, containing fields
591
+ # to be used by the consumer.
592
+ class FirewallEndpointAssociationReference
593
+ include Google::Apis::Core::Hashable
594
+
595
+ # Output only. The resource name of the FirewallEndpointAssociation. Format:
596
+ # projects/`project`/locations/`location`/firewallEndpointAssociations/`id`
597
+ # Corresponds to the JSON property `name`
598
+ # @return [String]
599
+ attr_accessor :name
600
+
601
+ # Output only. The VPC network associated. Format: projects/`project`/global/
602
+ # networks/`name`.
603
+ # Corresponds to the JSON property `network`
604
+ # @return [String]
605
+ attr_accessor :network
606
+
607
+ def initialize(**args)
608
+ update!(**args)
609
+ end
610
+
611
+ # Update properties of this object
612
+ def update!(**args)
613
+ @name = args[:name] if args.key?(:name)
614
+ @network = args[:network] if args.key?(:network)
615
+ end
616
+ end
617
+
582
618
  # The GatewaySecurityPolicy resource contains a collection of
583
619
  # GatewaySecurityPolicyRules and associated metadata.
584
620
  class GatewaySecurityPolicy
@@ -867,21 +903,43 @@ module Google
867
903
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
868
904
  # email address that represents a Google group. For example, `admins@example.com`
869
905
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
870
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
871
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
872
- # representing a user that has been recently deleted. For example, `alice@
873
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
874
- # reverts to `user:`emailid`` and the recovered user retains the role in the
875
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
876
- # (plus unique identifier) representing a service account that has been recently
877
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
906
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
907
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
908
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
909
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
910
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
911
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
912
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
913
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
914
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
915
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
916
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
917
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
918
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
919
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
920
+ # googleapis.com/projects/`project_number`/locations/global/
921
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
922
+ # All identities in a workload identity pool with a certain attribute. * `
923
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
924
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
925
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
926
+ # identifier) representing a user that has been recently deleted. For example, `
927
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
928
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
929
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
930
+ # address (plus unique identifier) representing a service account that has been
931
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
878
932
  # 123456789012345678901`. If the service account is undeleted, this value
879
933
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
880
934
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
881
935
  # An email address (plus unique identifier) representing a Google group that has
882
936
  # been recently deleted. For example, `admins@example.com?uid=
883
937
  # 123456789012345678901`. If the group is recovered, this value reverts to `
884
- # group:`emailid`` and the recovered group retains the role in the binding.
938
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
939
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
940
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
941
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
942
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
885
943
  # Corresponds to the JSON property `members`
886
944
  # @return [Array<String>]
887
945
  attr_accessor :members
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231101"
25
+ REVISION = "20240102"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class FirewallEndpointAssociationReference
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class GatewaySecurityPolicy
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -469,6 +475,8 @@ module Google
469
475
  # @private
470
476
  class Representation < Google::Apis::Core::JsonRepresentation
471
477
  collection :associated_networks, as: 'associatedNetworks'
478
+ collection :associations, as: 'associations', class: Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociationReference, decorator: Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociationReference::Representation
479
+
472
480
  property :billing_project_id, as: 'billingProjectId'
473
481
  property :create_time, as: 'createTime'
474
482
  property :description, as: 'description'
@@ -495,6 +503,14 @@ module Google
495
503
  end
496
504
  end
497
505
 
506
+ class FirewallEndpointAssociationReference
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ property :name, as: 'name'
510
+ property :network, as: 'network'
511
+ end
512
+ end
513
+
498
514
  class GatewaySecurityPolicy
499
515
  # @private
500
516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/networking
34
34
  class NetworkSecurityService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://networksecurity.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://networksecurity.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-networksecurity_v1beta1',
48
50
  client_version: Google::Apis::NetworksecurityV1beta1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -575,7 +577,7 @@ module Google
575
577
 
576
578
  # Update a single Endpoint.
577
579
  # @param [String] name
578
- # Output only. name of resource
580
+ # Immutable. Identifier. name of resource
579
581
  # @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpoint] firewall_endpoint_object
580
582
  # @param [String] request_id
581
583
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -2471,7 +2473,7 @@ module Google
2471
2473
 
2472
2474
  # Update a single FirewallEndpointAssociation.
2473
2475
  # @param [String] name
2474
- # Output only. name of resource
2476
+ # Immutable. Identifier. name of resource
2475
2477
  # @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation] firewall_endpoint_association_object
2476
2478
  # @param [String] request_id
2477
2479
  # Optional. An optional request ID to identify requests. Specify a unique
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.29.0
4
+ version: 0.31.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: 2023-11-12 00:00:00.000000000 Z
11
+ date: 2024-01-23 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.11.0
19
+ version: 0.12.0
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.11.0
29
+ version: 0.12.0
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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.31.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.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Security API V1beta1