pulumi-gcp 8.25.0a1743575622__py3-none-any.whl → 8.25.0a1743706148__py3-none-any.whl

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.
Files changed (126) hide show
  1. pulumi_gcp/__init__.py +104 -0
  2. pulumi_gcp/_inputs.py +48 -0
  3. pulumi_gcp/accesscontextmanager/_inputs.py +324 -12
  4. pulumi_gcp/accesscontextmanager/outputs.py +204 -12
  5. pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
  6. pulumi_gcp/apigee/__init__.py +1 -0
  7. pulumi_gcp/apigee/_inputs.py +58 -0
  8. pulumi_gcp/apigee/dns_zone.py +491 -0
  9. pulumi_gcp/apigee/outputs.py +53 -0
  10. pulumi_gcp/bigquery/reservation_assignment.py +7 -7
  11. pulumi_gcp/bigtable/table.py +8 -8
  12. pulumi_gcp/chronicle/data_access_label.py +2 -2
  13. pulumi_gcp/chronicle/data_access_scope.py +16 -0
  14. pulumi_gcp/chronicle/reference_list.py +16 -0
  15. pulumi_gcp/chronicle/retrohunt.py +16 -0
  16. pulumi_gcp/chronicle/rule.py +16 -0
  17. pulumi_gcp/chronicle/rule_deployment.py +16 -0
  18. pulumi_gcp/chronicle/watchlist.py +16 -0
  19. pulumi_gcp/cloudfunctionsv2/_inputs.py +20 -0
  20. pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
  21. pulumi_gcp/cloudrunv2/_inputs.py +20 -0
  22. pulumi_gcp/cloudrunv2/outputs.py +25 -0
  23. pulumi_gcp/compute/__init__.py +1 -0
  24. pulumi_gcp/compute/_inputs.py +2011 -43
  25. pulumi_gcp/compute/backend_service.py +121 -3
  26. pulumi_gcp/compute/get_backend_service.py +15 -4
  27. pulumi_gcp/compute/get_instance.py +12 -1
  28. pulumi_gcp/compute/get_region_backend_service.py +482 -0
  29. pulumi_gcp/compute/get_router.py +12 -1
  30. pulumi_gcp/compute/get_subnetwork.py +43 -1
  31. pulumi_gcp/compute/instance.py +47 -0
  32. pulumi_gcp/compute/instance_from_machine_image.py +94 -0
  33. pulumi_gcp/compute/instance_from_template.py +47 -0
  34. pulumi_gcp/compute/outputs.py +3578 -139
  35. pulumi_gcp/compute/public_delegated_prefix.py +69 -15
  36. pulumi_gcp/compute/router.py +54 -0
  37. pulumi_gcp/compute/subnetwork.py +35 -5
  38. pulumi_gcp/config/__init__.pyi +2 -0
  39. pulumi_gcp/config/outputs.py +27 -0
  40. pulumi_gcp/config/vars.py +4 -0
  41. pulumi_gcp/container/_inputs.py +12 -12
  42. pulumi_gcp/container/cluster.py +47 -0
  43. pulumi_gcp/container/get_cluster.py +12 -1
  44. pulumi_gcp/container/get_registry_image.py +4 -0
  45. pulumi_gcp/container/get_registry_repository.py +4 -0
  46. pulumi_gcp/container/outputs.py +8 -8
  47. pulumi_gcp/container/registry.py +4 -0
  48. pulumi_gcp/datafusion/instance.py +68 -0
  49. pulumi_gcp/dataproc/__init__.py +8 -0
  50. pulumi_gcp/dataproc/_inputs.py +196 -0
  51. pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +193 -0
  52. pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +210 -0
  53. pulumi_gcp/dataproc/metastore_database_iam_binding.py +848 -0
  54. pulumi_gcp/dataproc/metastore_database_iam_member.py +848 -0
  55. pulumi_gcp/dataproc/metastore_database_iam_policy.py +687 -0
  56. pulumi_gcp/dataproc/metastore_federation.py +38 -2
  57. pulumi_gcp/dataproc/metastore_table_iam_binding.py +895 -0
  58. pulumi_gcp/dataproc/metastore_table_iam_member.py +895 -0
  59. pulumi_gcp/dataproc/metastore_table_iam_policy.py +734 -0
  60. pulumi_gcp/dataproc/outputs.py +112 -0
  61. pulumi_gcp/datastream/_inputs.py +311 -94
  62. pulumi_gcp/datastream/connection_profile.py +40 -0
  63. pulumi_gcp/datastream/outputs.py +244 -51
  64. pulumi_gcp/datastream/stream.py +216 -0
  65. pulumi_gcp/discoveryengine/__init__.py +1 -0
  66. pulumi_gcp/discoveryengine/sitemap.py +504 -0
  67. pulumi_gcp/eventarc/__init__.py +1 -0
  68. pulumi_gcp/eventarc/enrollment.py +980 -0
  69. pulumi_gcp/firebase/__init__.py +1 -0
  70. pulumi_gcp/firebase/_inputs.py +484 -0
  71. pulumi_gcp/firebase/app_hosting_build.py +1232 -0
  72. pulumi_gcp/firebase/outputs.py +333 -0
  73. pulumi_gcp/identityplatform/_inputs.py +91 -0
  74. pulumi_gcp/identityplatform/outputs.py +73 -0
  75. pulumi_gcp/identityplatform/tenant.py +56 -0
  76. pulumi_gcp/managedkafka/cluster.py +2 -2
  77. pulumi_gcp/memorystore/__init__.py +1 -0
  78. pulumi_gcp/memorystore/_inputs.py +826 -0
  79. pulumi_gcp/memorystore/get_instance.py +23 -1
  80. pulumi_gcp/memorystore/instance.py +344 -23
  81. pulumi_gcp/memorystore/instance_desired_user_created_endpoints.py +843 -0
  82. pulumi_gcp/memorystore/outputs.py +889 -8
  83. pulumi_gcp/networksecurity/_inputs.py +473 -0
  84. pulumi_gcp/networksecurity/mirroring_deployment_group.py +44 -16
  85. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +94 -36
  86. pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +53 -8
  87. pulumi_gcp/networksecurity/outputs.py +291 -1
  88. pulumi_gcp/networksecurity/security_profile.py +8 -0
  89. pulumi_gcp/organizations/__init__.py +1 -0
  90. pulumi_gcp/organizations/get_iam_custom_roles.py +164 -0
  91. pulumi_gcp/organizations/outputs.py +96 -0
  92. pulumi_gcp/parametermanager/get_parameter.py +16 -1
  93. pulumi_gcp/parametermanager/get_parameter_version.py +19 -1
  94. pulumi_gcp/parametermanager/get_parameter_version_render.py +4 -0
  95. pulumi_gcp/parametermanager/get_parameters.py +4 -0
  96. pulumi_gcp/parametermanager/get_regional_parameter.py +4 -0
  97. pulumi_gcp/parametermanager/get_regional_parameter_version.py +4 -0
  98. pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +8 -0
  99. pulumi_gcp/parametermanager/get_regional_parameters.py +4 -0
  100. pulumi_gcp/parametermanager/outputs.py +11 -0
  101. pulumi_gcp/parametermanager/parameter.py +88 -0
  102. pulumi_gcp/parametermanager/parameter_version.py +74 -0
  103. pulumi_gcp/parametermanager/regional_parameter.py +12 -0
  104. pulumi_gcp/parametermanager/regional_parameter_version.py +12 -0
  105. pulumi_gcp/provider.py +15 -0
  106. pulumi_gcp/pulumi-plugin.json +1 -1
  107. pulumi_gcp/redis/_inputs.py +136 -0
  108. pulumi_gcp/redis/cluster.py +54 -0
  109. pulumi_gcp/redis/outputs.py +114 -0
  110. pulumi_gcp/secretmanager/regional_secret_version.py +0 -16
  111. pulumi_gcp/storage/__init__.py +4 -0
  112. pulumi_gcp/storage/_inputs.py +596 -0
  113. pulumi_gcp/storage/bucket.py +7 -7
  114. pulumi_gcp/storage/control_folder_intelligence_config.py +420 -0
  115. pulumi_gcp/storage/control_organization_intelligence_config.py +420 -0
  116. pulumi_gcp/storage/control_project_intelligence_config.py +49 -7
  117. pulumi_gcp/storage/get_bucket_object_content.py +16 -1
  118. pulumi_gcp/storage/get_control_folder_intelligence_config.py +160 -0
  119. pulumi_gcp/storage/get_control_organization_intelligence_config.py +160 -0
  120. pulumi_gcp/storage/get_control_project_intelligence_config.py +32 -2
  121. pulumi_gcp/storage/outputs.py +2132 -1312
  122. pulumi_gcp/workbench/instance.py +14 -2
  123. {pulumi_gcp-8.25.0a1743575622.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/METADATA +1 -1
  124. {pulumi_gcp-8.25.0a1743575622.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/RECORD +126 -107
  125. {pulumi_gcp-8.25.0a1743575622.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/WHEEL +0 -0
  126. {pulumi_gcp-8.25.0a1743575622.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/top_level.txt +0 -0
@@ -33,6 +33,18 @@ __all__ = [
33
33
  'BucketSoftDeletePolicy',
34
34
  'BucketVersioning',
35
35
  'BucketWebsite',
36
+ 'ControlFolderIntelligenceConfigEffectiveIntelligenceConfig',
37
+ 'ControlFolderIntelligenceConfigFilter',
38
+ 'ControlFolderIntelligenceConfigFilterExcludedCloudStorageBuckets',
39
+ 'ControlFolderIntelligenceConfigFilterExcludedCloudStorageLocations',
40
+ 'ControlFolderIntelligenceConfigFilterIncludedCloudStorageBuckets',
41
+ 'ControlFolderIntelligenceConfigFilterIncludedCloudStorageLocations',
42
+ 'ControlOrganizationIntelligenceConfigEffectiveIntelligenceConfig',
43
+ 'ControlOrganizationIntelligenceConfigFilter',
44
+ 'ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBuckets',
45
+ 'ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocations',
46
+ 'ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBuckets',
47
+ 'ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocations',
36
48
  'ControlProjectIntelligenceConfigEffectiveIntelligenceConfig',
37
49
  'ControlProjectIntelligenceConfigFilter',
38
50
  'ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets',
@@ -98,6 +110,18 @@ __all__ = [
98
110
  'GetBucketVersioningResult',
99
111
  'GetBucketWebsiteResult',
100
112
  'GetBucketsBucketResult',
113
+ 'GetControlFolderIntelligenceConfigEffectiveIntelligenceConfigResult',
114
+ 'GetControlFolderIntelligenceConfigFilterResult',
115
+ 'GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucketResult',
116
+ 'GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocationResult',
117
+ 'GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucketResult',
118
+ 'GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocationResult',
119
+ 'GetControlOrganizationIntelligenceConfigEffectiveIntelligenceConfigResult',
120
+ 'GetControlOrganizationIntelligenceConfigFilterResult',
121
+ 'GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBucketResult',
122
+ 'GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocationResult',
123
+ 'GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBucketResult',
124
+ 'GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocationResult',
101
125
  'GetControlProjectIntelligenceConfigEffectiveIntelligenceConfigResult',
102
126
  'GetControlProjectIntelligenceConfigFilterResult',
103
127
  'GetControlProjectIntelligenceConfigFilterExcludedCloudStorageBucketResult',
@@ -1069,7 +1093,7 @@ class BucketWebsite(dict):
1069
1093
 
1070
1094
 
1071
1095
  @pulumi.output_type
1072
- class ControlProjectIntelligenceConfigEffectiveIntelligenceConfig(dict):
1096
+ class ControlFolderIntelligenceConfigEffectiveIntelligenceConfig(dict):
1073
1097
  @staticmethod
1074
1098
  def __key_warning(key: str):
1075
1099
  suggest = None
@@ -1079,14 +1103,14 @@ class ControlProjectIntelligenceConfigEffectiveIntelligenceConfig(dict):
1079
1103
  suggest = "intelligence_config"
1080
1104
 
1081
1105
  if suggest:
1082
- pulumi.log.warn(f"Key '{key}' not found in ControlProjectIntelligenceConfigEffectiveIntelligenceConfig. Access the value via the '{suggest}' property getter instead.")
1106
+ pulumi.log.warn(f"Key '{key}' not found in ControlFolderIntelligenceConfigEffectiveIntelligenceConfig. Access the value via the '{suggest}' property getter instead.")
1083
1107
 
1084
1108
  def __getitem__(self, key: str) -> Any:
1085
- ControlProjectIntelligenceConfigEffectiveIntelligenceConfig.__key_warning(key)
1109
+ ControlFolderIntelligenceConfigEffectiveIntelligenceConfig.__key_warning(key)
1086
1110
  return super().__getitem__(key)
1087
1111
 
1088
1112
  def get(self, key: str, default = None) -> Any:
1089
- ControlProjectIntelligenceConfigEffectiveIntelligenceConfig.__key_warning(key)
1113
+ ControlFolderIntelligenceConfigEffectiveIntelligenceConfig.__key_warning(key)
1090
1114
  return super().get(key, default)
1091
1115
 
1092
1116
  def __init__(__self__, *,
@@ -1123,7 +1147,7 @@ class ControlProjectIntelligenceConfigEffectiveIntelligenceConfig(dict):
1123
1147
 
1124
1148
 
1125
1149
  @pulumi.output_type
1126
- class ControlProjectIntelligenceConfigFilter(dict):
1150
+ class ControlFolderIntelligenceConfigFilter(dict):
1127
1151
  @staticmethod
1128
1152
  def __key_warning(key: str):
1129
1153
  suggest = None
@@ -1137,29 +1161,29 @@ class ControlProjectIntelligenceConfigFilter(dict):
1137
1161
  suggest = "included_cloud_storage_locations"
1138
1162
 
1139
1163
  if suggest:
1140
- pulumi.log.warn(f"Key '{key}' not found in ControlProjectIntelligenceConfigFilter. Access the value via the '{suggest}' property getter instead.")
1164
+ pulumi.log.warn(f"Key '{key}' not found in ControlFolderIntelligenceConfigFilter. Access the value via the '{suggest}' property getter instead.")
1141
1165
 
1142
1166
  def __getitem__(self, key: str) -> Any:
1143
- ControlProjectIntelligenceConfigFilter.__key_warning(key)
1167
+ ControlFolderIntelligenceConfigFilter.__key_warning(key)
1144
1168
  return super().__getitem__(key)
1145
1169
 
1146
1170
  def get(self, key: str, default = None) -> Any:
1147
- ControlProjectIntelligenceConfigFilter.__key_warning(key)
1171
+ ControlFolderIntelligenceConfigFilter.__key_warning(key)
1148
1172
  return super().get(key, default)
1149
1173
 
1150
1174
  def __init__(__self__, *,
1151
- excluded_cloud_storage_buckets: Optional['outputs.ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets'] = None,
1152
- excluded_cloud_storage_locations: Optional['outputs.ControlProjectIntelligenceConfigFilterExcludedCloudStorageLocations'] = None,
1153
- included_cloud_storage_buckets: Optional['outputs.ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets'] = None,
1154
- included_cloud_storage_locations: Optional['outputs.ControlProjectIntelligenceConfigFilterIncludedCloudStorageLocations'] = None):
1175
+ excluded_cloud_storage_buckets: Optional['outputs.ControlFolderIntelligenceConfigFilterExcludedCloudStorageBuckets'] = None,
1176
+ excluded_cloud_storage_locations: Optional['outputs.ControlFolderIntelligenceConfigFilterExcludedCloudStorageLocations'] = None,
1177
+ included_cloud_storage_buckets: Optional['outputs.ControlFolderIntelligenceConfigFilterIncludedCloudStorageBuckets'] = None,
1178
+ included_cloud_storage_locations: Optional['outputs.ControlFolderIntelligenceConfigFilterIncludedCloudStorageLocations'] = None):
1155
1179
  """
1156
- :param 'ControlProjectIntelligenceConfigFilterExcludedCloudStorageBucketsArgs' excluded_cloud_storage_buckets: Buckets to exclude from the Storage Intelligence plan.
1180
+ :param 'ControlFolderIntelligenceConfigFilterExcludedCloudStorageBucketsArgs' excluded_cloud_storage_buckets: Buckets to exclude from the Storage Intelligence plan.
1157
1181
  Structure is documented below.
1158
- :param 'ControlProjectIntelligenceConfigFilterExcludedCloudStorageLocationsArgs' excluded_cloud_storage_locations: Locations to exclude from the Storage Intelligence plan.
1182
+ :param 'ControlFolderIntelligenceConfigFilterExcludedCloudStorageLocationsArgs' excluded_cloud_storage_locations: Locations to exclude from the Storage Intelligence plan.
1159
1183
  Structure is documented below.
1160
- :param 'ControlProjectIntelligenceConfigFilterIncludedCloudStorageBucketsArgs' included_cloud_storage_buckets: Buckets to include in the Storage Intelligence plan.
1184
+ :param 'ControlFolderIntelligenceConfigFilterIncludedCloudStorageBucketsArgs' included_cloud_storage_buckets: Buckets to include in the Storage Intelligence plan.
1161
1185
  Structure is documented below.
1162
- :param 'ControlProjectIntelligenceConfigFilterIncludedCloudStorageLocationsArgs' included_cloud_storage_locations: Locations to include in the Storage Intelligence plan.
1186
+ :param 'ControlFolderIntelligenceConfigFilterIncludedCloudStorageLocationsArgs' included_cloud_storage_locations: Locations to include in the Storage Intelligence plan.
1163
1187
  Structure is documented below.
1164
1188
  """
1165
1189
  if excluded_cloud_storage_buckets is not None:
@@ -1173,7 +1197,7 @@ class ControlProjectIntelligenceConfigFilter(dict):
1173
1197
 
1174
1198
  @property
1175
1199
  @pulumi.getter(name="excludedCloudStorageBuckets")
1176
- def excluded_cloud_storage_buckets(self) -> Optional['outputs.ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets']:
1200
+ def excluded_cloud_storage_buckets(self) -> Optional['outputs.ControlFolderIntelligenceConfigFilterExcludedCloudStorageBuckets']:
1177
1201
  """
1178
1202
  Buckets to exclude from the Storage Intelligence plan.
1179
1203
  Structure is documented below.
@@ -1182,7 +1206,7 @@ class ControlProjectIntelligenceConfigFilter(dict):
1182
1206
 
1183
1207
  @property
1184
1208
  @pulumi.getter(name="excludedCloudStorageLocations")
1185
- def excluded_cloud_storage_locations(self) -> Optional['outputs.ControlProjectIntelligenceConfigFilterExcludedCloudStorageLocations']:
1209
+ def excluded_cloud_storage_locations(self) -> Optional['outputs.ControlFolderIntelligenceConfigFilterExcludedCloudStorageLocations']:
1186
1210
  """
1187
1211
  Locations to exclude from the Storage Intelligence plan.
1188
1212
  Structure is documented below.
@@ -1191,7 +1215,7 @@ class ControlProjectIntelligenceConfigFilter(dict):
1191
1215
 
1192
1216
  @property
1193
1217
  @pulumi.getter(name="includedCloudStorageBuckets")
1194
- def included_cloud_storage_buckets(self) -> Optional['outputs.ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets']:
1218
+ def included_cloud_storage_buckets(self) -> Optional['outputs.ControlFolderIntelligenceConfigFilterIncludedCloudStorageBuckets']:
1195
1219
  """
1196
1220
  Buckets to include in the Storage Intelligence plan.
1197
1221
  Structure is documented below.
@@ -1200,7 +1224,7 @@ class ControlProjectIntelligenceConfigFilter(dict):
1200
1224
 
1201
1225
  @property
1202
1226
  @pulumi.getter(name="includedCloudStorageLocations")
1203
- def included_cloud_storage_locations(self) -> Optional['outputs.ControlProjectIntelligenceConfigFilterIncludedCloudStorageLocations']:
1227
+ def included_cloud_storage_locations(self) -> Optional['outputs.ControlFolderIntelligenceConfigFilterIncludedCloudStorageLocations']:
1204
1228
  """
1205
1229
  Locations to include in the Storage Intelligence plan.
1206
1230
  Structure is documented below.
@@ -1209,7 +1233,7 @@ class ControlProjectIntelligenceConfigFilter(dict):
1209
1233
 
1210
1234
 
1211
1235
  @pulumi.output_type
1212
- class ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets(dict):
1236
+ class ControlFolderIntelligenceConfigFilterExcludedCloudStorageBuckets(dict):
1213
1237
  @staticmethod
1214
1238
  def __key_warning(key: str):
1215
1239
  suggest = None
@@ -1217,14 +1241,14 @@ class ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets(dict):
1217
1241
  suggest = "bucket_id_regexes"
1218
1242
 
1219
1243
  if suggest:
1220
- pulumi.log.warn(f"Key '{key}' not found in ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets. Access the value via the '{suggest}' property getter instead.")
1244
+ pulumi.log.warn(f"Key '{key}' not found in ControlFolderIntelligenceConfigFilterExcludedCloudStorageBuckets. Access the value via the '{suggest}' property getter instead.")
1221
1245
 
1222
1246
  def __getitem__(self, key: str) -> Any:
1223
- ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets.__key_warning(key)
1247
+ ControlFolderIntelligenceConfigFilterExcludedCloudStorageBuckets.__key_warning(key)
1224
1248
  return super().__getitem__(key)
1225
1249
 
1226
1250
  def get(self, key: str, default = None) -> Any:
1227
- ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets.__key_warning(key)
1251
+ ControlFolderIntelligenceConfigFilterExcludedCloudStorageBuckets.__key_warning(key)
1228
1252
  return super().get(key, default)
1229
1253
 
1230
1254
  def __init__(__self__, *,
@@ -1244,7 +1268,7 @@ class ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets(dict):
1244
1268
 
1245
1269
 
1246
1270
  @pulumi.output_type
1247
- class ControlProjectIntelligenceConfigFilterExcludedCloudStorageLocations(dict):
1271
+ class ControlFolderIntelligenceConfigFilterExcludedCloudStorageLocations(dict):
1248
1272
  def __init__(__self__, *,
1249
1273
  locations: Sequence[str]):
1250
1274
  """
@@ -1262,7 +1286,7 @@ class ControlProjectIntelligenceConfigFilterExcludedCloudStorageLocations(dict):
1262
1286
 
1263
1287
 
1264
1288
  @pulumi.output_type
1265
- class ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets(dict):
1289
+ class ControlFolderIntelligenceConfigFilterIncludedCloudStorageBuckets(dict):
1266
1290
  @staticmethod
1267
1291
  def __key_warning(key: str):
1268
1292
  suggest = None
@@ -1270,14 +1294,14 @@ class ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets(dict):
1270
1294
  suggest = "bucket_id_regexes"
1271
1295
 
1272
1296
  if suggest:
1273
- pulumi.log.warn(f"Key '{key}' not found in ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets. Access the value via the '{suggest}' property getter instead.")
1297
+ pulumi.log.warn(f"Key '{key}' not found in ControlFolderIntelligenceConfigFilterIncludedCloudStorageBuckets. Access the value via the '{suggest}' property getter instead.")
1274
1298
 
1275
1299
  def __getitem__(self, key: str) -> Any:
1276
- ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets.__key_warning(key)
1300
+ ControlFolderIntelligenceConfigFilterIncludedCloudStorageBuckets.__key_warning(key)
1277
1301
  return super().__getitem__(key)
1278
1302
 
1279
1303
  def get(self, key: str, default = None) -> Any:
1280
- ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets.__key_warning(key)
1304
+ ControlFolderIntelligenceConfigFilterIncludedCloudStorageBuckets.__key_warning(key)
1281
1305
  return super().get(key, default)
1282
1306
 
1283
1307
  def __init__(__self__, *,
@@ -1297,7 +1321,7 @@ class ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets(dict):
1297
1321
 
1298
1322
 
1299
1323
  @pulumi.output_type
1300
- class ControlProjectIntelligenceConfigFilterIncludedCloudStorageLocations(dict):
1324
+ class ControlFolderIntelligenceConfigFilterIncludedCloudStorageLocations(dict):
1301
1325
  def __init__(__self__, *,
1302
1326
  locations: Sequence[str]):
1303
1327
  """
@@ -1315,476 +1339,499 @@ class ControlProjectIntelligenceConfigFilterIncludedCloudStorageLocations(dict):
1315
1339
 
1316
1340
 
1317
1341
  @pulumi.output_type
1318
- class DefaultObjectAccessControlProjectTeam(dict):
1342
+ class ControlOrganizationIntelligenceConfigEffectiveIntelligenceConfig(dict):
1319
1343
  @staticmethod
1320
1344
  def __key_warning(key: str):
1321
1345
  suggest = None
1322
- if key == "projectNumber":
1323
- suggest = "project_number"
1346
+ if key == "effectiveEdition":
1347
+ suggest = "effective_edition"
1348
+ elif key == "intelligenceConfig":
1349
+ suggest = "intelligence_config"
1324
1350
 
1325
1351
  if suggest:
1326
- pulumi.log.warn(f"Key '{key}' not found in DefaultObjectAccessControlProjectTeam. Access the value via the '{suggest}' property getter instead.")
1352
+ pulumi.log.warn(f"Key '{key}' not found in ControlOrganizationIntelligenceConfigEffectiveIntelligenceConfig. Access the value via the '{suggest}' property getter instead.")
1327
1353
 
1328
1354
  def __getitem__(self, key: str) -> Any:
1329
- DefaultObjectAccessControlProjectTeam.__key_warning(key)
1355
+ ControlOrganizationIntelligenceConfigEffectiveIntelligenceConfig.__key_warning(key)
1330
1356
  return super().__getitem__(key)
1331
1357
 
1332
1358
  def get(self, key: str, default = None) -> Any:
1333
- DefaultObjectAccessControlProjectTeam.__key_warning(key)
1359
+ ControlOrganizationIntelligenceConfigEffectiveIntelligenceConfig.__key_warning(key)
1334
1360
  return super().get(key, default)
1335
1361
 
1336
1362
  def __init__(__self__, *,
1337
- project_number: Optional[str] = None,
1338
- team: Optional[str] = None):
1363
+ effective_edition: Optional[str] = None,
1364
+ intelligence_config: Optional[str] = None):
1339
1365
  """
1340
- :param str project_number: The project team associated with the entity
1341
- :param str team: The team.
1342
- Possible values are: `editors`, `owners`, `viewers`.
1366
+ :param str effective_edition: (Output)
1367
+ The `StorageIntelligence` edition that is applicable for the resource.
1368
+ :param str intelligence_config: (Output)
1369
+ The Intelligence config resource that is applied for the target resource.
1343
1370
  """
1344
- if project_number is not None:
1345
- pulumi.set(__self__, "project_number", project_number)
1346
- if team is not None:
1347
- pulumi.set(__self__, "team", team)
1371
+ if effective_edition is not None:
1372
+ pulumi.set(__self__, "effective_edition", effective_edition)
1373
+ if intelligence_config is not None:
1374
+ pulumi.set(__self__, "intelligence_config", intelligence_config)
1348
1375
 
1349
1376
  @property
1350
- @pulumi.getter(name="projectNumber")
1351
- def project_number(self) -> Optional[str]:
1377
+ @pulumi.getter(name="effectiveEdition")
1378
+ def effective_edition(self) -> Optional[str]:
1352
1379
  """
1353
- The project team associated with the entity
1380
+ (Output)
1381
+ The `StorageIntelligence` edition that is applicable for the resource.
1354
1382
  """
1355
- return pulumi.get(self, "project_number")
1383
+ return pulumi.get(self, "effective_edition")
1356
1384
 
1357
1385
  @property
1358
- @pulumi.getter
1359
- def team(self) -> Optional[str]:
1386
+ @pulumi.getter(name="intelligenceConfig")
1387
+ def intelligence_config(self) -> Optional[str]:
1360
1388
  """
1361
- The team.
1362
- Possible values are: `editors`, `owners`, `viewers`.
1389
+ (Output)
1390
+ The Intelligence config resource that is applied for the target resource.
1363
1391
  """
1364
- return pulumi.get(self, "team")
1392
+ return pulumi.get(self, "intelligence_config")
1365
1393
 
1366
1394
 
1367
1395
  @pulumi.output_type
1368
- class InsightsReportConfigCsvOptions(dict):
1396
+ class ControlOrganizationIntelligenceConfigFilter(dict):
1369
1397
  @staticmethod
1370
1398
  def __key_warning(key: str):
1371
1399
  suggest = None
1372
- if key == "headerRequired":
1373
- suggest = "header_required"
1374
- elif key == "recordSeparator":
1375
- suggest = "record_separator"
1400
+ if key == "excludedCloudStorageBuckets":
1401
+ suggest = "excluded_cloud_storage_buckets"
1402
+ elif key == "excludedCloudStorageLocations":
1403
+ suggest = "excluded_cloud_storage_locations"
1404
+ elif key == "includedCloudStorageBuckets":
1405
+ suggest = "included_cloud_storage_buckets"
1406
+ elif key == "includedCloudStorageLocations":
1407
+ suggest = "included_cloud_storage_locations"
1376
1408
 
1377
1409
  if suggest:
1378
- pulumi.log.warn(f"Key '{key}' not found in InsightsReportConfigCsvOptions. Access the value via the '{suggest}' property getter instead.")
1410
+ pulumi.log.warn(f"Key '{key}' not found in ControlOrganizationIntelligenceConfigFilter. Access the value via the '{suggest}' property getter instead.")
1379
1411
 
1380
1412
  def __getitem__(self, key: str) -> Any:
1381
- InsightsReportConfigCsvOptions.__key_warning(key)
1413
+ ControlOrganizationIntelligenceConfigFilter.__key_warning(key)
1382
1414
  return super().__getitem__(key)
1383
1415
 
1384
1416
  def get(self, key: str, default = None) -> Any:
1385
- InsightsReportConfigCsvOptions.__key_warning(key)
1417
+ ControlOrganizationIntelligenceConfigFilter.__key_warning(key)
1386
1418
  return super().get(key, default)
1387
1419
 
1388
1420
  def __init__(__self__, *,
1389
- delimiter: Optional[str] = None,
1390
- header_required: Optional[bool] = None,
1391
- record_separator: Optional[str] = None):
1421
+ excluded_cloud_storage_buckets: Optional['outputs.ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBuckets'] = None,
1422
+ excluded_cloud_storage_locations: Optional['outputs.ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocations'] = None,
1423
+ included_cloud_storage_buckets: Optional['outputs.ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBuckets'] = None,
1424
+ included_cloud_storage_locations: Optional['outputs.ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocations'] = None):
1392
1425
  """
1393
- :param str delimiter: The delimiter used to separate the fields in the inventory report CSV file.
1394
- :param bool header_required: The boolean that indicates whether or not headers are included in the inventory report CSV file.
1395
- :param str record_separator: The character used to separate the records in the inventory report CSV file.
1426
+ :param 'ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBucketsArgs' excluded_cloud_storage_buckets: Buckets to exclude from the Storage Intelligence plan.
1427
+ Structure is documented below.
1428
+ :param 'ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocationsArgs' excluded_cloud_storage_locations: Locations to exclude from the Storage Intelligence plan.
1429
+ Structure is documented below.
1430
+ :param 'ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBucketsArgs' included_cloud_storage_buckets: Buckets to include in the Storage Intelligence plan.
1431
+ Structure is documented below.
1432
+ :param 'ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocationsArgs' included_cloud_storage_locations: Locations to include in the Storage Intelligence plan.
1433
+ Structure is documented below.
1396
1434
  """
1397
- if delimiter is not None:
1398
- pulumi.set(__self__, "delimiter", delimiter)
1399
- if header_required is not None:
1400
- pulumi.set(__self__, "header_required", header_required)
1401
- if record_separator is not None:
1402
- pulumi.set(__self__, "record_separator", record_separator)
1435
+ if excluded_cloud_storage_buckets is not None:
1436
+ pulumi.set(__self__, "excluded_cloud_storage_buckets", excluded_cloud_storage_buckets)
1437
+ if excluded_cloud_storage_locations is not None:
1438
+ pulumi.set(__self__, "excluded_cloud_storage_locations", excluded_cloud_storage_locations)
1439
+ if included_cloud_storage_buckets is not None:
1440
+ pulumi.set(__self__, "included_cloud_storage_buckets", included_cloud_storage_buckets)
1441
+ if included_cloud_storage_locations is not None:
1442
+ pulumi.set(__self__, "included_cloud_storage_locations", included_cloud_storage_locations)
1403
1443
 
1404
1444
  @property
1405
- @pulumi.getter
1406
- def delimiter(self) -> Optional[str]:
1445
+ @pulumi.getter(name="excludedCloudStorageBuckets")
1446
+ def excluded_cloud_storage_buckets(self) -> Optional['outputs.ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBuckets']:
1407
1447
  """
1408
- The delimiter used to separate the fields in the inventory report CSV file.
1448
+ Buckets to exclude from the Storage Intelligence plan.
1449
+ Structure is documented below.
1409
1450
  """
1410
- return pulumi.get(self, "delimiter")
1451
+ return pulumi.get(self, "excluded_cloud_storage_buckets")
1411
1452
 
1412
1453
  @property
1413
- @pulumi.getter(name="headerRequired")
1414
- def header_required(self) -> Optional[bool]:
1454
+ @pulumi.getter(name="excludedCloudStorageLocations")
1455
+ def excluded_cloud_storage_locations(self) -> Optional['outputs.ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocations']:
1415
1456
  """
1416
- The boolean that indicates whether or not headers are included in the inventory report CSV file.
1457
+ Locations to exclude from the Storage Intelligence plan.
1458
+ Structure is documented below.
1417
1459
  """
1418
- return pulumi.get(self, "header_required")
1460
+ return pulumi.get(self, "excluded_cloud_storage_locations")
1419
1461
 
1420
1462
  @property
1421
- @pulumi.getter(name="recordSeparator")
1422
- def record_separator(self) -> Optional[str]:
1463
+ @pulumi.getter(name="includedCloudStorageBuckets")
1464
+ def included_cloud_storage_buckets(self) -> Optional['outputs.ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBuckets']:
1423
1465
  """
1424
- The character used to separate the records in the inventory report CSV file.
1466
+ Buckets to include in the Storage Intelligence plan.
1467
+ Structure is documented below.
1425
1468
  """
1426
- return pulumi.get(self, "record_separator")
1469
+ return pulumi.get(self, "included_cloud_storage_buckets")
1470
+
1471
+ @property
1472
+ @pulumi.getter(name="includedCloudStorageLocations")
1473
+ def included_cloud_storage_locations(self) -> Optional['outputs.ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocations']:
1474
+ """
1475
+ Locations to include in the Storage Intelligence plan.
1476
+ Structure is documented below.
1477
+ """
1478
+ return pulumi.get(self, "included_cloud_storage_locations")
1427
1479
 
1428
1480
 
1429
1481
  @pulumi.output_type
1430
- class InsightsReportConfigFrequencyOptions(dict):
1482
+ class ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBuckets(dict):
1431
1483
  @staticmethod
1432
1484
  def __key_warning(key: str):
1433
1485
  suggest = None
1434
- if key == "endDate":
1435
- suggest = "end_date"
1436
- elif key == "startDate":
1437
- suggest = "start_date"
1486
+ if key == "bucketIdRegexes":
1487
+ suggest = "bucket_id_regexes"
1438
1488
 
1439
1489
  if suggest:
1440
- pulumi.log.warn(f"Key '{key}' not found in InsightsReportConfigFrequencyOptions. Access the value via the '{suggest}' property getter instead.")
1490
+ pulumi.log.warn(f"Key '{key}' not found in ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBuckets. Access the value via the '{suggest}' property getter instead.")
1441
1491
 
1442
1492
  def __getitem__(self, key: str) -> Any:
1443
- InsightsReportConfigFrequencyOptions.__key_warning(key)
1493
+ ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBuckets.__key_warning(key)
1444
1494
  return super().__getitem__(key)
1445
1495
 
1446
1496
  def get(self, key: str, default = None) -> Any:
1447
- InsightsReportConfigFrequencyOptions.__key_warning(key)
1497
+ ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBuckets.__key_warning(key)
1448
1498
  return super().get(key, default)
1449
1499
 
1450
1500
  def __init__(__self__, *,
1451
- end_date: 'outputs.InsightsReportConfigFrequencyOptionsEndDate',
1452
- frequency: str,
1453
- start_date: 'outputs.InsightsReportConfigFrequencyOptionsStartDate'):
1501
+ bucket_id_regexes: Sequence[str]):
1454
1502
  """
1455
- :param 'InsightsReportConfigFrequencyOptionsEndDateArgs' end_date: The date to stop generating inventory reports. For example, {"day": 15, "month": 9, "year": 2022}.
1456
- Structure is documented below.
1457
- :param str frequency: The frequency in which inventory reports are generated. Values are DAILY or WEEKLY.
1458
- Possible values are: `DAILY`, `WEEKLY`.
1459
- :param 'InsightsReportConfigFrequencyOptionsStartDateArgs' start_date: The date to start generating inventory reports. For example, {"day": 15, "month": 8, "year": 2022}.
1460
- Structure is documented below.
1503
+ :param Sequence[str] bucket_id_regexes: List of bucket id regexes to exclude in the storage intelligence plan.
1461
1504
  """
1462
- pulumi.set(__self__, "end_date", end_date)
1463
- pulumi.set(__self__, "frequency", frequency)
1464
- pulumi.set(__self__, "start_date", start_date)
1505
+ pulumi.set(__self__, "bucket_id_regexes", bucket_id_regexes)
1465
1506
 
1466
1507
  @property
1467
- @pulumi.getter(name="endDate")
1468
- def end_date(self) -> 'outputs.InsightsReportConfigFrequencyOptionsEndDate':
1508
+ @pulumi.getter(name="bucketIdRegexes")
1509
+ def bucket_id_regexes(self) -> Sequence[str]:
1469
1510
  """
1470
- The date to stop generating inventory reports. For example, {"day": 15, "month": 9, "year": 2022}.
1471
- Structure is documented below.
1511
+ List of bucket id regexes to exclude in the storage intelligence plan.
1472
1512
  """
1473
- return pulumi.get(self, "end_date")
1513
+ return pulumi.get(self, "bucket_id_regexes")
1474
1514
 
1475
- @property
1476
- @pulumi.getter
1477
- def frequency(self) -> str:
1515
+
1516
+ @pulumi.output_type
1517
+ class ControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocations(dict):
1518
+ def __init__(__self__, *,
1519
+ locations: Sequence[str]):
1478
1520
  """
1479
- The frequency in which inventory reports are generated. Values are DAILY or WEEKLY.
1480
- Possible values are: `DAILY`, `WEEKLY`.
1521
+ :param Sequence[str] locations: List of locations.
1481
1522
  """
1482
- return pulumi.get(self, "frequency")
1523
+ pulumi.set(__self__, "locations", locations)
1483
1524
 
1484
1525
  @property
1485
- @pulumi.getter(name="startDate")
1486
- def start_date(self) -> 'outputs.InsightsReportConfigFrequencyOptionsStartDate':
1526
+ @pulumi.getter
1527
+ def locations(self) -> Sequence[str]:
1487
1528
  """
1488
- The date to start generating inventory reports. For example, {"day": 15, "month": 8, "year": 2022}.
1489
- Structure is documented below.
1529
+ List of locations.
1490
1530
  """
1491
- return pulumi.get(self, "start_date")
1531
+ return pulumi.get(self, "locations")
1492
1532
 
1493
1533
 
1494
1534
  @pulumi.output_type
1495
- class InsightsReportConfigFrequencyOptionsEndDate(dict):
1535
+ class ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBuckets(dict):
1536
+ @staticmethod
1537
+ def __key_warning(key: str):
1538
+ suggest = None
1539
+ if key == "bucketIdRegexes":
1540
+ suggest = "bucket_id_regexes"
1541
+
1542
+ if suggest:
1543
+ pulumi.log.warn(f"Key '{key}' not found in ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBuckets. Access the value via the '{suggest}' property getter instead.")
1544
+
1545
+ def __getitem__(self, key: str) -> Any:
1546
+ ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBuckets.__key_warning(key)
1547
+ return super().__getitem__(key)
1548
+
1549
+ def get(self, key: str, default = None) -> Any:
1550
+ ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBuckets.__key_warning(key)
1551
+ return super().get(key, default)
1552
+
1496
1553
  def __init__(__self__, *,
1497
- day: int,
1498
- month: int,
1499
- year: int):
1554
+ bucket_id_regexes: Sequence[str]):
1500
1555
  """
1501
- :param int day: The day of the month to stop generating inventory reports.
1502
- :param int month: The month to stop generating inventory reports.
1503
- :param int year: The year to stop generating inventory reports
1556
+ :param Sequence[str] bucket_id_regexes: List of bucket id regexes to exclude in the storage intelligence plan.
1504
1557
  """
1505
- pulumi.set(__self__, "day", day)
1506
- pulumi.set(__self__, "month", month)
1507
- pulumi.set(__self__, "year", year)
1558
+ pulumi.set(__self__, "bucket_id_regexes", bucket_id_regexes)
1508
1559
 
1509
1560
  @property
1510
- @pulumi.getter
1511
- def day(self) -> int:
1561
+ @pulumi.getter(name="bucketIdRegexes")
1562
+ def bucket_id_regexes(self) -> Sequence[str]:
1512
1563
  """
1513
- The day of the month to stop generating inventory reports.
1564
+ List of bucket id regexes to exclude in the storage intelligence plan.
1514
1565
  """
1515
- return pulumi.get(self, "day")
1566
+ return pulumi.get(self, "bucket_id_regexes")
1516
1567
 
1517
- @property
1518
- @pulumi.getter
1519
- def month(self) -> int:
1568
+
1569
+ @pulumi.output_type
1570
+ class ControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocations(dict):
1571
+ def __init__(__self__, *,
1572
+ locations: Sequence[str]):
1520
1573
  """
1521
- The month to stop generating inventory reports.
1574
+ :param Sequence[str] locations: List of locations.
1522
1575
  """
1523
- return pulumi.get(self, "month")
1576
+ pulumi.set(__self__, "locations", locations)
1524
1577
 
1525
1578
  @property
1526
1579
  @pulumi.getter
1527
- def year(self) -> int:
1580
+ def locations(self) -> Sequence[str]:
1528
1581
  """
1529
- The year to stop generating inventory reports
1582
+ List of locations.
1530
1583
  """
1531
- return pulumi.get(self, "year")
1584
+ return pulumi.get(self, "locations")
1532
1585
 
1533
1586
 
1534
1587
  @pulumi.output_type
1535
- class InsightsReportConfigFrequencyOptionsStartDate(dict):
1536
- def __init__(__self__, *,
1537
- day: int,
1538
- month: int,
1539
- year: int):
1540
- """
1541
- :param int day: The day of the month to start generating inventory reports.
1542
- :param int month: The month to start generating inventory reports.
1543
- :param int year: The year to start generating inventory reports
1544
- """
1545
- pulumi.set(__self__, "day", day)
1546
- pulumi.set(__self__, "month", month)
1547
- pulumi.set(__self__, "year", year)
1588
+ class ControlProjectIntelligenceConfigEffectiveIntelligenceConfig(dict):
1589
+ @staticmethod
1590
+ def __key_warning(key: str):
1591
+ suggest = None
1592
+ if key == "effectiveEdition":
1593
+ suggest = "effective_edition"
1594
+ elif key == "intelligenceConfig":
1595
+ suggest = "intelligence_config"
1548
1596
 
1549
- @property
1550
- @pulumi.getter
1551
- def day(self) -> int:
1597
+ if suggest:
1598
+ pulumi.log.warn(f"Key '{key}' not found in ControlProjectIntelligenceConfigEffectiveIntelligenceConfig. Access the value via the '{suggest}' property getter instead.")
1599
+
1600
+ def __getitem__(self, key: str) -> Any:
1601
+ ControlProjectIntelligenceConfigEffectiveIntelligenceConfig.__key_warning(key)
1602
+ return super().__getitem__(key)
1603
+
1604
+ def get(self, key: str, default = None) -> Any:
1605
+ ControlProjectIntelligenceConfigEffectiveIntelligenceConfig.__key_warning(key)
1606
+ return super().get(key, default)
1607
+
1608
+ def __init__(__self__, *,
1609
+ effective_edition: Optional[str] = None,
1610
+ intelligence_config: Optional[str] = None):
1552
1611
  """
1553
- The day of the month to start generating inventory reports.
1612
+ :param str effective_edition: (Output)
1613
+ The `StorageIntelligence` edition that is applicable for the resource.
1614
+ :param str intelligence_config: (Output)
1615
+ The Intelligence config resource that is applied for the target resource.
1554
1616
  """
1555
- return pulumi.get(self, "day")
1617
+ if effective_edition is not None:
1618
+ pulumi.set(__self__, "effective_edition", effective_edition)
1619
+ if intelligence_config is not None:
1620
+ pulumi.set(__self__, "intelligence_config", intelligence_config)
1556
1621
 
1557
1622
  @property
1558
- @pulumi.getter
1559
- def month(self) -> int:
1623
+ @pulumi.getter(name="effectiveEdition")
1624
+ def effective_edition(self) -> Optional[str]:
1560
1625
  """
1561
- The month to start generating inventory reports.
1626
+ (Output)
1627
+ The `StorageIntelligence` edition that is applicable for the resource.
1562
1628
  """
1563
- return pulumi.get(self, "month")
1629
+ return pulumi.get(self, "effective_edition")
1564
1630
 
1565
1631
  @property
1566
- @pulumi.getter
1567
- def year(self) -> int:
1632
+ @pulumi.getter(name="intelligenceConfig")
1633
+ def intelligence_config(self) -> Optional[str]:
1568
1634
  """
1569
- The year to start generating inventory reports
1635
+ (Output)
1636
+ The Intelligence config resource that is applied for the target resource.
1570
1637
  """
1571
- return pulumi.get(self, "year")
1638
+ return pulumi.get(self, "intelligence_config")
1572
1639
 
1573
1640
 
1574
1641
  @pulumi.output_type
1575
- class InsightsReportConfigObjectMetadataReportOptions(dict):
1642
+ class ControlProjectIntelligenceConfigFilter(dict):
1576
1643
  @staticmethod
1577
1644
  def __key_warning(key: str):
1578
1645
  suggest = None
1579
- if key == "metadataFields":
1580
- suggest = "metadata_fields"
1581
- elif key == "storageDestinationOptions":
1582
- suggest = "storage_destination_options"
1583
- elif key == "storageFilters":
1584
- suggest = "storage_filters"
1646
+ if key == "excludedCloudStorageBuckets":
1647
+ suggest = "excluded_cloud_storage_buckets"
1648
+ elif key == "excludedCloudStorageLocations":
1649
+ suggest = "excluded_cloud_storage_locations"
1650
+ elif key == "includedCloudStorageBuckets":
1651
+ suggest = "included_cloud_storage_buckets"
1652
+ elif key == "includedCloudStorageLocations":
1653
+ suggest = "included_cloud_storage_locations"
1585
1654
 
1586
1655
  if suggest:
1587
- pulumi.log.warn(f"Key '{key}' not found in InsightsReportConfigObjectMetadataReportOptions. Access the value via the '{suggest}' property getter instead.")
1656
+ pulumi.log.warn(f"Key '{key}' not found in ControlProjectIntelligenceConfigFilter. Access the value via the '{suggest}' property getter instead.")
1588
1657
 
1589
1658
  def __getitem__(self, key: str) -> Any:
1590
- InsightsReportConfigObjectMetadataReportOptions.__key_warning(key)
1659
+ ControlProjectIntelligenceConfigFilter.__key_warning(key)
1591
1660
  return super().__getitem__(key)
1592
1661
 
1593
1662
  def get(self, key: str, default = None) -> Any:
1594
- InsightsReportConfigObjectMetadataReportOptions.__key_warning(key)
1663
+ ControlProjectIntelligenceConfigFilter.__key_warning(key)
1595
1664
  return super().get(key, default)
1596
1665
 
1597
1666
  def __init__(__self__, *,
1598
- metadata_fields: Sequence[str],
1599
- storage_destination_options: 'outputs.InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions',
1600
- storage_filters: Optional['outputs.InsightsReportConfigObjectMetadataReportOptionsStorageFilters'] = None):
1667
+ excluded_cloud_storage_buckets: Optional['outputs.ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets'] = None,
1668
+ excluded_cloud_storage_locations: Optional['outputs.ControlProjectIntelligenceConfigFilterExcludedCloudStorageLocations'] = None,
1669
+ included_cloud_storage_buckets: Optional['outputs.ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets'] = None,
1670
+ included_cloud_storage_locations: Optional['outputs.ControlProjectIntelligenceConfigFilterIncludedCloudStorageLocations'] = None):
1601
1671
  """
1602
- :param Sequence[str] metadata_fields: The metadata fields included in an inventory report.
1603
- :param 'InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptionsArgs' storage_destination_options: Options for where the inventory reports are stored.
1672
+ :param 'ControlProjectIntelligenceConfigFilterExcludedCloudStorageBucketsArgs' excluded_cloud_storage_buckets: Buckets to exclude from the Storage Intelligence plan.
1604
1673
  Structure is documented below.
1605
- :param 'InsightsReportConfigObjectMetadataReportOptionsStorageFiltersArgs' storage_filters: A nested object resource.
1674
+ :param 'ControlProjectIntelligenceConfigFilterExcludedCloudStorageLocationsArgs' excluded_cloud_storage_locations: Locations to exclude from the Storage Intelligence plan.
1675
+ Structure is documented below.
1676
+ :param 'ControlProjectIntelligenceConfigFilterIncludedCloudStorageBucketsArgs' included_cloud_storage_buckets: Buckets to include in the Storage Intelligence plan.
1677
+ Structure is documented below.
1678
+ :param 'ControlProjectIntelligenceConfigFilterIncludedCloudStorageLocationsArgs' included_cloud_storage_locations: Locations to include in the Storage Intelligence plan.
1606
1679
  Structure is documented below.
1607
1680
  """
1608
- pulumi.set(__self__, "metadata_fields", metadata_fields)
1609
- pulumi.set(__self__, "storage_destination_options", storage_destination_options)
1610
- if storage_filters is not None:
1611
- pulumi.set(__self__, "storage_filters", storage_filters)
1681
+ if excluded_cloud_storage_buckets is not None:
1682
+ pulumi.set(__self__, "excluded_cloud_storage_buckets", excluded_cloud_storage_buckets)
1683
+ if excluded_cloud_storage_locations is not None:
1684
+ pulumi.set(__self__, "excluded_cloud_storage_locations", excluded_cloud_storage_locations)
1685
+ if included_cloud_storage_buckets is not None:
1686
+ pulumi.set(__self__, "included_cloud_storage_buckets", included_cloud_storage_buckets)
1687
+ if included_cloud_storage_locations is not None:
1688
+ pulumi.set(__self__, "included_cloud_storage_locations", included_cloud_storage_locations)
1612
1689
 
1613
1690
  @property
1614
- @pulumi.getter(name="metadataFields")
1615
- def metadata_fields(self) -> Sequence[str]:
1691
+ @pulumi.getter(name="excludedCloudStorageBuckets")
1692
+ def excluded_cloud_storage_buckets(self) -> Optional['outputs.ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets']:
1616
1693
  """
1617
- The metadata fields included in an inventory report.
1694
+ Buckets to exclude from the Storage Intelligence plan.
1695
+ Structure is documented below.
1618
1696
  """
1619
- return pulumi.get(self, "metadata_fields")
1697
+ return pulumi.get(self, "excluded_cloud_storage_buckets")
1620
1698
 
1621
1699
  @property
1622
- @pulumi.getter(name="storageDestinationOptions")
1623
- def storage_destination_options(self) -> 'outputs.InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions':
1700
+ @pulumi.getter(name="excludedCloudStorageLocations")
1701
+ def excluded_cloud_storage_locations(self) -> Optional['outputs.ControlProjectIntelligenceConfigFilterExcludedCloudStorageLocations']:
1624
1702
  """
1625
- Options for where the inventory reports are stored.
1703
+ Locations to exclude from the Storage Intelligence plan.
1626
1704
  Structure is documented below.
1627
1705
  """
1628
- return pulumi.get(self, "storage_destination_options")
1706
+ return pulumi.get(self, "excluded_cloud_storage_locations")
1629
1707
 
1630
1708
  @property
1631
- @pulumi.getter(name="storageFilters")
1632
- def storage_filters(self) -> Optional['outputs.InsightsReportConfigObjectMetadataReportOptionsStorageFilters']:
1709
+ @pulumi.getter(name="includedCloudStorageBuckets")
1710
+ def included_cloud_storage_buckets(self) -> Optional['outputs.ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets']:
1633
1711
  """
1634
- A nested object resource.
1712
+ Buckets to include in the Storage Intelligence plan.
1635
1713
  Structure is documented below.
1636
1714
  """
1637
- return pulumi.get(self, "storage_filters")
1715
+ return pulumi.get(self, "included_cloud_storage_buckets")
1716
+
1717
+ @property
1718
+ @pulumi.getter(name="includedCloudStorageLocations")
1719
+ def included_cloud_storage_locations(self) -> Optional['outputs.ControlProjectIntelligenceConfigFilterIncludedCloudStorageLocations']:
1720
+ """
1721
+ Locations to include in the Storage Intelligence plan.
1722
+ Structure is documented below.
1723
+ """
1724
+ return pulumi.get(self, "included_cloud_storage_locations")
1638
1725
 
1639
1726
 
1640
1727
  @pulumi.output_type
1641
- class InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions(dict):
1728
+ class ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets(dict):
1642
1729
  @staticmethod
1643
1730
  def __key_warning(key: str):
1644
1731
  suggest = None
1645
- if key == "destinationPath":
1646
- suggest = "destination_path"
1732
+ if key == "bucketIdRegexes":
1733
+ suggest = "bucket_id_regexes"
1647
1734
 
1648
1735
  if suggest:
1649
- pulumi.log.warn(f"Key '{key}' not found in InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions. Access the value via the '{suggest}' property getter instead.")
1736
+ pulumi.log.warn(f"Key '{key}' not found in ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets. Access the value via the '{suggest}' property getter instead.")
1650
1737
 
1651
1738
  def __getitem__(self, key: str) -> Any:
1652
- InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions.__key_warning(key)
1739
+ ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets.__key_warning(key)
1653
1740
  return super().__getitem__(key)
1654
1741
 
1655
1742
  def get(self, key: str, default = None) -> Any:
1656
- InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions.__key_warning(key)
1743
+ ControlProjectIntelligenceConfigFilterExcludedCloudStorageBuckets.__key_warning(key)
1657
1744
  return super().get(key, default)
1658
1745
 
1659
1746
  def __init__(__self__, *,
1660
- bucket: str,
1661
- destination_path: Optional[str] = None):
1662
- """
1663
- :param str bucket: The destination bucket that stores the generated inventory reports.
1664
- :param str destination_path: The path within the destination bucket to store generated inventory reports.
1665
- """
1666
- pulumi.set(__self__, "bucket", bucket)
1667
- if destination_path is not None:
1668
- pulumi.set(__self__, "destination_path", destination_path)
1669
-
1670
- @property
1671
- @pulumi.getter
1672
- def bucket(self) -> str:
1747
+ bucket_id_regexes: Sequence[str]):
1673
1748
  """
1674
- The destination bucket that stores the generated inventory reports.
1749
+ :param Sequence[str] bucket_id_regexes: List of bucket id regexes to exclude in the storage intelligence plan.
1675
1750
  """
1676
- return pulumi.get(self, "bucket")
1751
+ pulumi.set(__self__, "bucket_id_regexes", bucket_id_regexes)
1677
1752
 
1678
1753
  @property
1679
- @pulumi.getter(name="destinationPath")
1680
- def destination_path(self) -> Optional[str]:
1754
+ @pulumi.getter(name="bucketIdRegexes")
1755
+ def bucket_id_regexes(self) -> Sequence[str]:
1681
1756
  """
1682
- The path within the destination bucket to store generated inventory reports.
1757
+ List of bucket id regexes to exclude in the storage intelligence plan.
1683
1758
  """
1684
- return pulumi.get(self, "destination_path")
1759
+ return pulumi.get(self, "bucket_id_regexes")
1685
1760
 
1686
1761
 
1687
1762
  @pulumi.output_type
1688
- class InsightsReportConfigObjectMetadataReportOptionsStorageFilters(dict):
1763
+ class ControlProjectIntelligenceConfigFilterExcludedCloudStorageLocations(dict):
1689
1764
  def __init__(__self__, *,
1690
- bucket: Optional[str] = None):
1765
+ locations: Sequence[str]):
1691
1766
  """
1692
- :param str bucket: The filter to use when specifying which bucket to generate inventory reports for.
1767
+ :param Sequence[str] locations: List of locations.
1693
1768
  """
