pulumi-gcp 7.8.0a1706805960__py3-none-any.whl → 7.8.0a1706829616__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. pulumi_gcp/_utilities.py +6 -2
  2. pulumi_gcp/alloydb/outputs.py +16 -0
  3. pulumi_gcp/artifactregistry/outputs.py +204 -0
  4. pulumi_gcp/assuredworkloads/_inputs.py +34 -0
  5. pulumi_gcp/assuredworkloads/outputs.py +34 -0
  6. pulumi_gcp/backupdisasterrecovery/outputs.py +20 -0
  7. pulumi_gcp/beyondcorp/outputs.py +54 -0
  8. pulumi_gcp/bigquery/_inputs.py +18 -0
  9. pulumi_gcp/bigquery/outputs.py +172 -0
  10. pulumi_gcp/bigtable/_inputs.py +4 -0
  11. pulumi_gcp/bigtable/outputs.py +4 -0
  12. pulumi_gcp/certificateauthority/outputs.py +378 -0
  13. pulumi_gcp/certificatemanager/outputs.py +32 -0
  14. pulumi_gcp/cloudbuild/outputs.py +1009 -3
  15. pulumi_gcp/cloudbuildv2/_inputs.py +14 -0
  16. pulumi_gcp/cloudbuildv2/outputs.py +14 -0
  17. pulumi_gcp/clouddeploy/_inputs.py +36 -0
  18. pulumi_gcp/clouddeploy/outputs.py +36 -0
  19. pulumi_gcp/cloudfunctions/_inputs.py +4 -0
  20. pulumi_gcp/cloudfunctions/outputs.py +54 -0
  21. pulumi_gcp/cloudfunctionsv2/outputs.py +302 -0
  22. pulumi_gcp/cloudidentity/outputs.py +54 -0
  23. pulumi_gcp/cloudrun/outputs.py +704 -0
  24. pulumi_gcp/cloudrunv2/outputs.py +929 -5
  25. pulumi_gcp/composer/_inputs.py +430 -0
  26. pulumi_gcp/composer/outputs.py +860 -0
  27. pulumi_gcp/compute/_inputs.py +924 -0
  28. pulumi_gcp/compute/outputs.py +4091 -1
  29. pulumi_gcp/container/_inputs.py +542 -0
  30. pulumi_gcp/container/outputs.py +2137 -3
  31. pulumi_gcp/dataplex/_inputs.py +66 -0
  32. pulumi_gcp/dataplex/outputs.py +66 -0
  33. pulumi_gcp/dataproc/_inputs.py +174 -0
  34. pulumi_gcp/dataproc/outputs.py +174 -0
  35. pulumi_gcp/dns/_inputs.py +34 -0
  36. pulumi_gcp/dns/outputs.py +34 -0
  37. pulumi_gcp/filestore/outputs.py +88 -0
  38. pulumi_gcp/firebaserules/_inputs.py +6 -0
  39. pulumi_gcp/firebaserules/outputs.py +6 -0
  40. pulumi_gcp/folder/_inputs.py +4 -0
  41. pulumi_gcp/folder/iam_audit_config.py +2 -2
  42. pulumi_gcp/folder/iam_member.py +2 -2
  43. pulumi_gcp/folder/iam_policy.py +2 -2
  44. pulumi_gcp/folder/outputs.py +54 -0
  45. pulumi_gcp/gkehub/_inputs.py +8 -0
  46. pulumi_gcp/gkehub/outputs.py +8 -0
  47. pulumi_gcp/iam/outputs.py +92 -0
  48. pulumi_gcp/kms/outputs.py +16 -0
  49. pulumi_gcp/logging/_inputs.py +108 -0
  50. pulumi_gcp/logging/outputs.py +108 -0
  51. pulumi_gcp/monitoring/outputs.py +14 -0
  52. pulumi_gcp/networkconnectivity/_inputs.py +6 -0
  53. pulumi_gcp/networkconnectivity/outputs.py +6 -0
  54. pulumi_gcp/organizations/_inputs.py +4 -0
  55. pulumi_gcp/organizations/iam_audit_config.py +2 -2
  56. pulumi_gcp/organizations/iam_member.py +2 -2
  57. pulumi_gcp/organizations/iam_policy.py +2 -2
  58. pulumi_gcp/organizations/outputs.py +4 -0
  59. pulumi_gcp/projects/_inputs.py +4 -0
  60. pulumi_gcp/projects/iam_audit_config.py +2 -2
  61. pulumi_gcp/projects/iam_binding.py +2 -2
  62. pulumi_gcp/projects/iam_member.py +2 -2
  63. pulumi_gcp/projects/iam_policy.py +2 -2
  64. pulumi_gcp/projects/outputs.py +54 -0
  65. pulumi_gcp/pubsub/outputs.py +282 -0
  66. pulumi_gcp/redis/outputs.py +204 -0
  67. pulumi_gcp/secretmanager/outputs.py +88 -0
  68. pulumi_gcp/sourcerepo/outputs.py +20 -0
  69. pulumi_gcp/spanner/outputs.py +68 -0
  70. pulumi_gcp/sql/_inputs.py +50 -0
  71. pulumi_gcp/sql/outputs.py +904 -0
  72. pulumi_gcp/storage/outputs.py +188 -0
  73. pulumi_gcp/vertex/outputs.py +124 -0
  74. pulumi_gcp/vmwareengine/outputs.py +208 -0
  75. pulumi_gcp/vpcaccess/outputs.py +4 -0
  76. {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/METADATA +2 -1
  77. {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/RECORD +79 -79
  78. {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/WHEEL +0 -0
  79. {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/top_level.txt +0 -0
@@ -3067,11 +3067,19 @@ class WorkerPoolWorkerConfig(dict):
3067
3067
  class GetTriggerApprovalConfigResult(dict):
3068
3068
  def __init__(__self__, *,
3069
3069
  approval_required: bool):
3070
+ """
3071
+ :param bool approval_required: Whether or not approval is needed. If this is set on a build, it will become pending when run,
3072
+ and will need to be explicitly approved to start.
3073
+ """
3070
3074
  pulumi.set(__self__, "approval_required", approval_required)
3071
3075
 
3072
3076
  @property
3073
3077
  @pulumi.getter(name="approvalRequired")
3074
3078
  def approval_required(self) -> bool:
3079
+ """
3080
+ Whether or not approval is needed. If this is set on a build, it will become pending when run,
3081
+ and will need to be explicitly approved to start.
3082
+ """
3075
3083
  return pulumi.get(self, "approval_required")
3076
3084
 
3077
3085
 
@@ -3083,6 +3091,14 @@ class GetTriggerBitbucketServerTriggerConfigResult(dict):
3083
3091
  pull_requests: Sequence['outputs.GetTriggerBitbucketServerTriggerConfigPullRequestResult'],
3084
3092
  pushes: Sequence['outputs.GetTriggerBitbucketServerTriggerConfigPushResult'],
3085
3093
  repo_slug: str):
3094
+ """
3095
+ :param str bitbucket_server_config_resource: The Bitbucket server config resource that this trigger config maps to.
3096
+ :param str project_key: Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
3097
+ :param Sequence['GetTriggerBitbucketServerTriggerConfigPullRequestArgs'] pull_requests: Filter to match changes in pull requests.
3098
+ :param Sequence['GetTriggerBitbucketServerTriggerConfigPushArgs'] pushes: Filter to match changes in refs like branches, tags.
3099
+ :param str repo_slug: Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.
3100
+ For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
3101
+ """
3086
3102
  pulumi.set(__self__, "bitbucket_server_config_resource", bitbucket_server_config_resource)
3087
3103
  pulumi.set(__self__, "project_key", project_key)
3088
3104
  pulumi.set(__self__, "pull_requests", pull_requests)
@@ -3092,26 +3108,42 @@ class GetTriggerBitbucketServerTriggerConfigResult(dict):
3092
3108
  @property
3093
3109
  @pulumi.getter(name="bitbucketServerConfigResource")
3094
3110
  def bitbucket_server_config_resource(self) -> str:
3111
+ """
3112
+ The Bitbucket server config resource that this trigger config maps to.
3113
+ """
3095
3114
  return pulumi.get(self, "bitbucket_server_config_resource")
3096
3115
 
3097
3116
  @property
3098
3117
  @pulumi.getter(name="projectKey")
3099
3118
  def project_key(self) -> str:
3119
+ """
3120
+ Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
3121
+ """
3100
3122
  return pulumi.get(self, "project_key")
3101
3123
 
3102
3124
  @property
3103
3125
  @pulumi.getter(name="pullRequests")
3104
3126
  def pull_requests(self) -> Sequence['outputs.GetTriggerBitbucketServerTriggerConfigPullRequestResult']:
3127
+ """
3128
+ Filter to match changes in pull requests.
3129
+ """
3105
3130
  return pulumi.get(self, "pull_requests")
3106
3131
 
3107
3132
  @property
3108
3133
  @pulumi.getter
3109
3134
  def pushes(self) -> Sequence['outputs.GetTriggerBitbucketServerTriggerConfigPushResult']:
3135
+ """
3136
+ Filter to match changes in refs like branches, tags.
3137
+ """
3110
3138
  return pulumi.get(self, "pushes")
3111
3139
 
3112
3140
  @property
3113
3141
  @pulumi.getter(name="repoSlug")
3114
3142
  def repo_slug(self) -> str:
3143
+ """
3144
+ Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.
3145
+ For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
3146
+ """
3115
3147
  return pulumi.get(self, "repo_slug")
3116
3148
 
3117
3149
 
@@ -3121,6 +3153,12 @@ class GetTriggerBitbucketServerTriggerConfigPullRequestResult(dict):
3121
3153
  branch: str,
3122
3154
  comment_control: str,
3123
3155
  invert_regex: bool):
3156
+ """
3157
+ :param str branch: Regex of branches to match.
3158
+ The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
3159
+ :param str comment_control: Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
3160
+ :param bool invert_regex: If true, branches that do NOT match the git_ref will trigger a build.
3161
+ """
3124
3162
  pulumi.set(__self__, "branch", branch)
3125
3163
  pulumi.set(__self__, "comment_control", comment_control)
3126
3164
  pulumi.set(__self__, "invert_regex", invert_regex)
@@ -3128,16 +3166,26 @@ class GetTriggerBitbucketServerTriggerConfigPullRequestResult(dict):
3128
3166
  @property
3129
3167
  @pulumi.getter
3130
3168
  def branch(self) -> str:
3169
+ """
3170
+ Regex of branches to match.
3171
+ The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
3172
+ """
3131
3173
  return pulumi.get(self, "branch")
3132
3174
 
3133
3175
  @property
3134
3176
  @pulumi.getter(name="commentControl")
3135
3177
  def comment_control(self) -> str:
3178
+ """
3179
+ Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
3180
+ """
3136
3181
  return pulumi.get(self, "comment_control")
3137
3182
 
3138
3183
  @property
3139
3184
  @pulumi.getter(name="invertRegex")
3140
3185
  def invert_regex(self) -> bool:
3186
+ """
3187
+ If true, branches that do NOT match the git_ref will trigger a build.
3188
+ """
3141
3189
  return pulumi.get(self, "invert_regex")
3142
3190
 
3143
3191
 
@@ -3147,6 +3195,11 @@ class GetTriggerBitbucketServerTriggerConfigPushResult(dict):
3147
3195
  branch: str,
3148
3196
  invert_regex: bool,
3149
3197
  tag: str):
3198
+ """
3199
+ :param str branch: Regex of branches to match. Specify only one of branch or tag.
3200
+ :param bool invert_regex: When true, only trigger a build if the revision regex does NOT match the gitRef regex.
3201
+ :param str tag: Regex of tags to match. Specify only one of branch or tag.
3202
+ """
3150
3203
  pulumi.set(__self__, "branch", branch)
3151
3204
  pulumi.set(__self__, "invert_regex", invert_regex)
3152
3205
  pulumi.set(__self__, "tag", tag)
@@ -3154,16 +3207,25 @@ class GetTriggerBitbucketServerTriggerConfigPushResult(dict):
3154
3207
  @property
3155
3208
  @pulumi.getter
3156
3209
  def branch(self) -> str:
3210
+ """
3211
+ Regex of branches to match. Specify only one of branch or tag.
3212
+ """
3157
3213
  return pulumi.get(self, "branch")
3158
3214
 
3159
3215
  @property
3160
3216
  @pulumi.getter(name="invertRegex")
3161
3217
  def invert_regex(self) -> bool:
3218
+ """
3219
+ When true, only trigger a build if the revision regex does NOT match the gitRef regex.
3220
+ """
3162
3221
  return pulumi.get(self, "invert_regex")
3163
3222
 
3164
3223
  @property
3165
3224
  @pulumi.getter
3166
3225
  def tag(self) -> str:
3226
+ """
3227
+ Regex of tags to match. Specify only one of branch or tag.
3228
+ """
3167
3229
  return pulumi.get(self, "tag")
3168
3230
 
3169
3231
 
@@ -3182,6 +3244,33 @@ class GetTriggerBuildResult(dict):
3182
3244
  substitutions: Mapping[str, str],
3183
3245
  tags: Sequence[str],
3184
3246
  timeout: str):
