google-apis-iap_v1 0.48.0 → 0.49.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: 2d9e392a85bda808e8d9068de8796a85ae7230b5eeaea3b675e70a58690e65ef
4
- data.tar.gz: 4c27bd88b92c43347791447456e1a200d4b41ecd03cdb8c3cd15f7bad70ed705
3
+ metadata.gz: 99ab54aebbe47befc9b6998a2eb8d8642957e8496c69e7bf563294c9cb4e40d7
4
+ data.tar.gz: 5a9670947a4d6ac19947f8377d081d691629c765f584308516e82ec3431a03b8
5
5
  SHA512:
6
- metadata.gz: 82d3d6ca94c5adf836e7d9be8d5a8d40070f60f94752aeff020092fd303cd75af2169cebe46f41eedbae69b380f063399713961f7fadea9d0b450dd3bb5685e2
7
- data.tar.gz: bc4905a043b6e5d5ca5efeb0eb071d63faa2b6ea67b54eb86bdaf90f50b676a82aa9d3e57a824df57dfb3ae598ae69a99a31e6c0b8ca05cdc512a6cfbeae2075
6
+ metadata.gz: bab3578587ad62131af4c08c3801aebfd02387ed19de3d0f3b0a831953284218213344a91e0d87cff82acedb2c8105c44f5c095085b174790b48ffd470c01a2c
7
+ data.tar.gz: 4caee11ffca08b2815a4bb25da6f40d0fd6bc1b3e29944fefc18cc238a7316a50bb70e569c9c646e88221a8360152d1e06d5f5e0655d2ddb00efd1afeb11f54c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-iap_v1
2
2
 
3
+ ### v0.49.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240617
6
+
3
7
  ### v0.48.0 (2024-06-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20240527
@@ -720,6 +720,39 @@ module Google
720
720
  end
721
721
  end
722
722
 
723
+ # Used for calculating the next state of tags on the resource being passed for
724
+ # the CheckCustomConstraints RPC call. The detail evaluation of each field is
725
+ # described in go/op-create-update-time-tags and go/tags-in-orgpolicy-requests.
726
+ class NextStateOfTags
727
+ include Google::Apis::Core::Hashable
728
+
729
+ #
730
+ # Corresponds to the JSON property `tagsFullState`
731
+ # @return [Google::Apis::IapV1::TagsFullState]
732
+ attr_accessor :tags_full_state
733
+
734
+ #
735
+ # Corresponds to the JSON property `tagsFullStateForChildResource`
736
+ # @return [Google::Apis::IapV1::TagsFullStateForChildResource]
737
+ attr_accessor :tags_full_state_for_child_resource
738
+
739
+ #
740
+ # Corresponds to the JSON property `tagsPartialState`
741
+ # @return [Google::Apis::IapV1::TagsPartialState]
742
+ attr_accessor :tags_partial_state
743
+
744
+ def initialize(**args)
745
+ update!(**args)
746
+ end
747
+
748
+ # Update properties of this object
749
+ def update!(**args)
750
+ @tags_full_state = args[:tags_full_state] if args.key?(:tags_full_state)
751
+ @tags_full_state_for_child_resource = args[:tags_full_state_for_child_resource] if args.key?(:tags_full_state_for_child_resource)
752
+ @tags_partial_state = args[:tags_partial_state] if args.key?(:tags_partial_state)
753
+ end
754
+ end
755
+
723
756
  # The OAuth 2.0 Settings
724
757
  class OAuth2
725
758
  include Google::Apis::Core::Hashable
@@ -1053,6 +1086,13 @@ module Google
1053
1086
  # @return [String]
1054
1087
  attr_accessor :name
1055
1088
 
1089
+ # Used for calculating the next state of tags on the resource being passed for
1090
+ # the CheckCustomConstraints RPC call. The detail evaluation of each field is
1091
+ # described in go/op-create-update-time-tags and go/tags-in-orgpolicy-requests.
1092
+ # Corresponds to the JSON property `nextStateOfTags`
1093
+ # @return [Google::Apis::IapV1::NextStateOfTags]
1094
+ attr_accessor :next_state_of_tags
1095
+
1056
1096
  # The name of the service this resource belongs to. It is configured using the
1057
1097
  # official_service_name of the Service as defined in service configurations
1058
1098
  # under //configs/cloud/resourcetypes. For example, the official_service_name of
@@ -1090,6 +1130,7 @@ module Google
1090
1130
  @expected_next_state = args[:expected_next_state] if args.key?(:expected_next_state)
1091
1131
  @labels = args[:labels] if args.key?(:labels)
1092
1132
  @name = args[:name] if args.key?(:name)
1133
+ @next_state_of_tags = args[:next_state_of_tags] if args.key?(:next_state_of_tags)
1093
1134
  @service = args[:service] if args.key?(:service)
1094
1135
  @type = args[:type] if args.key?(:type)
1095
1136
  end
@@ -1140,6 +1181,83 @@ module Google
1140
1181
  end
1141
1182
  end
1142
1183
 