1694
- if bucket is not None:
1695
- pulumi.set(__self__, "bucket", bucket)
1769
+ pulumi.set(__self__, "locations", locations)
1696
1770
 
1697
1771
  @property
1698
1772
  @pulumi.getter
1699
- def bucket(self) -> Optional[str]:
1773
+ def locations(self) -> Sequence[str]:
1700
1774
  """
1701
- The filter to use when specifying which bucket to generate inventory reports for.
1775
+ List of locations.
1702
1776
  """
1703
- return pulumi.get(self, "bucket")
1777
+ return pulumi.get(self, "locations")
1704
1778
 
1705
1779
 
1706
1780
  @pulumi.output_type
1707
- class InsightsReportConfigParquetOptions(dict):
1708
- def __init__(__self__):
1709
- pass
1781
+ class ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets(dict):
1782
+ @staticmethod
1783
+ def __key_warning(key: str):
1784
+ suggest = None
1785
+ if key == "bucketIdRegexes":
1786
+ suggest = "bucket_id_regexes"
1710
1787
 
1788
+ if suggest:
1789
+ pulumi.log.warn(f"Key '{key}' not found in ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets. Access the value via the '{suggest}' property getter instead.")
1790
+
1791
+ def __getitem__(self, key: str) -> Any:
1792
+ ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets.__key_warning(key)
1793
+ return super().__getitem__(key)
1794
+
1795
+ def get(self, key: str, default = None) -> Any:
1796
+ ControlProjectIntelligenceConfigFilterIncludedCloudStorageBuckets.__key_warning(key)
1797
+ return super().get(key, default)
1711
1798
 
