google-apis-cloudbuild_v1 0.36.0 → 0.37.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: 7a368c199d226d619177618ca3501b623138280d1329ee815e49e73ad3a7c6af
4
- data.tar.gz: e7ed2ef632fd84bcbddae1bc6c0e559de09ec348fef08928c905d903e725d7b6
3
+ metadata.gz: f406a2a2c7b6a09c9d80b9a5753c5f73e8b4175c7b0cb1467081eca7ad9b6634
4
+ data.tar.gz: 84deb57dbd3cfba5a52a6566bdbe06ba06dfbc28943a93e2abbc45676a61029b
5
5
  SHA512:
6
- metadata.gz: 9371753d15088c99297cde6e926266a22f19a1918aed178e7f752401e59818a898b1fed11857fddf6614152a8159faacf52385d8d231cfaa1452757ababc8ebf
7
- data.tar.gz: 2df3d688849a5b77c2d121312ff572de69afb496c77973a934d5f565640bddcd12b87d0e4f86134bbd32c3815fb0bda746a7203d80aee5a6939c8e5b8042e3cd
6
+ metadata.gz: 51350aa5c15dae822fcc5ed675d4ee87d9f7d68002cefd43e92daa4217846c9d75dacd5e9d7cd6445074524d49278b0034a4de7bf6a9ecae492801799b8b7845
7
+ data.tar.gz: 185ca7ce1ba479cde7adba43659dfb98e99ff696fb8bdaa2f001a11540352091c582f02f5abde908b04583ed04c1a1772e899836fccda160ade499608b0f3355
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.37.0 (2022-08-24)
4
+
5
+ * Regenerated from discovery document revision 20220818
6
+
3
7
  ### v0.36.0 (2022-08-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20220808
@@ -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.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220808"
25
+ REVISION = "20220818"
26
26
  end
27
27
  end
28
28
  end
@@ -49,6 +49,41 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # ReceiveGitHubDotComWebhook is called when the API receives a github.com
53
+ # webhook.
54
+ # @param [Google::Apis::CloudbuildV1::HttpBody] http_body_object
55
+ # @param [String] webhook_key
56
+ # For GitHub Enterprise webhooks, this key is used to associate the webhook
57
+ # request with the GitHubEnterpriseConfig to use for validation.
58
+ # @param [String] fields
59
+ # Selector specifying which fields to include in a partial response.
60
+ # @param [String] quota_user
61
+ # Available to use for quota purposes for server-side applications. Can be any
62
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
63
+ # @param [Google::Apis::RequestOptions] options
64
+ # Request-specific options
65
+ #
66
+ # @yield [result, err] Result & error if block supplied
67
+ # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
68
+ # @yieldparam err [StandardError] error object if request failed
69
+ #
70
+ # @return [Google::Apis::CloudbuildV1::Empty]
71
+ #
72
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
75
+ def receive_github_dot_com_webhook(http_body_object = nil, webhook_key: nil, fields: nil, quota_user: nil, options: nil, &block)
76
+ command = make_simple_command(:post, 'v1/githubDotComWebhook:receive', options)
77
+ command.request_representation = Google::Apis::CloudbuildV1::HttpBody::Representation
78
+ command.request_object = http_body_object
79
+ command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
80
+ command.response_class = Google::Apis::CloudbuildV1::Empty
81
+ command.query['webhookKey'] = webhook_key unless webhook_key.nil?
82
+ command.query['fields'] = fields unless fields.nil?
83
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
84
+ execute_or_queue_command(command, &block)
85
+ end
86
+
52
87
  # ReceiveRegionalWebhook is called when the API receives a regional GitHub
53
88
  # webhook.
54
89
  # @param [String] location
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.36.0
4
+ version: 0.37.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-08-22 00:00:00.000000000 Z
11
+ date: 2022-08-29 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.37.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: []