Skip to content

Commit 4cadf20

Browse files
feat(iap): update the api
#### iap:v1 The following keys were added: - schemas.Resource.properties.expectedNextState (Total Keys: 2)
1 parent 73e323e commit 4cadf20

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

‎docs/dyn/iap_v1.v1.html‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ <h3>Method Details</h3>
190190
&quot;type&quot;: &quot;A String&quot;, # Resource type. Types are defined in IAM&#x27;s .service files. Valid values for type might be &#x27;gce&#x27;, &#x27;gcs&#x27;, &#x27;project&#x27;, &#x27;account&#x27; etc.
191191
},
192192
&quot;resource&quot;: { # IAM resource to check permission on
193+
&quot;expectedNextState&quot;: { # The proto or JSON formatted expected next state of the resource, wrapped in a google.protobuf.Any proto, against which the policy rules are evaluated. Services not integrated with custom org policy can omit this field. Services integrated with custom org policy must populate this field for all requests where the API call changes the state of the resource. Custom org policy backend uses these attributes to enforce custom org policies. When a proto is wrapped, it is generally the One Platform API proto. When a JSON string is wrapped, use `google.protobuf.StringValue` for the inner value. It is sufficient to pass just the max set of attributes that are allowed for use in custom constraints; other attributes can be omitted. See go/custom-constraints-org-policy-integration-guide for additional details.
194+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195+
},
193196
&quot;labels&quot;: { # The service defined labels of the resource on which the conditions will be evaluated. The semantics - including the key names - are vague to IAM. If the effective condition has a reference to a `resource.labels[foo]` construct, IAM consults with this map to retrieve the values associated with `foo` key for Conditions evaluation. If the provided key is not found in the labels map, the condition would evaluate to false. This field is in limited use. If your intended use case is not expected to express resource.labels attribute in IAM Conditions, leave this field empty. Before planning on using this attribute please: * Read go/iam-conditions-labels-comm and ensure your service can meet the data availability and management requirements. * Talk to iam-conditions-eng@ about your use case.
194197
&quot;a_key&quot;: &quot;A String&quot;,
195198
},
@@ -355,6 +358,9 @@ <h3>Method Details</h3>
355358
&quot;type&quot;: &quot;A String&quot;, # Resource type. Types are defined in IAM&#x27;s .service files. Valid values for type might be &#x27;gce&#x27;, &#x27;gcs&#x27;, &#x27;project&#x27;, &#x27;account&#x27; etc.
356359
},
357360
&quot;resource&quot;: { # IAM resource to check permission on
361+
&quot;expectedNextState&quot;: { # The proto or JSON formatted expected next state of the resource, wrapped in a google.protobuf.Any proto, against which the policy rules are evaluated. Services not integrated with custom org policy can omit this field. Services integrated with custom org policy must populate this field for all requests where the API call changes the state of the resource. Custom org policy backend uses these attributes to enforce custom org policies. When a proto is wrapped, it is generally the One Platform API proto. When a JSON string is wrapped, use `google.protobuf.StringValue` for the inner value. It is sufficient to pass just the max set of attributes that are allowed for use in custom constraints; other attributes can be omitted. See go/custom-constraints-org-policy-integration-guide for additional details.
362+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
363+
},
358364
&quot;labels&quot;: { # The service defined labels of the resource on which the conditions will be evaluated. The semantics - including the key names - are vague to IAM. If the effective condition has a reference to a `resource.labels[foo]` construct, IAM consults with this map to retrieve the values associated with `foo` key for Conditions evaluation. If the provided key is not found in the labels map, the condition would evaluate to false. This field is in limited use. If your intended use case is not expected to express resource.labels attribute in IAM Conditions, leave this field empty. Before planning on using this attribute please: * Read go/iam-conditions-labels-comm and ensure your service can meet the data availability and management requirements. * Talk to iam-conditions-eng@ about your use case.
359365
&quot;a_key&quot;: &quot;A String&quot;,
360366
},
@@ -431,6 +437,9 @@ <h3>Method Details</h3>
431437
&quot;type&quot;: &quot;A String&quot;, # Resource type. Types are defined in IAM&#x27;s .service files. Valid values for type might be &#x27;gce&#x27;, &#x27;gcs&#x27;, &#x27;project&#x27;, &#x27;account&#x27; etc.
432438
},
433439
&quot;resource&quot;: { # IAM resource to check permission on
440+
&quot;expectedNextState&quot;: { # The proto or JSON formatted expected next state of the resource, wrapped in a google.protobuf.Any proto, against which the policy rules are evaluated. Services not integrated with custom org policy can omit this field. Services integrated with custom org policy must populate this field for all requests where the API call changes the state of the resource. Custom org policy backend uses these attributes to enforce custom org policies. When a proto is wrapped, it is generally the One Platform API proto. When a JSON string is wrapped, use `google.protobuf.StringValue` for the inner value. It is sufficient to pass just the max set of attributes that are allowed for use in custom constraints; other attributes can be omitted. See go/custom-constraints-org-policy-integration-guide for additional details.
441+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
442+
},
434443
&quot;labels&quot;: { # The service defined labels of the resource on which the conditions will be evaluated. The semantics - including the key names - are vague to IAM. If the effective condition has a reference to a `resource.labels[foo]` construct, IAM consults with this map to retrieve the values associated with `foo` key for Conditions evaluation. If the provided key is not found in the labels map, the condition would evaluate to false. This field is in limited use. If your intended use case is not expected to express resource.labels attribute in IAM Conditions, leave this field empty. Before planning on using this attribute please: * Read go/iam-conditions-labels-comm and ensure your service can meet the data availability and management requirements. * Talk to iam-conditions-eng@ about your use case.
435444
&quot;a_key&quot;: &quot;A String&quot;,
436445
},

‎googleapiclient/discovery_cache/documents/iap.v1.json‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@
682682
}
683683
}
684684
},
685-
"revision": "20230922",
685+
"revision": "20231006",
686686
"rootUrl": "https://iap.googleapis.com/",
687687
"schemas": {
688688
"AccessDeniedPageSettings": {
@@ -1183,6 +1183,14 @@
11831183
"Resource": {
11841184
"id": "Resource",
11851185
"properties": {
1186+
"expectedNextState": {
1187+
"additionalProperties": {
1188+
"description": "Properties of the object. Contains field @type with type URL.",
1189+
"type": "any"
1190+
},
1191+
"description": "The proto or JSON formatted expected next state of the resource, wrapped in a google.protobuf.Any proto, against which the policy rules are evaluated. Services not integrated with custom org policy can omit this field. Services integrated with custom org policy must populate this field for all requests where the API call changes the state of the resource. Custom org policy backend uses these attributes to enforce custom org policies. When a proto is wrapped, it is generally the One Platform API proto. When a JSON string is wrapped, use `google.protobuf.StringValue` for the inner value. It is sufficient to pass just the max set of attributes that are allowed for use in custom constraints; other attributes can be omitted. See go/custom-constraints-org-policy-integration-guide for additional details.",
1192+
"type": "object"
1193+
},
11861194
"labels": {
11871195
"additionalProperties": {
11881196
"type": "string"

‎googleapiclient/discovery_cache/documents/iap.v1beta1.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
}
195195
}
196196
},
197-
"revision": "20230922",
197+
"revision": "20230929",
198198
"rootUrl": "https://iap.googleapis.com/",
199199
"schemas": {
200200
"Binding": {

0 commit comments

Comments
 (0)