1712
- @pulumi.output_type
1713
- class ManagedFolderIamBindingCondition(dict):
1714
1799
  def __init__(__self__, *,
1715
- expression: str,
1716
- title: str,
1717
- description: Optional[str] = None):
1800
+ bucket_id_regexes: Sequence[str]):
1718
1801
  """
1719
- :param str expression: Textual representation of an expression in Common Expression Language syntax.
1720
- :param str title: A title for the expression, i.e. a short string describing its purpose.
1802
+ :param Sequence[str] bucket_id_regexes: List of bucket id regexes to exclude in the storage intelligence plan.
1721
1803
  """
1722
- pulumi.set(__self__, "expression", expression)
1723
- pulumi.set(__self__, "title", title)
1724
- if description is not None:
1725
- pulumi.set(__self__, "description", description)
1804
+ pulumi.set(__self__, "bucket_id_regexes", bucket_id_regexes)
1726
1805
 
1727
1806
  @property
1728
- @pulumi.getter
1729
- def expression(self) -> str:
1807
+ @pulumi.getter(name="bucketIdRegexes")
1808
+ def bucket_id_regexes(self) -> Sequence[str]:
1730
1809
  """
1731
- Textual representation of an expression in Common Expression Language syntax.
1810
+ List of bucket id regexes to exclude in the storage intelligence plan.
1732
1811
  """
1733
- return pulumi.get(self, "expression")
1812
+ return pulumi.get(self, "bucket_id_regexes")
1734
1813
 
1735
- @property
1736
- @pulumi.getter
1737
- def title(self) -> str:
1814
+
1815
+ @pulumi.output_type
1816
+ class ControlProjectIntelligenceConfigFilterIncludedCloudStorageLocations(dict):
1817
+ def __init__(__self__, *,
1818
+ locations: Sequence[str]):
1738
1819
  """
1739
- A title for the expression, i.e. a short string describing its purpose.
1820
+ :param Sequence[str] locations: List of locations.
1740
1821
  """
1741
- return pulumi.get(self, "title")
1742
-
1743
- @property
1744
- @pulumi.getter
1745
- def description(self) -> Optional[str]:
1746
- return pulumi.get(self, "description")
1747
-
1748
-
1749
- @pulumi.output_type
1750
- class ManagedFolderIamMemberCondition(dict):
1751
- def __init__(__self__, *,
1752
- expression: str,
1753
- title: str,
1754
- description: Optional[str] = None):
1755
- """
1756
- :param str expression: Textual representation of an expression in Common Expression Language syntax.
1757
- :param str title: A title for the expression, i.e. a short string describing its purpose.
1758
- """
1759
- pulumi.set(__self__, "expression", expression)
1760
- pulumi.set(__self__, "title", title)
1761
- if description is not None:
1762
- pulumi.set(__self__, "description", description)
1763
-
1764
- @property
1765
- @pulumi.getter
1766
- def expression(self) -> str:
1767
- """
1768
- Textual representation of an expression in Common Expression Language syntax.
1769
- """
1770
- return pulumi.get(self, "expression")
1822
+ pulumi.set(__self__, "locations", locations)
1771
1823
 
1772
1824
  @property
1773
1825
  @pulumi.getter
1774
- def title(self) -> str:
1826
+ def locations(self) -> Sequence[str]:
1775
1827
  """
1776
- A title for the expression, i.e. a short string describing its purpose.
1828
+ List of locations.
1777
1829
  """
1778
- return pulumi.get(self, "title")
1779
-
1780
- @property
1781
- @pulumi.getter
1782
- def description(self) -> Optional[str]:
1783
- return pulumi.get(self, "description")
1830
+ return pulumi.get(self, "locations")
1784
1831
 
1785
1832
 
1786
1833
  @pulumi.output_type
1787
- class ObjectAccessControlProjectTeam(dict):
1834
+ class DefaultObjectAccessControlProjectTeam(dict):
1788
1835
  @staticmethod
1789
1836
  def __key_warning(key: str):
1790
1837
  suggest = None
@@ -1792,14 +1839,14 @@ class ObjectAccessControlProjectTeam(dict):
1792
1839
  suggest = "project_number"
1793
1840
 
1794
1841
  if suggest:
1795
- pulumi.log.warn(f"Key '{key}' not found in ObjectAccessControlProjectTeam. Access the value via the '{suggest}' property getter instead.")
1842
+ pulumi.log.warn(f"Key '{key}' not found in DefaultObjectAccessControlProjectTeam. Access the value via the '{suggest}' property getter instead.")
1796
1843
 
1797
1844
  def __getitem__(self, key: str) -> Any:
1798
- ObjectAccessControlProjectTeam.__key_warning(key)
1845
+ DefaultObjectAccessControlProjectTeam.__key_warning(key)
1799
1846
  return super().__getitem__(key)
1800
1847
 
1801
1848
  def get(self, key: str, default = None) -> Any:
1802
- ObjectAccessControlProjectTeam.__key_warning(key)
1849
+ DefaultObjectAccessControlProjectTeam.__key_warning(key)
1803
1850
  return super().get(key, default)
1804
1851
 
1805
1852
  def __init__(__self__, *,
@@ -1834,822 +1881,1291 @@ class ObjectAccessControlProjectTeam(dict):
1834
1881
 
1835
1882
 
1836
1883
  @pulumi.output_type
1837
- class TransferAgentPoolBandwidthLimit(dict):
1884
+ class InsightsReportConfigCsvOptions(dict):
1838
1885
  @staticmethod
1839
1886
  def __key_warning(key: str):
1840
1887
  suggest = None
1841
- if key == "limitMbps":
1842
- suggest = "limit_mbps"
1888
+ if key == "headerRequired":
1889
+ suggest = "header_required"
1890
+ elif key == "recordSeparator":
1891
+ suggest = "record_separator"
1843
1892
 
1844
1893
  if suggest:
1845
- pulumi.log.warn(f"Key '{key}' not found in TransferAgentPoolBandwidthLimit. Access the value via the '{suggest}' property getter instead.")
1894
+ pulumi.log.warn(f"Key '{key}' not found in InsightsReportConfigCsvOptions. Access the value via the '{suggest}' property getter instead.")
1846
1895
 
1847
1896
  def __getitem__(self, key: str) -> Any:
1848
- TransferAgentPoolBandwidthLimit.__key_warning(key)
1897
+ InsightsReportConfigCsvOptions.__key_warning(key)
1849
1898
  return super().__getitem__(key)
1850
1899
 
1851
1900
  def get(self, key: str, default = None) -> Any:
1852
- TransferAgentPoolBandwidthLimit.__key_warning(key)
1901
+ InsightsReportConfigCsvOptions.__key_warning(key)
1853
1902
  return super().get(key, default)
1854
1903
 
1855
1904
  def __init__(__self__, *,
1856
- limit_mbps: str):
1905
+ delimiter: Optional[str] = None,
1906
+ header_required: Optional[bool] = None,
1907
+ record_separator: Optional[str] = None):
1857
1908
  """
1858
- :param str limit_mbps: Bandwidth rate in megabytes per second, distributed across all the agents in the pool.
1909
+ :param str delimiter: The delimiter used to separate the fields in the inventory report CSV file.
1910
+ :param bool header_required: The boolean that indicates whether or not headers are included in the inventory report CSV file.
1911
+ :param str record_separator: The character used to separate the records in the inventory report CSV file.
1859
1912
  """
1860
- pulumi.set(__self__, "limit_mbps", limit_mbps)
1913
+ if delimiter is not None:
1914
+ pulumi.set(__self__, "delimiter", delimiter)
1915
+ if header_required is not None:
1916
+ pulumi.set(__self__, "header_required", header_required)
1917
+ if record_separator is not None:
1918
+ pulumi.set(__self__, "record_separator", record_separator)
1861
1919
 
1862
1920
  @property
1863
- @pulumi.getter(name="limitMbps")
1864
- def limit_mbps(self) -> str:
1921
+ @pulumi.getter
1922
+ def delimiter(self) -> Optional[str]:
1865
1923
  """
1866
- Bandwidth rate in megabytes per second, distributed across all the agents in the pool.
1924
+ The delimiter used to separate the fields in the inventory report CSV file.
1867
1925
  """
1868
- return pulumi.get(self, "limit_mbps")
1926
+ return pulumi.get(self, "delimiter")
1927
+
1928
+ @property
1929
+ @pulumi.getter(name="headerRequired")
1930
+ def header_required(self) -> Optional[bool]:
1931
+ """
1932
+ The boolean that indicates whether or not headers are included in the inventory report CSV file.
1933
+ """
1934
+ return pulumi.get(self, "header_required")
1935
+
1936
+ @property
1937
+ @pulumi.getter(name="recordSeparator")
1938
+ def record_separator(self) -> Optional[str]:
1939
+ """
1940
+ The character used to separate the records in the inventory report CSV file.
1941
+ """
1942
+ return pulumi.get(self, "record_separator")
1869
1943
 
1870
1944
 
1871
1945
  @pulumi.output_type
1872
- class TransferJobEventStream(dict):
1946
+ class InsightsReportConfigFrequencyOptions(dict):
1873
1947
  @staticmethod
1874
1948
  def __key_warning(key: str):
1875
1949
  suggest = None
1876
- if key == "eventStreamExpirationTime":
1877
- suggest = "event_stream_expiration_time"
1878
- elif key == "eventStreamStartTime":
1879
- suggest = "event_stream_start_time"
1950
+ if key == "endDate":
1951
+ suggest = "end_date"
1952
+ elif key == "startDate":
1953
+ suggest = "start_date"
1880
1954
 
1881
1955
  if suggest:
1882
- pulumi.log.warn(f"Key '{key}' not found in TransferJobEventStream. Access the value via the '{suggest}' property getter instead.")
1956
+ pulumi.log.warn(f"Key '{key}' not found in InsightsReportConfigFrequencyOptions. Access the value via the '{suggest}' property getter instead.")
1883
1957
 
1884
1958
  def __getitem__(self, key: str) -> Any:
1885
- TransferJobEventStream.__key_warning(key)
1959
+ InsightsReportConfigFrequencyOptions.__key_warning(key)
1886
1960
  return super().__getitem__(key)
1887
1961
 
1888
1962
  def get(self, key: str, default = None) -> Any:
1889
- TransferJobEventStream.__key_warning(key)
1963
+ InsightsReportConfigFrequencyOptions.__key_warning(key)
1890
1964
  return super().get(key, default)
1891
1965
 
1892
1966
  def __init__(__self__, *,
1893
- name: str,
1894
- event_stream_expiration_time: Optional[str] = None,
1895
- event_stream_start_time: Optional[str] = None):
1967
+ end_date: 'outputs.InsightsReportConfigFrequencyOptionsEndDate',
1968
+ frequency: str,
1969
+ start_date: 'outputs.InsightsReportConfigFrequencyOptionsStartDate'):
1896
1970
  """
1897
- :param str name: Specifies a unique name of the resource such as AWS SQS ARN in the form 'arn:aws:sqs:region:account_id:queue_name', or Pub/Sub subscription resource name in the form 'projects/{project}/subscriptions/{sub}'.
1898
- :param str event_stream_expiration_time: Specifies the data and time at which Storage Transfer Service stops listening for events from this stream. After this time, any transfers in progress will complete, but no new transfers are initiated.A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
1899
- :param str event_stream_start_time: Specifies the date and time that Storage Transfer Service starts listening for events from this stream. If no start time is specified or start time is in the past, Storage Transfer Service starts listening immediately. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
1971
+ :param 'InsightsReportConfigFrequencyOptionsEndDateArgs' end_date: The date to stop generating inventory reports. For example, {"day": 15, "month": 9, "year": 2022}.
1972
+ Structure is documented below.
1973
+ :param str frequency: The frequency in which inventory reports are generated. Values are DAILY or WEEKLY.
1974
+ Possible values are: `DAILY`, `WEEKLY`.
1975
+ :param 'InsightsReportConfigFrequencyOptionsStartDateArgs' start_date: The date to start generating inventory reports. For example, {"day": 15, "month": 8, "year": 2022}.
1976
+ Structure is documented below.
1900
1977
  """
1901
- pulumi.set(__self__, "name", name)
1902
- if event_stream_expiration_time is not None:
1903
- pulumi.set(__self__, "event_stream_expiration_time", event_stream_expiration_time)
1904
- if event_stream_start_time is not None:
1905
- pulumi.set(__self__, "event_stream_start_time", event_stream_start_time)
1978
+ pulumi.set(__self__, "end_date", end_date)
1979
+ pulumi.set(__self__, "frequency", frequency)
1980
+ pulumi.set(__self__, "start_date", start_date)
1906
1981
 
1907
1982
  @property
1908
- @pulumi.getter
1909
- def name(self) -> str:
1983
+ @pulumi.getter(name="endDate")
1984
+ def end_date(self) -> 'outputs.InsightsReportConfigFrequencyOptionsEndDate':
1910
1985
  """
1911
- Specifies a unique name of the resource such as AWS SQS ARN in the form 'arn:aws:sqs:region:account_id:queue_name', or Pub/Sub subscription resource name in the form 'projects/{project}/subscriptions/{sub}'.
1986
+ The date to stop generating inventory reports. For example, {"day": 15, "month": 9, "year": 2022}.
1987
+ Structure is documented below.
1912
1988
  """
1913
- return pulumi.get(self, "name")
1989
+ return pulumi.get(self, "end_date")
1914
1990
 
1915
1991
  @property
1916
- @pulumi.getter(name="eventStreamExpirationTime")
1917
- def event_stream_expiration_time(self) -> Optional[str]:
1992
+ @pulumi.getter
1993
+ def frequency(self) -> str:
1918
1994
  """
1919
- Specifies the data and time at which Storage Transfer Service stops listening for events from this stream. After this time, any transfers in progress will complete, but no new transfers are initiated.A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
1995
+ The frequency in which inventory reports are generated. Values are DAILY or WEEKLY.
1996
+ Possible values are: `DAILY`, `WEEKLY`.
1920
1997
  """
1921
- return pulumi.get(self, "event_stream_expiration_time")
1998
+ return pulumi.get(self, "frequency")
1922
1999
 
1923
2000
  @property
1924
- @pulumi.getter(name="eventStreamStartTime")
1925
- def event_stream_start_time(self) -> Optional[str]:
2001
+ @pulumi.getter(name="startDate")
2002
+ def start_date(self) -> 'outputs.InsightsReportConfigFrequencyOptionsStartDate':
1926
2003
  """
1927
- Specifies the date and time that Storage Transfer Service starts listening for events from this stream. If no start time is specified or start time is in the past, Storage Transfer Service starts listening immediately. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2004
+ The date to start generating inventory reports. For example, {"day": 15, "month": 8, "year": 2022}.
2005
+ Structure is documented below.
1928
2006
  """
1929
- return pulumi.get(self, "event_stream_start_time")
2007
+ return pulumi.get(self, "start_date")
1930
2008
 
1931
2009
 
1932
2010
  @pulumi.output_type
1933
- class TransferJobLoggingConfig(dict):
1934
- @staticmethod
1935
- def __key_warning(key: str):
1936
- suggest = None
1937
- if key == "enableOnPremGcsTransferLogs":
1938
- suggest = "enable_on_prem_gcs_transfer_logs"
1939
- elif key == "logActionStates":
1940
- suggest = "log_action_states"
1941
- elif key == "logActions":
1942
- suggest = "log_actions"
1943
-
1944
- if suggest:
1945
- pulumi.log.warn(f"Key '{key}' not found in TransferJobLoggingConfig. Access the value via the '{suggest}' property getter instead.")
1946
-
1947
- def __getitem__(self, key: str) -> Any:
1948
- TransferJobLoggingConfig.__key_warning(key)
1949
- return super().__getitem__(key)
1950
-
1951
- def get(self, key: str, default = None) -> Any:
1952
- TransferJobLoggingConfig.__key_warning(key)
1953
- return super().get(key, default)
1954
-
2011
+ class InsightsReportConfigFrequencyOptionsEndDate(dict):
1955
2012
  def __init__(__self__, *,
1956
- enable_on_prem_gcs_transfer_logs: Optional[bool] = None,
1957
- log_action_states: Optional[Sequence[str]] = None,
1958
- log_actions: Optional[Sequence[str]] = None):
2013
+ day: int,
2014
+ month: int,
2015
+ year: int):
1959
2016
  """
1960
- :param bool enable_on_prem_gcs_transfer_logs: For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
1961
- :param Sequence[str] log_action_states: States in which logActions are logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
1962
- :param Sequence[str] log_actions: Specifies the actions to be logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
2017
+ :param int day: The day of the month to stop generating inventory reports.
2018
+ :param int month: The month to stop generating inventory reports.
2019
+ :param int year: The year to stop generating inventory reports
1963
2020
  """
1964
- if enable_on_prem_gcs_transfer_logs is not None:
1965
- pulumi.set(__self__, "enable_on_prem_gcs_transfer_logs", enable_on_prem_gcs_transfer_logs)
1966
- if log_action_states is not None:
1967
- pulumi.set(__self__, "log_action_states", log_action_states)
1968
- if log_actions is not None:
1969
- pulumi.set(__self__, "log_actions", log_actions)
2021
+ pulumi.set(__self__, "day", day)
2022
+ pulumi.set(__self__, "month", month)
2023
+ pulumi.set(__self__, "year", year)
1970
2024
 
1971
2025
  @property
1972
- @pulumi.getter(name="enableOnPremGcsTransferLogs")
1973
- def enable_on_prem_gcs_transfer_logs(self) -> Optional[bool]:
2026
+ @pulumi.getter
2027
+ def day(self) -> int:
1974
2028
  """
1975
- For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
2029
+ The day of the month to stop generating inventory reports.
1976
2030
  """
1977
- return pulumi.get(self, "enable_on_prem_gcs_transfer_logs")
2031
+ return pulumi.get(self, "day")
1978
2032
 
1979
2033
  @property
1980
- @pulumi.getter(name="logActionStates")
1981
- def log_action_states(self) -> Optional[Sequence[str]]:
2034
+ @pulumi.getter
2035
+ def month(self) -> int:
1982
2036
  """
1983
- States in which logActions are logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
2037
+ The month to stop generating inventory reports.
1984
2038
  """
1985
- return pulumi.get(self, "log_action_states")
2039
+ return pulumi.get(self, "month")
1986
2040
 
1987
2041
  @property
1988
- @pulumi.getter(name="logActions")
1989
- def log_actions(self) -> Optional[Sequence[str]]:
2042
+ @pulumi.getter
2043
+ def year(self) -> int:
1990
2044
  """
1991
- Specifies the actions to be logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
2045
+ The year to stop generating inventory reports
1992
2046
  """
1993
- return pulumi.get(self, "log_actions")
2047
+ return pulumi.get(self, "year")
1994
2048
 
1995
2049
 
1996
2050
  @pulumi.output_type
1997
- class TransferJobNotificationConfig(dict):
1998
- @staticmethod
1999
- def __key_warning(key: str):
2000
- suggest = None
2001
- if key == "payloadFormat":
2002
- suggest = "payload_format"
2003
- elif key == "pubsubTopic":
2004
- suggest = "pubsub_topic"
2005
- elif key == "eventTypes":
2006
- suggest = "event_types"
2007
-
2008
- if suggest:
2009
- pulumi.log.warn(f"Key '{key}' not found in TransferJobNotificationConfig. Access the value via the '{suggest}' property getter instead.")
2010
-
2011
- def __getitem__(self, key: str) -> Any:
2012
- TransferJobNotificationConfig.__key_warning(key)
2013
- return super().__getitem__(key)
2014
-
2015
- def get(self, key: str, default = None) -> Any:
2016
- TransferJobNotificationConfig.__key_warning(key)
2017
- return super().get(key, default)
2018
-
2051
+ class InsightsReportConfigFrequencyOptionsStartDate(dict):
2019
2052
  def __init__(__self__, *,
2020
- payload_format: str,
2021
- pubsub_topic: str,
2022
- event_types: Optional[Sequence[str]] = None):
2053
+ day: int,
2054
+ month: int,
2055
+ year: int):
2023
2056
  """
2024
- :param str payload_format: The desired format of the notification message payloads. One of "NONE" or "JSON".
2025
- :param str pubsub_topic: The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.
2026
- :param Sequence[str] event_types: Event types for which a notification is desired. If empty, send notifications for all event types. The valid types are "TRANSFER_OPERATION_SUCCESS", "TRANSFER_OPERATION_FAILED", "TRANSFER_OPERATION_ABORTED".
2057
+ :param int day: The day of the month to start generating inventory reports.
2058
+ :param int month: The month to start generating inventory reports.
2059
+ :param int year: The year to start generating inventory reports
2027
2060
  """
2028
- pulumi.set(__self__, "payload_format", payload_format)
2029
- pulumi.set(__self__, "pubsub_topic", pubsub_topic)
2030
- if event_types is not None:
2031
- pulumi.set(__self__, "event_types", event_types)
2061
+ pulumi.set(__self__, "day", day)
2062
+ pulumi.set(__self__, "month", month)
2063
+ pulumi.set(__self__, "year", year)
2032
2064
 
2033
2065
  @property
2034
- @pulumi.getter(name="payloadFormat")
2035
- def payload_format(self) -> str:
2066
+ @pulumi.getter
2067
+ def day(self) -> int:
2036
2068
  """
2037
- The desired format of the notification message payloads. One of "NONE" or "JSON".
2069
+ The day of the month to start generating inventory reports.
2038
2070
  """
2039
- return pulumi.get(self, "payload_format")
2071
+ return pulumi.get(self, "day")
2040
2072
 
2041
2073
  @property
2042
- @pulumi.getter(name="pubsubTopic")
2043
- def pubsub_topic(self) -> str:
2074
+ @pulumi.getter
2075
+ def month(self) -> int:
2044
2076
  """
2045
- The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.
2077
+ The month to start generating inventory reports.
2046
2078
  """
2047
- return pulumi.get(self, "pubsub_topic")
2079
+ return pulumi.get(self, "month")
2048
2080
 
2049
2081
  @property
2050
- @pulumi.getter(name="eventTypes")
2051
- def event_types(self) -> Optional[Sequence[str]]:
2082
+ @pulumi.getter
2083
+ def year(self) -> int:
2052
2084
  """
2053
- Event types for which a notification is desired. If empty, send notifications for all event types. The valid types are "TRANSFER_OPERATION_SUCCESS", "TRANSFER_OPERATION_FAILED", "TRANSFER_OPERATION_ABORTED".
2085
+ The year to start generating inventory reports
2054
2086
  """
2055
- return pulumi.get(self, "event_types")
2087
+ return pulumi.get(self, "year")
2056
2088
 
2057
2089
 
2058
2090
  @pulumi.output_type
2059
- class TransferJobReplicationSpec(dict):
2091
+ class InsightsReportConfigObjectMetadataReportOptions(dict):
2060
2092
  @staticmethod
2061
2093
  def __key_warning(key: str):
2062
2094
  suggest = None
2063
- if key == "gcsDataSink":
2064
- suggest = "gcs_data_sink"
2065
- elif key == "gcsDataSource":
2066
- suggest = "gcs_data_source"
2067
- elif key == "objectConditions":
2068
- suggest = "object_conditions"
2069
- elif key == "transferOptions":
2070
- suggest = "transfer_options"
2095
+ if key == "metadataFields":
2096
+ suggest = "metadata_fields"
2097
+ elif key == "storageDestinationOptions":
2098
+ suggest = "storage_destination_options"
2099
+ elif key == "storageFilters":
2100
+ suggest = "storage_filters"
2071
2101
 
2072
2102
  if suggest:
2073
- pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpec. Access the value via the '{suggest}' property getter instead.")
2103
+ pulumi.log.warn(f"Key '{key}' not found in InsightsReportConfigObjectMetadataReportOptions. Access the value via the '{suggest}' property getter instead.")
2074
2104
 
2075
2105
  def __getitem__(self, key: str) -> Any:
2076
- TransferJobReplicationSpec.__key_warning(key)
2106
+ InsightsReportConfigObjectMetadataReportOptions.__key_warning(key)
2077
2107
  return super().__getitem__(key)
2078
2108
 
2079
2109
  def get(self, key: str, default = None) -> Any:
2080
- TransferJobReplicationSpec.__key_warning(key)
2110
+ InsightsReportConfigObjectMetadataReportOptions.__key_warning(key)
2081
2111
  return super().get(key, default)
2082
2112
 
2083
2113
  def __init__(__self__, *,
2084
- gcs_data_sink: Optional['outputs.TransferJobReplicationSpecGcsDataSink'] = None,
2085
- gcs_data_source: Optional['outputs.TransferJobReplicationSpecGcsDataSource'] = None,
2086
- object_conditions: Optional['outputs.TransferJobReplicationSpecObjectConditions'] = None,
2087
- transfer_options: Optional['outputs.TransferJobReplicationSpecTransferOptions'] = None):
2088
- """
2089
- :param 'TransferJobReplicationSpecGcsDataSinkArgs' gcs_data_sink: A Google Cloud Storage data sink. Structure documented below.
2090
- :param 'TransferJobReplicationSpecGcsDataSourceArgs' gcs_data_source: A Google Cloud Storage data source. Structure documented below.
2091
- :param 'TransferJobReplicationSpecObjectConditionsArgs' object_conditions: Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `last_modification_time` do not exclude objects in a data sink. Structure documented below.
2092
- :param 'TransferJobReplicationSpecTransferOptionsArgs' transfer_options: Characteristics of how to treat files from datasource and sink during job. If the option `delete_objects_unique_in_sink` is true, object conditions based on objects' `last_modification_time` are ignored and do not exclude objects in a data source or a data sink. Structure documented below.
2093
- """
2094
- if gcs_data_sink is not None:
2095
- pulumi.set(__self__, "gcs_data_sink", gcs_data_sink)
2096
- if gcs_data_source is not None:
2097
- pulumi.set(__self__, "gcs_data_source", gcs_data_source)
2098
- if object_conditions is not None:
2099
- pulumi.set(__self__, "object_conditions", object_conditions)
2100
- if transfer_options is not None:
2101
- pulumi.set(__self__, "transfer_options", transfer_options)
2102
-
2103
- @property
2104
- @pulumi.getter(name="gcsDataSink")
2105
- def gcs_data_sink(self) -> Optional['outputs.TransferJobReplicationSpecGcsDataSink']:
2114
+ metadata_fields: Sequence[str],
2115
+ storage_destination_options: 'outputs.InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions',
2116
+ storage_filters: Optional['outputs.InsightsReportConfigObjectMetadataReportOptionsStorageFilters'] = None):
2106
2117
  """
2107
- A Google Cloud Storage data sink. Structure documented below.
2118
+ :param Sequence[str] metadata_fields: The metadata fields included in an inventory report.
2119
+ :param 'InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptionsArgs' storage_destination_options: Options for where the inventory reports are stored.
2120
+ Structure is documented below.
2121
+ :param 'InsightsReportConfigObjectMetadataReportOptionsStorageFiltersArgs' storage_filters: A nested object resource.
2122
+ Structure is documented below.
2108
2123
  """
2109
- return pulumi.get(self, "gcs_data_sink")
2124
+ pulumi.set(__self__, "metadata_fields", metadata_fields)
2125
+ pulumi.set(__self__, "storage_destination_options", storage_destination_options)
2126
+ if storage_filters is not None:
2127
+ pulumi.set(__self__, "storage_filters", storage_filters)
2110
2128
 
2111
2129
  @property
2112
- @pulumi.getter(name="gcsDataSource")
2113
- def gcs_data_source(self) -> Optional['outputs.TransferJobReplicationSpecGcsDataSource']:
2130
+ @pulumi.getter(name="metadataFields")
2131
+ def metadata_fields(self) -> Sequence[str]:
2114
2132
  """
2115
- A Google Cloud Storage data source. Structure documented below.
2133
+ The metadata fields included in an inventory report.
2116
2134
  """
2117
- return pulumi.get(self, "gcs_data_source")
2135
+ return pulumi.get(self, "metadata_fields")
2118
2136
 
2119
2137
  @property
2120
- @pulumi.getter(name="objectConditions")
2121
- def object_conditions(self) -> Optional['outputs.TransferJobReplicationSpecObjectConditions']:
2138
+ @pulumi.getter(name="storageDestinationOptions")
2139
+ def storage_destination_options(self) -> 'outputs.InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions':
2122
2140
  """
2123
- Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `last_modification_time` do not exclude objects in a data sink. Structure documented below.
2141
+ Options for where the inventory reports are stored.
2142
+ Structure is documented below.
2124
2143
  """
2125
- return pulumi.get(self, "object_conditions")
2144
+ return pulumi.get(self, "storage_destination_options")
2126
2145
 
2127
2146
  @property
