google-apis-cloudbuild_v1 0.15.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/cloudbuild_v1/classes.rb +8 -0
- data/lib/google/apis/cloudbuild_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/lib/google/apis/cloudbuild_v1/service.rb +22 -14
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53781e49ef12adbfef2f55b94ab307557d256f87c0e7ed645bd993568bf71a50
|
4
|
+
data.tar.gz: ca5bb81efd3ed0460065f2dfefc0210c16674779eb9f3e53d6067859fab096b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a83f04caa79fda8bbed10b67ed94068d27ad49f74f91ffac134f7ad15879ac16b9d6f3090653dddb602c93357c5f875cb6046677751f980c0e78ee957f79639
|
7
|
+
data.tar.gz: 0afe33eacf15f5060c3abbcaf857abe73d69940938f4b514288eecc77e57be3392c4e84205223809dbceaae7170cb9f1dc21debe76350e3def17f8cd5a38b335
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1
|
2
2
|
|
3
|
+
### v0.19.0 (2021-11-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211029
|
6
|
+
|
7
|
+
### v0.18.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.17.0 (2021-10-06)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210923
|
14
|
+
|
15
|
+
### v0.16.0 (2021-09-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210903
|
18
|
+
|
3
19
|
### v0.15.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210813
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudbuild service in particular.)
|
67
67
|
|
@@ -790,6 +790,13 @@ module Google
|
|
790
790
|
attr_accessor :disabled
|
791
791
|
alias_method :disabled?, :disabled
|
792
792
|
|
793
|
+
# Optional. EventType allows the user to explicitly set the type of event to
|
794
|
+
# which this BuildTrigger should respond. This field is optional but will be
|
795
|
+
# validated against the rest of the configuration if it is set.
|
796
|
+
# Corresponds to the JSON property `eventType`
|
797
|
+
# @return [String]
|
798
|
+
attr_accessor :event_type
|
799
|
+
|
793
800
|
# Path, from the source root, to the build configuration file (i.e. cloudbuild.
|
794
801
|
# yaml).
|
795
802
|
# Corresponds to the JSON property `filename`
|
@@ -906,6 +913,7 @@ module Google
|
|
906
913
|
@create_time = args[:create_time] if args.key?(:create_time)
|
907
914
|
@description = args[:description] if args.key?(:description)
|
908
915
|
@disabled = args[:disabled] if args.key?(:disabled)
|
916
|
+
@event_type = args[:event_type] if args.key?(:event_type)
|
909
917
|
@filename = args[:filename] if args.key?(:filename)
|
910
918
|
@filter = args[:filter] if args.key?(:filter)
|
911
919
|
@git_file_source = args[:git_file_source] if args.key?(:git_file_source)
|
@@ -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.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -641,6 +641,7 @@ module Google
|
|
641
641
|
property :create_time, as: 'createTime'
|
642
642
|
property :description, as: 'description'
|
643
643
|
property :disabled, as: 'disabled'
|
644
|
+
property :event_type, as: 'eventType'
|
644
645
|
property :filename, as: 'filename'
|
645
646
|
property :filter, as: 'filter'
|
646
647
|
property :git_file_source, as: 'gitFileSource', class: Google::Apis::CloudbuildV1::GitFileSource, decorator: Google::Apis::CloudbuildV1::GitFileSource::Representation
|
@@ -370,11 +370,16 @@ module Google
|
|
370
370
|
end
|
371
371
|
|
372
372
|
# Create an association between a GCP project and a GitHub Enterprise server.
|
373
|
-
# This API is experimental.
|
374
373
|
# @param [String] parent
|
375
374
|
# Name of the parent project. For example: projects/`$project_number` or
|
376
375
|
# projects/`$project_id`
|
377
376
|
# @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
|
377
|
+
# @param [String] ghe_config_id
|
378
|
+
# Optional. The ID to use for the GithubEnterpriseConfig, which will become the
|
379
|
+
# final component of the GithubEnterpriseConfig’s resource name. ghe_config_id
|
380
|
+
# must meet the following requirements: + They must contain only alphanumeric
|
381
|
+
# characters and dashes. + They can be 1-64 characters long. + They must begin
|
382
|
+
# and end with an alphanumeric character
|
378
383
|
# @param [String] project_id
|
379
384
|
# ID of the project.
|
380
385
|
# @param [String] fields
|
@@ -394,13 +399,14 @@ module Google
|
|
394
399
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
395
400
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
396
401
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
397
|
-
def create_project_github_enterprise_config(parent, git_hub_enterprise_config_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
402
|
+
def create_project_github_enterprise_config(parent, git_hub_enterprise_config_object = nil, ghe_config_id: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
398
403
|
command = make_simple_command(:post, 'v1/{+parent}/githubEnterpriseConfigs', options)
|
399
404
|
command.request_representation = Google::Apis::CloudbuildV1::GitHubEnterpriseConfig::Representation
|
400
405
|
command.request_object = git_hub_enterprise_config_object
|
401
406
|
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
402
407
|
command.response_class = Google::Apis::CloudbuildV1::Operation
|
403
408
|
command.params['parent'] = parent unless parent.nil?
|
409
|
+
command.query['gheConfigId'] = ghe_config_id unless ghe_config_id.nil?
|
404
410
|
command.query['projectId'] = project_id unless project_id.nil?
|
405
411
|
command.query['fields'] = fields unless fields.nil?
|
406
412
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -408,7 +414,6 @@ module Google
|
|
408
414
|
end
|
409
415
|
|
410
416
|
# Delete an association between a GCP project and a GitHub Enterprise server.
|
411
|
-
# This API is experimental.
|
412
417
|
# @param [String] name
|
413
418
|
# This field should contain the name of the enterprise config resource. For
|
414
419
|
# example: "projects/`$project_id`/githubEnterpriseConfigs/`$config_id`"
|
@@ -445,7 +450,7 @@ module Google
|
|
445
450
|
execute_or_queue_command(command, &block)
|
446
451
|
end
|
447
452
|
|
448
|
-
# Retrieve a GitHubEnterpriseConfig.
|
453
|
+
# Retrieve a GitHubEnterpriseConfig.
|
449
454
|
# @param [String] name
|
450
455
|
# This field should contain the name of the enterprise config resource. For
|
451
456
|
# example: "projects/`$project_id`/githubEnterpriseConfigs/`$config_id`"
|
@@ -482,7 +487,7 @@ module Google
|
|
482
487
|
execute_or_queue_command(command, &block)
|
483
488
|
end
|
484
489
|
|
485
|
-
# List all GitHubEnterpriseConfigs for a given project.
|
490
|
+
# List all GitHubEnterpriseConfigs for a given project.
|
486
491
|
# @param [String] parent
|
487
492
|
# Name of the parent project. For example: projects/`$project_number` or
|
488
493
|
# projects/`$project_id`
|
@@ -517,7 +522,6 @@ module Google
|
|
517
522
|
end
|
518
523
|
|
519
524
|
# Update an association between a GCP project and a GitHub Enterprise server.
|
520
|
-
# This API is experimental.
|
521
525
|
# @param [String] name
|
522
526
|
# Optional. The full resource name for the GitHubEnterpriseConfig For example: "
|
523
527
|
# projects/`$project_id`/githubEnterpriseConfigs/`$config_id`"
|
@@ -802,11 +806,16 @@ module Google
|
|
802
806
|
end
|
803
807
|
|
804
808
|
# Create an association between a GCP project and a GitHub Enterprise server.
|
805
|
-
# This API is experimental.
|
806
809
|
# @param [String] parent
|
807
810
|
# Name of the parent project. For example: projects/`$project_number` or
|
808
811
|
# projects/`$project_id`
|
809
812
|
# @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
|
813
|
+
# @param [String] ghe_config_id
|
814
|
+
# Optional. The ID to use for the GithubEnterpriseConfig, which will become the
|
815
|
+
# final component of the GithubEnterpriseConfig’s resource name. ghe_config_id
|
816
|
+
# must meet the following requirements: + They must contain only alphanumeric
|
817
|
+
# characters and dashes. + They can be 1-64 characters long. + They must begin
|
818
|
+
# and end with an alphanumeric character
|
810
819
|
# @param [String] project_id
|
811
820
|
# ID of the project.
|
812
821
|
# @param [String] fields
|
@@ -826,13 +835,14 @@ module Google
|
|
826
835
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
827
836
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
828
837
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
829
|
-
def create_project_location_github_enterprise_config(parent, git_hub_enterprise_config_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
838
|
+
def create_project_location_github_enterprise_config(parent, git_hub_enterprise_config_object = nil, ghe_config_id: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
830
839
|
command = make_simple_command(:post, 'v1/{+parent}/githubEnterpriseConfigs', options)
|
831
840
|
command.request_representation = Google::Apis::CloudbuildV1::GitHubEnterpriseConfig::Representation
|
832
841
|
command.request_object = git_hub_enterprise_config_object
|
833
842
|
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
834
843
|
command.response_class = Google::Apis::CloudbuildV1::Operation
|
835
844
|
command.params['parent'] = parent unless parent.nil?
|
845
|
+
command.query['gheConfigId'] = ghe_config_id unless ghe_config_id.nil?
|
836
846
|
command.query['projectId'] = project_id unless project_id.nil?
|
837
847
|
command.query['fields'] = fields unless fields.nil?
|
838
848
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -840,7 +850,6 @@ module Google
|
|
840
850
|
end
|
841
851
|
|
842
852
|
# Delete an association between a GCP project and a GitHub Enterprise server.
|
843
|
-
# This API is experimental.
|
844
853
|
# @param [String] name
|
845
854
|
# This field should contain the name of the enterprise config resource. For
|
846
855
|
# example: "projects/`$project_id`/githubEnterpriseConfigs/`$config_id`"
|
@@ -877,7 +886,7 @@ module Google
|
|
877
886
|
execute_or_queue_command(command, &block)
|
878
887
|
end
|
879
888
|
|
880
|
-
# Retrieve a GitHubEnterpriseConfig.
|
889
|
+
# Retrieve a GitHubEnterpriseConfig.
|
881
890
|
# @param [String] name
|
882
891
|
# This field should contain the name of the enterprise config resource. For
|
883
892
|
# example: "projects/`$project_id`/githubEnterpriseConfigs/`$config_id`"
|
@@ -914,7 +923,7 @@ module Google
|
|
914
923
|
execute_or_queue_command(command, &block)
|
915
924
|
end
|
916
925
|
|
917
|
-
# List all GitHubEnterpriseConfigs for a given project.
|
926
|
+
# List all GitHubEnterpriseConfigs for a given project.
|
918
927
|
# @param [String] parent
|
919
928
|
# Name of the parent project. For example: projects/`$project_number` or
|
920
929
|
# projects/`$project_id`
|
@@ -949,7 +958,6 @@ module Google
|
|
949
958
|
end
|
950
959
|
|
951
960
|
# Update an association between a GCP project and a GitHub Enterprise server.
|
952
|
-
# This API is experimental.
|
953
961
|
# @param [String] name
|
954
962
|
# Optional. The full resource name for the GitHubEnterpriseConfig For example: "
|
955
963
|
# projects/`$project_id`/githubEnterpriseConfigs/`$config_id`"
|
@@ -1382,8 +1390,8 @@ module Google
|
|
1382
1390
|
# If set to true, and the `WorkerPool` is not found, the request will succeed
|
1383
1391
|
# but no action will be taken on the server.
|
1384
1392
|
# @param [String] etag
|
1385
|
-
# Optional. If
|
1386
|
-
#
|
1393
|
+
# Optional. If provided, it must match the server's etag on the workerpool for
|
1394
|
+
# the request to be processed.
|
1387
1395
|
# @param [Boolean] validate_only
|
1388
1396
|
# If set, validate the request and preview the response, but do not actually
|
1389
1397
|
# post it.
|
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.19.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: 2021-
|
11
|
+
date: 2021-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.19.0
|
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: []
|
65
65
|
require_paths:
|