google-apis-iap_v1 0.35.0 → 0.37.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: 2cec385dccbcd0017bf5e7ba9ef963244acb56dd35fd139215c61933ecf9b562
4
- data.tar.gz: 609b9bea7f42f3da2e01fd45d0b83263a47d401dfe2ce31f4345b0f09bc79786
3
+ metadata.gz: d91bada678a122efe1eac45d52fd3885647e663e84a685bac69de71317392adc
4
+ data.tar.gz: 34d12707209fd17143881c03265d15d291dd3d0f511a9825cdaa6e9717648799
5
5
  SHA512:
6
- metadata.gz: eb0407441a910e2c47203c32ff49a74d979db8aa33459b36d597190dec4ecb79c0ac783e57ca965e2b4a3ad115852ace8097042639de9a4b473cd9b0ca23c632
7
- data.tar.gz: 437bd1cb0e4615fb8b4d19d1924e2cc4323efb414097dfafe748d6d8ad45d070928fa62d5a210206223307141a1c7f377982dc3d2b5863e587b16e5403efc08c
6
+ metadata.gz: 0a367f047743da09fc4a235261b3d733760d08f1a206dbe901c90c63e41abbf0cbfc3cf51203b31fbc2ba3e6bbcf9ef31d5ff80f84efb487190711247ae73665
7
+ data.tar.gz: 54b286a9bb7edabfee84234f8f8edd546165e465a544d70ce38fd926bd3686441f515ebedfe788e0471325235a7cb1c513f136cc08ef90d8a4e7201c73d29c41
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-iap_v1
2
2
 
3
+ ### v0.37.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20230929
6
+
7
+ ### v0.36.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230901
10
+
3
11
  ### v0.35.0 (2023-06-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20230526
@@ -693,6 +693,11 @@ module Google
693
693
  # @return [String]
694
694
  attr_accessor :login_hint
695
695
 
696
+ # List of client ids allowed to use IAP programmatically.
697
+ # Corresponds to the JSON property `programmaticClients`
698
+ # @return [Array<String>]
699
+ attr_accessor :programmatic_clients
700
+
696
701
  def initialize(**args)
697
702
  update!(**args)
698
703
  end
@@ -700,6 +705,7 @@ module Google
700
705
  # Update properties of this object
701
706
  def update!(**args)
702
707
  @login_hint = args[:login_hint] if args.key?(:login_hint)
708
+ @programmatic_clients = args[:programmatic_clients] if args.key?(:programmatic_clients)
703
709
  end
704
710
  end
705
711
 
@@ -714,22 +720,22 @@ module Google
714
720
  # evaluates to `true`. A condition can add constraints based on attributes of
715
721
  # the request, the resource, or both. To learn which resources support
716
722
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
717
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
723
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
718
724
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
719
725
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
720
726
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
721
727
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
722
728
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
723
729
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
724
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
725
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
726
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
727
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
728
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
729
- # access description: Does not grant access after Sep 2020 expression: request.
730
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
731
- # a description of IAM and its features, see the [IAM documentation](https://
732
- # cloud.google.com/iam/docs/).
730
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
731
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
732
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
733
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
734
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
735
+ # title: expirable access description: Does not grant access after Sep 2020
736
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
737
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
738
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
733
739
  class Policy
734
740
  include Google::Apis::Core::Hashable
735
741
 
@@ -926,6 +932,21 @@ module Google
926
932
  class Resource
927
933
  include Google::Apis::Core::Hashable
928
934
 
935
+ # The proto or JSON formatted expected next state of the resource, wrapped in a
936
+ # google.protobuf.Any proto, against which the policy rules are evaluated.
937
+ # Services not integrated with custom org policy can omit this field. Services
938
+ # integrated with custom org policy must populate this field for all requests
939
+ # where the API call changes the state of the resource. Custom org policy
940
+ # backend uses these attributes to enforce custom org policies. When a proto is
941
+ # wrapped, it is generally the One Platform API proto. When a JSON string is
942
+ # wrapped, use `google.protobuf.StringValue` for the inner value. It is
943
+ # sufficient to pass just the max set of attributes that are allowed for use in
944
+ # custom constraints; other attributes can be omitted. See go/custom-constraints-
945
+ # org-policy-integration-guide for additional details.
946
+ # Corresponds to the JSON property `expectedNextState`
947
+ # @return [Hash<String,Object>]
948
+ attr_accessor :expected_next_state
949
+
929
950
  # The service defined labels of the resource on which the conditions will be
930
951
  # evaluated. The semantics - including the key names - are vague to IAM. If the
931
952
  # effective condition has a reference to a `resource.labels[foo]` construct, IAM
@@ -980,6 +1001,7 @@ module Google
980
1001
 
981
1002
  # Update properties of this object
982
1003
  def update!(**args)
1004
+ @expected_next_state = args[:expected_next_state] if args.key?(:expected_next_state)
983
1005
  @labels = args[:labels] if args.key?(:labels)
984
1006
  @name = args[:name] if args.key?(:name)
985
1007
  @service = args[:service] if args.key?(:service)
@@ -1002,22 +1024,22 @@ module Google
1002
1024
  # evaluates to `true`. A condition can add constraints based on attributes of
1003
1025
  # the request, the resource, or both. To learn which resources support
1004
1026
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1005
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1027
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1006
1028
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1007
1029
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1008
1030
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1009
1031
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1010
1032
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1011
1033
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1012
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1013
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1014
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1015
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1016
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1017
- # access description: Does not grant access after Sep 2020 expression: request.
1018
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1019
- # a description of IAM and its features, see the [IAM documentation](https://
1020
- # cloud.google.com/iam/docs/).
1034
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1035
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1036
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1037
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1038
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1039
+ # title: expirable access description: Does not grant access after Sep 2020
1040
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1041
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1042
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1021
1043
  # Corresponds to the JSON property `policy`
1022
1044
  # @return [Google::Apis::IapV1::Policy]
1023
1045
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IapV1
18
18
  # Version of the google-apis-iap_v1 gem
19
- GEM_VERSION = "0.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230526"
25
+ REVISION = "20230929"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,7 @@ module Google
388
388
  # @private
389
389
  class Representation < Google::Apis::Core::JsonRepresentation
390
390
  property :login_hint, as: 'loginHint'
391
+ collection :programmatic_clients, as: 'programmaticClients'
391
392
  end
392
393
  end
393
394
 
@@ -440,6 +441,7 @@ module Google
440
441
  class Resource
441
442
  # @private
442
443
  class Representation < Google::Apis::Core::JsonRepresentation
444
+ hash :expected_next_state, as: 'expectedNextState'
443
445
  hash :labels, as: 'labels'
444
446
  property :name, as: 'name'
445
447
  property :service, as: 'service'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-iap_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.37.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-06-04 00:00:00.000000000 Z
11
+ date: 2023-10-08 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-iap_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iap_v1
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.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Identity-Aware Proxy API V1