2128
- @pulumi.getter(name="transferOptions")
2129
- def transfer_options(self) -> Optional['outputs.TransferJobReplicationSpecTransferOptions']:
2147
+ @pulumi.getter(name="storageFilters")
2148
+ def storage_filters(self) -> Optional['outputs.InsightsReportConfigObjectMetadataReportOptionsStorageFilters']:
2130
2149
  """
2131
- Characteristics of how to treat files from datasource and sink during job. If the option `delete_objects_unique_in_sink` is true, object conditions based on objects' `last_modification_time` are ignored and do not exclude objects in a data source or a data sink. Structure documented below.
2150
+ A nested object resource.
2151
+ Structure is documented below.
2132
2152
  """
2133
- return pulumi.get(self, "transfer_options")
2153
+ return pulumi.get(self, "storage_filters")
2134
2154
 
2135
2155
 
2136
2156
  @pulumi.output_type
2137
- class TransferJobReplicationSpecGcsDataSink(dict):
2157
+ class InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions(dict):
2138
2158
  @staticmethod
2139
2159
  def __key_warning(key: str):
2140
2160
  suggest = None
2141
- if key == "bucketName":
2142
- suggest = "bucket_name"
2161
+ if key == "destinationPath":
2162
+ suggest = "destination_path"
2143
2163
 
2144
2164
  if suggest:
2145
- pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecGcsDataSink. Access the value via the '{suggest}' property getter instead.")
2165
+ pulumi.log.warn(f"Key '{key}' not found in InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions. Access the value via the '{suggest}' property getter instead.")
2146
2166
 
2147
2167
  def __getitem__(self, key: str) -> Any:
2148
- TransferJobReplicationSpecGcsDataSink.__key_warning(key)
2168
+ InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions.__key_warning(key)
2149
2169
  return super().__getitem__(key)
2150
2170
 
2151
2171
  def get(self, key: str, default = None) -> Any:
2152
- TransferJobReplicationSpecGcsDataSink.__key_warning(key)
2172
+ InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions.__key_warning(key)
2153
2173
  return super().get(key, default)
2154
2174
 
2155
2175
  def __init__(__self__, *,
2156
- bucket_name: str,
2157
- path: Optional[str] = None):
2176
+ bucket: str,
2177
+ destination_path: Optional[str] = None):
2158
2178
  """
2159
- :param str bucket_name: Google Cloud Storage bucket name.
2160
- :param str path: Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2179
+ :param str bucket: The destination bucket that stores the generated inventory reports.
2180
+ :param str destination_path: The path within the destination bucket to store generated inventory reports.
2161
2181
  """
2162
- pulumi.set(__self__, "bucket_name", bucket_name)
2163
- if path is not None:
2164
- pulumi.set(__self__, "path", path)
2182
+ pulumi.set(__self__, "bucket", bucket)
2183
+ if destination_path is not None:
2184
+ pulumi.set(__self__, "destination_path", destination_path)
2165
2185
 
2166
2186
  @property
2167
- @pulumi.getter(name="bucketName")
2168
- def bucket_name(self) -> str:
2187
+ @pulumi.getter
2188
+ def bucket(self) -> str:
2169
2189
  """
2170
- Google Cloud Storage bucket name.
2190
+ The destination bucket that stores the generated inventory reports.
2171
2191
  """
2172
- return pulumi.get(self, "bucket_name")
2192
+ return pulumi.get(self, "bucket")
2173
2193
 
2174
2194
  @property
2175
- @pulumi.getter
2176
- def path(self) -> Optional[str]:
2195
+ @pulumi.getter(name="destinationPath")
2196
+ def destination_path(self) -> Optional[str]:
2177
2197
  """
2178
- Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2198
+ The path within the destination bucket to store generated inventory reports.
2179
2199
  """
2180
- return pulumi.get(self, "path")
2200
+ return pulumi.get(self, "destination_path")
2181
2201
 
2182
2202
 
2183
2203
  @pulumi.output_type
2184
- class TransferJobReplicationSpecGcsDataSource(dict):
2185
- @staticmethod
2186
- def __key_warning(key: str):
2187
- suggest = None
2188
- if key == "bucketName":
2189
- suggest = "bucket_name"
2204
+ class InsightsReportConfigObjectMetadataReportOptionsStorageFilters(dict):
2205
+ def __init__(__self__, *,
2206
+ bucket: Optional[str] = None):
2207
+ """
2208
+ :param str bucket: The filter to use when specifying which bucket to generate inventory reports for.
2209
+ """
2210
+ if bucket is not None:
2211
+ pulumi.set(__self__, "bucket", bucket)
2190
2212
 
2191
- if suggest:
2192
- pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecGcsDataSource. Access the value via the '{suggest}' property getter instead.")
2213
+ @property
2214
+ @pulumi.getter
2215
+ def bucket(self) -> Optional[str]:
2216
+ """
2217
+ The filter to use when specifying which bucket to generate inventory reports for.
2218
+ """
2219
+ return pulumi.get(self, "bucket")
2193
2220
 
2194
- def __getitem__(self, key: str) -> Any:
2195
- TransferJobReplicationSpecGcsDataSource.__key_warning(key)
2196
- return super().__getitem__(key)
2197
2221
 
2198
- def get(self, key: str, default = None) -> Any:
2199
- TransferJobReplicationSpecGcsDataSource.__key_warning(key)
2200
- return super().get(key, default)
2222
+ @pulumi.output_type
2223
+ class InsightsReportConfigParquetOptions(dict):
2224
+ def __init__(__self__):
2225
+ pass
2226
+
2201
2227
 
2228
+ @pulumi.output_type
2229
+ class ManagedFolderIamBindingCondition(dict):
2202
2230
  def __init__(__self__, *,
2203
- bucket_name: str,
2204
- path: Optional[str] = None):
2231
+ expression: str,
2232
+ title: str,
2233
+ description: Optional[str] = None):
2205
2234
  """
2206
- :param str bucket_name: Google Cloud Storage bucket name.
2207
- :param str path: Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2235
+ :param str expression: Textual representation of an expression in Common Expression Language syntax.
2236
+ :param str title: A title for the expression, i.e. a short string describing its purpose.
2208
2237
  """
2209
- pulumi.set(__self__, "bucket_name", bucket_name)
2210
- if path is not None:
2211
- pulumi.set(__self__, "path", path)
2238
+ pulumi.set(__self__, "expression", expression)
2239
+ pulumi.set(__self__, "title", title)
2240
+ if description is not None:
2241
+ pulumi.set(__self__, "description", description)
2212
2242
 
2213
2243
  @property
2214
- @pulumi.getter(name="bucketName")
2215
- def bucket_name(self) -> str:
2244
+ @pulumi.getter
2245
+ def expression(self) -> str:
2216
2246
  """
2217
- Google Cloud Storage bucket name.
2247
+ Textual representation of an expression in Common Expression Language syntax.
2218
2248
  """
2219
- return pulumi.get(self, "bucket_name")
2249
+ return pulumi.get(self, "expression")
2220
2250
 
2221
2251
  @property
2222
2252
  @pulumi.getter
2223
- def path(self) -> Optional[str]:
2253
+ def title(self) -> str:
2224
2254
  """
2225
- Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2255
+ A title for the expression, i.e. a short string describing its purpose.
2226
2256
  """
2227
- return pulumi.get(self, "path")
2257
+ return pulumi.get(self, "title")
2258
+
2259
+ @property
2260
+ @pulumi.getter
2261
+ def description(self) -> Optional[str]:
2262
+ return pulumi.get(self, "description")
2228
2263
 
2229
2264
 
2230
2265
  @pulumi.output_type
2231
- class TransferJobReplicationSpecObjectConditions(dict):
2232
- @staticmethod
2233
- def __key_warning(key: str):
2234
- suggest = None
2235
- if key == "excludePrefixes":
2236
- suggest = "exclude_prefixes"
2237
- elif key == "includePrefixes":
2238
- suggest = "include_prefixes"
2239
- elif key == "lastModifiedBefore":
2240
- suggest = "last_modified_before"
2241
- elif key == "lastModifiedSince":
2242
- suggest = "last_modified_since"
2243
- elif key == "maxTimeElapsedSinceLastModification":
2244
- suggest = "max_time_elapsed_since_last_modification"
2245
- elif key == "minTimeElapsedSinceLastModification":
2246
- suggest = "min_time_elapsed_since_last_modification"
2247
-
2248
- if suggest:
2249
- pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecObjectConditions. Access the value via the '{suggest}' property getter instead.")
2250
-
2251
- def __getitem__(self, key: str) -> Any:
2252
- TransferJobReplicationSpecObjectConditions.__key_warning(key)
2253
- return super().__getitem__(key)
2254
-
2255
- def get(self, key: str, default = None) -> Any:
2256
- TransferJobReplicationSpecObjectConditions.__key_warning(key)
2257
- return super().get(key, default)
2258
-
2266
+ class ManagedFolderIamMemberCondition(dict):
2259
2267
  def __init__(__self__, *,
2260
- exclude_prefixes: Optional[Sequence[str]] = None,
2261
- include_prefixes: Optional[Sequence[str]] = None,
2262
- last_modified_before: Optional[str] = None,
2263
- last_modified_since: Optional[str] = None,
2264
- max_time_elapsed_since_last_modification: Optional[str] = None,
2265
- min_time_elapsed_since_last_modification: Optional[str] = None):
2268
+ expression: str,
2269
+ title: str,
2270
+ description: Optional[str] = None):
2266
2271
  """
2267
- :param Sequence[str] exclude_prefixes: `exclude_prefixes` must follow the requirements described for `include_prefixes`. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
2268
- :param Sequence[str] include_prefixes: If `include_prefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `include_prefixes` and that do not start with any of the `exclude_prefixes`. If `include_prefixes` is not specified, all objects except those that have names starting with one of the `exclude_prefixes` must satisfy the object conditions. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
2269
- :param str last_modified_before: If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2270
- :param str last_modified_since: If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2271
- :param str max_time_elapsed_since_last_modification: A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2272
- :param str min_time_elapsed_since_last_modification: A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2272
+ :param str expression: Textual representation of an expression in Common Expression Language syntax.
2273
+ :param str title: A title for the expression, i.e. a short string describing its purpose.
2273
2274
  """
2274
- if exclude_prefixes is not None:
2275
- pulumi.set(__self__, "exclude_prefixes", exclude_prefixes)
2276
- if include_prefixes is not None:
2277
- pulumi.set(__self__, "include_prefixes", include_prefixes)
2278
- if last_modified_before is not None:
2279
- pulumi.set(__self__, "last_modified_before", last_modified_before)
2280
- if last_modified_since is not None:
2281
- pulumi.set(__self__, "last_modified_since", last_modified_since)
2282
- if max_time_elapsed_since_last_modification is not None:
2283
- pulumi.set(__self__, "max_time_elapsed_since_last_modification", max_time_elapsed_since_last_modification)
2284
- if min_time_elapsed_since_last_modification is not None:
2285
- pulumi.set(__self__, "min_time_elapsed_since_last_modification", min_time_elapsed_since_last_modification)
2275
+ pulumi.set(__self__, "expression", expression)
2276
+ pulumi.set(__self__, "title", title)
2277
+ if description is not None:
2278
+ pulumi.set(__self__, "description", description)
2286
2279
 
2287
2280
  @property
2288
- @pulumi.getter(name="excludePrefixes")
2289
- def exclude_prefixes(self) -> Optional[Sequence[str]]:
2281
+ @pulumi.getter
2282
+ def expression(self) -> str:
2290
2283
  """
2291
- `exclude_prefixes` must follow the requirements described for `include_prefixes`. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
2284
+ Textual representation of an expression in Common Expression Language syntax.
2292
2285
  """
2293
- return pulumi.get(self, "exclude_prefixes")
2286
+ return pulumi.get(self, "expression")
2294
2287
 
2295
2288
  @property
2296
- @pulumi.getter(name="includePrefixes")
2297
- def include_prefixes(self) -> Optional[Sequence[str]]:
2289
+ @pulumi.getter
2290
+ def title(self) -> str:
2298
2291
  """
2299
- If `include_prefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `include_prefixes` and that do not start with any of the `exclude_prefixes`. If `include_prefixes` is not specified, all objects except those that have names starting with one of the `exclude_prefixes` must satisfy the object conditions. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
2292
+ A title for the expression, i.e. a short string describing its purpose.
2300
2293
  """
2301
- return pulumi.get(self, "include_prefixes")
2294
+ return pulumi.get(self, "title")
2302
2295
 
2303
2296
  @property
2304
- @pulumi.getter(name="lastModifiedBefore")
2305
- def last_modified_before(self) -> Optional[str]:
2306
- """
2307
- If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2308
- """
2309
- return pulumi.get(self, "last_modified_before")
2297
+ @pulumi.getter
2298
+ def description(self) -> Optional[str]:
2299
+ return pulumi.get(self, "description")
2310
2300
 
2311
- @property
2312
- @pulumi.getter(name="lastModifiedSince")
2313
- def last_modified_since(self) -> Optional[str]:
2301
+
2302
+ @pulumi.output_type
2303
+ class ObjectAccessControlProjectTeam(dict):
2304
+ @staticmethod
2305
+ def __key_warning(key: str):
2306
+ suggest = None
2307
+ if key == "projectNumber":
2308
+ suggest = "project_number"
2309
+
2310
+ if suggest:
2311
+ pulumi.log.warn(f"Key '{key}' not found in ObjectAccessControlProjectTeam. Access the value via the '{suggest}' property getter instead.")
2312
+
2313
+ def __getitem__(self, key: str) -> Any:
2314
+ ObjectAccessControlProjectTeam.__key_warning(key)
2315
+ return super().__getitem__(key)
2316
+
2317
+ def get(self, key: str, default = None) -> Any:
2318
+ ObjectAccessControlProjectTeam.__key_warning(key)
2319
+ return super().get(key, default)
2320
+
2321
+ def __init__(__self__, *,
2322
+ project_number: Optional[str] = None,
2323
+ team: Optional[str] = None):
2314
2324
  """
2315
- If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2325
+ :param str project_number: The project team associated with the entity
2326
+ :param str team: The team.
2327
+ Possible values are: `editors`, `owners`, `viewers`.
2316
2328
  """
2317
- return pulumi.get(self, "last_modified_since")
2329
+ if project_number is not None:
2330
+ pulumi.set(__self__, "project_number", project_number)
2331
+ if team is not None:
2332
+ pulumi.set(__self__, "team", team)
2318
2333
 
2319
2334
  @property
2320
- @pulumi.getter(name="maxTimeElapsedSinceLastModification")
2321
- def max_time_elapsed_since_last_modification(self) -> Optional[str]:
2335
+ @pulumi.getter(name="projectNumber")
2336
+ def project_number(self) -> Optional[str]:
2322
2337
  """
2323
- A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2338
+ The project team associated with the entity
2324
2339
  """
2325
- return pulumi.get(self, "max_time_elapsed_since_last_modification")
2340
+ return pulumi.get(self, "project_number")
2326
2341
 
2327
2342
  @property
2328
- @pulumi.getter(name="minTimeElapsedSinceLastModification")
2329
- def min_time_elapsed_since_last_modification(self) -> Optional[str]:
2343
+ @pulumi.getter
2344
+ def team(self) -> Optional[str]:
2330
2345
  """
2331
- A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2346
+ The team.
2347
+ Possible values are: `editors`, `owners`, `viewers`.
2332
2348
  """
2333
- return pulumi.get(self, "min_time_elapsed_since_last_modification")
2349
+ return pulumi.get(self, "team")
2334
2350
 
2335
2351
 
2336
2352
  @pulumi.output_type
2337
- class TransferJobReplicationSpecTransferOptions(dict):
2353
+ class TransferAgentPoolBandwidthLimit(dict):
2338
2354
  @staticmethod
2339
2355
  def __key_warning(key: str):
2340
2356
  suggest = None
2341
- if key == "deleteObjectsFromSourceAfterTransfer":
2342
- suggest = "delete_objects_from_source_after_transfer"
2343
- elif key == "deleteObjectsUniqueInSink":
2344
- suggest = "delete_objects_unique_in_sink"
2345
- elif key == "metadataOptions":
2346
- suggest = "metadata_options"
2347
- elif key == "overwriteObjectsAlreadyExistingInSink":
2348
- suggest = "overwrite_objects_already_existing_in_sink"
2349
- elif key == "overwriteWhen":
2350
- suggest = "overwrite_when"
2357
+ if key == "limitMbps":
2358
+ suggest = "limit_mbps"
2351
2359
 
2352
2360
  if suggest:
2353
- pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecTransferOptions. Access the value via the '{suggest}' property getter instead.")
2361
+ pulumi.log.warn(f"Key '{key}' not found in TransferAgentPoolBandwidthLimit. Access the value via the '{suggest}' property getter instead.")
2354
2362
 
2355
2363
  def __getitem__(self, key: str) -> Any:
2356
- TransferJobReplicationSpecTransferOptions.__key_warning(key)
2364
+ TransferAgentPoolBandwidthLimit.__key_warning(key)
2357
2365
  return super().__getitem__(key)
2358
2366
 
2359
2367
  def get(self, key: str, default = None) -> Any:
2360
- TransferJobReplicationSpecTransferOptions.__key_warning(key)
2368
+ TransferAgentPoolBandwidthLimit.__key_warning(key)
2361
2369
  return super().get(key, default)
2362
2370
 
2363
2371
  def __init__(__self__, *,
2364
- delete_objects_from_source_after_transfer: Optional[bool] = None,
2365
- delete_objects_unique_in_sink: Optional[bool] = None,
2366
- metadata_options: Optional['outputs.TransferJobReplicationSpecTransferOptionsMetadataOptions'] = None,
2367
- overwrite_objects_already_existing_in_sink: Optional[bool] = None,
2368
- overwrite_when: Optional[str] = None):
2372
+ limit_mbps: str):
2369
2373
  """
2370
- :param bool delete_objects_from_source_after_transfer: Whether objects should be deleted from the source after they are transferred to the sink. Note that this option and `delete_objects_unique_in_sink` are mutually exclusive.
2371
- :param bool delete_objects_unique_in_sink: Whether objects that exist only in the sink should be deleted. Note that this option and
2372
- `delete_objects_from_source_after_transfer` are mutually exclusive.
2373
- :param 'TransferJobReplicationSpecTransferOptionsMetadataOptionsArgs' metadata_options: Specifies the metadata options for running a transfer
2374
- :param bool overwrite_objects_already_existing_in_sink: Whether overwriting objects that already exist in the sink is allowed.
2375
- :param str overwrite_when: When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by `overwrite_objects_already_existing_in_sink`. Possible values: ALWAYS, DIFFERENT, NEVER.
2374
+ :param str limit_mbps: Bandwidth rate in megabytes per second, distributed across all the agents in the pool.
2376
2375
  """
2377
- if delete_objects_from_source_after_transfer is not None:
2378
- pulumi.set(__self__, "delete_objects_from_source_after_transfer", delete_objects_from_source_after_transfer)
2379
- if delete_objects_unique_in_sink is not None:
2380
- pulumi.set(__self__, "delete_objects_unique_in_sink", delete_objects_unique_in_sink)
2381
- if metadata_options is not None:
2382
- pulumi.set(__self__, "metadata_options", metadata_options)
2383
- if overwrite_objects_already_existing_in_sink is not None:
2384
- pulumi.set(__self__, "overwrite_objects_already_existing_in_sink", overwrite_objects_already_existing_in_sink)
2385
- if overwrite_when is not None:
2386
- pulumi.set(__self__, "overwrite_when", overwrite_when)
2376
+ pulumi.set(__self__, "limit_mbps", limit_mbps)
2387
2377
 
2388
2378
  @property
2389
- @pulumi.getter(name="deleteObjectsFromSourceAfterTransfer")
2390
- def delete_objects_from_source_after_transfer(self) -> Optional[bool]:
2379
+ @pulumi.getter(name="limitMbps")
2380
+ def limit_mbps(self) -> str:
2391
2381
  """
2392
- Whether objects should be deleted from the source after they are transferred to the sink. Note that this option and `delete_objects_unique_in_sink` are mutually exclusive.
2382
+ Bandwidth rate in megabytes per second, distributed across all the agents in the pool.
2393
2383
  """
2394
- return pulumi.get(self, "delete_objects_from_source_after_transfer")
2384
+ return pulumi.get(self, "limit_mbps")
2395
2385
 
2396
- @property
2397
- @pulumi.getter(name="deleteObjectsUniqueInSink")
2398
- def delete_objects_unique_in_sink(self) -> Optional[bool]:
2386
+
2387
+ @pulumi.output_type
2388
+ class TransferJobEventStream(dict):
2389
+ @staticmethod
2390
+ def __key_warning(key: str):
2391
+ suggest = None
2392
+ if key == "eventStreamExpirationTime":
2393
+ suggest = "event_stream_expiration_time"
2394
+ elif key == "eventStreamStartTime":
2395
+ suggest = "event_stream_start_time"
2396
+
2397
+ if suggest:
2398
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobEventStream. Access the value via the '{suggest}' property getter instead.")
2399
+
2400
+ def __getitem__(self, key: str) -> Any:
2401
+ TransferJobEventStream.__key_warning(key)
2402
+ return super().__getitem__(key)
2403
+
2404
+ def get(self, key: str, default = None) -> Any:
2405
+ TransferJobEventStream.__key_warning(key)
2406
+ return super().get(key, default)
2407
+
2408
+ def __init__(__self__, *,
2409
+ name: str,
2410
+ event_stream_expiration_time: Optional[str] = None,
2411
+ event_stream_start_time: Optional[str] = None):
2399
2412
  """
2400
- Whether objects that exist only in the sink should be deleted. Note that this option and
2401
- `delete_objects_from_source_after_transfer` are mutually exclusive.
2413
+ :param str name: Specifies a unique name of the resource such as AWS SQS ARN in the form 'arn:aws:sqs:region:account_id:queue_name', or Pub/Sub subscription resource name in the form 'projects/{project}/subscriptions/{sub}'.
2414
+ :param str event_stream_expiration_time: Specifies the data and time at which Storage Transfer Service stops listening for events from this stream. After this time, any transfers in progress will complete, but no new transfers are initiated.A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2415
+ :param str event_stream_start_time: Specifies the date and time that Storage Transfer Service starts listening for events from this stream. If no start time is specified or start time is in the past, Storage Transfer Service starts listening immediately. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2402
2416
  """
2403
- return pulumi.get(self, "delete_objects_unique_in_sink")
2417
+ pulumi.set(__self__, "name", name)
2418
+ if event_stream_expiration_time is not None:
2419
+ pulumi.set(__self__, "event_stream_expiration_time", event_stream_expiration_time)
2420
+ if event_stream_start_time is not None:
2421
+ pulumi.set(__self__, "event_stream_start_time", event_stream_start_time)
2404
2422
 
2405
2423
  @property
2406
- @pulumi.getter(name="metadataOptions")
2407
- def metadata_options(self) -> Optional['outputs.TransferJobReplicationSpecTransferOptionsMetadataOptions']:
2424
+ @pulumi.getter
2425
+ def name(self) -> str:
2408
2426
  """
2409
- Specifies the metadata options for running a transfer
2427
+ Specifies a unique name of the resource such as AWS SQS ARN in the form 'arn:aws:sqs:region:account_id:queue_name', or Pub/Sub subscription resource name in the form 'projects/{project}/subscriptions/{sub}'.
2410
2428
  """
2411
- return pulumi.get(self, "metadata_options")
2429
+ return pulumi.get(self, "name")
2412
2430
 
2413
2431
  @property
2414
- @pulumi.getter(name="overwriteObjectsAlreadyExistingInSink")
2415
- def overwrite_objects_already_existing_in_sink(self) -> Optional[bool]:
2432
+ @pulumi.getter(name="eventStreamExpirationTime")
2433
+ def event_stream_expiration_time(self) -> Optional[str]:
2416
2434
  """
2417
- Whether overwriting objects that already exist in the sink is allowed.
2435
+ Specifies the data and time at which Storage Transfer Service stops listening for events from this stream. After this time, any transfers in progress will complete, but no new transfers are initiated.A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2418
2436
  """
2419
- return pulumi.get(self, "overwrite_objects_already_existing_in_sink")
2437
+ return pulumi.get(self, "event_stream_expiration_time")
2420
2438
 
2421
2439
  @property
2422
- @pulumi.getter(name="overwriteWhen")
2423
- def overwrite_when(self) -> Optional[str]:
2440
+ @pulumi.getter(name="eventStreamStartTime")
2441
+ def event_stream_start_time(self) -> Optional[str]:
2424
2442
  """
2425
- When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by `overwrite_objects_already_existing_in_sink`. Possible values: ALWAYS, DIFFERENT, NEVER.
2443
+ Specifies the date and time that Storage Transfer Service starts listening for events from this stream. If no start time is specified or start time is in the past, Storage Transfer Service starts listening immediately. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2426
2444
  """
2427
- return pulumi.get(self, "overwrite_when")
2445
+ return pulumi.get(self, "event_stream_start_time")
2428
2446
 
2429
2447
 
2430
2448
  @pulumi.output_type
2431
- class TransferJobReplicationSpecTransferOptionsMetadataOptions(dict):
2449
+ class TransferJobLoggingConfig(dict):
2432
2450
  @staticmethod
2433
2451
  def __key_warning(key: str):
2434
2452
  suggest = None
2435
- if key == "kmsKey":
2436
- suggest = "kms_key"
2437
- elif key == "storageClass":
2438
- suggest = "storage_class"
2439
- elif key == "temporaryHold":
2440
- suggest = "temporary_hold"
2441
- elif key == "timeCreated":
2442
- suggest = "time_created"
2443
-
2444
- if suggest:
2445
- pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecTransferOptionsMetadataOptions. Access the value via the '{suggest}' property getter instead.")
2446
-
2453
+ if key == "enableOnPremGcsTransferLogs":
2454
+ suggest = "enable_on_prem_gcs_transfer_logs"
2455
+ elif key == "logActionStates":
2456
+ suggest = "log_action_states"
2457
+ elif key == "logActions":
2458
+ suggest = "log_actions"
2459
+
2460
+ if suggest:
2461
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobLoggingConfig. Access the value via the '{suggest}' property getter instead.")
2462
+
2447
2463
  def __getitem__(self, key: str) -> Any:
2448
- TransferJobReplicationSpecTransferOptionsMetadataOptions.__key_warning(key)
2464
+ TransferJobLoggingConfig.__key_warning(key)
2449
2465
  return super().__getitem__(key)
2450
2466
 
2451
2467
  def get(self, key: str, default = None) -> Any:
2452
- TransferJobReplicationSpecTransferOptionsMetadataOptions.__key_warning(key)
2468
+ TransferJobLoggingConfig.__key_warning(key)
2453
2469
  return super().get(key, default)
2454
2470
 
2455
2471
  def __init__(__self__, *,
2456
- acl: Optional[str] = None,
2457
- gid: Optional[str] = None,
2458
- kms_key: Optional[str] = None,
2459
- mode: Optional[str] = None,
2460
- storage_class: Optional[str] = None,
2461
- symlink: Optional[str] = None,
2462
- temporary_hold: Optional[str] = None,
2463
- time_created: Optional[str] = None,
2464
- uid: Optional[str] = None):
2472
+ enable_on_prem_gcs_transfer_logs: Optional[bool] = None,
2473
+ log_action_states: Optional[Sequence[str]] = None,
2474
+ log_actions: Optional[Sequence[str]] = None):
2465
2475
  """
2466
- :param str acl: Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets
2467
- :param str gid: Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
2468
- :param str kms_key: Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets
2469
- :param str mode: Specifies how each file's mode attribute should be handled by the transfer.
2470
- :param str storage_class: Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets
2471
- :param str symlink: Specifies how symlinks should be handled by the transfer.
2472
- :param str temporary_hold: SSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets
2473
- :param str time_created: Specifies how each object's timeCreated metadata is preserved for transfers.
2474
- :param str uid: Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
2476
+ :param bool enable_on_prem_gcs_transfer_logs: For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
2477
+ :param Sequence[str] log_action_states: States in which logActions are logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
2478
+ :param Sequence[str] log_actions: Specifies the actions to be logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
2475
2479
  """
2476
- if acl is not None:
2477
- pulumi.set(__self__, "acl", acl)
2478
- if gid is not None:
2479
- pulumi.set(__self__, "gid", gid)
2480
- if kms_key is not None:
2481
- pulumi.set(__self__, "kms_key", kms_key)
2482
- if mode is not None:
2483
- pulumi.set(__self__, "mode", mode)
2484
- if storage_class is not None:
2485
- pulumi.set(__self__, "storage_class", storage_class)
2486
- if symlink is not None:
2487
- pulumi.set(__self__, "symlink", symlink)
2488
- if temporary_hold is not None:
2489
- pulumi.set(__self__, "temporary_hold", temporary_hold)
2490
- if time_created is not None:
2491
- pulumi.set(__self__, "time_created", time_created)
2492
- if uid is not None:
2493
- pulumi.set(__self__, "uid", uid)
2480
+ if enable_on_prem_gcs_transfer_logs is not None:
2481
+ pulumi.set(__self__, "enable_on_prem_gcs_transfer_logs", enable_on_prem_gcs_transfer_logs)
2482
+ if log_action_states is not None:
2483
+ pulumi.set(__self__, "log_action_states", log_action_states)
2484
+ if log_actions is not None:
2485
+ pulumi.set(__self__, "log_actions", log_actions)
2494
2486
 