3247
+ """
3248
+ :param Sequence['GetTriggerBuildArtifactArgs'] artifacts: Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
3249
+ :param Sequence['GetTriggerBuildAvailableSecretArgs'] available_secrets: Secrets and secret environment variables.
3250
+ :param Sequence[str] images: A list of images to be pushed upon the successful completion of all build steps.
3251
+ The images are pushed using the builder service account's credentials.
3252
+ The digests of the pushed images will be stored in the Build resource's results field.
3253
+ If any of the images fail to be pushed, the build status is marked FAILURE.
3254
+ :param str logs_bucket: Google Cloud Storage bucket where logs should be written.
3255
+ Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
3256
+ :param Sequence['GetTriggerBuildOptionArgs'] options: Special options for this build.
3257
+ :param str queue_ttl: TTL in queue for this build. If provided and the build is enqueued longer than this value,
3258
+ the build will expire and the build status will be EXPIRED.
3259
+ The TTL starts ticking from createTime.
3260
+ A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
3261
+ :param Sequence['GetTriggerBuildSecretArgs'] secrets: Secrets to decrypt using Cloud Key Management Service.
3262
+ :param Sequence['GetTriggerBuildSourceArgs'] sources: The location of the source files to build.
3263
+
3264
+ One of 'storageSource' or 'repoSource' must be provided.
3265
+ :param Sequence['GetTriggerBuildStepArgs'] steps: The operations to be performed on the workspace.
3266
+ :param Mapping[str, str] substitutions: Substitutions data for Build resource.
3267
+ :param Sequence[str] tags: Tags for annotation of a Build. These are not docker tags.
3268
+ :param str timeout: Amount of time that this build should be allowed to run, to second granularity.
3269
+ If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT.
3270
+ This timeout must be equal to or greater than the sum of the timeouts for build steps within the build.
3271
+ The expected format is the number of seconds followed by s.
3272
+ Default time is ten minutes (600s).
3273
+ """
3185
3274
  pulumi.set(__self__, "artifacts", artifacts)
3186
3275
  pulumi.set(__self__, "available_secrets", available_secrets)
3187
3276
  pulumi.set(__self__, "images", images)
@@ -3198,61 +3287,110 @@ class GetTriggerBuildResult(dict):
3198
3287
  @property
3199
3288
  @pulumi.getter
3200
3289
  def artifacts(self) -> Sequence['outputs.GetTriggerBuildArtifactResult']:
3290
+ """
3291
+ Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
3292
+ """
3201
3293
  return pulumi.get(self, "artifacts")
3202
3294
 
3203
3295
  @property
3204
3296
  @pulumi.getter(name="availableSecrets")
3205
3297
  def available_secrets(self) -> Sequence['outputs.GetTriggerBuildAvailableSecretResult']:
3298
+ """
3299
+ Secrets and secret environment variables.
3300
+ """
3206
3301
  return pulumi.get(self, "available_secrets")
3207
3302
 
3208
3303
  @property
3209
3304
  @pulumi.getter
3210
3305
  def images(self) -> Sequence[str]:
3306
+ """
3307
+ A list of images to be pushed upon the successful completion of all build steps.
3308
+ The images are pushed using the builder service account's credentials.
3309
+ The digests of the pushed images will be stored in the Build resource's results field.
3310
+ If any of the images fail to be pushed, the build status is marked FAILURE.
3311
+ """
3211
3312
  return pulumi.get(self, "images")
3212
3313
 
3213
3314
  @property
3214
3315
  @pulumi.getter(name="logsBucket")
3215
3316
  def logs_bucket(self) -> str:
3317
+ """
3318
+ Google Cloud Storage bucket where logs should be written.
3319
+ Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
3320
+ """
3216
3321
  return pulumi.get(self, "logs_bucket")
3217
3322
 
3218
3323
  @property
3219
3324
  @pulumi.getter
3220
3325
  def options(self) -> Sequence['outputs.GetTriggerBuildOptionResult']:
3326
+ """
3327
+ Special options for this build.
3328
+ """
3221
3329
  return pulumi.get(self, "options")
3222
3330
 
3223
3331
  @property
3224
3332
  @pulumi.getter(name="queueTtl")
3225
3333
  def queue_ttl(self) -> str:
3334
+ """
3335
+ TTL in queue for this build. If provided and the build is enqueued longer than this value,
3336
+ the build will expire and the build status will be EXPIRED.
3337
+ The TTL starts ticking from createTime.
3338
+ A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
3339
+ """
3226
3340
  return pulumi.get(self, "queue_ttl")
3227
3341
 
3228
3342
  @property
3229
3343
  @pulumi.getter
3230
3344
  def secrets(self) -> Sequence['outputs.GetTriggerBuildSecretResult']:
3345
+ """
3346
+ Secrets to decrypt using Cloud Key Management Service.
3347
+ """
3231
3348
  return pulumi.get(self, "secrets")
3232
3349
 
3233
3350
  @property
3234
3351
  @pulumi.getter
3235
3352
  def sources(self) -> Sequence['outputs.GetTriggerBuildSourceResult']:
3353
+ """
3354
+ The location of the source files to build.
3355
+
3356
+ One of 'storageSource' or 'repoSource' must be provided.
3357
+ """
3236
3358
  return pulumi.get(self, "sources")
3237
3359
 
3238
3360
  @property
3239
3361
  @pulumi.getter
3240
3362
  def steps(self) -> Sequence['outputs.GetTriggerBuildStepResult']:
3363
+ """
3364
+ The operations to be performed on the workspace.
3365
+ """
3241
3366
  return pulumi.get(self, "steps")
3242
3367
 
3243
3368
  @property
3244
3369
  @pulumi.getter
3245
3370
  def substitutions(self) -> Mapping[str, str]:
3371
+ """
3372
+ Substitutions data for Build resource.
3373
+ """
3246
3374
  return pulumi.get(self, "substitutions")
3247
3375
 
3248
3376
  @property
3249
3377
  @pulumi.getter
3250
3378
  def tags(self) -> Sequence[str]:
3379
+ """
3380
+ Tags for annotation of a Build. These are not docker tags.
3381
+ """
3251
3382
  return pulumi.get(self, "tags")
3252
3383
 
3253
3384
  @property
3254
3385
  @pulumi.getter
3255
3386
  def timeout(self) -> str:
3387
+ """
3388
+ Amount of time that this build should be allowed to run, to second granularity.
3389
+ If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT.
3390
+ This timeout must be equal to or greater than the sum of the timeouts for build steps within the build.
3391
+ The expected format is the number of seconds followed by s.
3392
+ Default time is ten minutes (600s).
3393
+ """
3256
3394
  return pulumi.get(self, "timeout")
3257
3395
 
3258
3396
 
@@ -3264,6 +3402,38 @@ class GetTriggerBuildArtifactResult(dict):
3264
3402
  npm_packages: Sequence['outputs.GetTriggerBuildArtifactNpmPackageResult'],
3265
3403
  objects: Sequence['outputs.GetTriggerBuildArtifactObjectResult'],
3266
3404
  python_packages: Sequence['outputs.GetTriggerBuildArtifactPythonPackageResult']):
3405
+ """
3406
+ :param Sequence[str] images: A list of images to be pushed upon the successful completion of all build steps.
3407
+
3408
+ The images will be pushed using the builder service account's credentials.
3409
+
3410
+ The digests of the pushed images will be stored in the Build resource's results field.
3411
+
3412
+ If any of the images fail to be pushed, the build is marked FAILURE.
3413
+ :param Sequence['GetTriggerBuildArtifactMavenArtifactArgs'] maven_artifacts: A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
3414
+
3415
+ The location and generation of the uploaded objects will be stored in the Build resource's results field.
3416
+
3417
+ If any objects fail to be pushed, the build is marked FAILURE.
3418
+ :param Sequence['GetTriggerBuildArtifactNpmPackageArgs'] npm_packages: Npm package to upload to Artifact Registry upon successful completion of all build steps.
3419
+
3420
+ The location and generation of the uploaded objects will be stored in the Build resource's results field.
3421
+
3422
+ If any objects fail to be pushed, the build is marked FAILURE.
3423
+ :param Sequence['GetTriggerBuildArtifactObjectArgs'] objects: A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
3424
+
3425
+ Files in the workspace matching specified paths globs will be uploaded to the
3426
+ Cloud Storage location using the builder service account's credentials.
3427
+
3428
+ The location and generation of the uploaded objects will be stored in the Build resource's results field.
3429
+
3430
+ If any objects fail to be pushed, the build is marked FAILURE.
3431
+ :param Sequence['GetTriggerBuildArtifactPythonPackageArgs'] python_packages: Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
3432
+
3433
+ The location and generation of the uploaded objects will be stored in the Build resource's results field.
3434
+
3435
+ If any objects fail to be pushed, the build is marked FAILURE.
3436
+ """
3267
3437
  pulumi.set(__self__, "images", images)
3268
3438
  pulumi.set(__self__, "maven_artifacts", maven_artifacts)
3269
3439
  pulumi.set(__self__, "npm_packages", npm_packages)
@@ -3273,26 +3443,66 @@ class GetTriggerBuildArtifactResult(dict):
3273
3443
  @property
3274
3444
  @pulumi.getter
3275
3445
  def images(self) -> Sequence[str]:
3446
+ """
3447
+ A list of images to be pushed upon the successful completion of all build steps.
3448
+
3449
+ The images will be pushed using the builder service account's credentials.
3450
+
3451
+ The digests of the pushed images will be stored in the Build resource's results field.
3452
+
3453
+ If any of the images fail to be pushed, the build is marked FAILURE.
3454
+ """
3276
3455
  return pulumi.get(self, "images")
3277
3456
 
3278
3457
  @property
3279
3458
  @pulumi.getter(name="mavenArtifacts")
3280
3459
  def maven_artifacts(self) -> Sequence['outputs.GetTriggerBuildArtifactMavenArtifactResult']:
