google-apis-cloudbuild_v1 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,56 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudbuildV1
|
24
24
|
|
25
|
+
# RPC request object accepted by the AddBitbucketServerConnectedRepository RPC
|
26
|
+
# method.
|
27
|
+
class AddBitbucketServerConnectedRepositoryRequest
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
# BitbucketServerRepositoryId identifies a specific repository hosted on a
|
31
|
+
# Bitbucket Server.
|
32
|
+
# Corresponds to the JSON property `connectedRepository`
|
33
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerRepositoryId]
|
34
|
+
attr_accessor :connected_repository
|
35
|
+
|
36
|
+
def initialize(**args)
|
37
|
+
update!(**args)
|
38
|
+
end
|
39
|
+
|
40
|
+
# Update properties of this object
|
41
|
+
def update!(**args)
|
42
|
+
@connected_repository = args[:connected_repository] if args.key?(:connected_repository)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# RPC request object returned by the AddBitbucketServerConnectedRepository RPC
|
47
|
+
# method.
|
48
|
+
class AddBitbucketServerConnectedRepositoryResponse
|
49
|
+
include Google::Apis::Core::Hashable
|
50
|
+
|
51
|
+
# The name of the `BitbucketServerConfig` that added connected repository.
|
52
|
+
# Format: `projects/`project`/locations/`location`/bitbucketServerConfigs/`
|
53
|
+
# config``
|
54
|
+
# Corresponds to the JSON property `config`
|
55
|
+
# @return [String]
|
56
|
+
attr_accessor :config
|
57
|
+
|
58
|
+
# BitbucketServerRepositoryId identifies a specific repository hosted on a
|
59
|
+
# Bitbucket Server.
|
60
|
+
# Corresponds to the JSON property `connectedRepository`
|
61
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerRepositoryId]
|
62
|
+
attr_accessor :connected_repository
|
63
|
+
|
64
|
+
def initialize(**args)
|
65
|
+
update!(**args)
|
66
|
+
end
|
67
|
+
|
68
|
+
# Update properties of this object
|
69
|
+
def update!(**args)
|
70
|
+
@config = args[:config] if args.key?(:config)
|
71
|
+
@connected_repository = args[:connected_repository] if args.key?(:connected_repository)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
25
75
|
# ApprovalConfig describes configuration for manual approval of a build.
|
26
76
|
class ApprovalConfig
|
27
77
|
include Google::Apis::Core::Hashable
|
@@ -204,6 +254,46 @@ module Google
|
|
204
254
|
end
|
205
255
|
end
|
206
256
|
|
257
|
+
# RPC request object accepted by BatchCreateBitbucketServerConnectedRepositories
|
258
|
+
# RPC method.
|
259
|
+
class BatchCreateBitbucketServerConnectedRepositoriesRequest
|
260
|
+
include Google::Apis::Core::Hashable
|
261
|
+
|
262
|
+
# Required. Requests to connect Bitbucket Server repositories.
|
263
|
+
# Corresponds to the JSON property `requests`
|
264
|
+
# @return [Array<Google::Apis::CloudbuildV1::CreateBitbucketServerConnectedRepositoryRequest>]
|
265
|
+
attr_accessor :requests
|
266
|
+
|
267
|
+
def initialize(**args)
|
268
|
+
update!(**args)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Update properties of this object
|
272
|
+
def update!(**args)
|
273
|
+
@requests = args[:requests] if args.key?(:requests)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
# Response of BatchCreateBitbucketServerConnectedRepositories RPC method
|
278
|
+
# including all successfully connected Bitbucket Server repositories.
|
279
|
+
class BatchCreateBitbucketServerConnectedRepositoriesResponse
|
280
|
+
include Google::Apis::Core::Hashable
|
281
|
+
|
282
|
+
# The connected Bitbucket Server repositories.
|
283
|
+
# Corresponds to the JSON property `bitbucketServerConnectedRepositories`
|
284
|
+
# @return [Array<Google::Apis::CloudbuildV1::BitbucketServerConnectedRepository>]
|
285
|
+
attr_accessor :bitbucket_server_connected_repositories
|
286
|
+
|
287
|
+
def initialize(**args)
|
288
|
+
update!(**args)
|
289
|
+
end
|
290
|
+
|
291
|
+
# Update properties of this object
|
292
|
+
def update!(**args)
|
293
|
+
@bitbucket_server_connected_repositories = args[:bitbucket_server_connected_repositories] if args.key?(:bitbucket_server_connected_repositories)
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
207
297
|
# Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.
|
208
298
|
class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
|
209
299
|
include Google::Apis::Core::Hashable
|
@@ -237,6 +327,299 @@ module Google
|
|
237
327
|
end
|
238
328
|
end
|
239
329
|
|
330
|
+
# BitbucketServerConfig represents the configuration for a Bitbucket Server.
|
331
|
+
class BitbucketServerConfig
|
332
|
+
include Google::Apis::Core::Hashable
|
333
|
+
|
334
|
+
# Required. Immutable. API Key that will be attached to webhook. Once this field
|
335
|
+
# has been set, it cannot be changed. If you need to change it, please create
|
336
|
+
# another BitbucketServerConfig.
|
337
|
+
# Corresponds to the JSON property `apiKey`
|
338
|
+
# @return [String]
|
339
|
+
attr_accessor :api_key
|
340
|
+
|
341
|
+
# Output only. Connected Bitbucket Server repositories for this config.
|
342
|
+
# Corresponds to the JSON property `connectedRepositories`
|
343
|
+
# @return [Array<Google::Apis::CloudbuildV1::BitbucketServerRepositoryId>]
|
344
|
+
attr_accessor :connected_repositories
|
345
|
+
|
346
|
+
# Time when the config was created.
|
347
|
+
# Corresponds to the JSON property `createTime`
|
348
|
+
# @return [String]
|
349
|
+
attr_accessor :create_time
|
350
|
+
|
351
|
+
# Required. Immutable. The URI of the Bitbucket Server host. Once this field has
|
352
|
+
# been set, it cannot be changed. If you need to change it, please create
|
353
|
+
# another BitbucketServerConfig.
|
354
|
+
# Corresponds to the JSON property `hostUri`
|
355
|
+
# @return [String]
|
356
|
+
attr_accessor :host_uri
|
357
|
+
|
358
|
+
# The resource name for the config.
|
359
|
+
# Corresponds to the JSON property `name`
|
360
|
+
# @return [String]
|
361
|
+
attr_accessor :name
|
362
|
+
|
363
|
+
# Optional. The network to be used when reaching out to the Bitbucket Server
|
364
|
+
# instance. The VPC network must be enabled for private service connection. This
|
365
|
+
# should be set if the Bitbucket Server instance is hosted on-premises and not
|
366
|
+
# reachable by public internet. If this field is left empty, no network peering
|
367
|
+
# will occur and calls to the Bitbucket Server instance will be made over the
|
368
|
+
# public internet. Must be in the format `projects/`project`/global/networks/`
|
369
|
+
# network``, where `project` is a project number or id and `network` is the name
|
370
|
+
# of a VPC network in the project.
|
371
|
+
# Corresponds to the JSON property `peeredNetwork`
|
372
|
+
# @return [String]
|
373
|
+
attr_accessor :peered_network
|
374
|
+
|
375
|
+
# BitbucketServerSecrets represents the secrets in Secret Manager for a
|
376
|
+
# Bitbucket Server.
|
377
|
+
# Corresponds to the JSON property `secrets`
|
378
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerSecrets]
|
379
|
+
attr_accessor :secrets
|
380
|
+
|
381
|
+
# Optional. SSL certificate to use for requests to Bitbucket Server. The format
|
382
|
+
# should be PEM format but the extension can be one of .pem, .cer, or .crt.
|
383
|
+
# Corresponds to the JSON property `sslCa`
|
384
|
+
# @return [String]
|
385
|
+
attr_accessor :ssl_ca
|
386
|
+
|
387
|
+
# Username of the account Cloud Build will use on Bitbucket Server.
|
388
|
+
# Corresponds to the JSON property `username`
|
389
|
+
# @return [String]
|
390
|
+
attr_accessor :username
|
391
|
+
|
392
|
+
# Output only. UUID included in webhook requests. The UUID is used to look up
|
393
|
+
# the corresponding config.
|
394
|
+
# Corresponds to the JSON property `webhookKey`
|
395
|
+
# @return [String]
|
396
|
+
attr_accessor :webhook_key
|
397
|
+
|
398
|
+
def initialize(**args)
|
399
|
+
update!(**args)
|
400
|
+
end
|
401
|
+
|
402
|
+
# Update properties of this object
|
403
|
+
def update!(**args)
|
404
|
+
@api_key = args[:api_key] if args.key?(:api_key)
|
405
|
+
@connected_repositories = args[:connected_repositories] if args.key?(:connected_repositories)
|
406
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
407
|
+
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
408
|
+
@name = args[:name] if args.key?(:name)
|
409
|
+
@peered_network = args[:peered_network] if args.key?(:peered_network)
|
410
|
+
@secrets = args[:secrets] if args.key?(:secrets)
|
411
|
+
@ssl_ca = args[:ssl_ca] if args.key?(:ssl_ca)
|
412
|
+
@username = args[:username] if args.key?(:username)
|
413
|
+
@webhook_key = args[:webhook_key] if args.key?(:webhook_key)
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
# / BitbucketServerConnectedRepository represents a connected Bitbucket Server /
|
418
|
+
# repository.
|
419
|
+
class BitbucketServerConnectedRepository
|
420
|
+
include Google::Apis::Core::Hashable
|
421
|
+
|
422
|
+
# The name of the `BitbucketServerConfig` that added connected repository.
|
423
|
+
# Format: `projects/`project`/locations/`location`/bitbucketServerConfigs/`
|
424
|
+
# config``
|
425
|
+
# Corresponds to the JSON property `parent`
|
426
|
+
# @return [String]
|
427
|
+
attr_accessor :parent
|
428
|
+
|
429
|
+
# BitbucketServerRepositoryId identifies a specific repository hosted on a
|
430
|
+
# Bitbucket Server.
|
431
|
+
# Corresponds to the JSON property `repo`
|
432
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerRepositoryId]
|
433
|
+
attr_accessor :repo
|
434
|
+
|
435
|
+
# The `Status` type defines a logical error model that is suitable for different
|
436
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
437
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
438
|
+
# data: error code, error message, and error details. You can find out more
|
439
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
440
|
+
# //cloud.google.com/apis/design/errors).
|
441
|
+
# Corresponds to the JSON property `status`
|
442
|
+
# @return [Google::Apis::CloudbuildV1::Status]
|
443
|
+
attr_accessor :status
|
444
|
+
|
445
|
+
def initialize(**args)
|
446
|
+
update!(**args)
|
447
|
+
end
|
448
|
+
|
449
|
+
# Update properties of this object
|
450
|
+
def update!(**args)
|
451
|
+
@parent = args[:parent] if args.key?(:parent)
|
452
|
+
@repo = args[:repo] if args.key?(:repo)
|
453
|
+
@status = args[:status] if args.key?(:status)
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
# BitbucketServerRepository represents a repository hosted on a Bitbucket Server.
|
458
|
+
class BitbucketServerRepository
|
459
|
+
include Google::Apis::Core::Hashable
|
460
|
+
|
461
|
+
# Link to the browse repo page on the Bitbucket Server instance.
|
462
|
+
# Corresponds to the JSON property `browseUri`
|
463
|
+
# @return [String]
|
464
|
+
attr_accessor :browse_uri
|
465
|
+
|
466
|
+
# Description of the repository.
|
467
|
+
# Corresponds to the JSON property `description`
|
468
|
+
# @return [String]
|
469
|
+
attr_accessor :description
|
470
|
+
|
471
|
+
# Display name of the repository.
|
472
|
+
# Corresponds to the JSON property `displayName`
|
473
|
+
# @return [String]
|
474
|
+
attr_accessor :display_name
|
475
|
+
|
476
|
+
# The resource name of the repository.
|
477
|
+
# Corresponds to the JSON property `name`
|
478
|
+
# @return [String]
|
479
|
+
attr_accessor :name
|
480
|
+
|
481
|
+
# BitbucketServerRepositoryId identifies a specific repository hosted on a
|
482
|
+
# Bitbucket Server.
|
483
|
+
# Corresponds to the JSON property `repoId`
|
484
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerRepositoryId]
|
485
|
+
attr_accessor :repo_id
|
486
|
+
|
487
|
+
def initialize(**args)
|
488
|
+
update!(**args)
|
489
|
+
end
|
490
|
+
|
491
|
+
# Update properties of this object
|
492
|
+
def update!(**args)
|
493
|
+
@browse_uri = args[:browse_uri] if args.key?(:browse_uri)
|
494
|
+
@description = args[:description] if args.key?(:description)
|
495
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
496
|
+
@name = args[:name] if args.key?(:name)
|
497
|
+
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# BitbucketServerRepositoryId identifies a specific repository hosted on a
|
502
|
+
# Bitbucket Server.
|
503
|
+
class BitbucketServerRepositoryId
|
504
|
+
include Google::Apis::Core::Hashable
|
505
|
+
|
506
|
+
# Required. Identifier for the project storing the repository.
|
507
|
+
# Corresponds to the JSON property `projectKey`
|
508
|
+
# @return [String]
|
509
|
+
attr_accessor :project_key
|
510
|
+
|
511
|
+
# Required. Identifier for the repository.
|
512
|
+
# Corresponds to the JSON property `repoSlug`
|
513
|
+
# @return [String]
|
514
|
+
attr_accessor :repo_slug
|
515
|
+
|
516
|
+
# Output only. The ID of the webhook that was created for receiving events from
|
517
|
+
# this repo. We only create and manage a single webhook for each repo.
|
518
|
+
# Corresponds to the JSON property `webhookId`
|
519
|
+
# @return [Fixnum]
|
520
|
+
attr_accessor :webhook_id
|
521
|
+
|
522
|
+
def initialize(**args)
|
523
|
+
update!(**args)
|
524
|
+
end
|
525
|
+
|
526
|
+
# Update properties of this object
|
527
|
+
def update!(**args)
|
528
|
+
@project_key = args[:project_key] if args.key?(:project_key)
|
529
|
+
@repo_slug = args[:repo_slug] if args.key?(:repo_slug)
|
530
|
+
@webhook_id = args[:webhook_id] if args.key?(:webhook_id)
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
# BitbucketServerSecrets represents the secrets in Secret Manager for a
|
535
|
+
# Bitbucket Server.
|
536
|
+
class BitbucketServerSecrets
|
537
|
+
include Google::Apis::Core::Hashable
|
538
|
+
|
539
|
+
# Required. The resource name for the admin access token's secret version.
|
540
|
+
# Corresponds to the JSON property `adminAccessTokenVersionName`
|
541
|
+
# @return [String]
|
542
|
+
attr_accessor :admin_access_token_version_name
|
543
|
+
|
544
|
+
# Required. The resource name for the read access token's secret version.
|
545
|
+
# Corresponds to the JSON property `readAccessTokenVersionName`
|
546
|
+
# @return [String]
|
547
|
+
attr_accessor :read_access_token_version_name
|
548
|
+
|
549
|
+
# Required. Immutable. The resource name for the webhook secret's secret version.
|
550
|
+
# Once this field has been set, it cannot be changed. If you need to change it,
|
551
|
+
# please create another BitbucketServerConfig.
|
552
|
+
# Corresponds to the JSON property `webhookSecretVersionName`
|
553
|
+
# @return [String]
|
554
|
+
attr_accessor :webhook_secret_version_name
|
555
|
+
|
556
|
+
def initialize(**args)
|
557
|
+
update!(**args)
|
558
|
+
end
|
559
|
+
|
560
|
+
# Update properties of this object
|
561
|
+
def update!(**args)
|
562
|
+
@admin_access_token_version_name = args[:admin_access_token_version_name] if args.key?(:admin_access_token_version_name)
|
563
|
+
@read_access_token_version_name = args[:read_access_token_version_name] if args.key?(:read_access_token_version_name)
|
564
|
+
@webhook_secret_version_name = args[:webhook_secret_version_name] if args.key?(:webhook_secret_version_name)
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
# BitbucketServerTriggerConfig describes the configuration of a trigger that
|
569
|
+
# creates a build whenever a Bitbucket Server event is received.
|
570
|
+
class BitbucketServerTriggerConfig
|
571
|
+
include Google::Apis::Core::Hashable
|
572
|
+
|
573
|
+
# BitbucketServerConfig represents the configuration for a Bitbucket Server.
|
574
|
+
# Corresponds to the JSON property `bitbucketServerConfig`
|
575
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerConfig]
|
576
|
+
attr_accessor :bitbucket_server_config
|
577
|
+
|
578
|
+
# Required. The Bitbucket server config resource that this trigger config maps
|
579
|
+
# to.
|
580
|
+
# Corresponds to the JSON property `bitbucketServerConfigResource`
|
581
|
+
# @return [String]
|
582
|
+
attr_accessor :bitbucket_server_config_resource
|
583
|
+
|
584
|
+
# Required. Key of the project that the repo is in. For example: The key for
|
585
|
+
# http://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
|
586
|
+
# Corresponds to the JSON property `projectKey`
|
587
|
+
# @return [String]
|
588
|
+
attr_accessor :project_key
|
589
|
+
|
590
|
+
# PullRequestFilter contains filter properties for matching GitHub Pull Requests.
|
591
|
+
# Corresponds to the JSON property `pullRequest`
|
592
|
+
# @return [Google::Apis::CloudbuildV1::PullRequestFilter]
|
593
|
+
attr_accessor :pull_request
|
594
|
+
|
595
|
+
# Push contains filter properties for matching GitHub git pushes.
|
596
|
+
# Corresponds to the JSON property `push`
|
597
|
+
# @return [Google::Apis::CloudbuildV1::PushFilter]
|
598
|
+
attr_accessor :push
|
599
|
+
|
600
|
+
# Required. Slug of the repository. A repository slug is a URL-friendly version
|
601
|
+
# of a repository name, automatically generated by Bitbucket for use in the URL.
|
602
|
+
# For example, if the repository name is 'test repo', in the URL it would become
|
603
|
+
# 'test-repo' as in http://mybitbucket.server/projects/TEST/repos/test-repo.
|
604
|
+
# Corresponds to the JSON property `repoSlug`
|
605
|
+
# @return [String]
|
606
|
+
attr_accessor :repo_slug
|
607
|
+
|
608
|
+
def initialize(**args)
|
609
|
+
update!(**args)
|
610
|
+
end
|
611
|
+
|
612
|
+
# Update properties of this object
|
613
|
+
def update!(**args)
|
614
|
+
@bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
|
615
|
+
@bitbucket_server_config_resource = args[:bitbucket_server_config_resource] if args.key?(:bitbucket_server_config_resource)
|
616
|
+
@project_key = args[:project_key] if args.key?(:project_key)
|
617
|
+
@pull_request = args[:pull_request] if args.key?(:pull_request)
|
618
|
+
@push = args[:push] if args.key?(:push)
|
619
|
+
@repo_slug = args[:repo_slug] if args.key?(:repo_slug)
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
240
623
|
# A build resource in the Cloud Build API. At a high level, a `Build` describes
|
241
624
|
# where to find source code, how to build it (for example, the builder image to
|
242
625
|
# run on the source), and where to store the built artifacts. Fields can include
|
@@ -791,6 +1174,12 @@ module Google
|
|
791
1174
|
attr_accessor :autodetect
|
792
1175
|
alias_method :autodetect?, :autodetect
|
793
1176
|
|
1177
|
+
# BitbucketServerTriggerConfig describes the configuration of a trigger that
|
1178
|
+
# creates a build whenever a Bitbucket Server event is received.
|
1179
|
+
# Corresponds to the JSON property `bitbucketServerTriggerConfig`
|
1180
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerTriggerConfig]
|
1181
|
+
attr_accessor :bitbucket_server_trigger_config
|
1182
|
+
|
794
1183
|
# A build resource in the Cloud Build API. At a high level, a `Build` describes
|
795
1184
|
# where to find source code, how to build it (for example, the builder image to
|
796
1185
|
# run on the source), and where to store the built artifacts. Fields can include
|
@@ -823,9 +1212,9 @@ module Google
|
|
823
1212
|
attr_accessor :disabled
|
824
1213
|
alias_method :disabled?, :disabled
|
825
1214
|
|
826
|
-
#
|
827
|
-
#
|
828
|
-
#
|
1215
|
+
# EventType allows the user to explicitly set the type of event to which this
|
1216
|
+
# BuildTrigger should respond. This field will be validated against the rest of
|
1217
|
+
# the configuration if it is set.
|
829
1218
|
# Corresponds to the JSON property `eventType`
|
830
1219
|
# @return [String]
|
831
1220
|
attr_accessor :event_type
|
@@ -942,6 +1331,7 @@ module Google
|
|
942
1331
|
def update!(**args)
|
943
1332
|
@approval_config = args[:approval_config] if args.key?(:approval_config)
|
944
1333
|
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
1334
|
+
@bitbucket_server_trigger_config = args[:bitbucket_server_trigger_config] if args.key?(:bitbucket_server_trigger_config)
|
945
1335
|
@build = args[:build] if args.key?(:build)
|
946
1336
|
@create_time = args[:create_time] if args.key?(:create_time)
|
947
1337
|
@description = args[:description] if args.key?(:description)
|
@@ -1043,6 +1433,66 @@ module Google
|
|
1043
1433
|
end
|
1044
1434
|
end
|
1045
1435
|
|
1436
|
+
# Metadata for `CreateBitbucketServerConfig` operation.
|
1437
|
+
class CreateBitbucketServerConfigOperationMetadata
|
1438
|
+
include Google::Apis::Core::Hashable
|
1439
|
+
|
1440
|
+
# The resource name of the BitbucketServerConfig to be created. Format: `
|
1441
|
+
# projects/`project`/locations/`location`/bitbucketServerConfigs/`id``.
|
1442
|
+
# Corresponds to the JSON property `bitbucketServerConfig`
|
1443
|
+
# @return [String]
|
1444
|
+
attr_accessor :bitbucket_server_config
|
1445
|
+
|
1446
|
+
# Time the operation was completed.
|
1447
|
+
# Corresponds to the JSON property `completeTime`
|
1448
|
+
# @return [String]
|
1449
|
+
attr_accessor :complete_time
|
1450
|
+
|
1451
|
+
# Time the operation was created.
|
1452
|
+
# Corresponds to the JSON property `createTime`
|
1453
|
+
# @return [String]
|
1454
|
+
attr_accessor :create_time
|
1455
|
+
|
1456
|
+
def initialize(**args)
|
1457
|
+
update!(**args)
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# Update properties of this object
|
1461
|
+
def update!(**args)
|
1462
|
+
@bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
|
1463
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1464
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1465
|
+
end
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
# Request to connect a repository from a connected Bitbucket Server host.
|
1469
|
+
class CreateBitbucketServerConnectedRepositoryRequest
|
1470
|
+
include Google::Apis::Core::Hashable
|
1471
|
+
|
1472
|
+
# / BitbucketServerConnectedRepository represents a connected Bitbucket Server /
|
1473
|
+
# repository.
|
1474
|
+
# Corresponds to the JSON property `bitbucketServerConnectedRepository`
|
1475
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerConnectedRepository]
|
1476
|
+
attr_accessor :bitbucket_server_connected_repository
|
1477
|
+
|
1478
|
+
# Required. The name of the `BitbucketServerConfig` that added connected
|
1479
|
+
# repository. Format: `projects/`project`/locations/`location`/
|
1480
|
+
# bitbucketServerConfigs/`config``
|
1481
|
+
# Corresponds to the JSON property `parent`
|
1482
|
+
# @return [String]
|
1483
|
+
attr_accessor :parent
|
1484
|
+
|
1485
|
+
def initialize(**args)
|
1486
|
+
update!(**args)
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
# Update properties of this object
|
1490
|
+
def update!(**args)
|
1491
|
+
@bitbucket_server_connected_repository = args[:bitbucket_server_connected_repository] if args.key?(:bitbucket_server_connected_repository)
|
1492
|
+
@parent = args[:parent] if args.key?(:parent)
|
1493
|
+
end
|
1494
|
+
end
|
1495
|
+
|
1046
1496
|
# Metadata for `CreateGithubEnterpriseConfig` operation.
|
1047
1497
|
class CreateGitHubEnterpriseConfigOperationMetadata
|
1048
1498
|
include Google::Apis::Core::Hashable
|
@@ -1075,6 +1525,38 @@ module Google
|
|
1075
1525
|
end
|
1076
1526
|
end
|
1077
1527
|
|
1528
|
+
# Metadata for `CreateGitLabConfig` operation.
|
1529
|
+
class CreateGitLabConfigOperationMetadata
|
1530
|
+
include Google::Apis::Core::Hashable
|
1531
|
+
|
1532
|
+
# Time the operation was completed.
|
1533
|
+
# Corresponds to the JSON property `completeTime`
|
1534
|
+
# @return [String]
|
1535
|
+
attr_accessor :complete_time
|
1536
|
+
|
1537
|
+
# Time the operation was created.
|
1538
|
+
# Corresponds to the JSON property `createTime`
|
1539
|
+
# @return [String]
|
1540
|
+
attr_accessor :create_time
|
1541
|
+
|
1542
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
1543
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
1544
|
+
# Corresponds to the JSON property `gitlabConfig`
|
1545
|
+
# @return [String]
|
1546
|
+
attr_accessor :gitlab_config
|
1547
|
+
|
1548
|
+
def initialize(**args)
|
1549
|
+
update!(**args)
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
# Update properties of this object
|
1553
|
+
def update!(**args)
|
1554
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1555
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1556
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
1557
|
+
end
|
1558
|
+
end
|
1559
|
+
|
1078
1560
|
# Metadata for the `CreateWorkerPool` operation.
|
1079
1561
|
class CreateWorkerPoolOperationMetadata
|
1080
1562
|
include Google::Apis::Core::Hashable
|
@@ -1107,6 +1589,38 @@ module Google
|
|
1107
1589
|
end
|
1108
1590
|
end
|
1109
1591
|
|
1592
|
+
# Metadata for `DeleteBitbucketServerConfig` operation.
|
1593
|
+
class DeleteBitbucketServerConfigOperationMetadata
|
1594
|
+
include Google::Apis::Core::Hashable
|
1595
|
+
|
1596
|
+
# The resource name of the BitbucketServerConfig to be deleted. Format: `
|
1597
|
+
# projects/`project`/locations/`location`/bitbucketServerConfigs/`id``.
|
1598
|
+
# Corresponds to the JSON property `bitbucketServerConfig`
|
1599
|
+
# @return [String]
|
1600
|
+
attr_accessor :bitbucket_server_config
|
1601
|
+
|
1602
|
+
# Time the operation was completed.
|
1603
|
+
# Corresponds to the JSON property `completeTime`
|
1604
|
+
# @return [String]
|
1605
|
+
attr_accessor :complete_time
|
1606
|
+
|
1607
|
+
# Time the operation was created.
|
1608
|
+
# Corresponds to the JSON property `createTime`
|
1609
|
+
# @return [String]
|
1610
|
+
attr_accessor :create_time
|
1611
|
+
|
1612
|
+
def initialize(**args)
|
1613
|
+
update!(**args)
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
# Update properties of this object
|
1617
|
+
def update!(**args)
|
1618
|
+
@bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
|
1619
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1620
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1110
1624
|
# Metadata for `DeleteGitHubEnterpriseConfig` operation.
|
1111
1625
|
class DeleteGitHubEnterpriseConfigOperationMetadata
|
1112
1626
|
include Google::Apis::Core::Hashable
|
@@ -1139,6 +1653,38 @@ module Google
|
|
1139
1653
|
end
|
1140
1654
|
end
|
1141
1655
|
|
1656
|
+
# Metadata for `DeleteGitLabConfig` operation.
|
1657
|
+
class DeleteGitLabConfigOperationMetadata
|
1658
|
+
include Google::Apis::Core::Hashable
|
1659
|
+
|
1660
|
+
# Time the operation was completed.
|
1661
|
+
# Corresponds to the JSON property `completeTime`
|
1662
|
+
# @return [String]
|
1663
|
+
attr_accessor :complete_time
|
1664
|
+
|
1665
|
+
# Time the operation was created.
|
1666
|
+
# Corresponds to the JSON property `createTime`
|
1667
|
+
# @return [String]
|
1668
|
+
attr_accessor :create_time
|
1669
|
+
|
1670
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
1671
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
1672
|
+
# Corresponds to the JSON property `gitlabConfig`
|
1673
|
+
# @return [String]
|
1674
|
+
attr_accessor :gitlab_config
|
1675
|
+
|
1676
|
+
def initialize(**args)
|
1677
|
+
update!(**args)
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
# Update properties of this object
|
1681
|
+
def update!(**args)
|
1682
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1683
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1684
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
1685
|
+
end
|
1686
|
+
end
|
1687
|
+
|
1142
1688
|
# Metadata for the `DeleteWorkerPool` operation.
|
1143
1689
|
class DeleteWorkerPoolOperationMetadata
|
1144
1690
|
include Google::Apis::Core::Hashable
|
@@ -1684,6 +2230,58 @@ module Google
|
|
1684
2230
|
end
|
1685
2231
|
end
|
1686
2232
|
|
2233
|
+
# RPC response object returned by ListBitbucketServerConfigs RPC method.
|
2234
|
+
class ListBitbucketServerConfigsResponse
|
2235
|
+
include Google::Apis::Core::Hashable
|
2236
|
+
|
2237
|
+
# A list of BitbucketServerConfigs
|
2238
|
+
# Corresponds to the JSON property `bitbucketServerConfigs`
|
2239
|
+
# @return [Array<Google::Apis::CloudbuildV1::BitbucketServerConfig>]
|
2240
|
+
attr_accessor :bitbucket_server_configs
|
2241
|
+
|
2242
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
2243
|
+
# field is omitted, there are no subsequent pages.
|
2244
|
+
# Corresponds to the JSON property `nextPageToken`
|
2245
|
+
# @return [String]
|
2246
|
+
attr_accessor :next_page_token
|
2247
|
+
|
2248
|
+
def initialize(**args)
|
2249
|
+
update!(**args)
|
2250
|
+
end
|
2251
|
+
|
2252
|
+
# Update properties of this object
|
2253
|
+
def update!(**args)
|
2254
|
+
@bitbucket_server_configs = args[:bitbucket_server_configs] if args.key?(:bitbucket_server_configs)
|
2255
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2256
|
+
end
|
2257
|
+
end
|
2258
|
+
|
2259
|
+
# RPC response object returned by the ListBitbucketServerRepositories RPC method.
|
2260
|
+
class ListBitbucketServerRepositoriesResponse
|
2261
|
+
include Google::Apis::Core::Hashable
|
2262
|
+
|
2263
|
+
# List of Bitbucket Server repositories.
|
2264
|
+
# Corresponds to the JSON property `bitbucketServerRepositories`
|
2265
|
+
# @return [Array<Google::Apis::CloudbuildV1::BitbucketServerRepository>]
|
2266
|
+
attr_accessor :bitbucket_server_repositories
|
2267
|
+
|
2268
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
2269
|
+
# field is omitted, there are no subsequent pages.
|
2270
|
+
# Corresponds to the JSON property `nextPageToken`
|
2271
|
+
# @return [String]
|
2272
|
+
attr_accessor :next_page_token
|
2273
|
+
|
2274
|
+
def initialize(**args)
|
2275
|
+
update!(**args)
|
2276
|
+
end
|
2277
|
+
|
2278
|
+
# Update properties of this object
|
2279
|
+
def update!(**args)
|
2280
|
+
@bitbucket_server_repositories = args[:bitbucket_server_repositories] if args.key?(:bitbucket_server_repositories)
|
2281
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2282
|
+
end
|
2283
|
+
end
|
2284
|
+
|
1687
2285
|
# Response containing existing `BuildTriggers`.
|
1688
2286
|
class ListBuildTriggersResponse
|
1689
2287
|
include Google::Apis::Core::Hashable
|
@@ -2331,6 +2929,27 @@ module Google
|
|
2331
2929
|
end
|
2332
2930
|
end
|
2333
2931
|
|
2932
|
+
# RPC request object accepted by RemoveBitbucketServerConnectedRepository RPC
|
2933
|
+
# method.
|
2934
|
+
class RemoveBitbucketServerConnectedRepositoryRequest
|
2935
|
+
include Google::Apis::Core::Hashable
|
2936
|
+
|
2937
|
+
# BitbucketServerRepositoryId identifies a specific repository hosted on a
|
2938
|
+
# Bitbucket Server.
|
2939
|
+
# Corresponds to the JSON property `connectedRepository`
|
2940
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerRepositoryId]
|
2941
|
+
attr_accessor :connected_repository
|
2942
|
+
|
2943
|
+
def initialize(**args)
|
2944
|
+
update!(**args)
|
2945
|
+
end
|
2946
|
+
|
2947
|
+
# Update properties of this object
|
2948
|
+
def update!(**args)
|
2949
|
+
@connected_repository = args[:connected_repository] if args.key?(:connected_repository)
|
2950
|
+
end
|
2951
|
+
end
|
2952
|
+
|
2334
2953
|
# Location of the source in a Google Cloud Source Repository.
|
2335
2954
|
class RepoSource
|
2336
2955
|
include Google::Apis::Core::Hashable
|
@@ -2889,6 +3508,38 @@ module Google
|
|
2889
3508
|
end
|
2890
3509
|
end
|
2891
3510
|
|
3511
|
+
# Metadata for `UpdateBitbucketServerConfig` operation.
|
3512
|
+
class UpdateBitbucketServerConfigOperationMetadata
|
3513
|
+
include Google::Apis::Core::Hashable
|
3514
|
+
|
3515
|
+
# The resource name of the BitbucketServerConfig to be updated. Format: `
|
3516
|
+
# projects/`project`/locations/`location`/bitbucketServerConfigs/`id``.
|
3517
|
+
# Corresponds to the JSON property `bitbucketServerConfig`
|
3518
|
+
# @return [String]
|
3519
|
+
attr_accessor :bitbucket_server_config
|
3520
|
+
|
3521
|
+
# Time the operation was completed.
|
3522
|
+
# Corresponds to the JSON property `completeTime`
|
3523
|
+
# @return [String]
|
3524
|
+
attr_accessor :complete_time
|
3525
|
+
|
3526
|
+
# Time the operation was created.
|
3527
|
+
# Corresponds to the JSON property `createTime`
|
3528
|
+
# @return [String]
|
3529
|
+
attr_accessor :create_time
|
3530
|
+
|
3531
|
+
def initialize(**args)
|
3532
|
+
update!(**args)
|
3533
|
+
end
|
3534
|
+
|
3535
|
+
# Update properties of this object
|
3536
|
+
def update!(**args)
|
3537
|
+
@bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
|
3538
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
3539
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3540
|
+
end
|
3541
|
+
end
|
3542
|
+
|
2892
3543
|
# Metadata for `UpdateGitHubEnterpriseConfig` operation.
|
2893
3544
|
class UpdateGitHubEnterpriseConfigOperationMetadata
|
2894
3545
|
include Google::Apis::Core::Hashable
|
@@ -2921,6 +3572,38 @@ module Google
|
|
2921
3572
|
end
|
2922
3573
|
end
|
2923
3574
|
|
3575
|
+
# Metadata for `UpdateGitLabConfig` operation.
|
3576
|
+
class UpdateGitLabConfigOperationMetadata
|
3577
|
+
include Google::Apis::Core::Hashable
|
3578
|
+
|
3579
|
+
# Time the operation was completed.
|
3580
|
+
# Corresponds to the JSON property `completeTime`
|
3581
|
+
# @return [String]
|
3582
|
+
attr_accessor :complete_time
|
3583
|
+
|
3584
|
+
# Time the operation was created.
|
3585
|
+
# Corresponds to the JSON property `createTime`
|
3586
|
+
# @return [String]
|
3587
|
+
attr_accessor :create_time
|
3588
|
+
|
3589
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
3590
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
3591
|
+
# Corresponds to the JSON property `gitlabConfig`
|
3592
|
+
# @return [String]
|
3593
|
+
attr_accessor :gitlab_config
|
3594
|
+
|
3595
|
+
def initialize(**args)
|
3596
|
+
update!(**args)
|
3597
|
+
end
|
3598
|
+
|
3599
|
+
# Update properties of this object
|
3600
|
+
def update!(**args)
|
3601
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
3602
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3603
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
3604
|
+
end
|
3605
|
+
end
|
3606
|
+
|
2924
3607
|
# Metadata for the `UpdateWorkerPool` operation.
|
2925
3608
|
class UpdateWorkerPoolOperationMetadata
|
2926
3609
|
include Google::Apis::Core::Hashable
|