2495
2487
  @property
2496
- @pulumi.getter
2497
- def acl(self) -> Optional[str]:
2488
+ @pulumi.getter(name="enableOnPremGcsTransferLogs")
2489
+ def enable_on_prem_gcs_transfer_logs(self) -> Optional[bool]:
2498
2490
  """
2499
- Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets
2491
+ For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
2500
2492
  """
2501
- return pulumi.get(self, "acl")
2493
+ return pulumi.get(self, "enable_on_prem_gcs_transfer_logs")
2502
2494
 
2503
2495
  @property
2504
- @pulumi.getter
2505
- def gid(self) -> Optional[str]:
2496
+ @pulumi.getter(name="logActionStates")
2497
+ def log_action_states(self) -> Optional[Sequence[str]]:
2506
2498
  """
2507
- Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
2499
+ States in which logActions are logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
2508
2500
  """
2509
- return pulumi.get(self, "gid")
2501
+ return pulumi.get(self, "log_action_states")
2510
2502
 
2511
2503
  @property
2512
- @pulumi.getter(name="kmsKey")
2513
- def kms_key(self) -> Optional[str]:
2504
+ @pulumi.getter(name="logActions")
2505
+ def log_actions(self) -> Optional[Sequence[str]]:
2514
2506
  """
2515
- Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets
2507
+ Specifies the actions to be logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
2516
2508
  """
2517
- return pulumi.get(self, "kms_key")
2509
+ return pulumi.get(self, "log_actions")
2518
2510
 
2519
- @property
2520
- @pulumi.getter
2521
- def mode(self) -> Optional[str]:
2522
- """
2523
- Specifies how each file's mode attribute should be handled by the transfer.
2524
- """
2525
- return pulumi.get(self, "mode")
2526
2511
 
2527
- @property
2528
- @pulumi.getter(name="storageClass")
2529
- def storage_class(self) -> Optional[str]:
2530
- """
2531
- Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets
2532
- """
2533
- return pulumi.get(self, "storage_class")
2512
+ @pulumi.output_type
2513
+ class TransferJobNotificationConfig(dict):
2514
+ @staticmethod
2515
+ def __key_warning(key: str):
2516
+ suggest = None
2517
+ if key == "payloadFormat":
2518
+ suggest = "payload_format"
2519
+ elif key == "pubsubTopic":
2520
+ suggest = "pubsub_topic"
2521
+ elif key == "eventTypes":
2522
+ suggest = "event_types"
2534
2523
 
2535
- @property
2536
- @pulumi.getter
2537
- def symlink(self) -> Optional[str]:
2524
+ if suggest:
2525
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobNotificationConfig. Access the value via the '{suggest}' property getter instead.")
2526
+
2527
+ def __getitem__(self, key: str) -> Any:
2528
+ TransferJobNotificationConfig.__key_warning(key)
2529
+ return super().__getitem__(key)
2530
+
2531
+ def get(self, key: str, default = None) -> Any:
2532
+ TransferJobNotificationConfig.__key_warning(key)
2533
+ return super().get(key, default)
2534
+
2535
+ def __init__(__self__, *,
2536
+ payload_format: str,
2537
+ pubsub_topic: str,
2538
+ event_types: Optional[Sequence[str]] = None):
2538
2539
  """
2539
- Specifies how symlinks should be handled by the transfer.
2540
+ :param str payload_format: The desired format of the notification message payloads. One of "NONE" or "JSON".
2541
+ :param str pubsub_topic: The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.
2542
+ :param Sequence[str] event_types: Event types for which a notification is desired. If empty, send notifications for all event types. The valid types are "TRANSFER_OPERATION_SUCCESS", "TRANSFER_OPERATION_FAILED", "TRANSFER_OPERATION_ABORTED".
2540
2543
  """
2541
- return pulumi.get(self, "symlink")
2544
+ pulumi.set(__self__, "payload_format", payload_format)
2545
+ pulumi.set(__self__, "pubsub_topic", pubsub_topic)
2546
+ if event_types is not None:
2547
+ pulumi.set(__self__, "event_types", event_types)
2542
2548
 
2543
2549
  @property
2544
- @pulumi.getter(name="temporaryHold")
2545
- def temporary_hold(self) -> Optional[str]:
2550
+ @pulumi.getter(name="payloadFormat")
2551
+ def payload_format(self) -> str:
2546
2552
  """
2547
- SSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets
2553
+ The desired format of the notification message payloads. One of "NONE" or "JSON".
2548
2554
  """
2549
- return pulumi.get(self, "temporary_hold")
2555
+ return pulumi.get(self, "payload_format")
2550
2556
 
2551
2557
  @property
2552
- @pulumi.getter(name="timeCreated")
2553
- def time_created(self) -> Optional[str]:
2558
+ @pulumi.getter(name="pubsubTopic")
2559
+ def pubsub_topic(self) -> str:
2554
2560
  """
2555
- Specifies how each object's timeCreated metadata is preserved for transfers.
2561
+ The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.
2556
2562
  """
2557
- return pulumi.get(self, "time_created")
2563
+ return pulumi.get(self, "pubsub_topic")
2558
2564
 
2559
2565
  @property
2560
- @pulumi.getter
2561
- def uid(self) -> Optional[str]:
2566
+ @pulumi.getter(name="eventTypes")
2567
+ def event_types(self) -> Optional[Sequence[str]]:
2562
2568
  """
2563
- Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
2569
+ Event types for which a notification is desired. If empty, send notifications for all event types. The valid types are "TRANSFER_OPERATION_SUCCESS", "TRANSFER_OPERATION_FAILED", "TRANSFER_OPERATION_ABORTED".
2564
2570
  """
2565
- return pulumi.get(self, "uid")
2571
+ return pulumi.get(self, "event_types")
2566
2572
 
2567
2573
 
2568
2574
  @pulumi.output_type
2569
- class TransferJobSchedule(dict):
2575
+ class TransferJobReplicationSpec(dict):
2570
2576
  @staticmethod
2571
2577
  def __key_warning(key: str):
2572
2578
  suggest = None
2573
- if key == "scheduleStartDate":
2574
- suggest = "schedule_start_date"
2575
- elif key == "repeatInterval":
2576
- suggest = "repeat_interval"
2577
- elif key == "scheduleEndDate":
2578
- suggest = "schedule_end_date"
2579
- elif key == "startTimeOfDay":
2580
- suggest = "start_time_of_day"
2579
+ if key == "gcsDataSink":
2580
+ suggest = "gcs_data_sink"
2581
+ elif key == "gcsDataSource":
2582
+ suggest = "gcs_data_source"
2583
+ elif key == "objectConditions":
2584
+ suggest = "object_conditions"
2585
+ elif key == "transferOptions":
2586
+ suggest = "transfer_options"
2581
2587
 
2582
2588
  if suggest:
2583
- pulumi.log.warn(f"Key '{key}' not found in TransferJobSchedule. Access the value via the '{suggest}' property getter instead.")
2589
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpec. Access the value via the '{suggest}' property getter instead.")
2584
2590
 
2585
2591
  def __getitem__(self, key: str) -> Any:
2586
- TransferJobSchedule.__key_warning(key)
2592
+ TransferJobReplicationSpec.__key_warning(key)
2587
2593
  return super().__getitem__(key)
2588
2594
 
2589
2595
  def get(self, key: str, default = None) -> Any:
2590
- TransferJobSchedule.__key_warning(key)
2596
+ TransferJobReplicationSpec.__key_warning(key)
2591
2597
  return super().get(key, default)
2592
2598
 
2593
2599
  def __init__(__self__, *,
2594
- schedule_start_date: 'outputs.TransferJobScheduleScheduleStartDate',
2595
- repeat_interval: Optional[str] = None,
2596
- schedule_end_date: Optional['outputs.TransferJobScheduleScheduleEndDate'] = None,
2597
- start_time_of_day: Optional['outputs.TransferJobScheduleStartTimeOfDay'] = None):
2600
+ gcs_data_sink: Optional['outputs.TransferJobReplicationSpecGcsDataSink'] = None,
2601
+ gcs_data_source: Optional['outputs.TransferJobReplicationSpecGcsDataSource'] = None,
2602
+ object_conditions: Optional['outputs.TransferJobReplicationSpecObjectConditions'] = None,
2603
+ transfer_options: Optional['outputs.TransferJobReplicationSpecTransferOptions'] = None):
2598
2604
  """
2599
- :param 'TransferJobScheduleScheduleStartDateArgs' schedule_start_date: The first day the recurring transfer is scheduled to run. If `schedule_start_date` is in the past, the transfer will run for the first time on the following day. Structure documented below.
2600
- :param str repeat_interval: Interval between the start of each scheduled transfer. If unspecified, the default value is 24 hours. This value may not be less than 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2601
- :param 'TransferJobScheduleScheduleEndDateArgs' schedule_end_date: The last day the recurring transfer will be run. If `schedule_end_date` is the same as `schedule_start_date`, the transfer will be executed only once. Structure documented below.
2602
- :param 'TransferJobScheduleStartTimeOfDayArgs' start_time_of_day: The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, recurring and one-time transfers that are scheduled to run today will run immediately; recurring transfers that are scheduled to run on a future date will start at approximately midnight UTC on that date. Note that when configuring a transfer with the Cloud Platform Console, the transfer's start time in a day is specified in your local timezone. Structure documented below.
2605
+ :param 'TransferJobReplicationSpecGcsDataSinkArgs' gcs_data_sink: A Google Cloud Storage data sink. Structure documented below.
2606
+ :param 'TransferJobReplicationSpecGcsDataSourceArgs' gcs_data_source: A Google Cloud Storage data source. Structure documented below.
2607
+ :param 'TransferJobReplicationSpecObjectConditionsArgs' object_conditions: Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `last_modification_time` do not exclude objects in a data sink. Structure documented below.
2608
+ :param 'TransferJobReplicationSpecTransferOptionsArgs' transfer_options: Characteristics of how to treat files from datasource and sink during job. If the option `delete_objects_unique_in_sink` is true, object conditions based on objects' `last_modification_time` are ignored and do not exclude objects in a data source or a data sink. Structure documented below.
2603
2609
  """
2604
- pulumi.set(__self__, "schedule_start_date", schedule_start_date)
2605
- if repeat_interval is not None:
2606
- pulumi.set(__self__, "repeat_interval", repeat_interval)
2607
- if schedule_end_date is not None:
2608
- pulumi.set(__self__, "schedule_end_date", schedule_end_date)
2609
- if start_time_of_day is not None:
2610
- pulumi.set(__self__, "start_time_of_day", start_time_of_day)
2610
+ if gcs_data_sink is not None:
2611
+ pulumi.set(__self__, "gcs_data_sink", gcs_data_sink)
2612
+ if gcs_data_source is not None:
2613
+ pulumi.set(__self__, "gcs_data_source", gcs_data_source)
2614
+ if object_conditions is not None:
2615
+ pulumi.set(__self__, "object_conditions", object_conditions)
2616
+ if transfer_options is not None:
2617
+ pulumi.set(__self__, "transfer_options", transfer_options)
2611
2618
 
2612
2619
  @property
2613
- @pulumi.getter(name="scheduleStartDate")
2614
- def schedule_start_date(self) -> 'outputs.TransferJobScheduleScheduleStartDate':
2620
+ @pulumi.getter(name="gcsDataSink")
2621
+ def gcs_data_sink(self) -> Optional['outputs.TransferJobReplicationSpecGcsDataSink']:
2615
2622
  """
2616
- The first day the recurring transfer is scheduled to run. If `schedule_start_date` is in the past, the transfer will run for the first time on the following day. Structure documented below.
2623
+ A Google Cloud Storage data sink. Structure documented below.
2617
2624
  """
2618
- return pulumi.get(self, "schedule_start_date")
2625
+ return pulumi.get(self, "gcs_data_sink")
2619
2626
 
2620
2627
  @property
2621
- @pulumi.getter(name="repeatInterval")
2622
- def repeat_interval(self) -> Optional[str]:
2628
+ @pulumi.getter(name="gcsDataSource")
2629
+ def gcs_data_source(self) -> Optional['outputs.TransferJobReplicationSpecGcsDataSource']:
2623
2630
  """
2624
- Interval between the start of each scheduled transfer. If unspecified, the default value is 24 hours. This value may not be less than 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2631
+ A Google Cloud Storage data source. Structure documented below.
2625
2632
  """
2626
- return pulumi.get(self, "repeat_interval")
2633
+ return pulumi.get(self, "gcs_data_source")
2627
2634
 
2628
2635
  @property
2629
- @pulumi.getter(name="scheduleEndDate")
2630
- def schedule_end_date(self) -> Optional['outputs.TransferJobScheduleScheduleEndDate']:
2636
+ @pulumi.getter(name="objectConditions")
2637
+ def object_conditions(self) -> Optional['outputs.TransferJobReplicationSpecObjectConditions']:
2631
2638
  """
2632
- The last day the recurring transfer will be run. If `schedule_end_date` is the same as `schedule_start_date`, the transfer will be executed only once. Structure documented below.
2639
+ Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `last_modification_time` do not exclude objects in a data sink. Structure documented below.
2633
2640
  """
2634
- return pulumi.get(self, "schedule_end_date")
2641
+ return pulumi.get(self, "object_conditions")
2635
2642
 
2636
2643
  @property
2637
- @pulumi.getter(name="startTimeOfDay")
2638
- def start_time_of_day(self) -> Optional['outputs.TransferJobScheduleStartTimeOfDay']:
2644
+ @pulumi.getter(name="transferOptions")
2645
+ def transfer_options(self) -> Optional['outputs.TransferJobReplicationSpecTransferOptions']:
2639
2646
  """
2640
- The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, recurring and one-time transfers that are scheduled to run today will run immediately; recurring transfers that are scheduled to run on a future date will start at approximately midnight UTC on that date. Note that when configuring a transfer with the Cloud Platform Console, the transfer's start time in a day is specified in your local timezone. Structure documented below.
2647
+ Characteristics of how to treat files from datasource and sink during job. If the option `delete_objects_unique_in_sink` is true, object conditions based on objects' `last_modification_time` are ignored and do not exclude objects in a data source or a data sink. Structure documented below.
2641
2648
  """
2642
- return pulumi.get(self, "start_time_of_day")
2649
+ return pulumi.get(self, "transfer_options")
2643
2650
 
2644
2651
 
2645
2652
  @pulumi.output_type