1184
+ #
1185
+ class TagsFullState
1186
+ include Google::Apis::Core::Hashable
1187
+
1188
+ # If TagsFullState is initialized, the values in this field fully represent all
1189
+ # the tags in the next state (the current tag values are not used). If tags.size(
1190
+ # ) == 0, the next state of tags would be no tags for evaluation purposes. Only
1191
+ # one type of tags reference (numeric or namespace) is required to be passed.
1192
+ # Corresponds to the JSON property `tags`
1193
+ # @return [Hash<String,String>]
1194
+ attr_accessor :tags
1195
+
1196
+ def initialize(**args)
1197
+ update!(**args)
1198
+ end
1199
+
1200
+ # Update properties of this object
1201
+ def update!(**args)
1202
+ @tags = args[:tags] if args.key?(:tags)
1203
+ end
1204
+ end
1205
+
1206
+ #
1207
+ class TagsFullStateForChildResource
1208
+ include Google::Apis::Core::Hashable
1209
+
1210
+ # If TagsFullStateForChildResource is initialized, the values in this field
1211
+ # represent all the tags in the next state for the child resource. Only one type
1212
+ # of tags reference (numeric or namespace) is required to be passed. IMPORTANT:
1213
+ # This field should only be used when the target resource IAM policy name is
1214
+ # UNKNOWN and the resource's parent IAM policy name is being passed in the
1215
+ # request.
1216
+ # Corresponds to the JSON property `tags`
1217
+ # @return [Hash<String,String>]
1218
+ attr_accessor :tags
1219
+
1220
+ def initialize(**args)
1221
+ update!(**args)
1222
+ end
1223
+
1224
+ # Update properties of this object
1225
+ def update!(**args)
1226
+ @tags = args[:tags] if args.key?(:tags)
1227
+ end
1228
+ end
1229
+
1230
+ #
1231
+ class TagsPartialState
1232
+ include Google::Apis::Core::Hashable
1233
+
1234
+ # Keys of the tags that should be removed for evaluation purposes. IMPORTANT:
1235
+ # Currently only numeric references are supported. Once support for namespace
1236
+ # references is added, both the tag references (numeric and namespace) will be
1237
+ # removed.
1238
+ # Corresponds to the JSON property `tagKeysToRemove`
1239
+ # @return [Array<String>]
1240
+ attr_accessor :tag_keys_to_remove
1241
+
1242
+ # Tags that’ll be updated or added to the current state of tags for evaluation
1243
+ # purposes. If a key exists in both "tags_to_upsert" and "tag_keys_to_remove",
1244
+ # the one in "tag_keys_to_remove" is ignored. Only one type of tags reference (
1245
+ # numeric or namespace) is required to be passed.
1246
+ # Corresponds to the JSON property `tagsToUpsert`
1247
+ # @return [Hash<String,String>]
1248
+ attr_accessor :tags_to_upsert
1249
+
1250
+ def initialize(**args)
1251
+ update!(**args)
1252
+ end
1253
+
1254
+ # Update properties of this object
1255
+ def update!(**args)
1256
+ @tag_keys_to_remove = args[:tag_keys_to_remove] if args.key?(:tag_keys_to_remove)
1257
+ @tags_to_upsert = args[:tags_to_upsert] if args.key?(:tags_to_upsert)
1258
+ end
1259
+ end
1260
+
1143
1261
  # Request message for `TestIamPermissions` method.
1144
1262
  class TestIamPermissionsRequest
1145
1263
  include Google::Apis::Core::Hashable
@@ -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.48.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240527"
25
+ REVISION = "20240617"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class NextStateOfTags
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class OAuth2
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -190,6 +196,24 @@ module Google
190
196
  include Google::Apis::Core::JsonObjectSupport
191
197
  end
192
198
 
199
+ class TagsFullState
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class TagsFullStateForChildResource
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class TagsPartialState
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
193
217
  class TestIamPermissionsRequest
194
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
219
 
@@ -399,6 +423,18 @@ module Google
399
423
  end
400
424
  end
401
425
 
426
+ class NextStateOfTags
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ property :tags_full_state, as: 'tagsFullState', class: Google::Apis::IapV1::TagsFullState, decorator: Google::Apis::IapV1::TagsFullState::Representation
430
+
431
+ property :tags_full_state_for_child_resource, as: 'tagsFullStateForChildResource', class: Google::Apis::IapV1::TagsFullStateForChildResource, decorator: Google::Apis::IapV1::TagsFullStateForChildResource::Representation
432
+
433
+ property :tags_partial_state, as: 'tagsPartialState', class: Google::Apis::IapV1::TagsPartialState, decorator: Google::Apis::IapV1::TagsPartialState::Representation
434
+
435
+ end
436
+ end
437
+
402
438
  class OAuth2
403
439
  # @private
404
440
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -468,6 +504,8 @@ module Google
468
504
  hash :expected_next_state, as: 'expectedNextState'
469
505
  hash :labels, as: 'labels'
470
506
  property :name, as: 'name'
507
+ property :next_state_of_tags, as: 'nextStateOfTags', class: Google::Apis::IapV1::NextStateOfTags, decorator: Google::Apis::IapV1::NextStateOfTags::Representation
508
+
471
509
  property :service, as: 'service'
472
510
  property :type, as: 'type'
473
511
  end
@@ -481,6 +519,28 @@ module Google
481
519
  end
482
520
  end
483
521
 
522
+ class TagsFullState
523
+ # @private
524
+ class Representation < Google::Apis::Core::JsonRepresentation
525
+ hash :tags, as: 'tags'
526
+ end
527
+ end
528
+
529
+ class TagsFullStateForChildResource
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ hash :tags, as: 'tags'
533
+ end
534
+ end
535
+
536
+ class TagsPartialState
537
+ # @private
538
+ class Representation < Google::Apis::Core::JsonRepresentation
539
+ collection :tag_keys_to_remove, as: 'tagKeysToRemove'
540
+ hash :tags_to_upsert, as: 'tagsToUpsert'
541
+ end
542
+ end
543
+
484
544
  class TestIamPermissionsRequest
485
545
  # @private
486
546
  class Representation < Google::Apis::Core::JsonRepresentation
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.48.0
4
+ version: 0.49.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: 2024-06-02 00:00:00.000000000 Z
11
+ date: 2024-06-23 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.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.49.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: []