pulumi-gcp 7.8.0a1706805960__py3-none-any.whl → 7.8.0a1706829616__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/_utilities.py +6 -2
- pulumi_gcp/alloydb/outputs.py +16 -0
- pulumi_gcp/artifactregistry/outputs.py +204 -0
- pulumi_gcp/assuredworkloads/_inputs.py +34 -0
- pulumi_gcp/assuredworkloads/outputs.py +34 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +20 -0
- pulumi_gcp/beyondcorp/outputs.py +54 -0
- pulumi_gcp/bigquery/_inputs.py +18 -0
- pulumi_gcp/bigquery/outputs.py +172 -0
- pulumi_gcp/bigtable/_inputs.py +4 -0
- pulumi_gcp/bigtable/outputs.py +4 -0
- pulumi_gcp/certificateauthority/outputs.py +378 -0
- pulumi_gcp/certificatemanager/outputs.py +32 -0
- pulumi_gcp/cloudbuild/outputs.py +1009 -3
- pulumi_gcp/cloudbuildv2/_inputs.py +14 -0
- pulumi_gcp/cloudbuildv2/outputs.py +14 -0
- pulumi_gcp/clouddeploy/_inputs.py +36 -0
- pulumi_gcp/clouddeploy/outputs.py +36 -0
- pulumi_gcp/cloudfunctions/_inputs.py +4 -0
- pulumi_gcp/cloudfunctions/outputs.py +54 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +302 -0
- pulumi_gcp/cloudidentity/outputs.py +54 -0
- pulumi_gcp/cloudrun/outputs.py +704 -0
- pulumi_gcp/cloudrunv2/outputs.py +929 -5
- pulumi_gcp/composer/_inputs.py +430 -0
- pulumi_gcp/composer/outputs.py +860 -0
- pulumi_gcp/compute/_inputs.py +924 -0
- pulumi_gcp/compute/outputs.py +4091 -1
- pulumi_gcp/container/_inputs.py +542 -0
- pulumi_gcp/container/outputs.py +2137 -3
- pulumi_gcp/dataplex/_inputs.py +66 -0
- pulumi_gcp/dataplex/outputs.py +66 -0
- pulumi_gcp/dataproc/_inputs.py +174 -0
- pulumi_gcp/dataproc/outputs.py +174 -0
- pulumi_gcp/dns/_inputs.py +34 -0
- pulumi_gcp/dns/outputs.py +34 -0
- pulumi_gcp/filestore/outputs.py +88 -0
- pulumi_gcp/firebaserules/_inputs.py +6 -0
- pulumi_gcp/firebaserules/outputs.py +6 -0
- pulumi_gcp/folder/_inputs.py +4 -0
- pulumi_gcp/folder/iam_audit_config.py +2 -2
- pulumi_gcp/folder/iam_member.py +2 -2
- pulumi_gcp/folder/iam_policy.py +2 -2
- pulumi_gcp/folder/outputs.py +54 -0
- pulumi_gcp/gkehub/_inputs.py +8 -0
- pulumi_gcp/gkehub/outputs.py +8 -0
- pulumi_gcp/iam/outputs.py +92 -0
- pulumi_gcp/kms/outputs.py +16 -0
- pulumi_gcp/logging/_inputs.py +108 -0
- pulumi_gcp/logging/outputs.py +108 -0
- pulumi_gcp/monitoring/outputs.py +14 -0
- pulumi_gcp/networkconnectivity/_inputs.py +6 -0
- pulumi_gcp/networkconnectivity/outputs.py +6 -0
- pulumi_gcp/organizations/_inputs.py +4 -0
- pulumi_gcp/organizations/iam_audit_config.py +2 -2
- pulumi_gcp/organizations/iam_member.py +2 -2
- pulumi_gcp/organizations/iam_policy.py +2 -2
- pulumi_gcp/organizations/outputs.py +4 -0
- pulumi_gcp/projects/_inputs.py +4 -0
- pulumi_gcp/projects/iam_audit_config.py +2 -2
- pulumi_gcp/projects/iam_binding.py +2 -2
- pulumi_gcp/projects/iam_member.py +2 -2
- pulumi_gcp/projects/iam_policy.py +2 -2
- pulumi_gcp/projects/outputs.py +54 -0
- pulumi_gcp/pubsub/outputs.py +282 -0
- pulumi_gcp/redis/outputs.py +204 -0
- pulumi_gcp/secretmanager/outputs.py +88 -0
- pulumi_gcp/sourcerepo/outputs.py +20 -0
- pulumi_gcp/spanner/outputs.py +68 -0
- pulumi_gcp/sql/_inputs.py +50 -0
- pulumi_gcp/sql/outputs.py +904 -0
- pulumi_gcp/storage/outputs.py +188 -0
- pulumi_gcp/vertex/outputs.py +124 -0
- pulumi_gcp/vmwareengine/outputs.py +208 -0
- pulumi_gcp/vpcaccess/outputs.py +4 -0
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/METADATA +2 -1
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/RECORD +79 -79
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/top_level.txt +0 -0
pulumi_gcp/pubsub/outputs.py
CHANGED
@@ -1133,6 +1133,14 @@ class GetSubscriptionBigqueryConfigResult(dict):
|
|
1133
1133
|
table: str,
|
1134
1134
|
use_topic_schema: bool,
|
1135
1135
|
write_metadata: bool):
|
1136
|
+
"""
|
1137
|
+
:param bool drop_unknown_fields: When true and useTopicSchema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery.
|
1138
|
+
Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.
|
1139
|
+
:param str table: The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
|
1140
|
+
:param bool use_topic_schema: When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
|
1141
|
+
:param bool write_metadata: When true, write the subscription name, messageId, publishTime, attributes, and orderingKey to additional columns in the table.
|
1142
|
+
The subscription name, messageId, and publishTime fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
|
1143
|
+
"""
|
1136
1144
|
pulumi.set(__self__, "drop_unknown_fields", drop_unknown_fields)
|
1137
1145
|
pulumi.set(__self__, "table", table)
|
1138
1146
|
pulumi.set(__self__, "use_topic_schema", use_topic_schema)
|
@@ -1141,21 +1149,35 @@ class GetSubscriptionBigqueryConfigResult(dict):
|
|
1141
1149
|
@property
|
1142
1150
|
@pulumi.getter(name="dropUnknownFields")
|
1143
1151
|
def drop_unknown_fields(self) -> bool:
|
1152
|
+
"""
|
1153
|
+
When true and useTopicSchema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery.
|
1154
|
+
Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.
|
1155
|
+
"""
|
1144
1156
|
return pulumi.get(self, "drop_unknown_fields")
|
1145
1157
|
|
1146
1158
|
@property
|
1147
1159
|
@pulumi.getter
|
1148
1160
|
def table(self) -> str:
|
1161
|
+
"""
|
1162
|
+
The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
|
1163
|
+
"""
|
1149
1164
|
return pulumi.get(self, "table")
|
1150
1165
|
|
1151
1166
|
@property
|
1152
1167
|
@pulumi.getter(name="useTopicSchema")
|
1153
1168
|
def use_topic_schema(self) -> bool:
|
1169
|
+
"""
|
1170
|
+
When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
|
1171
|
+
"""
|
1154
1172
|
return pulumi.get(self, "use_topic_schema")
|
1155
1173
|
|
1156
1174
|
@property
|
1157
1175
|
@pulumi.getter(name="writeMetadata")
|
1158
1176
|
def write_metadata(self) -> bool:
|
1177
|
+
"""
|
1178
|
+
When true, write the subscription name, messageId, publishTime, attributes, and orderingKey to additional columns in the table.
|
1179
|
+
The subscription name, messageId, and publishTime fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
|
1180
|
+
"""
|
1159
1181
|
return pulumi.get(self, "write_metadata")
|
1160
1182
|
|
1161
1183
|
|
@@ -1169,6 +1191,18 @@ class GetSubscriptionCloudStorageConfigResult(dict):
|
|
1169
1191
|
max_bytes: int,
|
1170
1192
|
max_duration: str,
|
1171
1193
|
state: str):
|
1194
|
+
"""
|
1195
|
+
:param Sequence['GetSubscriptionCloudStorageConfigAvroConfigArgs'] avro_configs: If set, message data will be written to Cloud Storage in Avro format.
|
1196
|
+
:param str bucket: User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like "gs://".
|
1197
|
+
:param str filename_prefix: User-provided prefix for Cloud Storage filename.
|
1198
|
+
:param str filename_suffix: User-provided suffix for Cloud Storage filename. Must not end in "/".
|
1199
|
+
:param int max_bytes: The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB.
|
1200
|
+
The maxBytes limit may be exceeded in cases where messages are larger than the limit.
|
1201
|
+
:param str max_duration: The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes.
|
1202
|
+
May not exceed the subscription's acknowledgement deadline.
|
1203
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
1204
|
+
:param str state: An output-only field that indicates whether or not the subscription can receive messages.
|
1205
|
+
"""
|
1172
1206
|
pulumi.set(__self__, "avro_configs", avro_configs)
|
1173
1207
|
pulumi.set(__self__, "bucket", bucket)
|
1174
1208
|
pulumi.set(__self__, "filename_prefix", filename_prefix)
|
@@ -1180,36 +1214,60 @@ class GetSubscriptionCloudStorageConfigResult(dict):
|
|
1180
1214
|
@property
|
1181
1215
|
@pulumi.getter(name="avroConfigs")
|
1182
1216
|
def avro_configs(self) -> Sequence['outputs.GetSubscriptionCloudStorageConfigAvroConfigResult']:
|
1217
|
+
"""
|
1218
|
+
If set, message data will be written to Cloud Storage in Avro format.
|
1219
|
+
"""
|
1183
1220
|
return pulumi.get(self, "avro_configs")
|
1184
1221
|
|
1185
1222
|
@property
|
1186
1223
|
@pulumi.getter
|
1187
1224
|
def bucket(self) -> str:
|
1225
|
+
"""
|
1226
|
+
User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like "gs://".
|
1227
|
+
"""
|
1188
1228
|
return pulumi.get(self, "bucket")
|
1189
1229
|
|
1190
1230
|
@property
|
1191
1231
|
@pulumi.getter(name="filenamePrefix")
|
1192
1232
|
def filename_prefix(self) -> str:
|
1233
|
+
"""
|
1234
|
+
User-provided prefix for Cloud Storage filename.
|
1235
|
+
"""
|
1193
1236
|
return pulumi.get(self, "filename_prefix")
|
1194
1237
|
|
1195
1238
|
@property
|
1196
1239
|
@pulumi.getter(name="filenameSuffix")
|
1197
1240
|
def filename_suffix(self) -> str:
|
1241
|
+
"""
|
1242
|
+
User-provided suffix for Cloud Storage filename. Must not end in "/".
|
1243
|
+
"""
|
1198
1244
|
return pulumi.get(self, "filename_suffix")
|
1199
1245
|
|
1200
1246
|
@property
|
1201
1247
|
@pulumi.getter(name="maxBytes")
|
1202
1248
|
def max_bytes(self) -> int:
|
1249
|
+
"""
|
1250
|
+
The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB.
|
1251
|
+
The maxBytes limit may be exceeded in cases where messages are larger than the limit.
|
1252
|
+
"""
|
1203
1253
|
return pulumi.get(self, "max_bytes")
|
1204
1254
|
|
1205
1255
|
@property
|
1206
1256
|
@pulumi.getter(name="maxDuration")
|
1207
1257
|
def max_duration(self) -> str:
|
1258
|
+
"""
|
1259
|
+
The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes.
|
1260
|
+
May not exceed the subscription's acknowledgement deadline.
|
1261
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
1262
|
+
"""
|
1208
1263
|
return pulumi.get(self, "max_duration")
|
1209
1264
|
|
1210
1265
|
@property
|
1211
1266
|
@pulumi.getter
|
1212
1267
|
def state(self) -> str:
|
1268
|
+
"""
|
1269
|
+
An output-only field that indicates whether or not the subscription can receive messages.
|
1270
|
+
"""
|
1213
1271
|
return pulumi.get(self, "state")
|
1214
1272
|
|
1215
1273
|
|
@@ -1217,11 +1275,17 @@ class GetSubscriptionCloudStorageConfigResult(dict):
|
|
1217
1275
|
class GetSubscriptionCloudStorageConfigAvroConfigResult(dict):
|
1218
1276
|
def __init__(__self__, *,
|
1219
1277
|
write_metadata: bool):
|
1278
|
+
"""
|
1279
|
+
:param bool write_metadata: When true, write the subscription name, messageId, publishTime, attributes, and orderingKey as additional fields in the output.
|
1280
|
+
"""
|
1220
1281
|
pulumi.set(__self__, "write_metadata", write_metadata)
|
1221
1282
|
|
1222
1283
|
@property
|
1223
1284
|
@pulumi.getter(name="writeMetadata")
|
1224
1285
|
def write_metadata(self) -> bool:
|
1286
|
+
"""
|
1287
|
+
When true, write the subscription name, messageId, publishTime, attributes, and orderingKey as additional fields in the output.
|
1288
|
+
"""
|
1225
1289
|
return pulumi.get(self, "write_metadata")
|
1226
1290
|
|
1227
1291
|
|
@@ -1230,17 +1294,69 @@ class GetSubscriptionDeadLetterPolicyResult(dict):
|
|
1230
1294
|
def __init__(__self__, *,
|
1231
1295
|
dead_letter_topic: str,
|
1232
1296
|
max_delivery_attempts: int):
|
1297
|
+
"""
|
1298
|
+
:param str dead_letter_topic: The name of the topic to which dead letter messages should be published.
|
1299
|
+
Format is 'projects/{project}/topics/{topic}'.
|
1300
|
+
|
1301
|
+
The Cloud Pub/Sub service account associated with the enclosing subscription's
|
1302
|
+
parent project (i.e.,
|
1303
|
+
service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have
|
1304
|
+
permission to Publish() to this topic.
|
1305
|
+
|
1306
|
+
The operation will fail if the topic does not exist.
|
1307
|
+
Users should ensure that there is a subscription attached to this topic
|
1308
|
+
since messages published to a topic with no subscriptions are lost.
|
1309
|
+
:param int max_delivery_attempts: The maximum number of delivery attempts for any message. The value must be
|
1310
|
+
between 5 and 100.
|
1311
|
+
|
1312
|
+
The number of delivery attempts is defined as 1 + (the sum of number of
|
1313
|
+
NACKs and number of times the acknowledgement deadline has been exceeded for the message).
|
1314
|
+
|
1315
|
+
A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that
|
1316
|
+
client libraries may automatically extend ack_deadlines.
|
1317
|
+
|
1318
|
+
This field will be honored on a best effort basis.
|
1319
|
+
|
1320
|
+
If this parameter is 0, a default value of 5 is used.
|
1321
|
+
"""
|
1233
1322
|
pulumi.set(__self__, "dead_letter_topic", dead_letter_topic)
|
1234
1323
|
pulumi.set(__self__, "max_delivery_attempts", max_delivery_attempts)
|
1235
1324
|
|
1236
1325
|
@property
|
1237
1326
|
@pulumi.getter(name="deadLetterTopic")
|
1238
1327
|
def dead_letter_topic(self) -> str:
|
1328
|
+
"""
|
1329
|
+
The name of the topic to which dead letter messages should be published.
|
1330
|
+
Format is 'projects/{project}/topics/{topic}'.
|
1331
|
+
|
1332
|
+
The Cloud Pub/Sub service account associated with the enclosing subscription's
|
1333
|
+
parent project (i.e.,
|
1334
|
+
service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have
|
1335
|
+
permission to Publish() to this topic.
|
1336
|
+
|
1337
|
+
The operation will fail if the topic does not exist.
|
1338
|
+
Users should ensure that there is a subscription attached to this topic
|
1339
|
+
since messages published to a topic with no subscriptions are lost.
|
1340
|
+
"""
|
1239
1341
|
return pulumi.get(self, "dead_letter_topic")
|
1240
1342
|
|
1241
1343
|
@property
|
1242
1344
|
@pulumi.getter(name="maxDeliveryAttempts")
|
1243
1345
|
def max_delivery_attempts(self) -> int:
|
1346
|
+
"""
|
1347
|
+
The maximum number of delivery attempts for any message. The value must be
|
1348
|
+
between 5 and 100.
|
1349
|
+
|
1350
|
+
The number of delivery attempts is defined as 1 + (the sum of number of
|
1351
|
+
NACKs and number of times the acknowledgement deadline has been exceeded for the message).
|
1352
|
+
|
1353
|
+
A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that
|
1354
|
+
client libraries may automatically extend ack_deadlines.
|
1355
|
+
|
1356
|
+
This field will be honored on a best effort basis.
|
1357
|
+
|
1358
|
+
If this parameter is 0, a default value of 5 is used.
|
1359
|
+
"""
|
1244
1360
|
return pulumi.get(self, "max_delivery_attempts")
|
1245
1361
|
|
1246
1362
|
|
@@ -1248,11 +1364,25 @@ class GetSubscriptionDeadLetterPolicyResult(dict):
|
|
1248
1364
|
class GetSubscriptionExpirationPolicyResult(dict):
|
1249
1365
|
def __init__(__self__, *,
|
1250
1366
|
ttl: str):
|
1367
|
+
"""
|
1368
|
+
:param str ttl: Specifies the "time-to-live" duration for an associated resource. The
|
1369
|
+
resource expires if it is not active for a period of ttl.
|
1370
|
+
If ttl is set to "", the associated resource never expires.
|
1371
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'.
|
1372
|
+
Example - "3.5s".
|
1373
|
+
"""
|
1251
1374
|
pulumi.set(__self__, "ttl", ttl)
|
1252
1375
|
|
1253
1376
|
@property
|
1254
1377
|
@pulumi.getter
|
1255
1378
|
def ttl(self) -> str:
|
1379
|
+
"""
|
1380
|
+
Specifies the "time-to-live" duration for an associated resource. The
|
1381
|
+
resource expires if it is not active for a period of ttl.
|
1382
|
+
If ttl is set to "", the associated resource never expires.
|
1383
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'.
|
1384
|
+
Example - "3.5s".
|
1385
|
+
"""
|
1256
1386
|
return pulumi.get(self, "ttl")
|
1257
1387
|
|
1258
1388
|
|
@@ -1263,6 +1393,38 @@ class GetSubscriptionPushConfigResult(dict):
|
|
1263
1393
|
no_wrappers: Sequence['outputs.GetSubscriptionPushConfigNoWrapperResult'],
|
1264
1394
|
oidc_tokens: Sequence['outputs.GetSubscriptionPushConfigOidcTokenResult'],
|
1265
1395
|
push_endpoint: str):
|
1396
|
+
"""
|
1397
|
+
:param Mapping[str, str] attributes: Endpoint configuration attributes.
|
1398
|
+
|
1399
|
+
Every endpoint has a set of API supported attributes that can
|
1400
|
+
be used to control different aspects of the message delivery.
|
1401
|
+
|
1402
|
+
The currently supported attribute is x-goog-version, which you
|
1403
|
+
can use to change the format of the pushed message. This
|
1404
|
+
attribute indicates the version of the data expected by
|
1405
|
+
the endpoint. This controls the shape of the pushed message
|
1406
|
+
(i.e., its fields and metadata). The endpoint version is
|
1407
|
+
based on the version of the Pub/Sub API.
|
1408
|
+
|
1409
|
+
If not present during the subscriptions.create call,
|
1410
|
+
it will default to the version of the API used to make
|
1411
|
+
such call. If not present during a subscriptions.modifyPushConfig
|
1412
|
+
call, its value will not be changed. subscriptions.get
|
1413
|
+
calls will always return a valid version, even if the
|
1414
|
+
subscription was created without this attribute.
|
1415
|
+
|
1416
|
+
The possible values for this attribute are:
|
1417
|
+
|
1418
|
+
- v1beta1: uses the push format defined in the v1beta1 Pub/Sub API.
|
1419
|
+
- v1 or v1beta2: uses the push format defined in the v1 Pub/Sub API.
|
1420
|
+
:param Sequence['GetSubscriptionPushConfigNoWrapperArgs'] no_wrappers: When set, the payload to the push endpoint is not wrapped.Sets the
|
1421
|
+
'data' field as the HTTP body for delivery.
|
1422
|
+
:param Sequence['GetSubscriptionPushConfigOidcTokenArgs'] oidc_tokens: If specified, Pub/Sub will generate and attach an OIDC JWT token as
|
1423
|
+
an Authorization header in the HTTP request for every pushed message.
|
1424
|
+
:param str push_endpoint: A URL locating the endpoint to which messages should be pushed.
|
1425
|
+
For example, a Webhook endpoint might use
|
1426
|
+
"https://example.com/push".
|
1427
|
+
"""
|
1266
1428
|
pulumi.set(__self__, "attributes", attributes)
|
1267
1429
|
pulumi.set(__self__, "no_wrappers", no_wrappers)
|
1268
1430
|
pulumi.set(__self__, "oidc_tokens", oidc_tokens)
|
@@ -1271,21 +1433,59 @@ class GetSubscriptionPushConfigResult(dict):
|
|
1271
1433
|
@property
|
1272
1434
|
@pulumi.getter
|
1273
1435
|
def attributes(self) -> Mapping[str, str]:
|
1436
|
+
"""
|
1437
|
+
Endpoint configuration attributes.
|
1438
|
+
|
1439
|
+
Every endpoint has a set of API supported attributes that can
|
1440
|
+
be used to control different aspects of the message delivery.
|
1441
|
+
|
1442
|
+
The currently supported attribute is x-goog-version, which you
|
1443
|
+
can use to change the format of the pushed message. This
|
1444
|
+
attribute indicates the version of the data expected by
|
1445
|
+
the endpoint. This controls the shape of the pushed message
|
1446
|
+
(i.e., its fields and metadata). The endpoint version is
|
1447
|
+
based on the version of the Pub/Sub API.
|
1448
|
+
|
1449
|
+
If not present during the subscriptions.create call,
|
1450
|
+
it will default to the version of the API used to make
|
1451
|
+
such call. If not present during a subscriptions.modifyPushConfig
|
1452
|
+
call, its value will not be changed. subscriptions.get
|
1453
|
+
calls will always return a valid version, even if the
|
1454
|
+
subscription was created without this attribute.
|
1455
|
+
|
1456
|
+
The possible values for this attribute are:
|
1457
|
+
|
1458
|
+
- v1beta1: uses the push format defined in the v1beta1 Pub/Sub API.
|
1459
|
+
- v1 or v1beta2: uses the push format defined in the v1 Pub/Sub API.
|
1460
|
+
"""
|
1274
1461
|
return pulumi.get(self, "attributes")
|
1275
1462
|
|
1276
1463
|
@property
|
1277
1464
|
@pulumi.getter(name="noWrappers")
|
1278
1465
|
def no_wrappers(self) -> Sequence['outputs.GetSubscriptionPushConfigNoWrapperResult']:
|
1466
|
+
"""
|
1467
|
+
When set, the payload to the push endpoint is not wrapped.Sets the
|
1468
|
+
'data' field as the HTTP body for delivery.
|
1469
|
+
"""
|
1279
1470
|
return pulumi.get(self, "no_wrappers")
|
1280
1471
|
|
1281
1472
|
@property
|
1282
1473
|
@pulumi.getter(name="oidcTokens")
|
1283
1474
|
def oidc_tokens(self) -> Sequence['outputs.GetSubscriptionPushConfigOidcTokenResult']:
|
1475
|
+
"""
|
1476
|
+
If specified, Pub/Sub will generate and attach an OIDC JWT token as
|
1477
|
+
an Authorization header in the HTTP request for every pushed message.
|
1478
|
+
"""
|
1284
1479
|
return pulumi.get(self, "oidc_tokens")
|
1285
1480
|
|
1286
1481
|
@property
|
1287
1482
|
@pulumi.getter(name="pushEndpoint")
|
1288
1483
|
def push_endpoint(self) -> str:
|
1484
|
+
"""
|
1485
|
+
A URL locating the endpoint to which messages should be pushed.
|
1486
|
+
For example, a Webhook endpoint might use
|
1487
|
+
"https://example.com/push".
|
1488
|
+
"""
|
1289
1489
|
return pulumi.get(self, "push_endpoint")
|
1290
1490
|
|
1291
1491
|
|
@@ -1293,11 +1493,21 @@ class GetSubscriptionPushConfigResult(dict):
|
|
1293
1493
|
class GetSubscriptionPushConfigNoWrapperResult(dict):
|
1294
1494
|
def __init__(__self__, *,
|
1295
1495
|
write_metadata: bool):
|
1496
|
+
"""
|
1497
|
+
:param bool write_metadata: When true, writes the Pub/Sub message metadata to
|
1498
|
+
'x-goog-pubsub-<KEY>:<VAL>' headers of the HTTP request. Writes the
|
1499
|
+
Pub/Sub message attributes to '<KEY>:<VAL>' headers of the HTTP request.
|
1500
|
+
"""
|
1296
1501
|
pulumi.set(__self__, "write_metadata", write_metadata)
|
1297
1502
|
|
1298
1503
|
@property
|
1299
1504
|
@pulumi.getter(name="writeMetadata")
|
1300
1505
|
def write_metadata(self) -> bool:
|
1506
|
+
"""
|
1507
|
+
When true, writes the Pub/Sub message metadata to
|
1508
|
+
'x-goog-pubsub-<KEY>:<VAL>' headers of the HTTP request. Writes the
|
1509
|
+
Pub/Sub message attributes to '<KEY>:<VAL>' headers of the HTTP request.
|
1510
|
+
"""
|
1301
1511
|
return pulumi.get(self, "write_metadata")
|
1302
1512
|
|
1303
1513
|
|
@@ -1306,17 +1516,43 @@ class GetSubscriptionPushConfigOidcTokenResult(dict):
|
|
1306
1516
|
def __init__(__self__, *,
|
1307
1517
|
audience: str,
|
1308
1518
|
service_account_email: str):
|
1519
|
+
"""
|
1520
|
+
:param str audience: Audience to be used when generating OIDC token. The audience claim
|
1521
|
+
identifies the recipients that the JWT is intended for. The audience
|
1522
|
+
value is a single case-sensitive string. Having multiple values (array)
|
1523
|
+
for the audience field is not supported. More info about the OIDC JWT
|
1524
|
+
token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
|
1525
|
+
Note: if not specified, the Push endpoint URL will be used.
|
1526
|
+
:param str service_account_email: Service account email to be used for generating the OIDC token.
|
1527
|
+
The caller (for subscriptions.create, subscriptions.patch, and
|
1528
|
+
subscriptions.modifyPushConfig RPCs) must have the
|
1529
|
+
iam.serviceAccounts.actAs permission for the service account.
|
1530
|
+
"""
|
1309
1531
|
pulumi.set(__self__, "audience", audience)
|
1310
1532
|
pulumi.set(__self__, "service_account_email", service_account_email)
|
1311
1533
|
|
1312
1534
|
@property
|
1313
1535
|
@pulumi.getter
|
1314
1536
|
def audience(self) -> str:
|
1537
|
+
"""
|
1538
|
+
Audience to be used when generating OIDC token. The audience claim
|
1539
|
+
identifies the recipients that the JWT is intended for. The audience
|
1540
|
+
value is a single case-sensitive string. Having multiple values (array)
|
1541
|
+
for the audience field is not supported. More info about the OIDC JWT
|
1542
|
+
token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
|
1543
|
+
Note: if not specified, the Push endpoint URL will be used.
|
1544
|
+
"""
|
1315
1545
|
return pulumi.get(self, "audience")
|
1316
1546
|
|
1317
1547
|
@property
|
1318
1548
|
@pulumi.getter(name="serviceAccountEmail")
|
1319
1549
|
def service_account_email(self) -> str:
|
1550
|
+
"""
|
1551
|
+
Service account email to be used for generating the OIDC token.
|
1552
|
+
The caller (for subscriptions.create, subscriptions.patch, and
|
1553
|
+
subscriptions.modifyPushConfig RPCs) must have the
|
1554
|
+
iam.serviceAccounts.actAs permission for the service account.
|
1555
|
+
"""
|
1320
1556
|
return pulumi.get(self, "service_account_email")
|
1321
1557
|
|
1322
1558
|
|
@@ -1325,17 +1561,31 @@ class GetSubscriptionRetryPolicyResult(dict):
|
|
1325
1561
|
def __init__(__self__, *,
|
1326
1562
|
maximum_backoff: str,
|
1327
1563
|
minimum_backoff: str):
|
1564
|
+
"""
|
1565
|
+
:param str maximum_backoff: The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.
|
1566
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
1567
|
+
:param str minimum_backoff: The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.
|
1568
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
1569
|
+
"""
|
1328
1570
|
pulumi.set(__self__, "maximum_backoff", maximum_backoff)
|
1329
1571
|
pulumi.set(__self__, "minimum_backoff", minimum_backoff)
|
1330
1572
|
|
1331
1573
|
@property
|
1332
1574
|
@pulumi.getter(name="maximumBackoff")
|
1333
1575
|
def maximum_backoff(self) -> str:
|
1576
|
+
"""
|
1577
|
+
The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.
|
1578
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
1579
|
+
"""
|
1334
1580
|
return pulumi.get(self, "maximum_backoff")
|
1335
1581
|
|
1336
1582
|
@property
|
1337
1583
|
@pulumi.getter(name="minimumBackoff")
|
1338
1584
|
def minimum_backoff(self) -> str:
|
1585
|
+
"""
|
1586
|
+
The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.
|
1587
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
1588
|
+
"""
|
1339
1589
|
return pulumi.get(self, "minimum_backoff")
|
1340
1590
|
|
1341
1591
|
|
@@ -1343,11 +1593,27 @@ class GetSubscriptionRetryPolicyResult(dict):
|
|
1343
1593
|
class GetTopicMessageStoragePolicyResult(dict):
|
1344
1594
|
def __init__(__self__, *,
|
1345
1595
|
allowed_persistence_regions: Sequence[str]):
|
1596
|
+
"""
|
1597
|
+
:param Sequence[str] allowed_persistence_regions: A list of IDs of GCP regions where messages that are published to
|
1598
|
+
the topic may be persisted in storage. Messages published by
|
1599
|
+
publishers running in non-allowed GCP regions (or running outside
|
1600
|
+
of GCP altogether) will be routed for storage in one of the
|
1601
|
+
allowed regions. An empty list means that no regions are allowed,
|
1602
|
+
and is not a valid configuration.
|
1603
|
+
"""
|
1346
1604
|
pulumi.set(__self__, "allowed_persistence_regions", allowed_persistence_regions)
|
1347
1605
|
|
1348
1606
|
@property
|
1349
1607
|
@pulumi.getter(name="allowedPersistenceRegions")
|
1350
1608
|
def allowed_persistence_regions(self) -> Sequence[str]:
|
1609
|
+
"""
|
1610
|
+
A list of IDs of GCP regions where messages that are published to
|
1611
|
+
the topic may be persisted in storage. Messages published by
|
1612
|
+
publishers running in non-allowed GCP regions (or running outside
|
1613
|
+
of GCP altogether) will be routed for storage in one of the
|
1614
|
+
allowed regions. An empty list means that no regions are allowed,
|
1615
|
+
and is not a valid configuration.
|
1616
|
+
"""
|
1351
1617
|
return pulumi.get(self, "allowed_persistence_regions")
|
1352
1618
|
|
1353
1619
|
|
@@ -1356,17 +1622,33 @@ class GetTopicSchemaSettingResult(dict):
|
|
1356
1622
|
def __init__(__self__, *,
|
1357
1623
|
encoding: str,
|
1358
1624
|
schema: str):
|
1625
|
+
"""
|
1626
|
+
:param str encoding: The encoding of messages validated against schema. Default value: "ENCODING_UNSPECIFIED" Possible values: ["ENCODING_UNSPECIFIED", "JSON", "BINARY"]
|
1627
|
+
:param str schema: The name of the schema that messages published should be
|
1628
|
+
validated against. Format is projects/{project}/schemas/{schema}.
|
1629
|
+
The value of this field will be _deleted-schema_
|
1630
|
+
if the schema has been deleted.
|
1631
|
+
"""
|
1359
1632
|
pulumi.set(__self__, "encoding", encoding)
|
1360
1633
|
pulumi.set(__self__, "schema", schema)
|
1361
1634
|
|
1362
1635
|
@property
|
1363
1636
|
@pulumi.getter
|
1364
1637
|
def encoding(self) -> str:
|
1638
|
+
"""
|
1639
|
+
The encoding of messages validated against schema. Default value: "ENCODING_UNSPECIFIED" Possible values: ["ENCODING_UNSPECIFIED", "JSON", "BINARY"]
|
1640
|
+
"""
|
1365
1641
|
return pulumi.get(self, "encoding")
|
1366
1642
|
|
1367
1643
|
@property
|
1368
1644
|
@pulumi.getter
|
1369
1645
|
def schema(self) -> str:
|
1646
|
+
"""
|
1647
|
+
The name of the schema that messages published should be
|
1648
|
+
validated against. Format is projects/{project}/schemas/{schema}.
|
1649
|
+
The value of this field will be _deleted-schema_
|
1650
|
+
if the schema has been deleted.
|
1651
|
+
"""
|
1370
1652
|
return pulumi.get(self, "schema")
|
1371
1653
|
|
1372
1654
|
|