2646
- class TransferJobScheduleScheduleEndDate(dict):
2647
- def __init__(__self__, *,
2648
- day: int,
2649
- month: int,
2650
- year: int):
2651
- """
2652
- :param int day: Day of month. Must be from 1 to 31 and valid for the year and month.
2653
+ class TransferJobReplicationSpecGcsDataSink(dict):
2654
+ @staticmethod
2655
+ def __key_warning(key: str):
2656
+ suggest = None
2657
+ if key == "bucketName":
2658
+ suggest = "bucket_name"
2659
+
2660
+ if suggest:
2661
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecGcsDataSink. Access the value via the '{suggest}' property getter instead.")
2662
+
2663
+ def __getitem__(self, key: str) -> Any:
2664
+ TransferJobReplicationSpecGcsDataSink.__key_warning(key)
2665
+ return super().__getitem__(key)
2666
+
2667
+ def get(self, key: str, default = None) -> Any:
2668
+ TransferJobReplicationSpecGcsDataSink.__key_warning(key)
2669
+ return super().get(key, default)
2670
+
2671
+ def __init__(__self__, *,
2672
+ bucket_name: str,
2673
+ path: Optional[str] = None):
2674
+ """
2675
+ :param str bucket_name: Google Cloud Storage bucket name.
2676
+ :param str path: Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2677
+ """
2678
+ pulumi.set(__self__, "bucket_name", bucket_name)
2679
+ if path is not None:
2680
+ pulumi.set(__self__, "path", path)
2681
+
2682
+ @property
2683
+ @pulumi.getter(name="bucketName")
2684
+ def bucket_name(self) -> str:
2685
+ """
2686
+ Google Cloud Storage bucket name.
2687
+ """
2688
+ return pulumi.get(self, "bucket_name")
2689
+
2690
+ @property
2691
+ @pulumi.getter
2692
+ def path(self) -> Optional[str]:
2693
+ """
2694
+ Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2695
+ """
2696
+ return pulumi.get(self, "path")
2697
+
2698
+
2699
+ @pulumi.output_type
2700
+ class TransferJobReplicationSpecGcsDataSource(dict):
2701
+ @staticmethod
2702
+ def __key_warning(key: str):
2703
+ suggest = None
2704
+ if key == "bucketName":
2705
+ suggest = "bucket_name"
2706
+
2707
+ if suggest:
2708
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecGcsDataSource. Access the value via the '{suggest}' property getter instead.")
2709
+
2710
+ def __getitem__(self, key: str) -> Any:
2711
+ TransferJobReplicationSpecGcsDataSource.__key_warning(key)
2712
+ return super().__getitem__(key)
2713
+
2714
+ def get(self, key: str, default = None) -> Any:
2715
+ TransferJobReplicationSpecGcsDataSource.__key_warning(key)
2716
+ return super().get(key, default)
2717
+
2718
+ def __init__(__self__, *,
2719
+ bucket_name: str,
2720
+ path: Optional[str] = None):
2721
+ """
2722
+ :param str bucket_name: Google Cloud Storage bucket name.
2723
+ :param str path: Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2724
+ """
2725
+ pulumi.set(__self__, "bucket_name", bucket_name)
2726
+ if path is not None:
2727
+ pulumi.set(__self__, "path", path)
2728
+
2729
+ @property
2730
+ @pulumi.getter(name="bucketName")
2731
+ def bucket_name(self) -> str:
2732
+ """
2733
+ Google Cloud Storage bucket name.
2734
+ """
2735
+ return pulumi.get(self, "bucket_name")
2736
+
2737
+ @property
2738
+ @pulumi.getter
2739
+ def path(self) -> Optional[str]:
2740
+ """
2741
+ Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2742
+ """
2743
+ return pulumi.get(self, "path")
2744
+
2745
+
2746
+ @pulumi.output_type
2747
+ class TransferJobReplicationSpecObjectConditions(dict):
2748
+ @staticmethod
2749
+ def __key_warning(key: str):
2750
+ suggest = None
2751
+ if key == "excludePrefixes":
2752
+ suggest = "exclude_prefixes"
2753
+ elif key == "includePrefixes":
2754
+ suggest = "include_prefixes"
2755
+ elif key == "lastModifiedBefore":
2756
+ suggest = "last_modified_before"
2757
+ elif key == "lastModifiedSince":
2758
+ suggest = "last_modified_since"
2759
+ elif key == "maxTimeElapsedSinceLastModification":
2760
+ suggest = "max_time_elapsed_since_last_modification"
2761
+ elif key == "minTimeElapsedSinceLastModification":
2762
+ suggest = "min_time_elapsed_since_last_modification"
2763
+
2764
+ if suggest:
2765
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecObjectConditions. Access the value via the '{suggest}' property getter instead.")
2766
+
2767
+ def __getitem__(self, key: str) -> Any:
2768
+ TransferJobReplicationSpecObjectConditions.__key_warning(key)
2769
+ return super().__getitem__(key)
2770
+
2771
+ def get(self, key: str, default = None) -> Any:
2772
+ TransferJobReplicationSpecObjectConditions.__key_warning(key)
2773
+ return super().get(key, default)
2774
+
2775
+ def __init__(__self__, *,
2776
+ exclude_prefixes: Optional[Sequence[str]] = None,
2777
+ include_prefixes: Optional[Sequence[str]] = None,
2778
+ last_modified_before: Optional[str] = None,
2779
+ last_modified_since: Optional[str] = None,
2780
+ max_time_elapsed_since_last_modification: Optional[str] = None,
2781
+ min_time_elapsed_since_last_modification: Optional[str] = None):
2782
+ """
2783
+ :param Sequence[str] exclude_prefixes: `exclude_prefixes` must follow the requirements described for `include_prefixes`. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
2784
+ :param Sequence[str] include_prefixes: If `include_prefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `include_prefixes` and that do not start with any of the `exclude_prefixes`. If `include_prefixes` is not specified, all objects except those that have names starting with one of the `exclude_prefixes` must satisfy the object conditions. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
2785
+ :param str last_modified_before: If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2786
+ :param str last_modified_since: If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2787
+ :param str max_time_elapsed_since_last_modification: A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2788
+ :param str min_time_elapsed_since_last_modification: A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2789
+ """
2790
+ if exclude_prefixes is not None:
2791
+ pulumi.set(__self__, "exclude_prefixes", exclude_prefixes)
2792
+ if include_prefixes is not None:
2793
+ pulumi.set(__self__, "include_prefixes", include_prefixes)
2794
+ if last_modified_before is not None:
2795
+ pulumi.set(__self__, "last_modified_before", last_modified_before)
2796
+ if last_modified_since is not None:
2797
+ pulumi.set(__self__, "last_modified_since", last_modified_since)
2798
+ if max_time_elapsed_since_last_modification is not None:
2799
+ pulumi.set(__self__, "max_time_elapsed_since_last_modification", max_time_elapsed_since_last_modification)
2800
+ if min_time_elapsed_since_last_modification is not None:
2801
+ pulumi.set(__self__, "min_time_elapsed_since_last_modification", min_time_elapsed_since_last_modification)
2802
+
2803
+ @property
2804
+ @pulumi.getter(name="excludePrefixes")
2805
+ def exclude_prefixes(self) -> Optional[Sequence[str]]:
2806
+ """
2807
+ `exclude_prefixes` must follow the requirements described for `include_prefixes`. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
2808
+ """
2809
+ return pulumi.get(self, "exclude_prefixes")
2810
+
2811
+ @property
2812
+ @pulumi.getter(name="includePrefixes")
2813
+ def include_prefixes(self) -> Optional[Sequence[str]]:
2814
+ """
2815
+ If `include_prefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `include_prefixes` and that do not start with any of the `exclude_prefixes`. If `include_prefixes` is not specified, all objects except those that have names starting with one of the `exclude_prefixes` must satisfy the object conditions. See [Requirements](https://cloud.google.com/storage-transfer/docs/reference/rest/v1/TransferSpec#ObjectConditions).
2816
+ """
2817
+ return pulumi.get(self, "include_prefixes")
2818
+
2819
+ @property
2820
+ @pulumi.getter(name="lastModifiedBefore")
2821
+ def last_modified_before(self) -> Optional[str]:
2822
+ """
2823
+ If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2824
+ """
2825
+ return pulumi.get(self, "last_modified_before")
2826
+
2827
+ @property
2828
+ @pulumi.getter(name="lastModifiedSince")
2829
+ def last_modified_since(self) -> Optional[str]:
2830
+ """
2831
+ If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
2832
+ """
2833
+ return pulumi.get(self, "last_modified_since")
2834
+
2835
+ @property
2836
+ @pulumi.getter(name="maxTimeElapsedSinceLastModification")
2837
+ def max_time_elapsed_since_last_modification(self) -> Optional[str]:
2838
+ """
2839
+ A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2840
+ """
2841
+ return pulumi.get(self, "max_time_elapsed_since_last_modification")
2842
+
2843
+ @property
2844
+ @pulumi.getter(name="minTimeElapsedSinceLastModification")
2845
+ def min_time_elapsed_since_last_modification(self) -> Optional[str]:
2846
+ """
2847
+ A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2848
+ """
2849
+ return pulumi.get(self, "min_time_elapsed_since_last_modification")
2850
+
2851
+
2852
+ @pulumi.output_type
2853
+ class TransferJobReplicationSpecTransferOptions(dict):
2854
+ @staticmethod
2855
+ def __key_warning(key: str):
2856
+ suggest = None
2857
+ if key == "deleteObjectsFromSourceAfterTransfer":
2858
+ suggest = "delete_objects_from_source_after_transfer"
2859
+ elif key == "deleteObjectsUniqueInSink":
2860
+ suggest = "delete_objects_unique_in_sink"
2861
+ elif key == "metadataOptions":
2862
+ suggest = "metadata_options"
2863
+ elif key == "overwriteObjectsAlreadyExistingInSink":
2864
+ suggest = "overwrite_objects_already_existing_in_sink"
2865
+ elif key == "overwriteWhen":
2866
+ suggest = "overwrite_when"
2867
+
2868
+ if suggest:
2869
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecTransferOptions. Access the value via the '{suggest}' property getter instead.")
2870
+
2871
+ def __getitem__(self, key: str) -> Any:
2872
+ TransferJobReplicationSpecTransferOptions.__key_warning(key)
2873
+ return super().__getitem__(key)
2874
+
2875
+ def get(self, key: str, default = None) -> Any:
2876
+ TransferJobReplicationSpecTransferOptions.__key_warning(key)
2877
+ return super().get(key, default)
2878
+
2879
+ def __init__(__self__, *,
2880
+ delete_objects_from_source_after_transfer: Optional[bool] = None,
2881
+ delete_objects_unique_in_sink: Optional[bool] = None,
2882
+ metadata_options: Optional['outputs.TransferJobReplicationSpecTransferOptionsMetadataOptions'] = None,
2883
+ overwrite_objects_already_existing_in_sink: Optional[bool] = None,
2884
+ overwrite_when: Optional[str] = None):
2885
+ """
2886
+ :param bool delete_objects_from_source_after_transfer: Whether objects should be deleted from the source after they are transferred to the sink. Note that this option and `delete_objects_unique_in_sink` are mutually exclusive.
2887
+ :param bool delete_objects_unique_in_sink: Whether objects that exist only in the sink should be deleted. Note that this option and
2888
+ `delete_objects_from_source_after_transfer` are mutually exclusive.
2889
+ :param 'TransferJobReplicationSpecTransferOptionsMetadataOptionsArgs' metadata_options: Specifies the metadata options for running a transfer
2890
+ :param bool overwrite_objects_already_existing_in_sink: Whether overwriting objects that already exist in the sink is allowed.
2891
+ :param str overwrite_when: When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by `overwrite_objects_already_existing_in_sink`. Possible values: ALWAYS, DIFFERENT, NEVER.
2892
+ """
2893
+ if delete_objects_from_source_after_transfer is not None:
2894
+ pulumi.set(__self__, "delete_objects_from_source_after_transfer", delete_objects_from_source_after_transfer)
2895
+ if delete_objects_unique_in_sink is not None:
2896
+ pulumi.set(__self__, "delete_objects_unique_in_sink", delete_objects_unique_in_sink)
2897
+ if metadata_options is not None:
2898
+ pulumi.set(__self__, "metadata_options", metadata_options)
2899
+ if overwrite_objects_already_existing_in_sink is not None:
2900
+ pulumi.set(__self__, "overwrite_objects_already_existing_in_sink", overwrite_objects_already_existing_in_sink)
2901
+ if overwrite_when is not None:
2902
+ pulumi.set(__self__, "overwrite_when", overwrite_when)
2903
+
2904
+ @property
2905
+ @pulumi.getter(name="deleteObjectsFromSourceAfterTransfer")
2906
+ def delete_objects_from_source_after_transfer(self) -> Optional[bool]:
2907
+ """
2908
+ Whether objects should be deleted from the source after they are transferred to the sink. Note that this option and `delete_objects_unique_in_sink` are mutually exclusive.
2909
+ """
2910
+ return pulumi.get(self, "delete_objects_from_source_after_transfer")
2911
+
2912
+ @property
2913
+ @pulumi.getter(name="deleteObjectsUniqueInSink")
2914
+ def delete_objects_unique_in_sink(self) -> Optional[bool]:
2915
+ """
2916
+ Whether objects that exist only in the sink should be deleted. Note that this option and
2917
+ `delete_objects_from_source_after_transfer` are mutually exclusive.
2918
+ """
2919
+ return pulumi.get(self, "delete_objects_unique_in_sink")
2920
+
2921
+ @property
2922
+ @pulumi.getter(name="metadataOptions")
2923
+ def metadata_options(self) -> Optional['outputs.TransferJobReplicationSpecTransferOptionsMetadataOptions']:
2924
+ """
2925
+ Specifies the metadata options for running a transfer
2926
+ """
2927
+ return pulumi.get(self, "metadata_options")
2928
+
2929
+ @property
2930
+ @pulumi.getter(name="overwriteObjectsAlreadyExistingInSink")
2931
+ def overwrite_objects_already_existing_in_sink(self) -> Optional[bool]:
2932
+ """
2933
+ Whether overwriting objects that already exist in the sink is allowed.
2934
+ """
2935
+ return pulumi.get(self, "overwrite_objects_already_existing_in_sink")
2936
+
2937
+ @property
2938
+ @pulumi.getter(name="overwriteWhen")
2939
+ def overwrite_when(self) -> Optional[str]:
2940
+ """
2941
+ When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by `overwrite_objects_already_existing_in_sink`. Possible values: ALWAYS, DIFFERENT, NEVER.
2942
+ """
2943
+ return pulumi.get(self, "overwrite_when")
2944
+
2945
+
2946
+ @pulumi.output_type
2947
+ class TransferJobReplicationSpecTransferOptionsMetadataOptions(dict):
2948
+ @staticmethod
2949
+ def __key_warning(key: str):
2950
+ suggest = None
2951
+ if key == "kmsKey":
2952
+ suggest = "kms_key"
2953
+ elif key == "storageClass":
2954
+ suggest = "storage_class"
2955
+ elif key == "temporaryHold":
2956
+ suggest = "temporary_hold"
2957
+ elif key == "timeCreated":
2958
+ suggest = "time_created"
2959
+
2960
+ if suggest:
2961
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobReplicationSpecTransferOptionsMetadataOptions. Access the value via the '{suggest}' property getter instead.")
2962
+
2963
+ def __getitem__(self, key: str) -> Any:
2964
+ TransferJobReplicationSpecTransferOptionsMetadataOptions.__key_warning(key)
2965
+ return super().__getitem__(key)
2966
+
2967
+ def get(self, key: str, default = None) -> Any:
2968
+ TransferJobReplicationSpecTransferOptionsMetadataOptions.__key_warning(key)
2969
+ return super().get(key, default)
2970
+
2971
+ def __init__(__self__, *,
2972
+ acl: Optional[str] = None,
2973
+ gid: Optional[str] = None,
2974
+ kms_key: Optional[str] = None,
2975
+ mode: Optional[str] = None,
2976
+ storage_class: Optional[str] = None,
2977
+ symlink: Optional[str] = None,
2978
+ temporary_hold: Optional[str] = None,
2979
+ time_created: Optional[str] = None,
2980
+ uid: Optional[str] = None):
2981
+ """
2982
+ :param str acl: Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets
2983
+ :param str gid: Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
2984
+ :param str kms_key: Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets
2985
+ :param str mode: Specifies how each file's mode attribute should be handled by the transfer.
2986
+ :param str storage_class: Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets
2987
+ :param str symlink: Specifies how symlinks should be handled by the transfer.
2988
+ :param str temporary_hold: SSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets
2989
+ :param str time_created: Specifies how each object's timeCreated metadata is preserved for transfers.
2990
+ :param str uid: Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
2991
+ """
2992
+ if acl is not None:
2993
+ pulumi.set(__self__, "acl", acl)
2994
+ if gid is not None:
2995
+ pulumi.set(__self__, "gid", gid)
2996
+ if kms_key is not None:
2997
+ pulumi.set(__self__, "kms_key", kms_key)
2998
+ if mode is not None:
2999
+ pulumi.set(__self__, "mode", mode)
3000
+ if storage_class is not None:
3001
+ pulumi.set(__self__, "storage_class", storage_class)
3002
+ if symlink is not None:
3003
+ pulumi.set(__self__, "symlink", symlink)
3004
+ if temporary_hold is not None:
3005
+ pulumi.set(__self__, "temporary_hold", temporary_hold)
3006
+ if time_created is not None:
3007
+ pulumi.set(__self__, "time_created", time_created)
3008
+ if uid is not None:
3009
+ pulumi.set(__self__, "uid", uid)
3010
+
3011
+ @property
3012
+ @pulumi.getter
3013
+ def acl(self) -> Optional[str]:
3014
+ """
3015
+ Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets
3016
+ """
3017
+ return pulumi.get(self, "acl")
3018
+
3019
+ @property
3020
+ @pulumi.getter
3021
+ def gid(self) -> Optional[str]:
3022
+ """
3023
+ Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
3024
+ """
3025
+ return pulumi.get(self, "gid")
3026
+
3027
+ @property
3028
+ @pulumi.getter(name="kmsKey")
3029
+ def kms_key(self) -> Optional[str]:
3030
+ """
3031
+ Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets
3032
+ """
3033
+ return pulumi.get(self, "kms_key")
3034
+
3035
+ @property
3036
+ @pulumi.getter
3037
+ def mode(self) -> Optional[str]:
3038
+ """
3039
+ Specifies how each file's mode attribute should be handled by the transfer.
3040
+ """
3041
+ return pulumi.get(self, "mode")
3042
+
3043
+ @property
3044
+ @pulumi.getter(name="storageClass")
3045
+ def storage_class(self) -> Optional[str]:
3046
+ """
3047
+ Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets
3048
+ """
3049
+ return pulumi.get(self, "storage_class")
3050
+
3051
+ @property
3052
+ @pulumi.getter
3053
+ def symlink(self) -> Optional[str]:
3054
+ """
3055
+ Specifies how symlinks should be handled by the transfer.
3056
+ """
3057
+ return pulumi.get(self, "symlink")
3058
+
3059
+ @property
3060
+ @pulumi.getter(name="temporaryHold")
3061
+ def temporary_hold(self) -> Optional[str]:
3062
+ """
3063
+ SSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets
3064
+ """
3065
+ return pulumi.get(self, "temporary_hold")
3066
+
3067
+ @property
3068
+ @pulumi.getter(name="timeCreated")
3069
+ def time_created(self) -> Optional[str]:
3070
+ """
3071
+ Specifies how each object's timeCreated metadata is preserved for transfers.
3072
+ """
3073
+ return pulumi.get(self, "time_created")
3074
+
3075
+ @property
3076
+ @pulumi.getter
3077
+ def uid(self) -> Optional[str]:
3078
+ """
3079
+ Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
3080
+ """
3081
+ return pulumi.get(self, "uid")
3082
+
3083
+
3084
+ @pulumi.output_type
3085
+ class TransferJobSchedule(dict):
3086
+ @staticmethod
3087
+ def __key_warning(key: str):
3088
+ suggest = None
3089
+ if key == "scheduleStartDate":
3090
+ suggest = "schedule_start_date"
3091
+ elif key == "repeatInterval":
3092
+ suggest = "repeat_interval"
3093
+ elif key == "scheduleEndDate":
3094
+ suggest = "schedule_end_date"
3095
+ elif key == "startTimeOfDay":
3096
+ suggest = "start_time_of_day"
3097
+
3098
+ if suggest:
3099
+ pulumi.log.warn(f"Key '{key}' not found in TransferJobSchedule. Access the value via the '{suggest}' property getter instead.")
3100
+
3101
+ def __getitem__(self, key: str) -> Any:
3102
+ TransferJobSchedule.__key_warning(key)
3103
+ return super().__getitem__(key)
3104
+
3105
+ def get(self, key: str, default = None) -> Any:
3106
+ TransferJobSchedule.__key_warning(key)
3107
+ return super().get(key, default)
3108
+
3109
+ def __init__(__self__, *,
3110
+ schedule_start_date: 'outputs.TransferJobScheduleScheduleStartDate',
3111
+ repeat_interval: Optional[str] = None,
3112
+ schedule_end_date: Optional['outputs.TransferJobScheduleScheduleEndDate'] = None,
3113
+ start_time_of_day: Optional['outputs.TransferJobScheduleStartTimeOfDay'] = None):
3114
+ """
3115
+ :param 'TransferJobScheduleScheduleStartDateArgs' schedule_start_date: The first day the recurring transfer is scheduled to run. If `schedule_start_date` is in the past, the transfer will run for the first time on the following day. Structure documented below.
3116
+ :param str repeat_interval: Interval between the start of each scheduled transfer. If unspecified, the default value is 24 hours. This value may not be less than 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
3117
+ :param 'TransferJobScheduleScheduleEndDateArgs' schedule_end_date: The last day the recurring transfer will be run. If `schedule_end_date` is the same as `schedule_start_date`, the transfer will be executed only once. Structure documented below.
3118
+ :param 'TransferJobScheduleStartTimeOfDayArgs' start_time_of_day: The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, recurring and one-time transfers that are scheduled to run today will run immediately; recurring transfers that are scheduled to run on a future date will start at approximately midnight UTC on that date. Note that when configuring a transfer with the Cloud Platform Console, the transfer's start time in a day is specified in your local timezone. Structure documented below.
3119
+ """
3120
+ pulumi.set(__self__, "schedule_start_date", schedule_start_date)
3121
+ if repeat_interval is not None:
3122
+ pulumi.set(__self__, "repeat_interval", repeat_interval)
3123
+ if schedule_end_date is not None:
3124
+ pulumi.set(__self__, "schedule_end_date", schedule_end_date)
3125
+ if start_time_of_day is not None:
3126
+ pulumi.set(__self__, "start_time_of_day", start_time_of_day)
3127
+
3128
+ @property
3129
+ @pulumi.getter(name="scheduleStartDate")
3130
+ def schedule_start_date(self) -> 'outputs.TransferJobScheduleScheduleStartDate':
3131
+ """
3132
+ The first day the recurring transfer is scheduled to run. If `schedule_start_date` is in the past, the transfer will run for the first time on the following day. Structure documented below.
3133
+ """
3134
+ return pulumi.get(self, "schedule_start_date")
3135
+
3136
+ @property
3137
+ @pulumi.getter(name="repeatInterval")
3138
+ def repeat_interval(self) -> Optional[str]:
3139
+ """
3140
+ Interval between the start of each scheduled transfer. If unspecified, the default value is 24 hours. This value may not be less than 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
3141
+ """
3142
+ return pulumi.get(self, "repeat_interval")
3143
+
3144
+ @property
3145
+ @pulumi.getter(name="scheduleEndDate")
3146
+ def schedule_end_date(self) -> Optional['outputs.TransferJobScheduleScheduleEndDate']:
3147
+ """
3148
+ The last day the recurring transfer will be run. If `schedule_end_date` is the same as `schedule_start_date`, the transfer will be executed only once. Structure documented below.
3149
+ """
3150
+ return pulumi.get(self, "schedule_end_date")
3151
+
3152
+ @property
3153
+ @pulumi.getter(name="startTimeOfDay")
3154
+ def start_time_of_day(self) -> Optional['outputs.TransferJobScheduleStartTimeOfDay']:
3155
+ """
3156
+ The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, recurring and one-time transfers that are scheduled to run today will run immediately; recurring transfers that are scheduled to run on a future date will start at approximately midnight UTC on that date. Note that when configuring a transfer with the Cloud Platform Console, the transfer's start time in a day is specified in your local timezone. Structure documented below.
3157
+ """
3158
+ return pulumi.get(self, "start_time_of_day")
3159
+
3160
+
3161
+ @pulumi.output_type
3162
+ class TransferJobScheduleScheduleEndDate(dict):
3163
+ def __init__(__self__, *,
3164
+ day: int,
3165
+ month: int,
3166
+ year: int):
3167
+ """
3168
+ :param int day: Day of month. Must be from 1 to 31 and valid for the year and month.
2653
3169
  :param int month: Month of year. Must be from 1 to 12.
2654
3170
  :param int year: Year of date. Must be from 1 to 9999.
2655
3171
  """
@@ -3649,861 +4165,1165 @@ class TransferJobTransferSpecTransferOptionsMetadataOptions(dict):
3649
4165
  TransferJobTransferSpecTransferOptionsMetadataOptions.__key_warning(key)
3650
4166
  return super().__getitem__(key)
3651
4167
 
3652
- def get(self, key: str, default = None) -> Any:
3653
- TransferJobTransferSpecTransferOptionsMetadataOptions.__key_warning(key)
3654
- return super().get(key, default)
4168
+ def get(self, key: str, default = None) -> Any:
4169
+ TransferJobTransferSpecTransferOptionsMetadataOptions.__key_warning(key)
4170
+ return super().get(key, default)
4171
+
4172
+ def __init__(__self__, *,
4173
+ acl: Optional[str] = None,
4174
+ gid: Optional[str] = None,
4175
+ kms_key: Optional[str] = None,
4176
+ mode: Optional[str] = None,
4177
+ storage_class: Optional[str] = None,
4178
+ symlink: Optional[str] = None,
4179
+ temporary_hold: Optional[str] = None,
4180
+ time_created: Optional[str] = None,
4181
+ uid: Optional[str] = None):
4182
+ """
4183
+ :param str acl: Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets
4184
+ :param str gid: Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
4185
+ :param str kms_key: Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets
4186
+ :param str mode: Specifies how each file's mode attribute should be handled by the transfer.
4187
+ :param str storage_class: Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets
4188
+ :param str symlink: Specifies how symlinks should be handled by the transfer.
4189
+ :param str temporary_hold: SSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets
4190
+ :param str time_created: Specifies how each object's timeCreated metadata is preserved for transfers.
4191
+ :param str uid: Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
4192
+ """
4193
+ if acl is not None:
4194
+ pulumi.set(__self__, "acl", acl)
4195
+ if gid is not None:
4196
+ pulumi.set(__self__, "gid", gid)
4197
+ if kms_key is not None:
4198
+ pulumi.set(__self__, "kms_key", kms_key)
4199
+ if mode is not None:
4200
+ pulumi.set(__self__, "mode", mode)
4201
+ if storage_class is not None:
4202
+ pulumi.set(__self__, "storage_class", storage_class)
4203
+ if symlink is not None:
4204
+ pulumi.set(__self__, "symlink", symlink)
4205
+ if temporary_hold is not None:
4206
+ pulumi.set(__self__, "temporary_hold", temporary_hold)
4207
+ if time_created is not None:
4208
+ pulumi.set(__self__, "time_created", time_created)
4209
+ if uid is not None:
4210
+ pulumi.set(__self__, "uid", uid)
4211
+
4212
+ @property
4213
+ @pulumi.getter
4214
+ def acl(self) -> Optional[str]:
4215
+ """
4216
+ Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets
4217
+ """
4218
+ return pulumi.get(self, "acl")
4219
+
4220
+ @property
4221
+ @pulumi.getter
4222
+ def gid(self) -> Optional[str]:
4223
+ """
4224
+ Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
4225
+ """
4226
+ return pulumi.get(self, "gid")
4227
+
4228
+ @property
4229
+ @pulumi.getter(name="kmsKey")
4230
+ def kms_key(self) -> Optional[str]:
4231
+ """
4232
+ Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets
4233
+ """
4234
+ return pulumi.get(self, "kms_key")
4235
+
4236
+ @property
4237
+ @pulumi.getter
4238
+ def mode(self) -> Optional[str]:
4239
+ """
4240
+ Specifies how each file's mode attribute should be handled by the transfer.
4241
+ """
4242
+ return pulumi.get(self, "mode")
4243
+
4244
+ @property
4245
+ @pulumi.getter(name="storageClass")
4246
+ def storage_class(self) -> Optional[str]:
4247
+ """
4248
+ Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets
4249
+ """
4250
+ return pulumi.get(self, "storage_class")
4251
+
4252
+ @property
4253
+ @pulumi.getter
4254
+ def symlink(self) -> Optional[str]:
4255
+ """
4256
+ Specifies how symlinks should be handled by the transfer.
4257
+ """
4258
+ return pulumi.get(self, "symlink")
4259
+
4260
+ @property
4261
+ @pulumi.getter(name="temporaryHold")
4262
+ def temporary_hold(self) -> Optional[str]:
4263
+ """
4264
+ SSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets
4265
+ """
4266
+ return pulumi.get(self, "temporary_hold")
4267
+
4268
+ @property
4269
+ @pulumi.getter(name="timeCreated")
4270
+ def time_created(self) -> Optional[str]:
4271
+ """
4272
+ Specifies how each object's timeCreated metadata is preserved for transfers.
4273
+ """
4274
+ return pulumi.get(self, "time_created")
4275
+
4276
+ @property
4277
+ @pulumi.getter
4278
+ def uid(self) -> Optional[str]:
4279
+ """
4280
+ Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
4281
+ """
4282
+ return pulumi.get(self, "uid")
4283
+
4284
+
4285
+ @pulumi.output_type
4286
+ class GetBucketAutoclassResult(dict):
4287
+ def __init__(__self__, *,
4288
+ enabled: bool,
4289
+ terminal_storage_class: str):
4290
+ """
4291
+ :param bool enabled: While set to true, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern.
4292
+ :param str terminal_storage_class: The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Supported values include: NEARLINE, ARCHIVE.
4293
+ """
4294
+ pulumi.set(__self__, "enabled", enabled)
4295
+ pulumi.set(__self__, "terminal_storage_class", terminal_storage_class)
4296
+
4297
+ @property
4298
+ @pulumi.getter
4299
+ def enabled(self) -> bool:
4300
+ """
4301
+ While set to true, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern.
4302
+ """
4303
+ return pulumi.get(self, "enabled")
4304
+
4305
+ @property
4306
+ @pulumi.getter(name="terminalStorageClass")
4307
+ def terminal_storage_class(self) -> str:
4308
+ """
4309
+ The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Supported values include: NEARLINE, ARCHIVE.
4310
+ """
4311
+ return pulumi.get(self, "terminal_storage_class")
4312
+
4313
+
4314
+ @pulumi.output_type
4315
+ class GetBucketCorResult(dict):
4316
+ def __init__(__self__, *,
4317
+ max_age_seconds: int,
4318
+ methods: Sequence[str],
4319
+ origins: Sequence[str],
4320
+ response_headers: Sequence[str]):
4321
+ """
4322
+ :param int max_age_seconds: The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
4323
+ :param Sequence[str] methods: The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
4324
+ :param Sequence[str] origins: The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
4325
+ :param Sequence[str] response_headers: The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
4326
+ """
4327
+ pulumi.set(__self__, "max_age_seconds", max_age_seconds)
4328
+ pulumi.set(__self__, "methods", methods)
4329
+ pulumi.set(__self__, "origins", origins)
4330
+ pulumi.set(__self__, "response_headers", response_headers)
4331
+
4332
+ @property
4333
+ @pulumi.getter(name="maxAgeSeconds")
4334
+ def max_age_seconds(self) -> int:
4335
+ """
4336
+ The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
4337
+ """
4338
+ return pulumi.get(self, "max_age_seconds")
4339
+
4340
+ @property
4341
+ @pulumi.getter
4342
+ def methods(self) -> Sequence[str]:
4343
+ """
4344
+ The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
4345
+ """
4346
+ return pulumi.get(self, "methods")
4347
+
4348
+ @property
4349
+ @pulumi.getter
4350
+ def origins(self) -> Sequence[str]:
4351
+ """
4352
+ The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
4353
+ """
4354
+ return pulumi.get(self, "origins")
4355
+
4356
+ @property
4357
+ @pulumi.getter(name="responseHeaders")
4358
+ def response_headers(self) -> Sequence[str]:
4359
+ """
4360
+ The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
4361
+ """
4362
+ return pulumi.get(self, "response_headers")
4363
+
4364
+
4365
+ @pulumi.output_type
4366
+ class GetBucketCustomPlacementConfigResult(dict):
4367
+ def __init__(__self__, *,
4368
+ data_locations: Sequence[str]):
4369
+ """
4370
+ :param Sequence[str] data_locations: The list of individual regions that comprise a dual-region bucket. See the docs for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket.
4371
+ """
4372
+ pulumi.set(__self__, "data_locations", data_locations)
4373
+
4374
+ @property
4375
+ @pulumi.getter(name="dataLocations")
4376
+ def data_locations(self) -> Sequence[str]:
4377
+ """
4378
+ The list of individual regions that comprise a dual-region bucket. See the docs for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket.
4379
+ """
4380
+ return pulumi.get(self, "data_locations")
4381
+
4382
+
4383
+ @pulumi.output_type
4384
+ class GetBucketEncryptionResult(dict):
4385
+ def __init__(__self__, *,
4386
+ default_kms_key_name: str):
4387
+ """
4388
+ :param str default_kms_key_name: A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details.
4389
+ """
4390
+ pulumi.set(__self__, "default_kms_key_name", default_kms_key_name)
4391
+
4392
+ @property
4393
+ @pulumi.getter(name="defaultKmsKeyName")
4394
+ def default_kms_key_name(self) -> str:
4395
+ """
4396
+ A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details.
4397
+ """
4398
+ return pulumi.get(self, "default_kms_key_name")
4399
+
4400
+
4401
+ @pulumi.output_type
4402
+ class GetBucketHierarchicalNamespaceResult(dict):
4403
+ def __init__(__self__, *,
4404
+ enabled: bool):
4405
+ """
4406
+ :param bool enabled: Set this field true to organize bucket with logical file system structure.
4407
+ """
4408
+ pulumi.set(__self__, "enabled", enabled)
4409
+
4410
+ @property
4411
+ @pulumi.getter
4412
+ def enabled(self) -> bool:
4413
+ """
4414
+ Set this field true to organize bucket with logical file system structure.
4415
+ """
4416
+ return pulumi.get(self, "enabled")
4417
+
3655
4418
 
4419
+ @pulumi.output_type
4420
+ class GetBucketLifecycleRuleResult(dict):
3656
4421
  def __init__(__self__, *,
3657
- acl: Optional[str] = None,
3658
- gid: Optional[str] = None,
3659
- kms_key: Optional[str] = None,
3660
- mode: Optional[str] = None,
3661
- storage_class: Optional[str] = None,
3662
- symlink: Optional[str] = None,
3663
- temporary_hold: Optional[str] = None,
3664
- time_created: Optional[str] = None,
3665
- uid: Optional[str] = None):
4422
+ actions: Sequence['outputs.GetBucketLifecycleRuleActionResult'],
4423
+ conditions: Sequence['outputs.GetBucketLifecycleRuleConditionResult']):
3666
4424
  """
3667
- :param str acl: Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets
3668
- :param str gid: Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
3669
- :param str kms_key: Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets
3670
- :param str mode: Specifies how each file's mode attribute should be handled by the transfer.
3671
- :param str storage_class: Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets
3672
- :param str symlink: Specifies how symlinks should be handled by the transfer.
3673
- :param str temporary_hold: SSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets
3674
- :param str time_created: Specifies how each object's timeCreated metadata is preserved for transfers.
3675
- :param str uid: Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
4425
+ :param Sequence['GetBucketLifecycleRuleActionArgs'] actions: The Lifecycle Rule's action configuration. A single block of this type is supported.
4426
+ :param Sequence['GetBucketLifecycleRuleConditionArgs'] conditions: The Lifecycle Rule's condition configuration.
3676
4427
  """
3677
- if acl is not None:
3678
- pulumi.set(__self__, "acl", acl)
3679
- if gid is not None:
3680
- pulumi.set(__self__, "gid", gid)
3681
- if kms_key is not None:
3682
- pulumi.set(__self__, "kms_key", kms_key)
3683
- if mode is not None:
3684
- pulumi.set(__self__, "mode", mode)
3685
- if storage_class is not None:
3686
- pulumi.set(__self__, "storage_class", storage_class)
3687
- if symlink is not None:
3688
- pulumi.set(__self__, "symlink", symlink)
3689
- if temporary_hold is not None:
3690
- pulumi.set(__self__, "temporary_hold", temporary_hold)
3691
- if time_created is not None:
3692
- pulumi.set(__self__, "time_created", time_created)
3693
- if uid is not None:
3694
- pulumi.set(__self__, "uid", uid)
4428
+ pulumi.set(__self__, "actions", actions)
4429
+ pulumi.set(__self__, "conditions", conditions)
3695
4430
 
3696
4431
  @property
3697
4432
  @pulumi.getter
3698
- def acl(self) -> Optional[str]:
4433
+ def actions(self) -> Sequence['outputs.GetBucketLifecycleRuleActionResult']:
3699
4434
  """
3700
- Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets
4435
+ The Lifecycle Rule's action configuration. A single block of this type is supported.
3701
4436
  """
3702
- return pulumi.get(self, "acl")
4437
+ return pulumi.get(self, "actions")
3703
4438
 
3704
4439
  @property
3705
4440
  @pulumi.getter
3706
- def gid(self) -> Optional[str]:
4441
+ def conditions(self) -> Sequence['outputs.GetBucketLifecycleRuleConditionResult']:
3707
4442
  """
3708
- Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
4443
+ The Lifecycle Rule's condition configuration.
3709
4444
  """
3710
- return pulumi.get(self, "gid")
4445
+ return pulumi.get(self, "conditions")
4446
+
4447
+
4448
+ @pulumi.output_type
4449
+ class GetBucketLifecycleRuleActionResult(dict):
4450
+ def __init__(__self__, *,
4451
+ storage_class: str,
4452
+ type: str):
4453
+ """
4454
+ :param str storage_class: The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
4455
+ :param str type: The type of the action of this Lifecycle Rule. Supported values include: Delete, SetStorageClass and AbortIncompleteMultipartUpload.
4456
+ """
4457
+ pulumi.set(__self__, "storage_class", storage_class)
4458
+ pulumi.set(__self__, "type", type)
3711
4459
 
3712
4460
  @property
3713
- @pulumi.getter(name="kmsKey")
3714
- def kms_key(self) -> Optional[str]:
4461
+ @pulumi.getter(name="storageClass")
4462
+ def storage_class(self) -> str:
3715
4463
  """
3716
- Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets
4464
+ The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
3717
4465
  """
3718
- return pulumi.get(self, "kms_key")
4466
+ return pulumi.get(self, "storage_class")
3719
4467
 
3720
4468
  @property
3721
4469
  @pulumi.getter
3722
- def mode(self) -> Optional[str]:
4470
+ def type(self) -> str:
3723
4471
  """
3724
- Specifies how each file's mode attribute should be handled by the transfer.
4472
+ The type of the action of this Lifecycle Rule. Supported values include: Delete, SetStorageClass and AbortIncompleteMultipartUpload.
3725
4473
  """
3726
- return pulumi.get(self, "mode")
4474
+ return pulumi.get(self, "type")
3727
4475
 
3728
- @property
3729
- @pulumi.getter(name="storageClass")
3730
- def storage_class(self) -> Optional[str]:
4476
+
4477
+ @pulumi.output_type
4478
+ class GetBucketLifecycleRuleConditionResult(dict):
4479
+ def __init__(__self__, *,
4480
+ age: int,
4481
+ created_before: str,
4482
+ custom_time_before: str,
4483
+ days_since_custom_time: int,
4484
+ days_since_noncurrent_time: int,
4485
+ matches_prefixes: Sequence[str],
4486
+ matches_storage_classes: Sequence[str],
4487
+ matches_suffixes: Sequence[str],
4488
+ noncurrent_time_before: str,
4489
+ num_newer_versions: int,
4490
+ send_age_if_zero: bool,
4491
+ send_days_since_custom_time_if_zero: bool,
4492
+ send_days_since_noncurrent_time_if_zero: bool,
4493
+ send_num_newer_versions_if_zero: bool,
4494
+ with_state: str):
3731
4495
  """
3732
- Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets
4496
+ :param int age: Minimum age of an object in days to satisfy this condition.
4497
+ :param str created_before: Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
4498
+ :param str custom_time_before: Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
4499
+ :param int days_since_custom_time: Number of days elapsed since the user-specified timestamp set on an object.
4500
+ :param int days_since_noncurrent_time: Number of days elapsed since the noncurrent timestamp of an object. This
4501
+ condition is relevant only for versioned objects.
4502
+ :param Sequence[str] matches_prefixes: One or more matching name prefixes to satisfy this condition.
4503
+ :param Sequence[str] matches_storage_classes: Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY.
4504
+ :param Sequence[str] matches_suffixes: One or more matching name suffixes to satisfy this condition.
4505
+ :param str noncurrent_time_before: Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
4506
+ :param int num_newer_versions: Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
4507
+ :param bool send_age_if_zero: While set true, age value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the age field. It can be used alone or together with age.
4508
+ :param bool send_days_since_custom_time_if_zero: While set true, days_since_custom_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_custom_time field. It can be used alone or together with days_since_custom_time.
4509
+ :param bool send_days_since_noncurrent_time_if_zero: While set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_noncurrent_time field. It can be used alone or together with days_since_noncurrent_time.
4510
+ :param bool send_num_newer_versions_if_zero: While set true, num_newer_versions value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the num_newer_versions field. It can be used alone or together with num_newer_versions.
4511
+ :param str with_state: Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
3733
4512
  """
3734
- return pulumi.get(self, "storage_class")
4513
+ pulumi.set(__self__, "age", age)
4514
+ pulumi.set(__self__, "created_before", created_before)
4515
+ pulumi.set(__self__, "custom_time_before", custom_time_before)
4516
+ pulumi.set(__self__, "days_since_custom_time", days_since_custom_time)
4517
+ pulumi.set(__self__, "days_since_noncurrent_time", days_since_noncurrent_time)
4518
+ pulumi.set(__self__, "matches_prefixes", matches_prefixes)
4519
+ pulumi.set(__self__, "matches_storage_classes", matches_storage_classes)
4520
+ pulumi.set(__self__, "matches_suffixes", matches_suffixes)
4521
+ pulumi.set(__self__, "noncurrent_time_before", noncurrent_time_before)
4522
+ pulumi.set(__self__, "num_newer_versions", num_newer_versions)
4523
+ pulumi.set(__self__, "send_age_if_zero", send_age_if_zero)
4524
+ pulumi.set(__self__, "send_days_since_custom_time_if_zero", send_days_since_custom_time_if_zero)
4525
+ pulumi.set(__self__, "send_days_since_noncurrent_time_if_zero", send_days_since_noncurrent_time_if_zero)
4526
+ pulumi.set(__self__, "send_num_newer_versions_if_zero", send_num_newer_versions_if_zero)
4527
+ pulumi.set(__self__, "with_state", with_state)
3735
4528
 
3736
4529
  @property
3737
4530
  @pulumi.getter
3738
- def symlink(self) -> Optional[str]:
4531
+ def age(self) -> int:
3739
4532
  """
3740
- Specifies how symlinks should be handled by the transfer.
4533
+ Minimum age of an object in days to satisfy this condition.
3741
4534
  """
3742
- return pulumi.get(self, "symlink")
4535
+ return pulumi.get(self, "age")
3743
4536
 
3744
4537
  @property
3745
- @pulumi.getter(name="temporaryHold")
3746
- def temporary_hold(self) -> Optional[str]:
4538
+ @pulumi.getter(name="createdBefore")
4539
+ def created_before(self) -> str:
3747
4540
  """
3748
- SSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets
4541
+ Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
3749
4542
  """
3750
- return pulumi.get(self, "temporary_hold")
4543
+ return pulumi.get(self, "created_before")
3751
4544
 
3752
4545
  @property
3753
- @pulumi.getter(name="timeCreated")
3754
- def time_created(self) -> Optional[str]:
4546
+ @pulumi.getter(name="customTimeBefore")
4547
+ def custom_time_before(self) -> str:
3755
4548
  """
3756
- Specifies how each object's timeCreated metadata is preserved for transfers.
4549
+ Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
3757
4550
  """
3758
- return pulumi.get(self, "time_created")
4551
+ return pulumi.get(self, "custom_time_before")
3759
4552
 
3760
4553
  @property
3761
- @pulumi.getter
3762
- def uid(self) -> Optional[str]:
4554
+ @pulumi.getter(name="daysSinceCustomTime")
4555
+ def days_since_custom_time(self) -> int:
3763
4556
  """
3764
- Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
4557
+ Number of days elapsed since the user-specified timestamp set on an object.
3765
4558
  """
3766
- return pulumi.get(self, "uid")
4559
+ return pulumi.get(self, "days_since_custom_time")
3767
4560
 
4561
+ @property
4562
+ @pulumi.getter(name="daysSinceNoncurrentTime")
4563
+ def days_since_noncurrent_time(self) -> int:
4564
+ """
4565
+ Number of days elapsed since the noncurrent timestamp of an object. This
4566
+ condition is relevant only for versioned objects.
4567
+ """
4568
+ return pulumi.get(self, "days_since_noncurrent_time")
3768
4569
 
3769
- @pulumi.output_type
3770
- class GetBucketAutoclassResult(dict):
3771
- def __init__(__self__, *,
3772
- enabled: bool,
3773
- terminal_storage_class: str):
4570
+ @property
4571
+ @pulumi.getter(name="matchesPrefixes")
4572
+ def matches_prefixes(self) -> Sequence[str]:
3774
4573
  """
3775
- :param bool enabled: While set to true, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern.
3776
- :param str terminal_storage_class: The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Supported values include: NEARLINE, ARCHIVE.
4574
+ One or more matching name prefixes to satisfy this condition.
3777
4575
  """
3778
- pulumi.set(__self__, "enabled", enabled)
3779
- pulumi.set(__self__, "terminal_storage_class", terminal_storage_class)
4576
+ return pulumi.get(self, "matches_prefixes")
3780
4577
 
3781
4578
  @property
3782
- @pulumi.getter
3783
- def enabled(self) -> bool:
4579
+ @pulumi.getter(name="matchesStorageClasses")
4580
+ def matches_storage_classes(self) -> Sequence[str]:
3784
4581
  """
3785
- While set to true, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern.
4582
+ Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY.
3786
4583
  """
3787
- return pulumi.get(self, "enabled")
4584
+ return pulumi.get(self, "matches_storage_classes")
3788
4585
 
3789
4586
  @property
3790
- @pulumi.getter(name="terminalStorageClass")
3791
- def terminal_storage_class(self) -> str:
4587
+ @pulumi.getter(name="matchesSuffixes")
4588
+ def matches_suffixes(self) -> Sequence[str]:
3792
4589
  """
3793
- The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Supported values include: NEARLINE, ARCHIVE.
4590
+ One or more matching name suffixes to satisfy this condition.
3794
4591
  """
3795
- return pulumi.get(self, "terminal_storage_class")
4592
+ return pulumi.get(self, "matches_suffixes")
3796
4593
 
4594
+ @property
4595
+ @pulumi.getter(name="noncurrentTimeBefore")
4596
+ def noncurrent_time_before(self) -> str:
4597
+ """
4598
+ Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
4599
+ """
4600
+ return pulumi.get(self, "noncurrent_time_before")
3797
4601
 
3798
- @pulumi.output_type
3799
- class GetBucketCorResult(dict):
3800
- def __init__(__self__, *,
3801
- max_age_seconds: int,
3802
- methods: Sequence[str],
3803
- origins: Sequence[str],
3804
- response_headers: Sequence[str]):
4602
+ @property
4603
+ @pulumi.getter(name="numNewerVersions")
4604
+ def num_newer_versions(self) -> int:
3805
4605
  """
3806
- :param int max_age_seconds: The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
3807
- :param Sequence[str] methods: The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
3808
- :param Sequence[str] origins: The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
3809
- :param Sequence[str] response_headers: The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
4606
+ Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
3810
4607
  """
3811
- pulumi.set(__self__, "max_age_seconds", max_age_seconds)
3812
- pulumi.set(__self__, "methods", methods)
3813
- pulumi.set(__self__, "origins", origins)
3814
- pulumi.set(__self__, "response_headers", response_headers)
4608
+ return pulumi.get(self, "num_newer_versions")
3815
4609
 
3816
4610
  @property
3817
- @pulumi.getter(name="maxAgeSeconds")
3818
- def max_age_seconds(self) -> int:
4611
+ @pulumi.getter(name="sendAgeIfZero")
4612
+ def send_age_if_zero(self) -> bool:
3819
4613
  """
3820
- The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
4614
+ While set true, age value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the age field. It can be used alone or together with age.
3821
4615
  """
3822
- return pulumi.get(self, "max_age_seconds")
4616
+ return pulumi.get(self, "send_age_if_zero")
3823
4617
 
3824
4618
  @property
3825
- @pulumi.getter
3826
- def methods(self) -> Sequence[str]:
4619
+ @pulumi.getter(name="sendDaysSinceCustomTimeIfZero")
4620
+ def send_days_since_custom_time_if_zero(self) -> bool:
4621
+ """
4622
+ While set true, days_since_custom_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_custom_time field. It can be used alone or together with days_since_custom_time.
4623
+ """
4624
+ return pulumi.get(self, "send_days_since_custom_time_if_zero")
4625
+
4626
+ @property
4627
+ @pulumi.getter(name="sendDaysSinceNoncurrentTimeIfZero")
4628
+ def send_days_since_noncurrent_time_if_zero(self) -> bool:
3827
4629
  """
3828
- The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
4630
+ While set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_noncurrent_time field. It can be used alone or together with days_since_noncurrent_time.
3829
4631
  """
3830
- return pulumi.get(self, "methods")
4632
+ return pulumi.get(self, "send_days_since_noncurrent_time_if_zero")
3831
4633
 
3832
4634
  @property
3833
- @pulumi.getter
3834
- def origins(self) -> Sequence[str]:
4635
+ @pulumi.getter(name="sendNumNewerVersionsIfZero")
4636
+ def send_num_newer_versions_if_zero(self) -> bool:
3835
4637
  """
3836
- The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
4638
+ While set true, num_newer_versions value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the num_newer_versions field. It can be used alone or together with num_newer_versions.
3837
4639
  """
3838
- return pulumi.get(self, "origins")
4640
+ return pulumi.get(self, "send_num_newer_versions_if_zero")
3839
4641
 
3840
4642
  @property
3841
- @pulumi.getter(name="responseHeaders")
3842
- def response_headers(self) -> Sequence[str]:
4643
+ @pulumi.getter(name="withState")
4644
+ def with_state(self) -> str:
3843
4645
  """
3844
- The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
4646
+ Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
3845
4647
  """
3846
- return pulumi.get(self, "response_headers")
4648
+ return pulumi.get(self, "with_state")
3847
4649
 
3848
4650
 
3849
4651
  @pulumi.output_type
3850
- class GetBucketCustomPlacementConfigResult(dict):
4652
+ class GetBucketLoggingResult(dict):
3851
4653
  def __init__(__self__, *,
3852
- data_locations: Sequence[str]):
4654
+ log_bucket: str,
4655
+ log_object_prefix: str):
3853
4656
  """
3854
- :param Sequence[str] data_locations: The list of individual regions that comprise a dual-region bucket. See the docs for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket.
4657
+ :param str log_bucket: The bucket that will receive log objects.
4658
+ :param str log_object_prefix: The object prefix for log objects. If it's not provided, by default Google Cloud Storage sets this to this bucket's name.
3855
4659
  """
3856
- pulumi.set(__self__, "data_locations", data_locations)
4660
+ pulumi.set(__self__, "log_bucket", log_bucket)
4661
+ pulumi.set(__self__, "log_object_prefix", log_object_prefix)
3857
4662
 
3858
4663
  @property
3859
- @pulumi.getter(name="dataLocations")
3860
- def data_locations(self) -> Sequence[str]:
4664
+ @pulumi.getter(name="logBucket")
4665
+ def log_bucket(self) -> str:
3861
4666
  """
3862
- The list of individual regions that comprise a dual-region bucket. See the docs for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket.
4667
+ The bucket that will receive log objects.
3863
4668
  """
3864
- return pulumi.get(self, "data_locations")
4669
+ return pulumi.get(self, "log_bucket")
4670
+
4671
+ @property
4672
+ @pulumi.getter(name="logObjectPrefix")
4673
+ def log_object_prefix(self) -> str:
4674
+ """
4675
+ The object prefix for log objects. If it's not provided, by default Google Cloud Storage sets this to this bucket's name.
4676
+ """
4677
+ return pulumi.get(self, "log_object_prefix")
3865
4678
 
3866
4679
 
3867
4680
  @pulumi.output_type
3868
- class GetBucketEncryptionResult(dict):
4681
+ class GetBucketObjectContentCustomerEncryptionResult(dict):
3869
4682
  def __init__(__self__, *,
3870
- default_kms_key_name: str):
4683
+ encryption_algorithm: str,
4684
+ encryption_key: str):
3871
4685
  """
3872
- :param str default_kms_key_name: A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details.
4686
+ :param str encryption_algorithm: The encryption algorithm. Default: AES256
4687
+ :param str encryption_key: Base64 encoded customer supplied encryption key.
3873
4688
  """
3874
- pulumi.set(__self__, "default_kms_key_name", default_kms_key_name)
4689
+ pulumi.set(__self__, "encryption_algorithm", encryption_algorithm)
4690
+ pulumi.set(__self__, "encryption_key", encryption_key)
3875
4691
 
3876
4692
  @property
3877
- @pulumi.getter(name="defaultKmsKeyName")
3878
- def default_kms_key_name(self) -> str:
4693
+ @pulumi.getter(name="encryptionAlgorithm")
4694
+ def encryption_algorithm(self) -> str:
3879
4695
  """
3880
- A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details.
4696
+ The encryption algorithm. Default: AES256
3881
4697
  """
3882
- return pulumi.get(self, "default_kms_key_name")
4698
+ return pulumi.get(self, "encryption_algorithm")
4699
+
4700
+ @property
4701
+ @pulumi.getter(name="encryptionKey")
4702
+ def encryption_key(self) -> str:
4703
+ """
4704
+ Base64 encoded customer supplied encryption key.
4705
+ """
4706
+ return pulumi.get(self, "encryption_key")
3883
4707
 
3884
4708
 
3885
4709
  @pulumi.output_type
3886
- class GetBucketHierarchicalNamespaceResult(dict):
4710
+ class GetBucketObjectContentRetentionResult(dict):
3887
4711
  def __init__(__self__, *,
3888
- enabled: bool):
4712
+ mode: str,
4713
+ retain_until_time: str):
3889
4714
  """
3890
- :param bool enabled: Set this field true to organize bucket with logical file system structure.
4715
+ :param str mode: The object retention mode. Supported values include: "Unlocked", "Locked".
4716
+ :param str retain_until_time: Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.
3891
4717
  """
3892
- pulumi.set(__self__, "enabled", enabled)
4718
+ pulumi.set(__self__, "mode", mode)
4719
+ pulumi.set(__self__, "retain_until_time", retain_until_time)
3893
4720
 
3894
4721
  @property
3895
4722
  @pulumi.getter
3896
- def enabled(self) -> bool:
4723
+ def mode(self) -> str:
3897
4724
  """
3898
- Set this field true to organize bucket with logical file system structure.
4725
+ The object retention mode. Supported values include: "Unlocked", "Locked".
3899
4726
  """
3900
- return pulumi.get(self, "enabled")
4727
+ return pulumi.get(self, "mode")
4728
+
4729
+ @property
4730
+ @pulumi.getter(name="retainUntilTime")
4731
+ def retain_until_time(self) -> str:
4732
+ """
4733
+ Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.
4734
+ """
4735
+ return pulumi.get(self, "retain_until_time")
3901
4736
 
3902
4737
 
3903
4738
  @pulumi.output_type
3904
- class GetBucketLifecycleRuleResult(dict):
4739
+ class GetBucketObjectCustomerEncryptionResult(dict):
3905
4740
  def __init__(__self__, *,
3906
- actions: Sequence['outputs.GetBucketLifecycleRuleActionResult'],
3907
- conditions: Sequence['outputs.GetBucketLifecycleRuleConditionResult']):
4741
+ encryption_algorithm: str,
4742
+ encryption_key: str):
3908
4743
  """
3909
- :param Sequence['GetBucketLifecycleRuleActionArgs'] actions: The Lifecycle Rule's action configuration. A single block of this type is supported.
3910
- :param Sequence['GetBucketLifecycleRuleConditionArgs'] conditions: The Lifecycle Rule's condition configuration.
4744
+ :param str encryption_algorithm: The encryption algorithm. Default: AES256
4745
+ :param str encryption_key: Base64 encoded customer supplied encryption key.
3911
4746
  """
3912
- pulumi.set(__self__, "actions", actions)
3913
- pulumi.set(__self__, "conditions", conditions)
4747
+ pulumi.set(__self__, "encryption_algorithm", encryption_algorithm)
4748
+ pulumi.set(__self__, "encryption_key", encryption_key)
3914
4749
 
3915
4750
  @property
3916
- @pulumi.getter
3917
- def actions(self) -> Sequence['outputs.GetBucketLifecycleRuleActionResult']:
4751
+ @pulumi.getter(name="encryptionAlgorithm")
4752
+ def encryption_algorithm(self) -> str:
3918
4753
  """
3919
- The Lifecycle Rule's action configuration. A single block of this type is supported.
4754
+ The encryption algorithm. Default: AES256
3920
4755
  """
3921
- return pulumi.get(self, "actions")
4756
+ return pulumi.get(self, "encryption_algorithm")
3922
4757
 
3923
4758
  @property
3924
- @pulumi.getter
3925
- def conditions(self) -> Sequence['outputs.GetBucketLifecycleRuleConditionResult']:
4759
+ @pulumi.getter(name="encryptionKey")
4760
+ def encryption_key(self) -> str:
3926
4761
  """
3927
- The Lifecycle Rule's condition configuration.
4762
+ Base64 encoded customer supplied encryption key.
3928
4763
  """
3929
- return pulumi.get(self, "conditions")
4764
+ return pulumi.get(self, "encryption_key")
3930
4765
 
3931
4766
 
3932
4767
  @pulumi.output_type
3933
- class GetBucketLifecycleRuleActionResult(dict):
4768
+ class GetBucketObjectRetentionResult(dict):
3934
4769
  def __init__(__self__, *,
3935
- storage_class: str,
3936
- type: str):
4770
+ mode: str,
4771
+ retain_until_time: str):
3937
4772
  """
3938
- :param str storage_class: The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
3939
- :param str type: The type of the action of this Lifecycle Rule. Supported values include: Delete, SetStorageClass and AbortIncompleteMultipartUpload.
4773
+ :param str mode: The object retention mode. Supported values include: "Unlocked", "Locked".
4774
+ :param str retain_until_time: Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.
3940
4775
  """
3941
- pulumi.set(__self__, "storage_class", storage_class)
3942
- pulumi.set(__self__, "type", type)
4776
+ pulumi.set(__self__, "mode", mode)
4777
+ pulumi.set(__self__, "retain_until_time", retain_until_time)
3943
4778
 
3944
4779
  @property
3945
- @pulumi.getter(name="storageClass")
3946
- def storage_class(self) -> str:
4780
+ @pulumi.getter
4781
+ def mode(self) -> str:
3947
4782
  """
3948
- The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.
4783
+ The object retention mode. Supported values include: "Unlocked", "Locked".
3949
4784
  """
3950
- return pulumi.get(self, "storage_class")
4785
+ return pulumi.get(self, "mode")
3951
4786
 
3952
4787
  @property
3953
- @pulumi.getter
3954
- def type(self) -> str:
4788
+ @pulumi.getter(name="retainUntilTime")
4789
+ def retain_until_time(self) -> str:
3955
4790
  """
3956
- The type of the action of this Lifecycle Rule. Supported values include: Delete, SetStorageClass and AbortIncompleteMultipartUpload.
4791
+ Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.
3957
4792
  """
3958
- return pulumi.get(self, "type")
4793
+ return pulumi.get(self, "retain_until_time")
3959
4794
 
3960
4795
 
3961
4796
  @pulumi.output_type
3962
- class GetBucketLifecycleRuleConditionResult(dict):
4797
+ class GetBucketObjectsBucketObjectResult(dict):
3963
4798
  def __init__(__self__, *,
3964
- age: int,
3965
- created_before: str,
3966
- custom_time_before: str,
3967
- days_since_custom_time: int,
3968
- days_since_noncurrent_time: int,
3969
- matches_prefixes: Sequence[str],
3970
- matches_storage_classes: Sequence[str],
3971
- matches_suffixes: Sequence[str],
3972
- noncurrent_time_before: str,
3973
- num_newer_versions: int,
3974
- send_age_if_zero: bool,
3975
- send_days_since_custom_time_if_zero: bool,
3976
- send_days_since_noncurrent_time_if_zero: bool,
3977
- send_num_newer_versions_if_zero: bool,
3978
- with_state: str):
4799
+ content_type: str,
4800
+ media_link: str,
4801
+ name: str,
4802
+ self_link: str,
4803
+ storage_class: str):
3979
4804
  """
3980
- :param int age: Minimum age of an object in days to satisfy this condition.
3981
- :param str created_before: Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
3982
- :param str custom_time_before: Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
3983
- :param int days_since_custom_time: Number of days elapsed since the user-specified timestamp set on an object.
3984
- :param int days_since_noncurrent_time: Number of days elapsed since the noncurrent timestamp of an object. This
3985
- condition is relevant only for versioned objects.
3986
- :param Sequence[str] matches_prefixes: One or more matching name prefixes to satisfy this condition.
3987
- :param Sequence[str] matches_storage_classes: Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY.
3988
- :param Sequence[str] matches_suffixes: One or more matching name suffixes to satisfy this condition.
3989
- :param str noncurrent_time_before: Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
3990
- :param int num_newer_versions: Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
3991
- :param bool send_age_if_zero: While set true, age value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the age field. It can be used alone or together with age.
3992
- :param bool send_days_since_custom_time_if_zero: While set true, days_since_custom_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_custom_time field. It can be used alone or together with days_since_custom_time.
3993
- :param bool send_days_since_noncurrent_time_if_zero: While set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_noncurrent_time field. It can be used alone or together with days_since_noncurrent_time.
3994
- :param bool send_num_newer_versions_if_zero: While set true, num_newer_versions value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the num_newer_versions field. It can be used alone or together with num_newer_versions.
3995
- :param str with_state: Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
4805
+ :param str content_type: [Content-Type](https://tools.ietf.org/html/rfc7231#section-3.1.1.5) of the object data.
4806
+ :param str media_link: A url reference to download this object.
4807
+ :param str name: The name of the object.
4808
+ :param str self_link: A url reference to this object.
4809
+ :param str storage_class: The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the bucket object.
3996
4810
  """
3997
- pulumi.set(__self__, "age", age)
3998
- pulumi.set(__self__, "created_before", created_before)
3999
- pulumi.set(__self__, "custom_time_before", custom_time_before)
4000
- pulumi.set(__self__, "days_since_custom_time", days_since_custom_time)
4001
- pulumi.set(__self__, "days_since_noncurrent_time", days_since_noncurrent_time)
4002
- pulumi.set(__self__, "matches_prefixes", matches_prefixes)
4003
- pulumi.set(__self__, "matches_storage_classes", matches_storage_classes)
4004
- pulumi.set(__self__, "matches_suffixes", matches_suffixes)
4005
- pulumi.set(__self__, "noncurrent_time_before", noncurrent_time_before)
4006
- pulumi.set(__self__, "num_newer_versions", num_newer_versions)
4007
- pulumi.set(__self__, "send_age_if_zero", send_age_if_zero)
4008
- pulumi.set(__self__, "send_days_since_custom_time_if_zero", send_days_since_custom_time_if_zero)
4009
- pulumi.set(__self__, "send_days_since_noncurrent_time_if_zero", send_days_since_noncurrent_time_if_zero)
4010
- pulumi.set(__self__, "send_num_newer_versions_if_zero", send_num_newer_versions_if_zero)
4011
- pulumi.set(__self__, "with_state", with_state)
4811
+ pulumi.set(__self__, "content_type", content_type)
4812
+ pulumi.set(__self__, "media_link", media_link)
4813
+ pulumi.set(__self__, "name", name)
4814
+ pulumi.set(__self__, "self_link", self_link)
4815
+ pulumi.set(__self__, "storage_class", storage_class)
4012
4816
 
4013
4817
  @property
4014
- @pulumi.getter
4015
- def age(self) -> int:
4818
+ @pulumi.getter(name="contentType")
4819
+ def content_type(self) -> str:
4016
4820
  """
4017
- Minimum age of an object in days to satisfy this condition.
4821
+ [Content-Type](https://tools.ietf.org/html/rfc7231#section-3.1.1.5) of the object data.
4018
4822
  """
4019
- return pulumi.get(self, "age")
4823
+ return pulumi.get(self, "content_type")
4020
4824
 
4021
4825
  @property
4022
- @pulumi.getter(name="createdBefore")
4023
- def created_before(self) -> str:
4826
+ @pulumi.getter(name="mediaLink")
4827
+ def media_link(self) -> str:
4024
4828
  """
4025
- Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
4829
+ A url reference to download this object.
4026
4830
  """
4027
- return pulumi.get(self, "created_before")
4831
+ return pulumi.get(self, "media_link")
4028
4832
 
4029
4833
  @property
4030
- @pulumi.getter(name="customTimeBefore")
4031
- def custom_time_before(self) -> str:
4834
+ @pulumi.getter
4835
+ def name(self) -> str:
4032
4836
  """
4033
- Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
4837
+ The name of the object.
4034
4838
  """
4035
- return pulumi.get(self, "custom_time_before")
4839
+ return pulumi.get(self, "name")
4840
+
4841
+ @property
4842
+ @pulumi.getter(name="selfLink")
4843
+ def self_link(self) -> str:
4844
+ """
4845
+ A url reference to this object.
4846
+ """
4847
+ return pulumi.get(self, "self_link")
4036
4848
 
4037
4849
  @property
4038
- @pulumi.getter(name="daysSinceCustomTime")
4039
- def days_since_custom_time(self) -> int:
4850
+ @pulumi.getter(name="storageClass")
4851
+ def storage_class(self) -> str:
4040
4852
  """
4041
- Number of days elapsed since the user-specified timestamp set on an object.
4853
+ The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the bucket object.
4042
4854
  """
4043
- return pulumi.get(self, "days_since_custom_time")
4855
+ return pulumi.get(self, "storage_class")
4044
4856
 
4045
- @property
4046
- @pulumi.getter(name="daysSinceNoncurrentTime")
4047
- def days_since_noncurrent_time(self) -> int:
4857
+
4858
+ @pulumi.output_type
4859
+ class GetBucketRetentionPolicyResult(dict):
4860
+ def __init__(__self__, *,
4861
+ is_locked: bool,
4862
+ retention_period: int):
4048
4863
  """
4049
- Number of days elapsed since the noncurrent timestamp of an object. This
4050
- condition is relevant only for versioned objects.
4864
+ :param bool is_locked: If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
4865
+ :param int retention_period: The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
4051
4866
  """
4052
- return pulumi.get(self, "days_since_noncurrent_time")
4867
+ pulumi.set(__self__, "is_locked", is_locked)
4868
+ pulumi.set(__self__, "retention_period", retention_period)
4053
4869
 
4054
4870
  @property
4055
- @pulumi.getter(name="matchesPrefixes")
4056
- def matches_prefixes(self) -> Sequence[str]:
4871
+ @pulumi.getter(name="isLocked")
4872
+ def is_locked(self) -> bool:
4057
4873
  """
4058
- One or more matching name prefixes to satisfy this condition.
4874
+ If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
4059
4875
  """
4060
- return pulumi.get(self, "matches_prefixes")
4876
+ return pulumi.get(self, "is_locked")
4061
4877
 
4062
4878
  @property
4063
- @pulumi.getter(name="matchesStorageClasses")
4064
- def matches_storage_classes(self) -> Sequence[str]:
4879
+ @pulumi.getter(name="retentionPeriod")
4880
+ def retention_period(self) -> int:
4065
4881
  """
4066
- Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY.
4882
+ The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
4067
4883
  """
4068
- return pulumi.get(self, "matches_storage_classes")
4884
+ return pulumi.get(self, "retention_period")
4069
4885
 
4070
- @property
4071
- @pulumi.getter(name="matchesSuffixes")
4072
- def matches_suffixes(self) -> Sequence[str]:
4886
+
4887
+ @pulumi.output_type
4888
+ class GetBucketSoftDeletePolicyResult(dict):
4889
+ def __init__(__self__, *,
4890
+ effective_time: str,
4891
+ retention_duration_seconds: int):
4073
4892
  """
4074
- One or more matching name suffixes to satisfy this condition.
4893
+ :param str effective_time: Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
4894
+ :param int retention_duration_seconds: The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800.
4075
4895
  """
4076
- return pulumi.get(self, "matches_suffixes")
4896
+ pulumi.set(__self__, "effective_time", effective_time)
4897
+ pulumi.set(__self__, "retention_duration_seconds", retention_duration_seconds)
4077
4898
 
4078
4899
  @property
4079
- @pulumi.getter(name="noncurrentTimeBefore")
4080
- def noncurrent_time_before(self) -> str:
4900
+ @pulumi.getter(name="effectiveTime")
4901
+ def effective_time(self) -> str:
4081
4902
  """
4082
- Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
4903
+ Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
4083
4904
  """
4084
- return pulumi.get(self, "noncurrent_time_before")
4905
+ return pulumi.get(self, "effective_time")
4085
4906
 
4086
4907
  @property
4087
- @pulumi.getter(name="numNewerVersions")
4088
- def num_newer_versions(self) -> int:
4908
+ @pulumi.getter(name="retentionDurationSeconds")
4909
+ def retention_duration_seconds(self) -> int:
4089
4910
  """
4090
- Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
4911
+ The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800.
4091
4912
  """
4092
- return pulumi.get(self, "num_newer_versions")
4913
+ return pulumi.get(self, "retention_duration_seconds")
4093
4914
 
4094
- @property
4095
- @pulumi.getter(name="sendAgeIfZero")
4096
- def send_age_if_zero(self) -> bool:
4915
+
4916
+ @pulumi.output_type
4917
+ class GetBucketVersioningResult(dict):
4918
+ def __init__(__self__, *,
4919
+ enabled: bool):
4097
4920
  """
4098
- While set true, age value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the age field. It can be used alone or together with age.
4921
+ :param bool enabled: While set to true, versioning is fully enabled for this bucket.
4099
4922
  """
4100
- return pulumi.get(self, "send_age_if_zero")
4923
+ pulumi.set(__self__, "enabled", enabled)
4101
4924
 
4102
4925
  @property
4103
- @pulumi.getter(name="sendDaysSinceCustomTimeIfZero")
4104
- def send_days_since_custom_time_if_zero(self) -> bool:
4926
+ @pulumi.getter
4927
+ def enabled(self) -> bool:
4105
4928
  """
4106
- While set true, days_since_custom_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_custom_time field. It can be used alone or together with days_since_custom_time.
4929
+ While set to true, versioning is fully enabled for this bucket.
4107
4930
  """
4108
- return pulumi.get(self, "send_days_since_custom_time_if_zero")
4931
+ return pulumi.get(self, "enabled")
4109
4932
 
4110
- @property
4111
- @pulumi.getter(name="sendDaysSinceNoncurrentTimeIfZero")
4112
- def send_days_since_noncurrent_time_if_zero(self) -> bool:
4933
+
4934
+ @pulumi.output_type
4935
+ class GetBucketWebsiteResult(dict):
4936
+ def __init__(__self__, *,
4937
+ main_page_suffix: str,
4938
+ not_found_page: str):
4113
4939
  """
4114
- While set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the days_since_noncurrent_time field. It can be used alone or together with days_since_noncurrent_time.
4940
+ :param str main_page_suffix: Behaves as the bucket's directory index where missing objects are treated as potential directories.
4941
+ :param str not_found_page: The custom object to return when a requested resource is not found.
4115
4942
  """
4116
- return pulumi.get(self, "send_days_since_noncurrent_time_if_zero")
4943
+ pulumi.set(__self__, "main_page_suffix", main_page_suffix)
4944
+ pulumi.set(__self__, "not_found_page", not_found_page)
4117
4945
 
4118
4946
  @property
4119
- @pulumi.getter(name="sendNumNewerVersionsIfZero")
4120
- def send_num_newer_versions_if_zero(self) -> bool:
4947
+ @pulumi.getter(name="mainPageSuffix")
4948
+ def main_page_suffix(self) -> str:
4121
4949
  """
4122
- While set true, num_newer_versions value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the num_newer_versions field. It can be used alone or together with num_newer_versions.
4950
+ Behaves as the bucket's directory index where missing objects are treated as potential directories.
4123
4951
  """
4124
- return pulumi.get(self, "send_num_newer_versions_if_zero")
4952
+ return pulumi.get(self, "main_page_suffix")
4125
4953
 
4126
4954
  @property
4127
- @pulumi.getter(name="withState")
4128
- def with_state(self) -> str:
4955
+ @pulumi.getter(name="notFoundPage")
4956
+ def not_found_page(self) -> str:
4129
4957
  """
4130
- Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
4958
+ The custom object to return when a requested resource is not found.
4131
4959
  """
4132
- return pulumi.get(self, "with_state")
4960
+ return pulumi.get(self, "not_found_page")
4133
4961
 
4134
4962
 
4135
4963
  @pulumi.output_type
4136
- class GetBucketLoggingResult(dict):
4964
+ class GetBucketsBucketResult(dict):
4137
4965
  def __init__(__self__, *,
4138
- log_bucket: str,
4139
- log_object_prefix: str):
4966
+ labels: Mapping[str, str],
4967
+ location: str,
4968
+ name: str,
4969
+ self_link: str,
4970
+ storage_class: str):
4140
4971
  """
4141
- :param str log_bucket: The bucket that will receive log objects.
4142
- :param str log_object_prefix: The object prefix for log objects. If it's not provided, by default Google Cloud Storage sets this to this bucket's name.
4972
+ :param Mapping[str, str] labels: User-provided bucket labels, in key/value pairs.
4973
+ :param str location: The location of the bucket.
4974
+ :param str name: The name of the bucket.
4975
+ :param str self_link: A url reference to the bucket.
4976
+ :param str storage_class: The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the bucket.
4143
4977
  """
4144
- pulumi.set(__self__, "log_bucket", log_bucket)
4145
- pulumi.set(__self__, "log_object_prefix", log_object_prefix)
4978
+ pulumi.set(__self__, "labels", labels)
4979
+ pulumi.set(__self__, "location", location)
4980
+ pulumi.set(__self__, "name", name)
4981
+ pulumi.set(__self__, "self_link", self_link)
4982
+ pulumi.set(__self__, "storage_class", storage_class)
4146
4983
 
4147
4984
  @property
4148
- @pulumi.getter(name="logBucket")
4149
- def log_bucket(self) -> str:
4985
+ @pulumi.getter
4986
+ def labels(self) -> Mapping[str, str]:
4150
4987
  """
4151
- The bucket that will receive log objects.
4988
+ User-provided bucket labels, in key/value pairs.
4152
4989
  """
4153
- return pulumi.get(self, "log_bucket")
4990
+ return pulumi.get(self, "labels")
4154
4991
 
4155
4992
  @property
4156
- @pulumi.getter(name="logObjectPrefix")
4157
- def log_object_prefix(self) -> str:
4993
+ @pulumi.getter
4994
+ def location(self) -> str:
4158
4995
  """
4159
- The object prefix for log objects. If it's not provided, by default Google Cloud Storage sets this to this bucket's name.
4996
+ The location of the bucket.
4160
4997
  """
4161
- return pulumi.get(self, "log_object_prefix")
4162
-
4998
+ return pulumi.get(self, "location")
4163
4999
 
4164
- @pulumi.output_type
4165
- class GetBucketObjectContentCustomerEncryptionResult(dict):
4166
- def __init__(__self__, *,
4167
- encryption_algorithm: str,
4168
- encryption_key: str):
5000
+ @property
5001
+ @pulumi.getter
5002
+ def name(self) -> str:
4169
5003
  """
4170
- :param str encryption_algorithm: The encryption algorithm. Default: AES256
4171
- :param str encryption_key: Base64 encoded customer supplied encryption key.
5004
+ The name of the bucket.
4172
5005
  """
4173
- pulumi.set(__self__, "encryption_algorithm", encryption_algorithm)
4174
- pulumi.set(__self__, "encryption_key", encryption_key)
5006
+ return pulumi.get(self, "name")
4175
5007
 
4176
5008
  @property
4177
- @pulumi.getter(name="encryptionAlgorithm")
4178
- def encryption_algorithm(self) -> str:
5009
+ @pulumi.getter(name="selfLink")
5010
+ def self_link(self) -> str:
4179
5011
  """
4180
- The encryption algorithm. Default: AES256
5012
+ A url reference to the bucket.
4181
5013
  """
4182
- return pulumi.get(self, "encryption_algorithm")
5014
+ return pulumi.get(self, "self_link")
4183
5015
 
4184
5016
  @property
4185
- @pulumi.getter(name="encryptionKey")
4186
- def encryption_key(self) -> str:
5017
+ @pulumi.getter(name="storageClass")
5018
+ def storage_class(self) -> str:
4187
5019
  """
4188
- Base64 encoded customer supplied encryption key.
5020
+ The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the bucket.
4189
5021
  """
4190
- return pulumi.get(self, "encryption_key")
5022
+ return pulumi.get(self, "storage_class")
4191
5023
 
4192
5024
 
4193
5025
  @pulumi.output_type
4194
- class GetBucketObjectContentRetentionResult(dict):
5026
+ class GetControlFolderIntelligenceConfigEffectiveIntelligenceConfigResult(dict):
4195
5027
  def __init__(__self__, *,
4196
- mode: str,
4197
- retain_until_time: str):
5028
+ effective_edition: str,
5029
+ intelligence_config: str):
4198
5030
  """
4199
- :param str mode: The object retention mode. Supported values include: "Unlocked", "Locked".
4200
- :param str retain_until_time: Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.
5031
+ :param str effective_edition: The 'StorageIntelligence' edition that is applicable for the resource.
5032
+ :param str intelligence_config: The Intelligence config resource that is applied for the target resource.
4201
5033
  """
4202
- pulumi.set(__self__, "mode", mode)
4203
- pulumi.set(__self__, "retain_until_time", retain_until_time)
5034
+ pulumi.set(__self__, "effective_edition", effective_edition)
5035
+ pulumi.set(__self__, "intelligence_config", intelligence_config)
4204
5036
 
4205
5037
  @property
4206
- @pulumi.getter
4207
- def mode(self) -> str:
5038
+ @pulumi.getter(name="effectiveEdition")
5039
+ def effective_edition(self) -> str:
4208
5040
  """
4209
- The object retention mode. Supported values include: "Unlocked", "Locked".
5041
+ The 'StorageIntelligence' edition that is applicable for the resource.
4210
5042
  """
4211
- return pulumi.get(self, "mode")
5043
+ return pulumi.get(self, "effective_edition")
4212
5044
 
4213
5045
  @property
4214
- @pulumi.getter(name="retainUntilTime")
4215
- def retain_until_time(self) -> str:
5046
+ @pulumi.getter(name="intelligenceConfig")
5047
+ def intelligence_config(self) -> str:
4216
5048
  """
4217
- Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.
5049
+ The Intelligence config resource that is applied for the target resource.
4218
5050
  """
4219
- return pulumi.get(self, "retain_until_time")
5051
+ return pulumi.get(self, "intelligence_config")
4220
5052
 
4221
5053
 
4222
5054
  @pulumi.output_type
4223
- class GetBucketObjectCustomerEncryptionResult(dict):
5055
+ class GetControlFolderIntelligenceConfigFilterResult(dict):
4224
5056
  def __init__(__self__, *,
4225
- encryption_algorithm: str,
4226
- encryption_key: str):
5057
+ excluded_cloud_storage_buckets: Sequence['outputs.GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucketResult'],
5058
+ excluded_cloud_storage_locations: Sequence['outputs.GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocationResult'],
5059
+ included_cloud_storage_buckets: Sequence['outputs.GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucketResult'],
5060
+ included_cloud_storage_locations: Sequence['outputs.GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocationResult']):
4227
5061
  """
4228
- :param str encryption_algorithm: The encryption algorithm. Default: AES256
4229
- :param str encryption_key: Base64 encoded customer supplied encryption key.
5062
+ :param Sequence['GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucketArgs'] excluded_cloud_storage_buckets: Buckets to exclude from the Storage Intelligence plan.
5063
+ :param Sequence['GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocationArgs'] excluded_cloud_storage_locations: Locations to exclude from the Storage Intelligence plan.
5064
+ :param Sequence['GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucketArgs'] included_cloud_storage_buckets: Buckets to include in the Storage Intelligence plan.
5065
+ :param Sequence['GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocationArgs'] included_cloud_storage_locations: Locations to include in the Storage Intelligence plan.
4230
5066
  """
4231
- pulumi.set(__self__, "encryption_algorithm", encryption_algorithm)
4232
- pulumi.set(__self__, "encryption_key", encryption_key)
5067
+ pulumi.set(__self__, "excluded_cloud_storage_buckets", excluded_cloud_storage_buckets)
5068
+ pulumi.set(__self__, "excluded_cloud_storage_locations", excluded_cloud_storage_locations)
5069
+ pulumi.set(__self__, "included_cloud_storage_buckets", included_cloud_storage_buckets)
5070
+ pulumi.set(__self__, "included_cloud_storage_locations", included_cloud_storage_locations)
4233
5071
 
4234
5072
  @property
4235
- @pulumi.getter(name="encryptionAlgorithm")
4236
- def encryption_algorithm(self) -> str:
5073
+ @pulumi.getter(name="excludedCloudStorageBuckets")
5074
+ def excluded_cloud_storage_buckets(self) -> Sequence['outputs.GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucketResult']:
4237
5075
  """
4238
- The encryption algorithm. Default: AES256
5076
+ Buckets to exclude from the Storage Intelligence plan.
4239
5077
  """
4240
- return pulumi.get(self, "encryption_algorithm")
5078
+ return pulumi.get(self, "excluded_cloud_storage_buckets")
4241
5079
 
4242
5080
  @property
4243
- @pulumi.getter(name="encryptionKey")
4244
- def encryption_key(self) -> str:
5081
+ @pulumi.getter(name="excludedCloudStorageLocations")
5082
+ def excluded_cloud_storage_locations(self) -> Sequence['outputs.GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocationResult']:
5083
+ """
5084
+ Locations to exclude from the Storage Intelligence plan.
5085
+ """
5086
+ return pulumi.get(self, "excluded_cloud_storage_locations")
5087
+
5088
+ @property
5089
+ @pulumi.getter(name="includedCloudStorageBuckets")
5090
+ def included_cloud_storage_buckets(self) -> Sequence['outputs.GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucketResult']:
5091
+ """
5092
+ Buckets to include in the Storage Intelligence plan.
5093
+ """
5094
+ return pulumi.get(self, "included_cloud_storage_buckets")
5095
+
5096
+ @property
5097
+ @pulumi.getter(name="includedCloudStorageLocations")
5098
+ def included_cloud_storage_locations(self) -> Sequence['outputs.GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocationResult']:
4245
5099
  """
4246
- Base64 encoded customer supplied encryption key.
5100
+ Locations to include in the Storage Intelligence plan.
4247
5101
  """
4248
- return pulumi.get(self, "encryption_key")
5102
+ return pulumi.get(self, "included_cloud_storage_locations")
4249
5103
 
4250
5104
 
4251
5105
  @pulumi.output_type
4252
- class GetBucketObjectRetentionResult(dict):
5106
+ class GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucketResult(dict):
4253
5107
  def __init__(__self__, *,
4254
- mode: str,
4255
- retain_until_time: str):
4256
- """
4257
- :param str mode: The object retention mode. Supported values include: "Unlocked", "Locked".
4258
- :param str retain_until_time: Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.
4259
- """
4260
- pulumi.set(__self__, "mode", mode)
4261
- pulumi.set(__self__, "retain_until_time", retain_until_time)
4262
-
4263
- @property
4264
- @pulumi.getter
4265
- def mode(self) -> str:
5108
+ bucket_id_regexes: Sequence[str]):
4266
5109
  """
4267
- The object retention mode. Supported values include: "Unlocked", "Locked".
5110
+ :param Sequence[str] bucket_id_regexes: List of bucket id regexes to exclude in the storage intelligence plan.
4268
5111
  """
4269
- return pulumi.get(self, "mode")
5112
+ pulumi.set(__self__, "bucket_id_regexes", bucket_id_regexes)
4270
5113
 
4271
5114
  @property
4272
- @pulumi.getter(name="retainUntilTime")
4273
- def retain_until_time(self) -> str:
5115
+ @pulumi.getter(name="bucketIdRegexes")
5116
+ def bucket_id_regexes(self) -> Sequence[str]:
4274
5117
  """
4275
- Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.
5118
+ List of bucket id regexes to exclude in the storage intelligence plan.
4276
5119
  """
4277
- return pulumi.get(self, "retain_until_time")
5120
+ return pulumi.get(self, "bucket_id_regexes")
4278
5121
 
4279
5122
 
4280
5123
  @pulumi.output_type
4281
- class GetBucketObjectsBucketObjectResult(dict):
5124
+ class GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocationResult(dict):
4282
5125
  def __init__(__self__, *,
4283
- content_type: str,
4284
- media_link: str,
4285
- name: str,
4286
- self_link: str,
4287
- storage_class: str):
5126
+ locations: Sequence[str]):
4288
5127
  """
4289
- :param str content_type: [Content-Type](https://tools.ietf.org/html/rfc7231#section-3.1.1.5) of the object data.
4290
- :param str media_link: A url reference to download this object.
4291
- :param str name: The name of the object.
4292
- :param str self_link: A url reference to this object.
4293
- :param str storage_class: The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the bucket object.
5128
+ :param Sequence[str] locations: List of locations.
4294
5129
  """
4295
- pulumi.set(__self__, "content_type", content_type)
4296
- pulumi.set(__self__, "media_link", media_link)
4297
- pulumi.set(__self__, "name", name)
4298
- pulumi.set(__self__, "self_link", self_link)
4299
- pulumi.set(__self__, "storage_class", storage_class)
5130
+ pulumi.set(__self__, "locations", locations)
4300
5131
 
4301
5132
  @property
4302
- @pulumi.getter(name="contentType")
4303
- def content_type(self) -> str:
5133
+ @pulumi.getter
5134
+ def locations(self) -> Sequence[str]:
4304
5135
  """
4305
- [Content-Type](https://tools.ietf.org/html/rfc7231#section-3.1.1.5) of the object data.
5136
+ List of locations.
4306
5137
  """
4307
- return pulumi.get(self, "content_type")
5138
+ return pulumi.get(self, "locations")
4308
5139
 
4309
- @property
4310
- @pulumi.getter(name="mediaLink")
4311
- def media_link(self) -> str:
5140
+
5141
+ @pulumi.output_type
5142
+ class GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucketResult(dict):
5143
+ def __init__(__self__, *,
5144
+ bucket_id_regexes: Sequence[str]):
4312
5145
  """
4313
- A url reference to download this object.
5146
+ :param Sequence[str] bucket_id_regexes: List of bucket id regexes to exclude in the storage intelligence plan.
4314
5147
  """
4315
- return pulumi.get(self, "media_link")
5148
+ pulumi.set(__self__, "bucket_id_regexes", bucket_id_regexes)
4316
5149
 
4317
5150
  @property
4318
- @pulumi.getter
4319
- def name(self) -> str:
5151
+ @pulumi.getter(name="bucketIdRegexes")
5152
+ def bucket_id_regexes(self) -> Sequence[str]:
4320
5153
  """
4321
- The name of the object.
5154
+ List of bucket id regexes to exclude in the storage intelligence plan.
4322
5155
  """
4323
- return pulumi.get(self, "name")
5156
+ return pulumi.get(self, "bucket_id_regexes")
4324
5157
 
4325
- @property
4326
- @pulumi.getter(name="selfLink")
4327
- def self_link(self) -> str:
5158
+
5159
+ @pulumi.output_type
5160
+ class GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocationResult(dict):
5161
+ def __init__(__self__, *,
5162
+ locations: Sequence[str]):
4328
5163
  """
4329
- A url reference to this object.
5164
+ :param Sequence[str] locations: List of locations.
4330
5165
  """
4331
- return pulumi.get(self, "self_link")
5166
+ pulumi.set(__self__, "locations", locations)
4332
5167
 
4333
5168
  @property
4334
- @pulumi.getter(name="storageClass")
4335
- def storage_class(self) -> str:
5169
+ @pulumi.getter
5170
+ def locations(self) -> Sequence[str]:
4336
5171
  """
4337
- The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the bucket object.
5172
+ List of locations.
4338
5173
  """
4339
- return pulumi.get(self, "storage_class")
5174
+ return pulumi.get(self, "locations")
4340
5175
 
4341
5176
 
4342
5177
  @pulumi.output_type
4343
- class GetBucketRetentionPolicyResult(dict):
5178
+ class GetControlOrganizationIntelligenceConfigEffectiveIntelligenceConfigResult(dict):
4344
5179
  def __init__(__self__, *,
4345
- is_locked: bool,
4346
- retention_period: int):
5180
+ effective_edition: str,
5181
+ intelligence_config: str):
4347
5182
  """
4348
- :param bool is_locked: If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
4349
- :param int retention_period: The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
5183
+ :param str effective_edition: The 'StorageIntelligence' edition that is applicable for the resource.
5184
+ :param str intelligence_config: The Intelligence config resource that is applied for the target resource.
4350
5185
  """
4351
- pulumi.set(__self__, "is_locked", is_locked)
4352
- pulumi.set(__self__, "retention_period", retention_period)
5186
+ pulumi.set(__self__, "effective_edition", effective_edition)
5187
+ pulumi.set(__self__, "intelligence_config", intelligence_config)
4353
5188
 
4354
5189
  @property
4355
- @pulumi.getter(name="isLocked")
4356
- def is_locked(self) -> bool:
5190
+ @pulumi.getter(name="effectiveEdition")
5191
+ def effective_edition(self) -> str:
4357
5192
  """
4358
- If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
5193
+ The 'StorageIntelligence' edition that is applicable for the resource.
4359
5194
  """
4360
- return pulumi.get(self, "is_locked")
5195
+ return pulumi.get(self, "effective_edition")
4361
5196
 
4362
5197
  @property
4363
- @pulumi.getter(name="retentionPeriod")
4364
- def retention_period(self) -> int:
5198
+ @pulumi.getter(name="intelligenceConfig")
5199
+ def intelligence_config(self) -> str:
4365
5200
  """
4366
- The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
5201
+ The Intelligence config resource that is applied for the target resource.
4367
5202
  """
4368
- return pulumi.get(self, "retention_period")
5203
+ return pulumi.get(self, "intelligence_config")
4369
5204
 
4370
5205
 
4371
5206
  @pulumi.output_type
4372
- class GetBucketSoftDeletePolicyResult(dict):
5207
+ class GetControlOrganizationIntelligenceConfigFilterResult(dict):
4373
5208
  def __init__(__self__, *,
4374
- effective_time: str,
4375
- retention_duration_seconds: int):
5209
+ excluded_cloud_storage_buckets: Sequence['outputs.GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBucketResult'],
5210
+ excluded_cloud_storage_locations: Sequence['outputs.GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocationResult'],
5211
+ included_cloud_storage_buckets: Sequence['outputs.GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBucketResult'],
5212
+ included_cloud_storage_locations: Sequence['outputs.GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocationResult']):
4376
5213
  """
4377
- :param str effective_time: Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
4378
- :param int retention_duration_seconds: The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800.
5214
+ :param Sequence['GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBucketArgs'] excluded_cloud_storage_buckets: Buckets to exclude from the Storage Intelligence plan.
5215
+ :param Sequence['GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocationArgs'] excluded_cloud_storage_locations: Locations to exclude from the Storage Intelligence plan.
5216
+ :param Sequence['GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBucketArgs'] included_cloud_storage_buckets: Buckets to include in the Storage Intelligence plan.
5217
+ :param Sequence['GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocationArgs'] included_cloud_storage_locations: Locations to include in the Storage Intelligence plan.
4379
5218
  """
4380
- pulumi.set(__self__, "effective_time", effective_time)
4381
- pulumi.set(__self__, "retention_duration_seconds", retention_duration_seconds)
5219
+ pulumi.set(__self__, "excluded_cloud_storage_buckets", excluded_cloud_storage_buckets)
5220
+ pulumi.set(__self__, "excluded_cloud_storage_locations", excluded_cloud_storage_locations)
5221
+ pulumi.set(__self__, "included_cloud_storage_buckets", included_cloud_storage_buckets)
5222
+ pulumi.set(__self__, "included_cloud_storage_locations", included_cloud_storage_locations)
4382
5223
 
4383
5224
  @property
4384
- @pulumi.getter(name="effectiveTime")
4385
- def effective_time(self) -> str:
5225
+ @pulumi.getter(name="excludedCloudStorageBuckets")
5226
+ def excluded_cloud_storage_buckets(self) -> Sequence['outputs.GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBucketResult']:
4386
5227
  """
4387
- Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
5228
+ Buckets to exclude from the Storage Intelligence plan.
4388
5229
  """
4389
- return pulumi.get(self, "effective_time")
5230
+ return pulumi.get(self, "excluded_cloud_storage_buckets")
4390
5231
 
4391
5232
  @property
4392
- @pulumi.getter(name="retentionDurationSeconds")
4393
- def retention_duration_seconds(self) -> int:
5233
+ @pulumi.getter(name="excludedCloudStorageLocations")
5234
+ def excluded_cloud_storage_locations(self) -> Sequence['outputs.GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocationResult']:
4394
5235
  """
4395
- The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800.
5236
+ Locations to exclude from the Storage Intelligence plan.
4396
5237
  """
4397
- return pulumi.get(self, "retention_duration_seconds")
4398
-
5238
+ return pulumi.get(self, "excluded_cloud_storage_locations")
4399
5239
 
4400
- @pulumi.output_type
4401
- class GetBucketVersioningResult(dict):
4402
- def __init__(__self__, *,
4403
- enabled: bool):
5240
+ @property
5241
+ @pulumi.getter(name="includedCloudStorageBuckets")
5242
+ def included_cloud_storage_buckets(self) -> Sequence['outputs.GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBucketResult']:
4404
5243
  """
4405
- :param bool enabled: While set to true, versioning is fully enabled for this bucket.
5244
+ Buckets to include in the Storage Intelligence plan.
4406
5245
  """
4407
- pulumi.set(__self__, "enabled", enabled)
5246
+ return pulumi.get(self, "included_cloud_storage_buckets")
4408
5247
 
4409
5248
  @property
4410
- @pulumi.getter
4411
- def enabled(self) -> bool:
5249
+ @pulumi.getter(name="includedCloudStorageLocations")
5250
+ def included_cloud_storage_locations(self) -> Sequence['outputs.GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocationResult']:
4412
5251
  """
4413
- While set to true, versioning is fully enabled for this bucket.
5252
+ Locations to include in the Storage Intelligence plan.
4414
5253
  """
4415
- return pulumi.get(self, "enabled")
5254
+ return pulumi.get(self, "included_cloud_storage_locations")
4416
5255
 
4417
5256
 
4418
5257
  @pulumi.output_type
4419
- class GetBucketWebsiteResult(dict):
5258
+ class GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBucketResult(dict):
4420
5259
  def __init__(__self__, *,
4421
- main_page_suffix: str,
4422
- not_found_page: str):
4423
- """
4424
- :param str main_page_suffix: Behaves as the bucket's directory index where missing objects are treated as potential directories.
4425
- :param str not_found_page: The custom object to return when a requested resource is not found.
4426
- """
4427
- pulumi.set(__self__, "main_page_suffix", main_page_suffix)
4428
- pulumi.set(__self__, "not_found_page", not_found_page)
4429
-
4430
- @property
4431
- @pulumi.getter(name="mainPageSuffix")
4432
- def main_page_suffix(self) -> str:
5260
+ bucket_id_regexes: Sequence[str]):
4433
5261
  """
4434
- Behaves as the bucket's directory index where missing objects are treated as potential directories.
5262
+ :param Sequence[str] bucket_id_regexes: List of bucket id regexes to exclude in the storage intelligence plan.
4435
5263
  """
4436
- return pulumi.get(self, "main_page_suffix")
5264
+ pulumi.set(__self__, "bucket_id_regexes", bucket_id_regexes)
4437
5265
 
4438
5266
  @property
4439
- @pulumi.getter(name="notFoundPage")
4440
- def not_found_page(self) -> str:
5267
+ @pulumi.getter(name="bucketIdRegexes")
5268
+ def bucket_id_regexes(self) -> Sequence[str]:
4441
5269
  """
4442
- The custom object to return when a requested resource is not found.
5270
+ List of bucket id regexes to exclude in the storage intelligence plan.
4443
5271
  """
4444
- return pulumi.get(self, "not_found_page")
5272
+ return pulumi.get(self, "bucket_id_regexes")
4445
5273
 
4446
5274
 
4447
5275
  @pulumi.output_type
4448
- class GetBucketsBucketResult(dict):
5276
+ class GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocationResult(dict):
4449
5277
  def __init__(__self__, *,
4450
- labels: Mapping[str, str],
4451
- location: str,
4452
- name: str,
4453
- self_link: str,
4454
- storage_class: str):
5278
+ locations: Sequence[str]):
4455
5279
  """
4456
- :param Mapping[str, str] labels: User-provided bucket labels, in key/value pairs.
4457
- :param str location: The location of the bucket.
4458
- :param str name: The name of the bucket.
4459
- :param str self_link: A url reference to the bucket.
4460
- :param str storage_class: The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the bucket.
5280
+ :param Sequence[str] locations: List of locations.
4461
5281
  """
4462
- pulumi.set(__self__, "labels", labels)
4463
- pulumi.set(__self__, "location", location)
4464
- pulumi.set(__self__, "name", name)
4465
- pulumi.set(__self__, "self_link", self_link)
4466
- pulumi.set(__self__, "storage_class", storage_class)
5282
+ pulumi.set(__self__, "locations", locations)
4467
5283
 
4468
5284
  @property
4469
5285
  @pulumi.getter
4470
- def labels(self) -> Mapping[str, str]:
5286
+ def locations(self) -> Sequence[str]:
4471
5287
  """
4472
- User-provided bucket labels, in key/value pairs.
5288
+ List of locations.
4473
5289
  """
4474
- return pulumi.get(self, "labels")
5290
+ return pulumi.get(self, "locations")
4475
5291
 
4476
- @property
4477
- @pulumi.getter
4478
- def location(self) -> str:
5292
+
5293
+ @pulumi.output_type
5294
+ class GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBucketResult(dict):
5295
+ def __init__(__self__, *,
5296
+ bucket_id_regexes: Sequence[str]):
4479
5297
  """
4480
- The location of the bucket.
5298
+ :param Sequence[str] bucket_id_regexes: List of bucket id regexes to exclude in the storage intelligence plan.
4481
5299
  """
4482
- return pulumi.get(self, "location")
5300
+ pulumi.set(__self__, "bucket_id_regexes", bucket_id_regexes)
4483
5301
 
4484
5302
  @property
4485
- @pulumi.getter
4486
- def name(self) -> str:
5303
+ @pulumi.getter(name="bucketIdRegexes")
5304
+ def bucket_id_regexes(self) -> Sequence[str]:
4487
5305
  """
4488
- The name of the bucket.
5306
+ List of bucket id regexes to exclude in the storage intelligence plan.
4489
5307
  """
4490
- return pulumi.get(self, "name")
5308
+ return pulumi.get(self, "bucket_id_regexes")
4491
5309
 
4492
- @property
4493
- @pulumi.getter(name="selfLink")
4494
- def self_link(self) -> str:
5310
+
5311
+ @pulumi.output_type
5312
+ class GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocationResult(dict):
5313
+ def __init__(__self__, *,
5314
+ locations: Sequence[str]):
4495
5315
  """
4496
- A url reference to the bucket.
5316
+ :param Sequence[str] locations: List of locations.
4497
5317
  """
4498
- return pulumi.get(self, "self_link")
5318
+ pulumi.set(__self__, "locations", locations)
4499
5319
 
4500
5320
  @property
4501
- @pulumi.getter(name="storageClass")
4502
- def storage_class(self) -> str:
5321
+ @pulumi.getter
5322
+ def locations(self) -> Sequence[str]:
4503
5323
  """
4504
- The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the bucket.
5324
+ List of locations.
4505
5325
  """
4506
- return pulumi.get(self, "storage_class")
5326
+ return pulumi.get(self, "locations")
4507
5327
 
4508
5328
 
4509
5329
  @pulumi.output_type