google-apis-cloudbuild_v1 0.42.0 → 0.44.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: d935b39f6e071b849fec2eb4f9cb7103941ab988d770e05ca62e5732fae7ec00
|
4
|
+
data.tar.gz: f872f35a93743c442f9e85288c9ba0af10a8f831de86e67dda78929b6bdc5528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d219cf07dabff905199a61e9394bb85d197922c20ae577c2e972012845061bc19a324290323b931f67c61d9ea64cf43a02a752032273274f388f2752ffc3ded
|
7
|
+
data.tar.gz: aced8099bc78d7e55e205a654c44d03c9987330ff0c4489b32c29ea90153d4a4dcf290932d81e45c1c59f11d61a44f4bbcb41bb516aecd218451c9e4fe514c6d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1
|
2
2
|
|
3
|
+
### v0.44.0 (2022-12-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221201
|
6
|
+
|
7
|
+
### v0.43.0 (2022-11-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20221103
|
10
|
+
|
3
11
|
### v0.42.0 (2022-11-04)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20221027
|
@@ -955,7 +955,7 @@ module Google
|
|
955
955
|
# disk free"; some of the space will be used by the operating system and build
|
956
956
|
# utilities. Also note that this is the minimum disk size that will be allocated
|
957
957
|
# for the build -- the build may run with a larger disk than requested. At
|
958
|
-
# present, the maximum disk size is
|
958
|
+
# present, the maximum disk size is 2000GB; builds that request more than the
|
959
959
|
# maximum are rejected with an error.
|
960
960
|
# Corresponds to the JSON property `diskSizeGb`
|
961
961
|
# @return [Fixnum]
|
@@ -1358,6 +1358,12 @@ module Google
|
|
1358
1358
|
# @return [Google::Apis::CloudbuildV1::PubsubConfig]
|
1359
1359
|
attr_accessor :pubsub_config
|
1360
1360
|
|
1361
|
+
# The configuration of a trigger that creates a build whenever an event from
|
1362
|
+
# Repo API is received.
|
1363
|
+
# Corresponds to the JSON property `repositoryEventConfig`
|
1364
|
+
# @return [Google::Apis::CloudbuildV1::RepositoryEventConfig]
|
1365
|
+
attr_accessor :repository_event_config
|
1366
|
+
|
1361
1367
|
# The `Trigger` name with format: `projects/`project`/locations/`location`/
|
1362
1368
|
# triggers/`trigger``, where `trigger` is a unique identifier generated by the
|
1363
1369
|
# service.
|
@@ -1426,6 +1432,7 @@ module Google
|
|
1426
1432
|
@included_files = args[:included_files] if args.key?(:included_files)
|
1427
1433
|
@name = args[:name] if args.key?(:name)
|
1428
1434
|
@pubsub_config = args[:pubsub_config] if args.key?(:pubsub_config)
|
1435
|
+
@repository_event_config = args[:repository_event_config] if args.key?(:repository_event_config)
|
1429
1436
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1430
1437
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1431
1438
|
@source_to_build = args[:source_to_build] if args.key?(:source_to_build)
|
@@ -1970,7 +1977,8 @@ module Google
|
|
1970
1977
|
attr_accessor :host_url
|
1971
1978
|
|
1972
1979
|
# Optional. The full resource name for the GitHubEnterpriseConfig For example: "
|
1973
|
-
# projects/`$project_id`/githubEnterpriseConfigs/`$
|
1980
|
+
# projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
1981
|
+
# config_id`"
|
1974
1982
|
# Corresponds to the JSON property `name`
|
1975
1983
|
# @return [String]
|
1976
1984
|
attr_accessor :name
|
@@ -2090,8 +2098,8 @@ module Google
|
|
2090
2098
|
include Google::Apis::Core::Hashable
|
2091
2099
|
|
2092
2100
|
# Optional. The resource name of the github enterprise config that should be
|
2093
|
-
# applied to this installation. For example: "projects/`$project_id`/
|
2094
|
-
# githubEnterpriseConfigs/`$config_id`"
|
2101
|
+
# applied to this installation. For example: "projects/`$project_id`/locations/`$
|
2102
|
+
# location_id`/githubEnterpriseConfigs/`$config_id`"
|
2095
2103
|
# Corresponds to the JSON property `enterpriseConfigResourceName`
|
2096
2104
|
# @return [String]
|
2097
2105
|
attr_accessor :enterprise_config_resource_name
|
@@ -2863,6 +2871,18 @@ module Google
|
|
2863
2871
|
# @return [String]
|
2864
2872
|
attr_accessor :peered_network
|
2865
2873
|
|
2874
|
+
# Immutable. Subnet IP range within the peered network. This is specified in
|
2875
|
+
# CIDR notation. The IP and prefix size are both optional. If unspecified, the
|
2876
|
+
# default value for IP is blank (will use an automatic value from the peered
|
2877
|
+
# network), and the prefix size will default to 24 bits. e.g. `192.168.0.0/30`
|
2878
|
+
# would specify a subnet mask of 192.168.0.0 with a prefix size of 30 bits. `192.
|
2879
|
+
# 168.0.0` would specify a subnet mask of 192.168.0.0 with a prefix size of 24
|
2880
|
+
# bits (the default prefix size). `/16` would specify a prefix size of 16 bits,
|
2881
|
+
# with an unspecified IP.
|
2882
|
+
# Corresponds to the JSON property `peeredNetworkIpRange`
|
2883
|
+
# @return [String]
|
2884
|
+
attr_accessor :peered_network_ip_range
|
2885
|
+
|
2866
2886
|
def initialize(**args)
|
2867
2887
|
update!(**args)
|
2868
2888
|
end
|
@@ -2871,6 +2891,7 @@ module Google
|
|
2871
2891
|
def update!(**args)
|
2872
2892
|
@egress_option = args[:egress_option] if args.key?(:egress_option)
|
2873
2893
|
@peered_network = args[:peered_network] if args.key?(:peered_network)
|
2894
|
+
@peered_network_ip_range = args[:peered_network_ip_range] if args.key?(:peered_network_ip_range)
|
2874
2895
|
end
|
2875
2896
|
end
|
2876
2897
|
|
@@ -3535,6 +3556,44 @@ module Google
|
|
3535
3556
|
end
|
3536
3557
|
end
|
3537
3558
|
|
3559
|
+
# The configuration of a trigger that creates a build whenever an event from
|
3560
|
+
# Repo API is received.
|
3561
|
+
class RepositoryEventConfig
|
3562
|
+
include Google::Apis::Core::Hashable
|
3563
|
+
|
3564
|
+
# PullRequestFilter contains filter properties for matching GitHub Pull Requests.
|
3565
|
+
# Corresponds to the JSON property `pullRequest`
|
3566
|
+
# @return [Google::Apis::CloudbuildV1::PullRequestFilter]
|
3567
|
+
attr_accessor :pull_request
|
3568
|
+
|
3569
|
+
# Push contains filter properties for matching GitHub git pushes.
|
3570
|
+
# Corresponds to the JSON property `push`
|
3571
|
+
# @return [Google::Apis::CloudbuildV1::PushFilter]
|
3572
|
+
attr_accessor :push
|
3573
|
+
|
3574
|
+
# The resource name of the Repo API resource.
|
3575
|
+
# Corresponds to the JSON property `repository`
|
3576
|
+
# @return [String]
|
3577
|
+
attr_accessor :repository
|
3578
|
+
|
3579
|
+
# Output only. The type of the SCM vendor the repository points to.
|
3580
|
+
# Corresponds to the JSON property `repositoryType`
|
3581
|
+
# @return [String]
|
3582
|
+
attr_accessor :repository_type
|
3583
|
+
|
3584
|
+
def initialize(**args)
|
3585
|
+
update!(**args)
|
3586
|
+
end
|
3587
|
+
|
3588
|
+
# Update properties of this object
|
3589
|
+
def update!(**args)
|
3590
|
+
@pull_request = args[:pull_request] if args.key?(:pull_request)
|
3591
|
+
@push = args[:push] if args.key?(:push)
|
3592
|
+
@repository = args[:repository] if args.key?(:repository)
|
3593
|
+
@repository_type = args[:repository_type] if args.key?(:repository_type)
|
3594
|
+
end
|
3595
|
+
end
|
3596
|
+
|
3538
3597
|
# Artifacts created by the build pipeline.
|
3539
3598
|
class Results
|
3540
3599
|
include Google::Apis::Core::Hashable
|
@@ -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.44.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -532,6 +532,12 @@ module Google
|
|
532
532
|
include Google::Apis::Core::JsonObjectSupport
|
533
533
|
end
|
534
534
|
|
535
|
+
class RepositoryEventConfig
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
535
541
|
class Results
|
536
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
543
|
|
@@ -1012,6 +1018,8 @@ module Google
|
|
1012
1018
|
property :name, as: 'name'
|
1013
1019
|
property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::CloudbuildV1::PubsubConfig, decorator: Google::Apis::CloudbuildV1::PubsubConfig::Representation
|
1014
1020
|
|
1021
|
+
property :repository_event_config, as: 'repositoryEventConfig', class: Google::Apis::CloudbuildV1::RepositoryEventConfig, decorator: Google::Apis::CloudbuildV1::RepositoryEventConfig::Representation
|
1022
|
+
|
1015
1023
|
property :resource_name, as: 'resourceName'
|
1016
1024
|
property :service_account, as: 'serviceAccount'
|
1017
1025
|
property :source_to_build, as: 'sourceToBuild', class: Google::Apis::CloudbuildV1::GitRepoSource, decorator: Google::Apis::CloudbuildV1::GitRepoSource::Representation
|
@@ -1429,6 +1437,7 @@ module Google
|
|
1429
1437
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1430
1438
|
property :egress_option, as: 'egressOption'
|
1431
1439
|
property :peered_network, as: 'peeredNetwork'
|
1440
|
+
property :peered_network_ip_range, as: 'peeredNetworkIpRange'
|
1432
1441
|
end
|
1433
1442
|
end
|
1434
1443
|
|
@@ -1614,6 +1623,18 @@ module Google
|
|
1614
1623
|
end
|
1615
1624
|
end
|
1616
1625
|
|
1626
|
+
class RepositoryEventConfig
|
1627
|
+
# @private
|
1628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1629
|
+
property :pull_request, as: 'pullRequest', class: Google::Apis::CloudbuildV1::PullRequestFilter, decorator: Google::Apis::CloudbuildV1::PullRequestFilter::Representation
|
1630
|
+
|
1631
|
+
property :push, as: 'push', class: Google::Apis::CloudbuildV1::PushFilter, decorator: Google::Apis::CloudbuildV1::PushFilter::Representation
|
1632
|
+
|
1633
|
+
property :repository, as: 'repository'
|
1634
|
+
property :repository_type, as: 'repositoryType'
|
1635
|
+
end
|
1636
|
+
end
|
1637
|
+
|
1617
1638
|
class Results
|
1618
1639
|
# @private
|
1619
1640
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -489,7 +489,8 @@ module Google
|
|
489
489
|
# Delete an association between a GCP project and a GitHub Enterprise server.
|
490
490
|
# @param [String] name
|
491
491
|
# This field should contain the name of the enterprise config resource. For
|
492
|
-
# example: "projects/`$project_id`/
|
492
|
+
# example: "projects/`$project_id`/locations/`$location_id`/
|
493
|
+
# githubEnterpriseConfigs/`$config_id`"
|
493
494
|
# @param [String] config_id
|
494
495
|
# Unique identifier of the `GitHubEnterpriseConfig`
|
495
496
|
# @param [String] project_id
|
@@ -526,7 +527,8 @@ module Google
|
|
526
527
|
# Retrieve a GitHubEnterpriseConfig.
|
527
528
|
# @param [String] name
|
528
529
|
# This field should contain the name of the enterprise config resource. For
|
529
|
-
# example: "projects/`$project_id`/
|
530
|
+
# example: "projects/`$project_id`/locations/`$location_id`/
|
531
|
+
# githubEnterpriseConfigs/`$config_id`"
|
530
532
|
# @param [String] config_id
|
531
533
|
# Unique identifier of the `GitHubEnterpriseConfig`
|
532
534
|
# @param [String] project_id
|
@@ -597,7 +599,8 @@ module Google
|
|
597
599
|
# Update an association between a GCP project and a GitHub Enterprise server.
|
598
600
|
# @param [String] name
|
599
601
|
# Optional. The full resource name for the GitHubEnterpriseConfig For example: "
|
600
|
-
# projects/`$project_id`/githubEnterpriseConfigs/`$
|
602
|
+
# projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
603
|
+
# config_id`"
|
601
604
|
# @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
|
602
605
|
# @param [String] update_mask
|
603
606
|
# Update mask for the resource. If this is set, the server will only update the
|
@@ -1506,7 +1509,8 @@ module Google
|
|
1506
1509
|
# Delete an association between a GCP project and a GitHub Enterprise server.
|
1507
1510
|
# @param [String] name
|
1508
1511
|
# This field should contain the name of the enterprise config resource. For
|
1509
|
-
# example: "projects/`$project_id`/
|
1512
|
+
# example: "projects/`$project_id`/locations/`$location_id`/
|
1513
|
+
# githubEnterpriseConfigs/`$config_id`"
|
1510
1514
|
# @param [String] config_id
|
1511
1515
|
# Unique identifier of the `GitHubEnterpriseConfig`
|
1512
1516
|
# @param [String] project_id
|
@@ -1543,7 +1547,8 @@ module Google
|
|
1543
1547
|
# Retrieve a GitHubEnterpriseConfig.
|
1544
1548
|
# @param [String] name
|
1545
1549
|
# This field should contain the name of the enterprise config resource. For
|
1546
|
-
# example: "projects/`$project_id`/
|
1550
|
+
# example: "projects/`$project_id`/locations/`$location_id`/
|
1551
|
+
# githubEnterpriseConfigs/`$config_id`"
|
1547
1552
|
# @param [String] config_id
|
1548
1553
|
# Unique identifier of the `GitHubEnterpriseConfig`
|
1549
1554
|
# @param [String] project_id
|
@@ -1614,7 +1619,8 @@ module Google
|
|
1614
1619
|
# Update an association between a GCP project and a GitHub Enterprise server.
|
1615
1620
|
# @param [String] name
|
1616
1621
|
# Optional. The full resource name for the GitHubEnterpriseConfig For example: "
|
1617
|
-
# projects/`$project_id`/githubEnterpriseConfigs/`$
|
1622
|
+
# projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
|
1623
|
+
# config_id`"
|
1618
1624
|
# @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
|
1619
1625
|
# @param [String] update_mask
|
1620
1626
|
# Update mask for the resource. If this is set, the server will only update the
|
@@ -1917,8 +1923,9 @@ module Google
|
|
1917
1923
|
|
1918
1924
|
# Runs a `BuildTrigger` at a particular source revision. To run a regional or
|
1919
1925
|
# global trigger, use the POST request that includes the location endpoint in
|
1920
|
-
# the path.
|
1921
|
-
#
|
1926
|
+
# the path (ex. v1/projects/`projectId`/locations/`region`/triggers/`triggerId`:
|
1927
|
+
# run). The POST request that does not include the location endpoint in the path
|
1928
|
+
# can only be used when running global triggers.
|
1922
1929
|
# @param [String] name
|
1923
1930
|
# The name of the `Trigger` to run. Format: `projects/`project`/locations/`
|
1924
1931
|
# location`/triggers/`trigger``
|
@@ -2386,8 +2393,9 @@ module Google
|
|
2386
2393
|
|
2387
2394
|
# Runs a `BuildTrigger` at a particular source revision. To run a regional or
|
2388
2395
|
# global trigger, use the POST request that includes the location endpoint in
|
2389
|
-
# the path.
|
2390
|
-
#
|
2396
|
+
# the path (ex. v1/projects/`projectId`/locations/`region`/triggers/`triggerId`:
|
2397
|
+
# run). The POST request that does not include the location endpoint in the path
|
2398
|
+
# can only be used when running global triggers.
|
2391
2399
|
# @param [String] project_id
|
2392
2400
|
# Required. ID of the project.
|
2393
2401
|
# @param [String] trigger_id
|
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.44.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-12-12 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.44.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: []
|