google-apis-cloudbuild_v1 0.50.0 → 0.51.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f2a5b37fdc3e51f5412225e55de092c091ec501f2aae1c957c40cea5e7bc540
|
4
|
+
data.tar.gz: 4c80ba6d398132a7c4cee8ca9e9e7609b94f7e9531814bc31eb5f024ef33c135
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 433cc0b6fe101a5716535c8631a13f31c650dc71227d0a10f2126d34d788409ed0c471b76ab6a463e22b552e0c53bf9738b6573d8458f536d93bbb445291da3b
|
7
|
+
data.tar.gz: 0d294bc82ad7daf5efd45780f6e9b349f89eb5f82f722e9dfba54d747b39414bbbdd2da8b5d3f41e3d6b3272e99fdef113bb512a8826365f3cada47ade1f9da5
|
data/CHANGELOG.md
CHANGED
@@ -1935,6 +1935,14 @@ module Google
|
|
1935
1935
|
# @return [String]
|
1936
1936
|
attr_accessor :repo_type
|
1937
1937
|
|
1938
|
+
# The fully qualified resource name of the Repo API repository. Either uri or
|
1939
|
+
# repository can be specified. If unspecified, the repo from which the trigger
|
1940
|
+
# invocation originated is assumed to be the repo from which to read the
|
1941
|
+
# specified path.
|
1942
|
+
# Corresponds to the JSON property `repository`
|
1943
|
+
# @return [String]
|
1944
|
+
attr_accessor :repository
|
1945
|
+
|
1938
1946
|
# The branch, tag, arbitrary ref, or SHA version of the repo to use when
|
1939
1947
|
# resolving the filename (optional). This field respects the same syntax/
|
1940
1948
|
# resolution as described here: https://git-scm.com/docs/gitrevisions If
|
@@ -1961,6 +1969,7 @@ module Google
|
|
1961
1969
|
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
1962
1970
|
@path = args[:path] if args.key?(:path)
|
1963
1971
|
@repo_type = args[:repo_type] if args.key?(:repo_type)
|
1972
|
+
@repository = args[:repository] if args.key?(:repository)
|
1964
1973
|
@revision = args[:revision] if args.key?(:revision)
|
1965
1974
|
@uri = args[:uri] if args.key?(:uri)
|
1966
1975
|
end
|
@@ -2476,6 +2485,12 @@ module Google
|
|
2476
2485
|
# @return [String]
|
2477
2486
|
attr_accessor :repo_type
|
2478
2487
|
|
2488
|
+
# The qualified resource name of the Repo API repository Either uri or
|
2489
|
+
# repository can be specified and is required.
|
2490
|
+
# Corresponds to the JSON property `repository`
|
2491
|
+
# @return [String]
|
2492
|
+
attr_accessor :repository
|
2493
|
+
|
2479
2494
|
# The URI of the repo. Either uri or repository can be specified and is required.
|
2480
2495
|
# Corresponds to the JSON property `uri`
|
2481
2496
|
# @return [String]
|
@@ -2491,6 +2506,7 @@ module Google
|
|
2491
2506
|
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
2492
2507
|
@ref = args[:ref] if args.key?(:ref)
|
2493
2508
|
@repo_type = args[:repo_type] if args.key?(:repo_type)
|
2509
|
+
@repository = args[:repository] if args.key?(:repository)
|
2494
2510
|
@uri = args[:uri] if args.key?(:uri)
|
2495
2511
|
end
|
2496
2512
|
end
|
@@ -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.51.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230505"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1144,6 +1144,7 @@ module Google
|
|
1144
1144
|
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
1145
1145
|
property :path, as: 'path'
|
1146
1146
|
property :repo_type, as: 'repoType'
|
1147
|
+
property :repository, as: 'repository'
|
1147
1148
|
property :revision, as: 'revision'
|
1148
1149
|
property :uri, as: 'uri'
|
1149
1150
|
end
|
@@ -1281,6 +1282,7 @@ module Google
|
|
1281
1282
|
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
1282
1283
|
property :ref, as: 'ref'
|
1283
1284
|
property :repo_type, as: 'repoType'
|
1285
|
+
property :repository, as: 'repository'
|
1284
1286
|
property :uri, as: 'uri'
|
1285
1287
|
end
|
1286
1288
|
end
|
@@ -1890,6 +1890,10 @@ module Google
|
|
1890
1890
|
# Required. ID of the project that owns the trigger.
|
1891
1891
|
# @param [String] trigger_id
|
1892
1892
|
# Required. ID of the `BuildTrigger` to update.
|
1893
|
+
# @param [String] update_mask
|
1894
|
+
# Update mask for the resource. If this is set, the server will only update the
|
1895
|
+
# fields specified in the field mask. Otherwise, a full update of the mutable
|
1896
|
+
# resource fields will be performed.
|
1893
1897
|
# @param [String] fields
|
1894
1898
|
# Selector specifying which fields to include in a partial response.
|
1895
1899
|
# @param [String] quota_user
|
@@ -1907,7 +1911,7 @@ module Google
|
|
1907
1911
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1908
1912
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1909
1913
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1910
|
-
def patch_project_location_trigger(resource_name, build_trigger_object = nil, project_id: nil, trigger_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1914
|
+
def patch_project_location_trigger(resource_name, build_trigger_object = nil, project_id: nil, trigger_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1911
1915
|
command = make_simple_command(:patch, 'v1/{+resourceName}', options)
|
1912
1916
|
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
1913
1917
|
command.request_object = build_trigger_object
|
@@ -1916,6 +1920,7 @@ module Google
|
|
1916
1920
|
command.params['resourceName'] = resource_name unless resource_name.nil?
|
1917
1921
|
command.query['projectId'] = project_id unless project_id.nil?
|
1918
1922
|
command.query['triggerId'] = trigger_id unless trigger_id.nil?
|
1923
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1919
1924
|
command.query['fields'] = fields unless fields.nil?
|
1920
1925
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1921
1926
|
execute_or_queue_command(command, &block)
|
@@ -2361,6 +2366,10 @@ module Google
|
|
2361
2366
|
# @param [String] trigger_id
|
2362
2367
|
# Required. ID of the `BuildTrigger` to update.
|
2363
2368
|
# @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
|
2369
|
+
# @param [String] update_mask
|
2370
|
+
# Update mask for the resource. If this is set, the server will only update the
|
2371
|
+
# fields specified in the field mask. Otherwise, a full update of the mutable
|
2372
|
+
# resource fields will be performed.
|
2364
2373
|
# @param [String] fields
|
2365
2374
|
# Selector specifying which fields to include in a partial response.
|
2366
2375
|
# @param [String] quota_user
|
@@ -2378,7 +2387,7 @@ module Google
|
|
2378
2387
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2379
2388
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2380
2389
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2381
|
-
def patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2390
|
+
def patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2382
2391
|
command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
2383
2392
|
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
2384
2393
|
command.request_object = build_trigger_object
|
@@ -2386,6 +2395,7 @@ module Google
|
|
2386
2395
|
command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
|
2387
2396
|
command.params['projectId'] = project_id unless project_id.nil?
|
2388
2397
|
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
2398
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2389
2399
|
command.query['fields'] = fields unless fields.nil?
|
2390
2400
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2391
2401
|
execute_or_queue_command(command, &block)
|
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.51.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: 2023-
|
11
|
+
date: 2023-05-14 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.51.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: []
|