google-apis-cloudbuild_v1 0.27.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb974611111f39af9240db88d6349aefe12112fe4ac3f7d140a2437b6e8450a0
|
4
|
+
data.tar.gz: d7d626d662a571c10f33d579ff29f97d7d5223c04b180fcef8cd87dd2e5b2741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76e0aece12187ac51ce8cf57b07db8fc5fe84c971be638bb5c2daf052272f855f3ea4a25b579e5ee5a5267d165af9229595be3e7e0e0fa527eed1f4a3736bafc
|
7
|
+
data.tar.gz: 25dbc4d15d5e5555837fcb1f0d61dcb42c42789942d7993987c80282346f0a9cd26aa1ec95afb00cd1d3845eaff49f824d8ccd4345ddd9b8c172ce73d3a1556e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1
|
2
2
|
|
3
|
+
### v0.30.0 (2022-05-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220505
|
6
|
+
|
7
|
+
### v0.29.0 (2022-04-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220407
|
10
|
+
|
11
|
+
### v0.28.0 (2022-03-29)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220322
|
14
|
+
|
3
15
|
### v0.27.0 (2022-03-19)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220310
|
@@ -22,56 +22,6 @@ 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
|
-
|
75
25
|
# ApprovalConfig describes configuration for manual approval of a build.
|
76
26
|
class ApprovalConfig
|
77
27
|
include Google::Apis::Core::Hashable
|
@@ -582,7 +532,7 @@ module Google
|
|
582
532
|
attr_accessor :bitbucket_server_config_resource
|
583
533
|
|
584
534
|
# Required. Key of the project that the repo is in. For example: The key for
|
585
|
-
#
|
535
|
+
# https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
|
586
536
|
# Corresponds to the JSON property `projectKey`
|
587
537
|
# @return [String]
|
588
538
|
attr_accessor :project_key
|
@@ -600,7 +550,7 @@ module Google
|
|
600
550
|
# Required. Slug of the repository. A repository slug is a URL-friendly version
|
601
551
|
# of a repository name, automatically generated by Bitbucket for use in the URL.
|
602
552
|
# For example, if the repository name is 'test repo', in the URL it would become
|
603
|
-
# 'test-repo' as in
|
553
|
+
# 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
|
604
554
|
# Corresponds to the JSON property `repoSlug`
|
605
555
|
# @return [String]
|
606
556
|
attr_accessor :repo_slug
|
@@ -1256,6 +1206,14 @@ module Google
|
|
1256
1206
|
# @return [Array<String>]
|
1257
1207
|
attr_accessor :ignored_files
|
1258
1208
|
|
1209
|
+
# If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page
|
1210
|
+
# when build status is final. Setting this field to
|
1211
|
+
# INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in
|
1212
|
+
# INVALID_ARGUMENT error.
|
1213
|
+
# Corresponds to the JSON property `includeBuildLogs`
|
1214
|
+
# @return [String]
|
1215
|
+
attr_accessor :include_build_logs
|
1216
|
+
|
1259
1217
|
# If any of the files altered in the commit pass the ignored_files filter and
|
1260
1218
|
# included_files is empty, then as far as this filter is concerned, we should
|
1261
1219
|
# trigger the build. If any of the files altered in the commit pass the
|
@@ -1343,6 +1301,7 @@ module Google
|
|
1343
1301
|
@github = args[:github] if args.key?(:github)
|
1344
1302
|
@id = args[:id] if args.key?(:id)
|
1345
1303
|
@ignored_files = args[:ignored_files] if args.key?(:ignored_files)
|
1304
|
+
@include_build_logs = args[:include_build_logs] if args.key?(:include_build_logs)
|
1346
1305
|
@included_files = args[:included_files] if args.key?(:included_files)
|
1347
1306
|
@name = args[:name] if args.key?(:name)
|
1348
1307
|
@pubsub_config = args[:pubsub_config] if args.key?(:pubsub_config)
|
@@ -1720,8 +1679,7 @@ module Google
|
|
1720
1679
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1721
1680
|
# messages in your APIs. A typical example is to use it as the request or the
|
1722
1681
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1723
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1724
|
-
# `Empty` is empty JSON object ````.
|
1682
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1725
1683
|
class Empty
|
1726
1684
|
include Google::Apis::Core::Hashable
|
1727
1685
|
|
@@ -1815,9 +1773,9 @@ module Google
|
|
1815
1773
|
# @return [String]
|
1816
1774
|
attr_accessor :revision
|
1817
1775
|
|
1818
|
-
# The URI of the repo
|
1819
|
-
# trigger invocation originated is assumed to be the
|
1820
|
-
# specified path.
|
1776
|
+
# The URI of the repo. Either uri or repository can be specified. If unspecified,
|
1777
|
+
# the repo from which the trigger invocation originated is assumed to be the
|
1778
|
+
# repo from which to read the specified path.
|
1821
1779
|
# Corresponds to the JSON property `uri`
|
1822
1780
|
# @return [String]
|
1823
1781
|
attr_accessor :uri
|
@@ -2059,7 +2017,7 @@ module Google
|
|
2059
2017
|
# @return [String]
|
2060
2018
|
attr_accessor :repo_type
|
2061
2019
|
|
2062
|
-
# The URI of the repo
|
2020
|
+
# The URI of the repo. Either uri or repository can be specified and is required.
|
2063
2021
|
# Corresponds to the JSON property `uri`
|
2064
2022
|
# @return [String]
|
2065
2023
|
attr_accessor :uri
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudbuildV1
|
18
18
|
# Version of the google-apis-cloudbuild_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220505"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,18 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudbuildV1
|
24
24
|
|
25
|
-
class AddBitbucketServerConnectedRepositoryRequest
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class AddBitbucketServerConnectedRepositoryResponse
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
25
|
class ApprovalConfig
|
38
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
27
|
|
@@ -598,23 +586,6 @@ module Google
|
|
598
586
|
include Google::Apis::Core::JsonObjectSupport
|
599
587
|
end
|
600
588
|
|
601
|
-
class AddBitbucketServerConnectedRepositoryRequest
|
602
|
-
# @private
|
603
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
604
|
-
property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
|
605
|
-
|
606
|
-
end
|
607
|
-
end
|
608
|
-
|
609
|
-
class AddBitbucketServerConnectedRepositoryResponse
|
610
|
-
# @private
|
611
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
612
|
-
property :config, as: 'config'
|
613
|
-
property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
|
614
|
-
|
615
|
-
end
|
616
|
-
end
|
617
|
-
|
618
589
|
class ApprovalConfig
|
619
590
|
# @private
|
620
591
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -900,6 +871,7 @@ module Google
|
|
900
871
|
|
901
872
|
property :id, as: 'id'
|
902
873
|
collection :ignored_files, as: 'ignoredFiles'
|
874
|
+
property :include_build_logs, as: 'includeBuildLogs'
|
903
875
|
collection :included_files, as: 'includedFiles'
|
904
876
|
property :name, as: 'name'
|
905
877
|
property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::CloudbuildV1::PubsubConfig, decorator: Google::Apis::CloudbuildV1::PubsubConfig::Representation
|
@@ -414,7 +414,7 @@ module Google
|
|
414
414
|
# @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
|
415
415
|
# @param [String] ghe_config_id
|
416
416
|
# Optional. The ID to use for the GithubEnterpriseConfig, which will become the
|
417
|
-
# final component of the GithubEnterpriseConfig
|
417
|
+
# final component of the GithubEnterpriseConfig's resource name. ghe_config_id
|
418
418
|
# must meet the following requirements: + They must contain only alphanumeric
|
419
419
|
# characters and dashes. + They can be 1-64 characters long. + They must begin
|
420
420
|
# and end with an alphanumeric character
|
@@ -598,42 +598,6 @@ module Google
|
|
598
598
|
execute_or_queue_command(command, &block)
|
599
599
|
end
|
600
600
|
|
601
|
-
# Add a Bitbucket Server repository to a given BitbucketServerConfig's connected
|
602
|
-
# repositories. This API is experimental.
|
603
|
-
# @param [String] config
|
604
|
-
# Required. The name of the `BitbucketServerConfig` to add a connected
|
605
|
-
# repository. Format: `projects/`project`/locations/`location`/
|
606
|
-
# bitbucketServerConfigs/`config``
|
607
|
-
# @param [Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryRequest] add_bitbucket_server_connected_repository_request_object
|
608
|
-
# @param [String] fields
|
609
|
-
# Selector specifying which fields to include in a partial response.
|
610
|
-
# @param [String] quota_user
|
611
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
612
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
613
|
-
# @param [Google::Apis::RequestOptions] options
|
614
|
-
# Request-specific options
|
615
|
-
#
|
616
|
-
# @yield [result, err] Result & error if block supplied
|
617
|
-
# @yieldparam result [Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse] parsed result object
|
618
|
-
# @yieldparam err [StandardError] error object if request failed
|
619
|
-
#
|
620
|
-
# @return [Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse]
|
621
|
-
#
|
622
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
623
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
624
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
625
|
-
def add_bitbucket_server_config_bitbucket_server_connected_repository(config, add_bitbucket_server_connected_repository_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
626
|
-
command = make_simple_command(:post, 'v1/{+config}:addBitbucketServerConnectedRepository', options)
|
627
|
-
command.request_representation = Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryRequest::Representation
|
628
|
-
command.request_object = add_bitbucket_server_connected_repository_request_object
|
629
|
-
command.response_representation = Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse::Representation
|
630
|
-
command.response_class = Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse
|
631
|
-
command.params['config'] = config unless config.nil?
|
632
|
-
command.query['fields'] = fields unless fields.nil?
|
633
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
634
|
-
execute_or_queue_command(command, &block)
|
635
|
-
end
|
636
|
-
|
637
601
|
# Creates a new `BitbucketServerConfig`. This API is experimental.
|
638
602
|
# @param [String] parent
|
639
603
|
# Required. Name of the parent resource.
|
@@ -814,7 +778,7 @@ module Google
|
|
814
778
|
execute_or_queue_command(command, &block)
|
815
779
|
end
|
816
780
|
|
817
|
-
# Remove a Bitbucket Server repository from
|
781
|
+
# Remove a Bitbucket Server repository from a given BitbucketServerConfig's
|
818
782
|
# connected repositories. This API is experimental.
|
819
783
|
# @param [String] config
|
820
784
|
# Required. The name of the `BitbucketServerConfig` to remove a connected
|
@@ -1179,7 +1143,7 @@ module Google
|
|
1179
1143
|
# @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
|
1180
1144
|
# @param [String] ghe_config_id
|
1181
1145
|
# Optional. The ID to use for the GithubEnterpriseConfig, which will become the
|
1182
|
-
# final component of the GithubEnterpriseConfig
|
1146
|
+
# final component of the GithubEnterpriseConfig's resource name. ghe_config_id
|
1183
1147
|
# must meet the following requirements: + They must contain only alphanumeric
|
1184
1148
|
# characters and dashes. + They can be 1-64 characters long. + They must begin
|
1185
1149
|
# and end with an alphanumeric character
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbuild_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.30.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|