3460
+ """
3461
+ A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
3462
+
3463
+ The location and generation of the uploaded objects will be stored in the Build resource's results field.
3464
+
3465
+ If any objects fail to be pushed, the build is marked FAILURE.
3466
+ """
3281
3467
  return pulumi.get(self, "maven_artifacts")
3282
3468
 
3283
3469
  @property
3284
3470
  @pulumi.getter(name="npmPackages")
3285
3471
  def npm_packages(self) -> Sequence['outputs.GetTriggerBuildArtifactNpmPackageResult']:
3472
+ """
3473
+ Npm package to upload to Artifact Registry upon successful completion of all build steps.
3474
+
3475
+ The location and generation of the uploaded objects will be stored in the Build resource's results field.
3476
+
3477
+ If any objects fail to be pushed, the build is marked FAILURE.
3478
+ """
3286
3479
  return pulumi.get(self, "npm_packages")
3287
3480
 
3288
3481
  @property
3289
3482
  @pulumi.getter
3290
3483
  def objects(self) -> Sequence['outputs.GetTriggerBuildArtifactObjectResult']:
3484
+ """
3485
+ A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
3486
+
3487
+ Files in the workspace matching specified paths globs will be uploaded to the
3488
+ Cloud Storage location using the builder service account's credentials.
3489
+
3490
+ The location and generation of the uploaded objects will be stored in the Build resource's results field.
3491
+
3492
+ If any objects fail to be pushed, the build is marked FAILURE.
3493
+ """
3291
3494
  return pulumi.get(self, "objects")
3292
3495
 
3293
3496
  @property
3294
3497
  @pulumi.getter(name="pythonPackages")
3295
3498
  def python_packages(self) -> Sequence['outputs.GetTriggerBuildArtifactPythonPackageResult']:
3499
+ """
3500
+ Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
3501
+
3502
+ The location and generation of the uploaded objects will be stored in the Build resource's results field.
3503
+
3504
+ If any objects fail to be pushed, the build is marked FAILURE.
3505
+ """
3296
3506
  return pulumi.get(self, "python_packages")
3297
3507
 
3298
3508
 
@@ -3304,6 +3514,15 @@ class GetTriggerBuildArtifactMavenArtifactResult(dict):
3304
3514
  path: str,
3305
3515
  repository: str,
3306
3516
  version: str):
3517
+ """
3518
+ :param str artifact_id: Maven artifactId value used when uploading the artifact to Artifact Registry.
3519
+ :param str group_id: Maven groupId value used when uploading the artifact to Artifact Registry.
3520
+ :param str path: Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
3521
+ :param str repository: Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
3522
+
3523
+ Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
3524
+ :param str version: Maven version value used when uploading the artifact to Artifact Registry.
3525
+ """
3307
3526
  pulumi.set(__self__, "artifact_id", artifact_id)
3308
3527
  pulumi.set(__self__, "group_id", group_id)
3309
3528
  pulumi.set(__self__, "path", path)
@@ -3313,26 +3532,43 @@ class GetTriggerBuildArtifactMavenArtifactResult(dict):
3313
3532
  @property
3314
3533
  @pulumi.getter(name="artifactId")
3315
3534
  def artifact_id(self) -> str:
3535
+ """
3536
+ Maven artifactId value used when uploading the artifact to Artifact Registry.
3537
+ """
3316
3538
  return pulumi.get(self, "artifact_id")
3317
3539
 
3318
3540
  @property
3319
3541
  @pulumi.getter(name="groupId")
3320
3542
  def group_id(self) -> str:
3543
+ """
3544
+ Maven groupId value used when uploading the artifact to Artifact Registry.
3545
+ """
3321
3546
  return pulumi.get(self, "group_id")
3322
3547
 
3323
3548
  @property
3324
3549
  @pulumi.getter
3325
3550
  def path(self) -> str:
3551
+ """
3552
+ Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
3553
+ """
3326
3554
  return pulumi.get(self, "path")
3327
3555
 
3328
3556
  @property
3329
3557
  @pulumi.getter
3330
3558
  def repository(self) -> str:
3559
+ """
3560
+ Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
3561
+
3562
+ Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
3563
+ """
3331
3564
  return pulumi.get(self, "repository")
3332
3565
 
3333
3566
  @property
3334
3567
  @pulumi.getter
3335
3568
  def version(self) -> str:
3569
+ """
3570
+ Maven version value used when uploading the artifact to Artifact Registry.
3571
+ """
3336
3572
  return pulumi.get(self, "version")
3337
3573
 
3338
3574
 
@@ -3341,17 +3577,31 @@ class GetTriggerBuildArtifactNpmPackageResult(dict):
3341
3577
  def __init__(__self__, *,
3342
3578
  package_path: str,
3343
3579
  repository: str):
3580
+ """
3581
+ :param str package_path: Path to the package.json. e.g. workspace/path/to/package
3582
+ :param str repository: Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
3583
+
3584
+ Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
3585
+ """
3344
3586
  pulumi.set(__self__, "package_path", package_path)
3345
3587
  pulumi.set(__self__, "repository", repository)
3346
3588
 
3347
3589
  @property
3348
3590
  @pulumi.getter(name="packagePath")
3349
3591
  def package_path(self) -> str:
3592
+ """
3593
+ Path to the package.json. e.g. workspace/path/to/package
3594
+ """
3350
3595
  return pulumi.get(self, "package_path")
3351
3596
 
3352
3597
  @property
3353
3598
  @pulumi.getter
3354
3599
  def repository(self) -> str:
3600
+ """
3601
+ Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
3602
+
3603
+ Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
3604
+ """
3355
3605
  return pulumi.get(self, "repository")
3356
3606
 
3357
3607
 
@@ -3365,6 +3615,8 @@ class GetTriggerBuildArtifactObjectResult(dict):
3365
3615
  :param str location: The Cloud Build location for the trigger.
3366
3616
 
3367
3617
  - - -
3618
+ :param Sequence[str] paths: Path globs used to match files in the build's workspace.
3619
+ :param Sequence['GetTriggerBuildArtifactObjectTimingArgs'] timings: Output only. Stores timing information for pushing all artifact objects.
3368
3620
  """
3369
3621
  pulumi.set(__self__, "location", location)
3370
3622
  pulumi.set(__self__, "paths", paths)
@@ -3383,11 +3635,17 @@ class GetTriggerBuildArtifactObjectResult(dict):
3383
3635
  @property
3384
3636
  @pulumi.getter
3385
3637
  def paths(self) -> Sequence[str]:
3638
+ """
3639
+ Path globs used to match files in the build's workspace.
3640
+ """
3386
3641
  return pulumi.get(self, "paths")
3387
3642
 
3388
3643
  @property
3389
3644
  @pulumi.getter
3390
3645
  def timings(self) -> Sequence['outputs.GetTriggerBuildArtifactObjectTimingResult']:
3646
+ """
3647
+ Output only. Stores timing information for pushing all artifact objects.
3648
+ """
3391
3649
  return pulumi.get(self, "timings")
3392
3650
 
3393
3651
 
@@ -3396,17 +3654,39 @@ class GetTriggerBuildArtifactObjectTimingResult(dict):
3396
3654
  def __init__(__self__, *,
3397
3655
  end_time: str,
3398
3656
  start_time: str):
3657
+ """
3658
+ :param str end_time: End of time span.
3659
+
3660
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
3661
+ nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
3662
+ :param str start_time: Start of time span.
3663
+
3664
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
3665
+ nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
3666
+ """
3399
3667
  pulumi.set(__self__, "end_time", end_time)
3400
3668
  pulumi.set(__self__, "start_time", start_time)
3401
3669
 
3402
3670
  @property
3403
3671
  @pulumi.getter(name="endTime")
3404
3672
  def end_time(self) -> str:
3405
- return pulumi.get(self, "end_time")
3673
+ """
3674
+ End of time span.
3406
3675
 
