You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-securityposture/v1/2.0.0/com/google/api/services/securityposture/v1/SecurityPosture.java
+21-15Lines changed: 21 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ public class SecurityPosture extends com.google.api.client.googleapis.services.j
Copy file name to clipboardExpand all lines: clients/google-api-services-securityposture/v1/2.0.0/com/google/api/services/securityposture/v1/model/GoogleCloudSecuritypostureV1PolicyRule.java
+33-18Lines changed: 33 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -39,16 +39,21 @@ public final class GoogleCloudSecuritypostureV1PolicyRule extends com.google.api
39
39
/**
40
40
* A condition that determines whether this rule is used to evaluate the policy. When set, the
41
41
* google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or
42
-
* `&&` operators. Each subexpression must use the `resource.matchTag()` or
43
-
* `resource.matchTagId()`Common Expression Language (CEL) function. The `resource.matchTag()`
44
-
* function takes the following arguments: * `key_name`: the namespaced name of the tag key, with
45
-
* the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` *
46
-
* `value_name`: the short name of the tag value For example:
42
+
* `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`,
43
+
* `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function.
44
+
* The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced
45
+
* name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example,
46
+
* `123456789012/environment` * `value_name`: the short name of the tag value For example:
47
47
* `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function
48
48
* takes the following arguments: * `key_id`: the permanent ID of the tag key; for example,
49
49
* `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example,
50
50
* `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012',
51
-
* 'tagValues/567890123456')`
51
+
* 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: *
52
+
* `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a
53
+
* prefix; for example, `123456789012/environment` For example:
54
+
* `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes
55
+
* the following arguments: * `key_id`: the permanent ID of the tag key; for example,
56
+
* `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`
52
57
* The value may be {@code null}.
53
58
*/
54
59
@com.google.api.client.util.Key
@@ -113,16 +118,21 @@ public GoogleCloudSecuritypostureV1PolicyRule setAllowAll(java.lang.Boolean allo
113
118
/**
114
119
* A condition that determines whether this rule is used to evaluate the policy. When set, the
115
120
* google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or
116
-
* `&&` operators. Each subexpression must use the `resource.matchTag()` or
117
-
* `resource.matchTagId()`Common Expression Language (CEL) function. The `resource.matchTag()`
118
-
* function takes the following arguments: * `key_name`: the namespaced name of the tag key, with
119
-
* the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` *
120
-
* `value_name`: the short name of the tag value For example:
121
+
* `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`,
122
+
* `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function.
123
+
* The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced
124
+
* name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example,
125
+
* `123456789012/environment` * `value_name`: the short name of the tag value For example:
121
126
* `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function
122
127
* takes the following arguments: * `key_id`: the permanent ID of the tag key; for example,
123
128
* `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example,
124
129
* `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012',
125
-
* 'tagValues/567890123456')`
130
+
* 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: *
131
+
* `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a
132
+
* prefix; for example, `123456789012/environment` For example:
133
+
* `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes
134
+
* the following arguments: * `key_id`: the permanent ID of the tag key; for example,
135
+
* `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`
126
136
* @return value or {@code null} for none
127
137
*/
128
138
publicExprgetCondition() {
@@ -132,16 +142,21 @@ public Expr getCondition() {
132
142
/**
133
143
* A condition that determines whether this rule is used to evaluate the policy. When set, the
134
144
* google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or
135
-
* `&&` operators. Each subexpression must use the `resource.matchTag()` or
136
-
* `resource.matchTagId()`Common Expression Language (CEL) function. The `resource.matchTag()`
137
-
* function takes the following arguments: * `key_name`: the namespaced name of the tag key, with
138
-
* the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` *
139
-
* `value_name`: the short name of the tag value For example:
145
+
* `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`,
146
+
* `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function.
147
+
* The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced
148
+
* name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example,
149
+
* `123456789012/environment` * `value_name`: the short name of the tag value For example:
140
150
* `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function
141
151
* takes the following arguments: * `key_id`: the permanent ID of the tag key; for example,
142
152
* `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example,
143
153
* `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012',
144
-
* 'tagValues/567890123456')`
154
+
* 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: *
155
+
* `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a
156
+
* prefix; for example, `123456789012/environment` For example:
157
+
* `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes
158
+
* the following arguments: * `key_id`: the permanent ID of the tag key; for example,
159
+
* `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`
145
160
* @param condition condition or {@code null} for none
Copy file name to clipboardExpand all lines: clients/google-api-services-securityposture/v1/2.0.0/com/google/api/services/securityposture/v1/model/ListOperationsResponse.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ public final class ListOperationsResponse extends com.google.api.client.json.Gen
45
45
46
46
/**
47
47
* Unordered list. Unreachable resources. Populated when the request sets
48
-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
48
+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
49
49
* attempting to list all resources across all supported locations.
50
50
* The value may be {@code null}.
51
51
*/
@@ -88,7 +88,7 @@ public ListOperationsResponse setOperations(java.util.List<Operation> operations
88
88
89
89
/**
90
90
* Unordered list. Unreachable resources. Populated when the request sets
91
-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
91
+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
92
92
* attempting to list all resources across all supported locations.
93
93
* @return value or {@code null} for none
94
94
*/
@@ -98,7 +98,7 @@ public java.util.List<java.lang.String> getUnreachable() {
98
98
99
99
/**
100
100
* Unordered list. Unreachable resources. Populated when the request sets
101
-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
101
+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
102
102
* attempting to list all resources across all supported locations.
103
103
* @param unreachable unreachable or {@code null} for none
0 commit comments