3407
- @property
3408
- @pulumi.getter(name="startTime")
3676
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
3677
+ nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
3678
+ """
3679
+ return pulumi.get(self, "end_time")
3680
+
3681
+ @property
3682
+ @pulumi.getter(name="startTime")
3409
3683
  def start_time(self) -> str:
3684
+ """
3685
+ Start of time span.
3686
+
3687
+ A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
3688
+ nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
3689
+ """
3410
3690
  return pulumi.get(self, "start_time")
3411
3691
 
3412
3692
 
@@ -3415,17 +3695,31 @@ class GetTriggerBuildArtifactPythonPackageResult(dict):
3415
3695
  def __init__(__self__, *,
3416
3696
  paths: Sequence[str],
3417
3697
  repository: str):
3698
+ """
3699
+ :param Sequence[str] paths: Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
3700
+ :param str repository: Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
3701
+
3702
+ Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
3703
+ """
3418
3704
  pulumi.set(__self__, "paths", paths)
3419
3705
  pulumi.set(__self__, "repository", repository)
3420
3706
 
3421
3707
  @property
3422
3708
  @pulumi.getter
3423
3709
  def paths(self) -> Sequence[str]:
3710
+ """
3711
+ Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
3712
+ """
3424
3713
  return pulumi.get(self, "paths")
3425
3714
 
3426
3715
  @property
3427
3716
  @pulumi.getter
3428
3717
  def repository(self) -> str:
3718
+ """
3719
+ Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
3720
+
3721
+ Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
3722
+ """
3429
3723
  return pulumi.get(self, "repository")
3430
3724
 
3431
3725
 
@@ -3433,11 +3727,17 @@ class GetTriggerBuildArtifactPythonPackageResult(dict):
3433
3727
  class GetTriggerBuildAvailableSecretResult(dict):
3434
3728
  def __init__(__self__, *,
3435
3729
  secret_managers: Sequence['outputs.GetTriggerBuildAvailableSecretSecretManagerResult']):
3730
+ """
3731
+ :param Sequence['GetTriggerBuildAvailableSecretSecretManagerArgs'] secret_managers: Pairs a secret environment variable with a SecretVersion in Secret Manager.
3732
+ """
3436
3733
  pulumi.set(__self__, "secret_managers", secret_managers)
3437
3734
 
3438
3735
  @property
3439
3736
  @pulumi.getter(name="secretManagers")
3440
3737
  def secret_managers(self) -> Sequence['outputs.GetTriggerBuildAvailableSecretSecretManagerResult']:
3738
+ """
3739
+ Pairs a secret environment variable with a SecretVersion in Secret Manager.
3740
+ """
3441
3741
  return pulumi.get(self, "secret_managers")
3442
3742
 
3443
3743
 
@@ -3446,17 +3746,31 @@ class GetTriggerBuildAvailableSecretSecretManagerResult(dict):
3446
3746
  def __init__(__self__, *,
3447
3747
  env: str,
3448
3748
  version_name: str):
3749
+ """
3750
+ :param str env: Environment variable name to associate with the secret. Secret environment
3751
+ variables must be unique across all of a build's secrets, and must be used
3752
+ by at least one build step.
3753
+ :param str version_name: Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
3754
+ """
3449
3755
  pulumi.set(__self__, "env", env)
3450
3756
  pulumi.set(__self__, "version_name", version_name)
3451
3757
 
3452
3758
  @property
3453
3759
  @pulumi.getter
3454
3760
  def env(self) -> str:
3761
+ """
3762
+ Environment variable name to associate with the secret. Secret environment
3763
+ variables must be unique across all of a build's secrets, and must be used
3764
+ by at least one build step.
3765
+ """
3455
3766
  return pulumi.get(self, "env")
3456
3767
 
3457
3768
  @property
3458
3769
  @pulumi.getter(name="versionName")
3459
3770
  def version_name(self) -> str:
3771
+ """
3772
+ Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
3773
+ """
3460
3774
  return pulumi.get(self, "version_name")
3461
3775
 
3462
3776
 
@@ -3475,6 +3789,44 @@ class GetTriggerBuildOptionResult(dict):
3475
3789
  substitution_option: str,
3476
3790
  volumes: Sequence['outputs.GetTriggerBuildOptionVolumeResult'],
3477
3791
  worker_pool: str):
3792
+ """
3793
+ :param int disk_size_gb: Requested disk size for the VM that runs the build. Note that this is NOT "disk free";
3794
+ some of the space will be used by the operating system and build utilities.
3795
+ Also note that this is the minimum disk size that will be allocated for the build --
3796
+ the build may run with a larger disk than requested. At present, the maximum disk size
3797
+ is 1000GB; builds that request more than the maximum are rejected with an error.
3798
+ :param bool dynamic_substitutions: Option to specify whether or not to apply bash style string operations to the substitutions.
3799
+
3800
+ NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
3801
+ :param Sequence[str] envs: A list of global environment variable definitions that will exist for all build steps
3802
+ in this build. If a variable is defined in both globally and in a build step,
3803
+ the variable will use the build step value.
3804
+
3805
+ The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
3806
+ :param str log_streaming_option: Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
3807
+ :param str logging: Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
3808
+ :param str machine_type: Compute Engine machine type on which to run the build.
3809
+ :param str requested_verify_option: Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]
3810
+ :param Sequence[str] secret_envs: A list of global environment variables, which are encrypted using a Cloud Key Management
3811
+ Service crypto key. These values must be specified in the build's Secret. These variables
3812
+ will be available to all build steps in this build.
3813
+ :param Sequence[str] source_provenance_hashes: Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]
3814
+ :param str substitution_option: Option to specify behavior when there is an error in the substitution checks.
3815
+
3816
+ NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden
3817
+ in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"]
3818
+ :param Sequence['GetTriggerBuildOptionVolumeArgs'] volumes: Global list of volumes to mount for ALL build steps
3819
+
3820
+ Each volume is created as an empty volume prior to starting the build process.
3821
+ Upon completion of the build, volumes and their contents are discarded. Global
3822
+ volume names and paths cannot conflict with the volumes defined a build step.
3823
+
3824
+ Using a global volume in a build with only one step is not valid as it is indicative
3825
+ of a build request with an incorrect configuration.
3826
+ :param str worker_pool: Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
3827
+
3828
+ This field is experimental.
3829
+ """
3478
3830
  pulumi.set(__self__, "disk_size_gb", disk_size_gb)
3479
3831
  pulumi.set(__self__, "dynamic_substitutions", dynamic_substitutions)
3480
3832
  pulumi.set(__self__, "envs", envs)
@@ -3491,61 +3843,121 @@ class GetTriggerBuildOptionResult(dict):
3491
3843
  @property
3492
3844
  @pulumi.getter(name="diskSizeGb")
3493
3845
  def disk_size_gb(self) -> int:
3846
+ """
3847
+ Requested disk size for the VM that runs the build. Note that this is NOT "disk free";
3848
+ some of the space will be used by the operating system and build utilities.
3849
+ Also note that this is the minimum disk size that will be allocated for the build --
3850
+ the build may run with a larger disk than requested. At present, the maximum disk size
3851
+ is 1000GB; builds that request more than the maximum are rejected with an error.
3852
+ """
3494
3853
  return pulumi.get(self, "disk_size_gb")
3495
3854
 
3496
3855
  @property
3497
3856
  @pulumi.getter(name="dynamicSubstitutions")
3498
3857
  def dynamic_substitutions(self) -> bool:
3858
+ """
3859
+ Option to specify whether or not to apply bash style string operations to the substitutions.
3860
+
3861
+ NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
3862
+ """
3499
3863
  return pulumi.get(self, "dynamic_substitutions")
3500
3864
 
3501
3865
  @property
3502
3866
  @pulumi.getter
3503
3867
  def envs(self) -> Sequence[str]:
3868
+ """
3869
+ A list of global environment variable definitions that will exist for all build steps
3870
+ in this build. If a variable is defined in both globally and in a build step,
3871
+ the variable will use the build step value.
3872
+
3873
+ The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
3874
+ """
3504
3875
  return pulumi.get(self, "envs")
3505
3876
 
3506
3877
  @property
3507
3878
  @pulumi.getter(name="logStreamingOption")
3508
3879
  def log_streaming_option(self) -> str:
3880
+ """
3881
+ Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
3882
+ """
3509
3883
  return pulumi.get(self, "log_streaming_option")
3510
3884
 
3511
3885
  @property
3512
3886
  @pulumi.getter
3513
3887
  def logging(self) -> str:
3888
+ """
3889
+ Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
3890
+ """
3514
3891
  return pulumi.get(self, "logging")
3515
3892
 
3516
3893
  @property
3517
3894
  @pulumi.getter(name="machineType")
3518
3895
  def machine_type(self) -> str:
3896
+ """
3897
+ Compute Engine machine type on which to run the build.
3898
+ """
3519
3899
  return pulumi.get(self, "machine_type")
3520
3900
 
3521
3901
  @property
3522
3902
  @pulumi.getter(name="requestedVerifyOption")
3523
3903
  def requested_verify_option(self) -> str:
3904
+ """
3905
+ Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]
3906
+ """
3524
3907
  return pulumi.get(self, "requested_verify_option")
3525
3908
 
3526
3909
  @property
3527
3910
  @pulumi.getter(name="secretEnvs")
3528
3911
  def secret_envs(self) -> Sequence[str]:
3912
+ """
3913
+ A list of global environment variables, which are encrypted using a Cloud Key Management
3914
+ Service crypto key. These values must be specified in the build's Secret. These variables
3915
+ will be available to all build steps in this build.
3916
+ """
3529
3917
  return pulumi.get(self, "secret_envs")
3530
3918
 
3531
3919
  @property
3532
3920
  @pulumi.getter(name="sourceProvenanceHashes")
3533
3921
  def source_provenance_hashes(self) -> Sequence[str]:
3922
+ """
3923
+ Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]
3924
+ """
3534
3925
  return pulumi.get(self, "source_provenance_hashes")
3535
3926
 
3536
3927
  @property
3537
3928
  @pulumi.getter(name="substitutionOption")
3538
3929
  def substitution_option(self) -> str:
3930
+ """
3931
+ Option to specify behavior when there is an error in the substitution checks.
3932
+
3933
+ NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden
3934
+ in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"]
3935
+ """
3539
3936
  return pulumi.get(self, "substitution_option")
3540
3937
 
3541
3938
  @property
3542
3939
  @pulumi.getter
3543
3940
  def volumes(self) -> Sequence['outputs.GetTriggerBuildOptionVolumeResult']:
3941
+ """
3942
+ Global list of volumes to mount for ALL build steps
3943
+
3944
+ Each volume is created as an empty volume prior to starting the build process.
3945
+ Upon completion of the build, volumes and their contents are discarded. Global
3946
+ volume names and paths cannot conflict with the volumes defined a build step.
3947
+
3948
+ Using a global volume in a build with only one step is not valid as it is indicative
3949
+ of a build request with an incorrect configuration.
3950
+ """
3544
3951
  return pulumi.get(self, "volumes")
3545
3952
 
3546
3953
  @property
3547
3954
  @pulumi.getter(name="workerPool")
3548
3955
  def worker_pool(self) -> str:
3956
+ """
3957
+ Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
3958
+
3959
+ This field is experimental.
3960
+ """
3549
3961
  return pulumi.get(self, "worker_pool")
3550
3962
 
3551
3963
 
@@ -3554,17 +3966,39 @@ class GetTriggerBuildOptionVolumeResult(dict):
3554
3966
  def __init__(__self__, *,
3555
3967
  name: str,
3556
3968
  path: str):
3969
+ """
3970
+ :param str name: Name of the volume to mount.
3971
+
3972
+ Volume names must be unique per build step and must be valid names for Docker volumes.
3973
+ Each named volume must be used by at least two build steps.
3974
+ :param str path: Path at which to mount the volume.
3975
+
3976
+ Paths must be absolute and cannot conflict with other volume paths on the same
3977
+ build step or with certain reserved volume paths.
3978
+ """
3557
3979
  pulumi.set(__self__, "name", name)
3558
3980
  pulumi.set(__self__, "path", path)
3559
3981
 
3560
3982
  @property
3561
3983
  @pulumi.getter
3562
3984
  def name(self) -> str:
3985
+ """
3986
+ Name of the volume to mount.
3987
+
3988
+ Volume names must be unique per build step and must be valid names for Docker volumes.
3989
+ Each named volume must be used by at least two build steps.
3990
+ """
3563
3991
  return pulumi.get(self, "name")
3564
3992
 
3565
3993
  @property
3566
3994
  @pulumi.getter
3567
3995
  def path(self) -> str:
3996
+ """
3997
+ Path at which to mount the volume.
3998
+
3999
+ Paths must be absolute and cannot conflict with other volume paths on the same
4000
+ build step or with certain reserved volume paths.
4001
+ """
3568
4002
  return pulumi.get(self, "path")
3569
4003
 
3570
4004
 
@@ -3573,17 +4007,33 @@ class GetTriggerBuildSecretResult(dict):
3573
4007
  def __init__(__self__, *,
3574
4008
  kms_key_name: str,
3575
4009
  secret_env: Mapping[str, str]):
4010
+ """
4011
+ :param str kms_key_name: Cloud KMS key name to use to decrypt these envs.
4012
+ :param Mapping[str, str] secret_env: Map of environment variable name to its encrypted value.
4013
+ Secret environment variables must be unique across all of a build's secrets,
4014
+ and must be used by at least one build step. Values can be at most 64 KB in size.
4015
+ There can be at most 100 secret values across all of a build's secrets.
4016
+ """
3576
4017
  pulumi.set(__self__, "kms_key_name", kms_key_name)
3577
4018
  pulumi.set(__self__, "secret_env", secret_env)
3578
4019
 
3579
4020
  @property
3580
4021
  @pulumi.getter(name="kmsKeyName")
3581
4022
  def kms_key_name(self) -> str:
4023
+ """
4024
+ Cloud KMS key name to use to decrypt these envs.
4025
+ """
3582
4026
  return pulumi.get(self, "kms_key_name")
3583
4027
 
3584
4028
  @property
3585
4029
  @pulumi.getter(name="secretEnv")
3586
4030
  def secret_env(self) -> Mapping[str, str]:
4031
+ """
4032
+ Map of environment variable name to its encrypted value.
4033
+ Secret environment variables must be unique across all of a build's secrets,
4034
+ and must be used by at least one build step. Values can be at most 64 KB in size.
4035
+ There can be at most 100 secret values across all of a build's secrets.
4036
+ """
3587
4037
  return pulumi.get(self, "secret_env")
3588
4038
 
3589
4039
 
@@ -3592,17 +4042,27 @@ class GetTriggerBuildSourceResult(dict):
3592
4042
  def __init__(__self__, *,
3593
4043
  repo_sources: Sequence['outputs.GetTriggerBuildSourceRepoSourceResult'],
3594
4044
  storage_sources: Sequence['outputs.GetTriggerBuildSourceStorageSourceResult']):
4045
+ """
4046
+ :param Sequence['GetTriggerBuildSourceRepoSourceArgs'] repo_sources: Location of the source in a Google Cloud Source Repository.
4047
+ :param Sequence['GetTriggerBuildSourceStorageSourceArgs'] storage_sources: Location of the source in an archive file in Google Cloud Storage.
4048
+ """
3595
4049
  pulumi.set(__self__, "repo_sources", repo_sources)
3596
4050
  pulumi.set(__self__, "storage_sources", storage_sources)
3597
4051
 
3598
4052
  @property
3599
4053
  @pulumi.getter(name="repoSources")
3600
4054
  def repo_sources(self) -> Sequence['outputs.GetTriggerBuildSourceRepoSourceResult']:
4055
+ """
4056
+ Location of the source in a Google Cloud Source Repository.
4057
+ """
3601
4058
  return pulumi.get(self, "repo_sources")
3602
4059
 
3603
4060
  @property
3604
4061
  @pulumi.getter(name="storageSources")
3605
4062
  def storage_sources(self) -> Sequence['outputs.GetTriggerBuildSourceStorageSourceResult']:
4063
+ """
4064
+ Location of the source in an archive file in Google Cloud Storage.
4065
+ """
3606
4066
  return pulumi.get(self, "storage_sources")
3607
4067
 
3608
4068
 
@@ -3617,6 +4077,23 @@ class GetTriggerBuildSourceRepoSourceResult(dict):
3617
4077
  repo_name: str,
3618
4078
  substitutions: Mapping[str, str],
3619
4079
  tag_name: str):
4080
+ """
4081
+ :param str branch_name: Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided.
4082
+ The syntax of the regular expressions accepted is the syntax accepted by RE2 and
4083
+ described at https://github.com/google/re2/wiki/Syntax
4084
+ :param str commit_sha: Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
4085
+ :param str dir: Directory, relative to the source root, in which to run the build.
4086
+ This must be a relative path. If a step's dir is specified and is an absolute path,
4087
+ this value is ignored for that step's execution.
4088
+ :param bool invert_regex: Only trigger a build if the revision regex does NOT match the revision regex.
4089
+ :param str project_id: ID of the project that owns the Cloud Source Repository.
4090
+ If omitted, the project ID requesting the build is assumed.
4091
+ :param str repo_name: Name of the Cloud Source Repository.
4092
+ :param Mapping[str, str] substitutions: Substitutions to use in a triggered build. Should only be used with triggers.run
4093
+ :param str tag_name: Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided.
4094
+ The syntax of the regular expressions accepted is the syntax accepted by RE2 and
4095
+ described at https://github.com/google/re2/wiki/Syntax
4096
+ """
3620
4097
  pulumi.set(__self__, "branch_name", branch_name)
3621
4098
  pulumi.set(__self__, "commit_sha", commit_sha)
3622
4099
  pulumi.set(__self__, "dir", dir)
@@ -3629,41 +4106,72 @@ class GetTriggerBuildSourceRepoSourceResult(dict):
3629
4106
  @property
3630
4107
  @pulumi.getter(name="branchName")
3631
4108
  def branch_name(self) -> str:
4109
+ """
4110
+ Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided.
4111
+ The syntax of the regular expressions accepted is the syntax accepted by RE2 and
4112
+ described at https://github.com/google/re2/wiki/Syntax
4113
+ """
3632
4114
  return pulumi.get(self, "branch_name")
3633
4115
 
3634
4116
  @property
3635
4117
  @pulumi.getter(name="commitSha")
3636
4118
  def commit_sha(self) -> str:
4119
+ """
4120
+ Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
4121
+ """
3637
4122
  return pulumi.get(self, "commit_sha")
3638
4123
 
3639
4124
  @property
3640
4125
  @pulumi.getter
3641
4126
  def dir(self) -> str:
4127
+ """
4128
+ Directory, relative to the source root, in which to run the build.
4129
+ This must be a relative path. If a step's dir is specified and is an absolute path,
4130
+ this value is ignored for that step's execution.
4131
+ """
3642
4132
  return pulumi.get(self, "dir")
3643
4133
 
3644
4134
  @property
3645
4135
  @pulumi.getter(name="invertRegex")
3646
4136
  def invert_regex(self) -> bool:
4137
+ """
4138
+ Only trigger a build if the revision regex does NOT match the revision regex.
4139
+ """
3647
4140
  return pulumi.get(self, "invert_regex")
3648
4141
 
3649
4142
  @property
3650
4143
  @pulumi.getter(name="projectId")
3651
4144
  def project_id(self) -> str:
4145
+ """
4146
+ ID of the project that owns the Cloud Source Repository.
4147
+ If omitted, the project ID requesting the build is assumed.
4148
+ """
3652
4149
  return pulumi.get(self, "project_id")
3653
4150
 
3654
4151
  @property
3655
4152
  @pulumi.getter(name="repoName")
3656
4153
  def repo_name(self) -> str:
4154
+ """
4155
+ Name of the Cloud Source Repository.
4156
+ """
3657
4157
  return pulumi.get(self, "repo_name")
3658
4158
 
3659
4159
  @property
3660
4160
  @pulumi.getter
3661
4161
  def substitutions(self) -> Mapping[str, str]:
4162
+ """
4163
+ Substitutions to use in a triggered build. Should only be used with triggers.run
4164
+ """
3662
4165
  return pulumi.get(self, "substitutions")
3663
4166
 
3664
4167
  @property
3665
4168
  @pulumi.getter(name="tagName")
3666
4169
  def tag_name(self) -> str:
4170
+ """
4171
+ Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided.
4172
+ The syntax of the regular expressions accepted is the syntax accepted by RE2 and
4173
+ described at https://github.com/google/re2/wiki/Syntax
4174
+ """
3667
4175
  return pulumi.get(self, "tag_name")
3668
4176
 
3669
4177
 
@@ -3673,6 +4181,13 @@ class GetTriggerBuildSourceStorageSourceResult(dict):
3673
4181
  bucket: str,
3674
4182
  generation: str,
3675
4183
  object: str):
4184
+ """
4185
+ :param str bucket: Google Cloud Storage bucket containing the source.
4186
+ :param str generation: Google Cloud Storage generation for the object.
4187
+ If the generation is omitted, the latest generation will be used
4188
+ :param str object: Google Cloud Storage object containing the source.
4189
+ This object must be a gzipped archive file (.tar.gz) containing source to build.
4190
+ """
3676
4191
  pulumi.set(__self__, "bucket", bucket)
3677
4192
  pulumi.set(__self__, "generation", generation)
3678
4193
  pulumi.set(__self__, "object", object)
@@ -3680,16 +4195,27 @@ class GetTriggerBuildSourceStorageSourceResult(dict):
3680
4195
  @property
3681
4196
  @pulumi.getter
3682
4197
  def bucket(self) -> str:
4198
+ """
4199
+ Google Cloud Storage bucket containing the source.
4200
+ """
3683
4201
  return pulumi.get(self, "bucket")
3684
4202
 
3685
4203
  @property
3686
4204
  @pulumi.getter
3687
4205
  def generation(self) -> str:
4206
+ """
4207
+ Google Cloud Storage generation for the object.
4208
+ If the generation is omitted, the latest generation will be used
4209
+ """
3688
4210
  return pulumi.get(self, "generation")
3689
4211
 
3690
4212
  @property
3691
4213
  @pulumi.getter
3692
4214
  def object(self) -> str:
4215
+ """
4216
+ Google Cloud Storage object containing the source.
4217
+ This object must be a gzipped archive file (.tar.gz) containing source to build.
4218
+ """
3693
4219
  return pulumi.get(self, "object")
3694
4220
 
3695
4221
 
@@ -3710,6 +4236,87 @@ class GetTriggerBuildStepResult(dict):
3710
4236
  timing: str,
3711
4237
  volumes: Sequence['outputs.GetTriggerBuildStepVolumeResult'],
3712
4238
  wait_fors: Sequence[str]):
4239
+ """
4240
+ :param Sequence[int] allow_exit_codes: Allow this build step to fail without failing the entire build if and
4241
+ only if the exit code is one of the specified codes.
4242
+
4243
+ If 'allowFailure' is also specified, this field will take precedence.
4244
+ :param bool allow_failure: Allow this build step to fail without failing the entire build.
4245
+ If false, the entire build will fail if this step fails. Otherwise, the
4246
+ build will succeed, but this step will still have a failure status.
4247
+ Error information will be reported in the 'failureDetail' field.
4248
+
4249
+ 'allowExitCodes' takes precedence over this field.
4250
+ :param Sequence[str] args: A list of arguments that will be presented to the step when it is started.
4251
+
4252
+ If the image used to run the step's container has an entrypoint, the args
4253
+ are used as arguments to that entrypoint. If the image does not define an
4254
+ entrypoint, the first element in args is used as the entrypoint, and the
4255
+ remainder will be used as arguments.
4256
+ :param str dir: Working directory to use when running this step's container.
4257
+
4258
+ If this value is a relative path, it is relative to the build's working
4259
+ directory. If this value is absolute, it may be outside the build's working
4260
+ directory, in which case the contents of the path may not be persisted
4261
+ across build step executions, unless a 'volume' for that path is specified.
4262
+
4263
+ If the build specifies a 'RepoSource' with 'dir' and a step with a
4264
+ 'dir',
4265
+ which specifies an absolute path, the 'RepoSource' 'dir' is ignored
4266
+ for the step's execution.
4267
+ :param str entrypoint: Entrypoint to be used instead of the build step image's
4268
+ default entrypoint.
4269
+ If unset, the image's default entrypoint is used
4270
+ :param Sequence[str] envs: A list of environment variable definitions to be used when
4271
+ running a step.
4272
+
4273
+ The elements are of the form "KEY=VALUE" for the environment variable
4274
+ "KEY" being given the value "VALUE".
4275
+ :param str id: Unique identifier for this build step, used in 'wait_for' to
4276
+ reference this build step as a dependency.
4277
+ :param str name: The name of the container image that will run this particular build step.
4278
+
4279
+ If the image is available in the host's Docker daemon's cache, it will be
4280
+ run directly. If not, the host will attempt to pull the image first, using
4281
+ the builder service account's credentials if necessary.
4282
+
4283
+ The Docker daemon's cache will already have the latest versions of all of
4284
+ the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders
4285
+ for images and examples).
4286
+ The Docker daemon will also have cached many of the layers for some popular
4287
+ images, like "ubuntu", "debian", but they will be refreshed at the time
4288
+ you attempt to use them.
4289
+
4290
+ If you built an image in a previous build step, it will be stored in the
4291
+ host's Docker daemon's cache and is available to use as the name for a
4292
+ later build step.
4293
+ :param str script: A shell script to be executed in the step.
4294
+ When script is provided, the user cannot specify the entrypoint or args.
4295
+ :param Sequence[str] secret_envs: A list of environment variables which are encrypted using
4296
+ a Cloud Key
4297
+ Management Service crypto key. These values must be specified in
4298
+ the build's 'Secret'.
4299
+ :param str timeout: Time limit for executing this build step. If not defined,
4300
+ the step has no
4301
+ time limit and will be allowed to continue to run until either it
4302
+ completes or the build itself times out.
4303
+ :param str timing: Output only. Stores timing information for executing this
4304
+ build step.
4305
+ :param Sequence['GetTriggerBuildStepVolumeArgs'] volumes: List of volumes to mount into the build step.
4306
+
4307
+ Each volume is created as an empty volume prior to execution of the
4308
+ build step. Upon completion of the build, volumes and their contents
4309
+ are discarded.
4310
+
4311
+ Using a named volume in only one step is not valid as it is
4312
+ indicative of a build request with an incorrect configuration.
4313
+ :param Sequence[str] wait_fors: The ID(s) of the step(s) that this build step depends on.
4314
+
4315
+ This build step will not start until all the build steps in 'wait_for'
4316
+ have completed successfully. If 'wait_for' is empty, this build step
4317
+ will start when all previous build steps in the 'Build.Steps' list
4318
+ have completed successfully.
4319
+ """
3713
4320
  pulumi.set(__self__, "allow_exit_codes", allow_exit_codes)
3714
4321
  pulumi.set(__self__, "allow_failure", allow_failure)
3715
4322
  pulumi.set(__self__, "args", args)
@@ -3728,71 +4335,178 @@ class GetTriggerBuildStepResult(dict):
3728
4335
  @property
3729
4336
  @pulumi.getter(name="allowExitCodes")
3730
4337
  def allow_exit_codes(self) -> Sequence[int]:
4338
+ """
4339
+ Allow this build step to fail without failing the entire build if and
4340
+ only if the exit code is one of the specified codes.
4341
+
4342
+ If 'allowFailure' is also specified, this field will take precedence.
4343
+ """
3731
4344
  return pulumi.get(self, "allow_exit_codes")
3732
4345
 
3733
4346
  @property
3734
4347
  @pulumi.getter(name="allowFailure")
3735
4348
  def allow_failure(self) -> bool:
4349
+ """
4350
+ Allow this build step to fail without failing the entire build.
4351
+ If false, the entire build will fail if this step fails. Otherwise, the
4352
+ build will succeed, but this step will still have a failure status.
4353
+ Error information will be reported in the 'failureDetail' field.
4354
+
4355
+ 'allowExitCodes' takes precedence over this field.
4356
+ """
3736
4357
  return pulumi.get(self, "allow_failure")
3737
4358
 
3738
4359
  @property
3739
4360
  @pulumi.getter
3740
4361
  def args(self) -> Sequence[str]:
4362
+ """
4363
+ A list of arguments that will be presented to the step when it is started.
4364
+
4365
+ If the image used to run the step's container has an entrypoint, the args
4366
+ are used as arguments to that entrypoint. If the image does not define an
4367
+ entrypoint, the first element in args is used as the entrypoint, and the
4368
+ remainder will be used as arguments.
4369
+ """
3741
4370
  return pulumi.get(self, "args")
3742
4371
 
3743
4372
  @property
3744
4373
  @pulumi.getter
3745
4374
  def dir(self) -> str:
4375
+ """
4376
+ Working directory to use when running this step's container.
4377
+
4378
+ If this value is a relative path, it is relative to the build's working
4379
+ directory. If this value is absolute, it may be outside the build's working
4380
+ directory, in which case the contents of the path may not be persisted
4381
+ across build step executions, unless a 'volume' for that path is specified.
4382
+
4383
+ If the build specifies a 'RepoSource' with 'dir' and a step with a
4384
+ 'dir',
4385
+ which specifies an absolute path, the 'RepoSource' 'dir' is ignored
4386
+ for the step's execution.
4387
+ """
3746
4388
  return pulumi.get(self, "dir")
3747
4389
 
3748
4390
  @property
3749
4391
  @pulumi.getter
3750
4392
  def entrypoint(self) -> str:
4393
+ """
4394
+ Entrypoint to be used instead of the build step image's
4395
+ default entrypoint.
4396
+ If unset, the image's default entrypoint is used
4397
+ """
3751
4398
  return pulumi.get(self, "entrypoint")
3752
4399
 
3753
4400
  @property
3754
4401
  @pulumi.getter
3755
4402
  def envs(self) -> Sequence[str]:
4403
+ """
4404
+ A list of environment variable definitions to be used when
4405
+ running a step.
4406
+
4407
+ The elements are of the form "KEY=VALUE" for the environment variable
4408
+ "KEY" being given the value "VALUE".
4409
+ """
3756
4410
  return pulumi.get(self, "envs")
3757
4411
 
3758
4412
  @property
3759
4413
  @pulumi.getter
3760
4414
  def id(self) -> str:
4415
+ """
4416
+ Unique identifier for this build step, used in 'wait_for' to
4417
+ reference this build step as a dependency.
4418
+ """
3761
4419
  return pulumi.get(self, "id")
3762
4420
 
3763
4421
  @property
3764
4422
  @pulumi.getter
3765
4423
  def name(self) -> str:
4424
+ """
4425
+ The name of the container image that will run this particular build step.
4426
+
4427
+ If the image is available in the host's Docker daemon's cache, it will be
4428
+ run directly. If not, the host will attempt to pull the image first, using
4429
+ the builder service account's credentials if necessary.
4430
+
4431
+ The Docker daemon's cache will already have the latest versions of all of
4432
+ the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders
4433
+ for images and examples).
4434
+ The Docker daemon will also have cached many of the layers for some popular
4435
+ images, like "ubuntu", "debian", but they will be refreshed at the time
4436
+ you attempt to use them.
4437
+
4438
+ If you built an image in a previous build step, it will be stored in the
4439
+ host's Docker daemon's cache and is available to use as the name for a
4440
+ later build step.
4441
+ """
3766
4442
  return pulumi.get(self, "name")
3767
4443
 
3768
4444
  @property
3769
4445
  @pulumi.getter
3770
4446
  def script(self) -> str:
4447
+ """
4448
+ A shell script to be executed in the step.
4449
+ When script is provided, the user cannot specify the entrypoint or args.
4450
+ """
3771
4451
  return pulumi.get(self, "script")
3772
4452
 
3773
4453
  @property
3774
4454
  @pulumi.getter(name="secretEnvs")
3775
4455
  def secret_envs(self) -> Sequence[str]:
4456
+ """
4457
+ A list of environment variables which are encrypted using
4458
+ a Cloud Key
4459
+ Management Service crypto key. These values must be specified in
4460
+ the build's 'Secret'.
4461
+ """
3776
4462
  return pulumi.get(self, "secret_envs")
3777
4463
 
3778
4464
  @property
3779
4465
  @pulumi.getter
3780
4466
  def timeout(self) -> str:
4467
+ """
4468
+ Time limit for executing this build step. If not defined,
4469
+ the step has no
4470
+ time limit and will be allowed to continue to run until either it
4471
+ completes or the build itself times out.
4472
+ """
3781
4473
  return pulumi.get(self, "timeout")
3782
4474
 
3783
4475
  @property
3784
4476
  @pulumi.getter
3785
4477
  def timing(self) -> str:
4478
+ """
4479
+ Output only. Stores timing information for executing this
4480
+ build step.
4481
+ """
3786
4482
  return pulumi.get(self, "timing")
3787
4483
 
3788
4484
  @property
3789
4485
  @pulumi.getter
3790
4486
  def volumes(self) -> Sequence['outputs.GetTriggerBuildStepVolumeResult']:
4487
+ """
4488
+ List of volumes to mount into the build step.
4489
+
4490
+ Each volume is created as an empty volume prior to execution of the
4491
+ build step. Upon completion of the build, volumes and their contents
4492
+ are discarded.
4493
+
4494
+ Using a named volume in only one step is not valid as it is
4495
+ indicative of a build request with an incorrect configuration.
4496
+ """
3791
4497
  return pulumi.get(self, "volumes")
3792
4498
 
3793
4499
  @property
3794
4500
  @pulumi.getter(name="waitFors")
3795
4501
  def wait_fors(self) -> Sequence[str]:
4502
+ """
4503
+ The ID(s) of the step(s) that this build step depends on.
4504
+
4505
+ This build step will not start until all the build steps in 'wait_for'
4506
+ have completed successfully. If 'wait_for' is empty, this build step
4507
+ will start when all previous build steps in the 'Build.Steps' list
4508
+ have completed successfully.
4509
+ """
3796
4510
  return pulumi.get(self, "wait_fors")
3797
4511
 
3798
4512
 
@@ -3801,17 +4515,39 @@ class GetTriggerBuildStepVolumeResult(dict):
3801
4515
  def __init__(__self__, *,
3802
4516
  name: str,
3803
4517
  path: str):
4518
+ """
4519
+ :param str name: Name of the volume to mount.
4520
+
4521
+ Volume names must be unique per build step and must be valid names for
4522
+ Docker volumes. Each named volume must be used by at least two build steps.
4523
+ :param str path: Path at which to mount the volume.
4524
+
4525
+ Paths must be absolute and cannot conflict with other volume paths on
4526
+ the same build step or with certain reserved volume paths.
4527
+ """
3804
4528
  pulumi.set(__self__, "name", name)
3805
4529
  pulumi.set(__self__, "path", path)
3806
4530
 
3807
4531
  @property
3808
4532
  @pulumi.getter
3809
4533
  def name(self) -> str:
4534
+ """
4535
+ Name of the volume to mount.
4536
+
4537
+ Volume names must be unique per build step and must be valid names for
4538
+ Docker volumes. Each named volume must be used by at least two build steps.
4539
+ """
3810
4540
  return pulumi.get(self, "name")
3811
4541
 
3812
4542
  @property
3813
4543
  @pulumi.getter
3814
4544
  def path(self) -> str:
4545
+ """
4546
+ Path at which to mount the volume.
4547
+
4548
+ Paths must be absolute and cannot conflict with other volume paths on
4549
+ the same build step or with certain reserved volume paths.
4550
+ """
3815
4551
  return pulumi.get(self, "path")
3816
4552
 
3817
4553
 
@@ -3825,6 +4561,22 @@ class GetTriggerGitFileSourceResult(dict):
3825
4561
  repository: str,
3826
4562
  revision: str,
3827
4563
  uri: str):
4564
+ """
4565
+ :param str bitbucket_server_config: The full resource name of the bitbucket server config.
4566
+ Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
4567
+ :param str github_enterprise_config: The full resource name of the github enterprise config.
4568
+ Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
4569
+ :param str path: The path of the file, with the repo root as the root of the path.
4570
+ :param str repo_type: The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
4571
+ Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
4572
+ :param str repository: The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
4573
+ If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
4574
+ :param str revision: The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
4575
+ filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions
4576
+ If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
4577
+ :param str uri: The URI of the repo (optional). If unspecified, the repo from which the trigger
4578
+ invocation originated is assumed to be the repo from which to read the specified path.
4579
+ """
3828
4580
  pulumi.set(__self__, "bitbucket_server_config", bitbucket_server_config)
3829
4581
  pulumi.set(__self__, "github_enterprise_config", github_enterprise_config)
3830
4582
  pulumi.set(__self__, "path", path)
@@ -3836,36 +4588,64 @@ class GetTriggerGitFileSourceResult(dict):
3836
4588
  @property
3837
4589
  @pulumi.getter(name="bitbucketServerConfig")
3838
4590
  def bitbucket_server_config(self) -> str:
4591
+ """
4592
+ The full resource name of the bitbucket server config.
4593
+ Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
4594
+ """
3839
4595
  return pulumi.get(self, "bitbucket_server_config")
3840
4596
 
3841
4597
  @property
3842
4598
  @pulumi.getter(name="githubEnterpriseConfig")
3843
4599
  def github_enterprise_config(self) -> str:
4600
+ """
4601
+ The full resource name of the github enterprise config.
4602
+ Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
4603
+ """
3844
4604
  return pulumi.get(self, "github_enterprise_config")
3845
4605
 
3846
4606
  @property
3847
4607
  @pulumi.getter
3848
4608
  def path(self) -> str:
4609
+ """
4610
+ The path of the file, with the repo root as the root of the path.
4611
+ """
3849
4612
  return pulumi.get(self, "path")
3850
4613
 
3851
4614
  @property
3852
4615
  @pulumi.getter(name="repoType")
3853
4616
  def repo_type(self) -> str:
4617
+ """
4618
+ The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
4619
+ Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
4620
+ """
3854
4621
  return pulumi.get(self, "repo_type")
3855
4622
 
3856
4623
  @property
3857
4624
  @pulumi.getter
3858
4625
  def repository(self) -> str:
4626
+ """
4627
+ The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
4628
+ If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
4629
+ """
3859
4630
  return pulumi.get(self, "repository")
3860
4631
 
3861
4632
  @property
3862
4633
  @pulumi.getter
3863
4634
  def revision(self) -> str:
4635
+ """
4636
+ The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
4637
+ filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions
4638
+ If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
4639
+ """
3864
4640
  return pulumi.get(self, "revision")
3865
4641
 
3866
4642
  @property
3867
4643
  @pulumi.getter
3868
4644
  def uri(self) -> str:
4645
+ """
4646
+ The URI of the repo (optional). If unspecified, the repo from which the trigger
4647
+ invocation originated is assumed to be the repo from which to read the specified path.
4648
+ """
3869
4649
  return pulumi.get(self, "uri")
3870
4650
 
3871
4651
 
@@ -3877,6 +4657,16 @@ class GetTriggerGithubResult(dict):
3877
4657
  owner: str,
3878
4658
  pull_requests: Sequence['outputs.GetTriggerGithubPullRequestResult'],
3879
4659
  pushes: Sequence['outputs.GetTriggerGithubPushResult']):
4660
+ """
4661
+ :param str enterprise_config_resource_name: The resource name of the github enterprise config that should be applied to this installation.
4662
+ For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
4663
+ :param str name: Name of the repository. For example: The name for
4664
+ https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
4665
+ :param str owner: Owner of the repository. For example: The owner for
4666
+ https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
4667
+ :param Sequence['GetTriggerGithubPullRequestArgs'] pull_requests: filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.
4668
+ :param Sequence['GetTriggerGithubPushArgs'] pushes: filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
4669
+ """
3880
4670
  pulumi.set(__self__, "enterprise_config_resource_name", enterprise_config_resource_name)
3881
4671
  pulumi.set(__self__, "name", name)
3882
4672
  pulumi.set(__self__, "owner", owner)
@@ -3886,26 +4676,44 @@ class GetTriggerGithubResult(dict):
3886
4676
  @property
3887
4677
  @pulumi.getter(name="enterpriseConfigResourceName")
3888
4678
  def enterprise_config_resource_name(self) -> str:
4679
+ """
4680
+ The resource name of the github enterprise config that should be applied to this installation.
4681
+ For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
4682
+ """
3889
4683
  return pulumi.get(self, "enterprise_config_resource_name")
3890
4684
 
3891
4685
  @property
3892
4686
  @pulumi.getter
3893
4687
  def name(self) -> str:
4688
+ """
4689
+ Name of the repository. For example: The name for
4690
+ https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
4691
+ """
3894
4692
  return pulumi.get(self, "name")
3895
4693
 
3896
4694
  @property
3897
4695
  @pulumi.getter
3898
4696
  def owner(self) -> str:
4697
+ """
4698
+ Owner of the repository. For example: The owner for
4699
+ https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
4700
+ """
3899
4701
  return pulumi.get(self, "owner")
3900
4702
 
3901
4703
  @property
3902
4704
  @pulumi.getter(name="pullRequests")
3903
4705
  def pull_requests(self) -> Sequence['outputs.GetTriggerGithubPullRequestResult']:
4706
+ """
4707
+ filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.
4708
+ """
3904
4709
  return pulumi.get(self, "pull_requests")
3905
4710
 
3906
4711
  @property
3907
4712
  @pulumi.getter
3908
4713
  def pushes(self) -> Sequence['outputs.GetTriggerGithubPushResult']:
4714
+ """
4715
+ filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
4716
+ """
3909
4717
  return pulumi.get(self, "pushes")
3910
4718
 
3911
4719
 
@@ -3915,6 +4723,11 @@ class GetTriggerGithubPullRequestResult(dict):
3915
4723
  branch: str,
3916
4724
  comment_control: str,
3917
4725
  invert_regex: bool):
4726
+ """
4727
+ :param str branch: Regex of branches to match.
4728
+ :param str comment_control: Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
4729
+ :param bool invert_regex: If true, branches that do NOT match the git_ref will trigger a build.
4730
+ """
3918
4731
  pulumi.set(__self__, "branch", branch)
3919
4732
  pulumi.set(__self__, "comment_control", comment_control)
3920
4733
  pulumi.set(__self__, "invert_regex", invert_regex)
@@ -3922,16 +4735,25 @@ class GetTriggerGithubPullRequestResult(dict):
3922
4735
  @property
3923
4736
  @pulumi.getter
3924
4737
  def branch(self) -> str:
4738
+ """
4739
+ Regex of branches to match.
4740
+ """
3925
4741
  return pulumi.get(self, "branch")
3926
4742
 
3927
4743
  @property
3928
4744
  @pulumi.getter(name="commentControl")
3929
4745
  def comment_control(self) -> str:
4746
+ """
4747
+ Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
4748
+ """
3930
4749
  return pulumi.get(self, "comment_control")
3931
4750
 
3932
4751
  @property
3933
4752
  @pulumi.getter(name="invertRegex")
3934
4753
  def invert_regex(self) -> bool:
4754
+ """
4755
+ If true, branches that do NOT match the git_ref will trigger a build.
4756
+ """
3935
4757
  return pulumi.get(self, "invert_regex")
3936
4758
 
3937
4759
 
@@ -3941,6 +4763,11 @@ class GetTriggerGithubPushResult(dict):
3941
4763
  branch: str,
3942
4764
  invert_regex: bool,
3943
4765
  tag: str):
4766
+ """
4767
+ :param str branch: Regex of branches to match. Specify only one of branch or tag.
4768
+ :param bool invert_regex: When true, only trigger a build if the revision regex does NOT match the git_ref regex.
4769
+ :param str tag: Regex of tags to match. Specify only one of branch or tag.
4770
+ """
3944
4771
  pulumi.set(__self__, "branch", branch)
3945
4772
  pulumi.set(__self__, "invert_regex", invert_regex)
3946
4773
  pulumi.set(__self__, "tag", tag)
@@ -3948,16 +4775,25 @@ class GetTriggerGithubPushResult(dict):
3948
4775
  @property
3949
4776
  @pulumi.getter
3950
4777
  def branch(self) -> str:
4778
+ """
4779
+ Regex of branches to match. Specify only one of branch or tag.
4780
+ """
3951
4781
  return pulumi.get(self, "branch")
3952
4782
 
3953
4783
  @property
3954
4784
  @pulumi.getter(name="invertRegex")
3955
4785
  def invert_regex(self) -> bool:
4786
+ """
4787
+ When true, only trigger a build if the revision regex does NOT match the git_ref regex.
4788
+ """
3956
4789
  return pulumi.get(self, "invert_regex")
3957
4790
 
3958
4791
  @property
3959
4792
  @pulumi.getter
3960
4793
  def tag(self) -> str:
4794
+ """
4795
+ Regex of tags to match. Specify only one of branch or tag.
4796
+ """
3961
4797
  return pulumi.get(self, "tag")
3962
4798
 
3963
4799
 
@@ -3968,6 +4804,13 @@ class GetTriggerPubsubConfigResult(dict):
3968
4804
  state: str,
3969
4805
  subscription: str,
3970
4806
  topic: str):
4807
+ """
4808
+ :param str service_account_email: Service account that will make the push request.
4809
+ :param str state: Potential issues with the underlying Pub/Sub subscription configuration.
4810
+ Only populated on get requests.
4811
+ :param str subscription: Output only. Name of the subscription.
4812
+ :param str topic: The name of the topic from which this subscription is receiving messages.
4813
+ """
3971
4814
  pulumi.set(__self__, "service_account_email", service_account_email)
3972
4815
  pulumi.set(__self__, "state", state)
3973
4816
  pulumi.set(__self__, "subscription", subscription)
@@ -3976,21 +4819,34 @@ class GetTriggerPubsubConfigResult(dict):
3976
4819
  @property
3977
4820
  @pulumi.getter(name="serviceAccountEmail")
3978
4821
  def service_account_email(self) -> str:
4822
+ """
4823
+ Service account that will make the push request.
4824
+ """
3979
4825
  return pulumi.get(self, "service_account_email")
3980
4826
 
3981
4827
  @property
3982
4828
  @pulumi.getter
3983
4829
  def state(self) -> str:
4830
+ """
4831
+ Potential issues with the underlying Pub/Sub subscription configuration.
4832
+ Only populated on get requests.
4833
+ """
3984
4834
  return pulumi.get(self, "state")
3985
4835
 
3986
4836
  @property
3987
4837
  @pulumi.getter
3988
4838
  def subscription(self) -> str:
4839
+ """
4840
+ Output only. Name of the subscription.
4841
+ """
3989
4842
  return pulumi.get(self, "subscription")
3990
4843
 
3991
4844
  @property
3992
4845
  @pulumi.getter
3993
4846
  def topic(self) -> str:
4847
+ """
4848
+ The name of the topic from which this subscription is receiving messages.
4849
+ """
3994
4850
  return pulumi.get(self, "topic")
3995
4851
 
3996
4852
 
@@ -4000,6 +4856,11 @@ class GetTriggerRepositoryEventConfigResult(dict):
4000
4856
  pull_requests: Sequence['outputs.GetTriggerRepositoryEventConfigPullRequestResult'],
4001
4857
  pushes: Sequence['outputs.GetTriggerRepositoryEventConfigPushResult'],
4002
4858
  repository: str):
4859
+ """
4860
+ :param Sequence['GetTriggerRepositoryEventConfigPullRequestArgs'] pull_requests: Contains filter properties for matching Pull Requests.
4861
+ :param Sequence['GetTriggerRepositoryEventConfigPushArgs'] pushes: Contains filter properties for matching git pushes.
4862
+ :param str repository: The resource name of the Repo API resource.
4863
+ """
4003
4864
  pulumi.set(__self__, "pull_requests", pull_requests)
4004
4865
  pulumi.set(__self__, "pushes", pushes)
4005
4866
  pulumi.set(__self__, "repository", repository)
@@ -4007,16 +4868,25 @@ class GetTriggerRepositoryEventConfigResult(dict):
4007
4868
  @property
4008
4869
  @pulumi.getter(name="pullRequests")
4009
4870
  def pull_requests(self) -> Sequence['outputs.GetTriggerRepositoryEventConfigPullRequestResult']:
4871
+ """
4872
+ Contains filter properties for matching Pull Requests.
4873
+ """
4010
4874
  return pulumi.get(self, "pull_requests")
4011
4875
 
4012
4876
  @property
4013
4877
  @pulumi.getter
4014
4878
  def pushes(self) -> Sequence['outputs.GetTriggerRepositoryEventConfigPushResult']:
4879
+ """
4880
+ Contains filter properties for matching git pushes.
4881
+ """
4015
4882
  return pulumi.get(self, "pushes")
4016
4883
 
4017
4884
  @property
4018
4885
  @pulumi.getter
4019
4886
  def repository(self) -> str:
4887
+ """
4888
+ The resource name of the Repo API resource.
4889
+ """
4020
4890
  return pulumi.get(self, "repository")
4021
4891
 
4022
4892
 
@@ -4026,6 +4896,14 @@ class GetTriggerRepositoryEventConfigPullRequestResult(dict):
4026
4896
  branch: str,
4027
4897
  comment_control: str,
4028
4898
  invert_regex: bool):
4899
+ """
4900
+ :param str branch: Regex of branches to match.
4901
+
4902
+ The syntax of the regular expressions accepted is the syntax accepted by
4903
+ RE2 and described at https://github.com/google/re2/wiki/Syntax
4904
+ :param str comment_control: Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
4905
+ :param bool invert_regex: If true, branches that do NOT match the git_ref will trigger a build.
4906
+ """
4029
4907
  pulumi.set(__self__, "branch", branch)
4030
4908
  pulumi.set(__self__, "comment_control", comment_control)
4031
4909
  pulumi.set(__self__, "invert_regex", invert_regex)
@@ -4033,16 +4911,28 @@ class GetTriggerRepositoryEventConfigPullRequestResult(dict):
4033
4911
  @property
4034
4912
  @pulumi.getter
4035
4913
  def branch(self) -> str:
4914
+ """
4915
+ Regex of branches to match.
4916
+
4917
+ The syntax of the regular expressions accepted is the syntax accepted by
4918
+ RE2 and described at https://github.com/google/re2/wiki/Syntax
4919
+ """
4036
4920
  return pulumi.get(self, "branch")
4037
4921
 
4038
4922
  @property
4039
4923
  @pulumi.getter(name="commentControl")
4040
4924
  def comment_control(self) -> str:
4925
+ """
4926
+ Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
4927
+ """
4041
4928
  return pulumi.get(self, "comment_control")
4042
4929
 
4043
4930
  @property
4044
4931
  @pulumi.getter(name="invertRegex")
4045
4932
  def invert_regex(self) -> bool:
4933
+ """
4934
+ If true, branches that do NOT match the git_ref will trigger a build.
4935
+ """
4046
4936
  return pulumi.get(self, "invert_regex")
4047
4937
 
4048
4938
 
@@ -4052,6 +4942,17 @@ class GetTriggerRepositoryEventConfigPushResult(dict):
4052
4942
  branch: str,
4053
4943
  invert_regex: bool,
4054
4944
  tag: str):
4945
+ """
4946
+ :param str branch: Regex of branches to match.
4947
+
4948
+ The syntax of the regular expressions accepted is the syntax accepted by
4949
+ RE2 and described at https://github.com/google/re2/wiki/Syntax
4950
+ :param bool invert_regex: If true, only trigger a build if the revision regex does NOT match the git_ref regex.
4951
+ :param str tag: Regex of tags to match.
4952
+
4953
+ The syntax of the regular expressions accepted is the syntax accepted by
4954
+ RE2 and described at https://github.com/google/re2/wiki/Syntax
4955
+ """
4055
4956
  pulumi.set(__self__, "branch", branch)
4056
4957
  pulumi.set(__self__, "invert_regex", invert_regex)
4057
4958
  pulumi.set(__self__, "tag", tag)
@@ -4059,16 +4960,31 @@ class GetTriggerRepositoryEventConfigPushResult(dict):
4059
4960
  @property
4060
4961
  @pulumi.getter
4061
4962
  def branch(self) -> str:
4963
+ """
4964
+ Regex of branches to match.
4965
+
4966
+ The syntax of the regular expressions accepted is the syntax accepted by
4967
+ RE2 and described at https://github.com/google/re2/wiki/Syntax
4968
+ """
4062
4969
  return pulumi.get(self, "branch")
4063
4970
 
4064
4971
  @property
4065
4972
  @pulumi.getter(name="invertRegex")
4066
4973
  def invert_regex(self) -> bool:
4974
+ """
4975
+ If true, only trigger a build if the revision regex does NOT match the git_ref regex.
4976
+ """
4067
4977
  return pulumi.get(self, "invert_regex")
4068
4978
 
4069
4979
  @property
4070
4980
  @pulumi.getter
4071
4981
  def tag(self) -> str:
4982
+ """
4983
+ Regex of tags to match.
4984
+
4985
+ The syntax of the regular expressions accepted is the syntax accepted by
4986
+ RE2 and described at https://github.com/google/re2/wiki/Syntax
4987
+ """
4072
4988
  return pulumi.get(self, "tag")
4073
4989
 
4074
4990
 
@@ -4081,6 +4997,18 @@ class GetTriggerSourceToBuildResult(dict):
4081
4997
  repo_type: str,
4082
4998
  repository: str,
4083
4999
  uri: str):
5000
+ """
5001
+ :param str bitbucket_server_config: The full resource name of the bitbucket server config.
5002
+ Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
5003
+ :param str github_enterprise_config: The full resource name of the github enterprise config.
5004
+ Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
5005
+ :param str ref: The branch or tag to use. Must start with "refs/" (required).
5006
+ :param str repo_type: The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
5007
+ Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
5008
+ :param str repository: The qualified resource name of the Repo API repository.
5009
+ Either uri or repository can be specified and is required.
5010
+ :param str uri: The URI of the repo.
5011
+ """
4084
5012
  pulumi.set(__self__, "bitbucket_server_config", bitbucket_server_config)
4085
5013
  pulumi.set(__self__, "github_enterprise_config", github_enterprise_config)
4086
5014
  pulumi.set(__self__, "ref", ref)
@@ -4091,31 +5019,53 @@ class GetTriggerSourceToBuildResult(dict):
4091
5019
  @property
4092
5020
  @pulumi.getter(name="bitbucketServerConfig")
4093
5021
  def bitbucket_server_config(self) -> str:
5022
+ """
5023
+ The full resource name of the bitbucket server config.
5024
+ Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
5025
+ """
4094
5026
  return pulumi.get(self, "bitbucket_server_config")
4095
5027
 
4096
5028
  @property
4097
5029
  @pulumi.getter(name="githubEnterpriseConfig")
4098
5030
  def github_enterprise_config(self) -> str:
5031
+ """
5032
+ The full resource name of the github enterprise config.
5033
+ Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
5034
+ """
4099
5035
  return pulumi.get(self, "github_enterprise_config")
4100
5036
 
4101
5037
  @property
4102
5038
  @pulumi.getter
4103
5039
  def ref(self) -> str:
5040
+ """
5041
+ The branch or tag to use. Must start with "refs/" (required).
5042
+ """
4104
5043
  return pulumi.get(self, "ref")
4105
5044
 
4106
5045
  @property
4107
5046
  @pulumi.getter(name="repoType")
4108
5047
  def repo_type(self) -> str:
5048
+ """
5049
+ The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
5050
+ Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
5051
+ """
4109
5052
  return pulumi.get(self, "repo_type")
4110
5053
 
4111
5054
  @property
4112
5055
  @pulumi.getter
4113
5056
  def repository(self) -> str:
5057
+ """
5058
+ The qualified resource name of the Repo API repository.
5059
+ Either uri or repository can be specified and is required.
5060
+ """
4114
5061
  return pulumi.get(self, "repository")
4115
5062
 
4116
5063
  @property
4117
5064
  @pulumi.getter
4118
5065
  def uri(self) -> str:
5066
+ """
5067
+ The URI of the repo.
5068
+ """
4119
5069
  return pulumi.get(self, "uri")
4120
5070
 
4121
5071
 
@@ -4129,6 +5079,22 @@ class GetTriggerTriggerTemplateResult(dict):
4129
5079
  project_id: str,
4130
5080
  repo_name: str,
4131
5081
  tag_name: str):
5082
+ """
5083
+ :param str branch_name: Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided.
5084
+ This field is a regular expression.
5085
+ :param str commit_sha: Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
5086
+ :param str dir: Directory, relative to the source root, in which to run the build.
5087
+
5088
+ This must be a relative path. If a step's dir is specified and
5089
+ is an absolute path, this value is ignored for that step's
5090
+ execution.
5091
+ :param bool invert_regex: Only trigger a build if the revision regex does NOT match the revision regex.
5092
+ :param str project_id: ID of the project that owns the Cloud Source Repository. If
5093
+ omitted, the project ID requesting the build is assumed.
5094
+ :param str repo_name: Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
5095
+ :param str tag_name: Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided.
5096
+ This field is a regular expression.
5097
+ """
4132
5098
  pulumi.set(__self__, "branch_name", branch_name)
4133
5099
  pulumi.set(__self__, "commit_sha", commit_sha)
4134
5100
  pulumi.set(__self__, "dir", dir)
@@ -4140,36 +5106,64 @@ class GetTriggerTriggerTemplateResult(dict):
4140
5106
  @property
4141
5107
  @pulumi.getter(name="branchName")
4142
5108
  def branch_name(self) -> str:
5109
+ """
5110
+ Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided.
5111
+ This field is a regular expression.
5112
+ """
4143
5113
  return pulumi.get(self, "branch_name")
4144
5114
 
4145
5115
  @property
4146
5116
  @pulumi.getter(name="commitSha")
4147
5117
  def commit_sha(self) -> str:
5118
+ """
5119
+ Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
5120
+ """
4148
5121
  return pulumi.get(self, "commit_sha")
4149
5122
 
4150
5123
  @property
4151
5124
  @pulumi.getter
4152
5125
  def dir(self) -> str:
5126
+ """
5127
+ Directory, relative to the source root, in which to run the build.
5128
+
5129
+ This must be a relative path. If a step's dir is specified and
5130
+ is an absolute path, this value is ignored for that step's
5131
+ execution.
5132
+ """
4153
5133
  return pulumi.get(self, "dir")
4154
5134
 
4155
5135
  @property
4156
5136
  @pulumi.getter(name="invertRegex")
4157
5137
  def invert_regex(self) -> bool:
5138
+ """
5139
+ Only trigger a build if the revision regex does NOT match the revision regex.
5140
+ """
4158
5141
  return pulumi.get(self, "invert_regex")
4159
5142
 
4160
5143
  @property
4161
5144
  @pulumi.getter(name="projectId")
4162
5145
  def project_id(self) -> str:
5146
+ """
5147
+ ID of the project that owns the Cloud Source Repository. If
5148
+ omitted, the project ID requesting the build is assumed.
5149
+ """
4163
5150
  return pulumi.get(self, "project_id")
4164
5151
 
4165
5152
  @property
4166
5153
  @pulumi.getter(name="repoName")
4167
5154
  def repo_name(self) -> str:
5155
+ """
5156
+ Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
5157
+ """
4168
5158
  return pulumi.get(self, "repo_name")
4169
5159
 
4170
5160
  @property
4171
5161
  @pulumi.getter(name="tagName")
4172
5162
  def tag_name(self) -> str:
5163
+ """
5164
+ Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided.
5165
+ This field is a regular expression.
5166
+ """
4173
5167
  return pulumi.get(self, "tag_name")
4174
5168
 
4175
5169
 
@@ -4178,17 +5172,29 @@ class GetTriggerWebhookConfigResult(dict):
4178
5172
  def __init__(__self__, *,
4179
5173
  secret: str,
4180
5174
  state: str):
5175
+ """
5176
+ :param str secret: Resource name for the secret required as a URL parameter.
5177
+ :param str state: Potential issues with the underlying Pub/Sub subscription configuration.
5178
+ Only populated on get requests.
5179
+ """
4181
5180
  pulumi.set(__self__, "secret", secret)
4182
5181
  pulumi.set(__self__, "state", state)
4183
5182
 
4184
5183
  @property
4185
5184
  @pulumi.getter
4186
5185
  def secret(self) -> str:
5186
+ """
5187
+ Resource name for the secret required as a URL parameter.
5188
+ """
4187
5189
  return pulumi.get(self, "secret")
4188
5190
 
4189
5191
  @property
4190
5192
  @pulumi.getter
4191
5193
  def state(self) -> str:
5194
+ """
5195
+ Potential issues with the underlying Pub/Sub subscription configuration.
5196
+ Only populated on get requests.
5197
+ """
4192
5198
  return pulumi.get(self, "state")
4193
5199
 
4194
5200