google-apis-clouddeploy_v1 0.15.0 → 0.16.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: a5f5d1ddbded850d5b86692304c5c8d37e1dd1fb5df6e75226a5fd613b0216e3
4
- data.tar.gz: 00e08be0ed22a6b2c1e3e9675fc88ac05a1ea31739ca0b3e6382d6f6fe1bee60
3
+ metadata.gz: 6cabf4a39ba15acfb7aaa72cd17da039fdd500561e6bcf5b52256844b84bd229
4
+ data.tar.gz: fbb3e62948861dac36497f9c9abea9024fea4fb8b126fc41aa501288fcf6e56d
5
5
  SHA512:
6
- metadata.gz: 1d97d246eae758b12874c47c922dc1c68033d478b1ab305642a69b5e108d2bb1300b91862b012e3bdf8656af2e299ccb7408ccab544411ff1d7285cf3b13851e
7
- data.tar.gz: 4977354e4aefed451b583f5a0d3647f0e59ff34ed6ae6f2b2b757296eedadcd0b3d9453fb352d1aab1297bd619015f7007ae35fae1a7c6f4c3faad8288f0480a
6
+ metadata.gz: 531203d5b0d26df84daafecbc22121a2e9c518968253419f79720c1ebb676415198dca06acd6c6ad3a1f56b67d0f2ec3400dd1d6ff103d114a775b64b4d6aa64
7
+ data.tar.gz: cd36cc1b90070d169dd68d79ff3ae225f3b954b45c4f0047906a485efc79689e8baf9d16d8e540ee6cb5ed163ebddc192e5ecdde97805cfb95f6ca721976f866
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.16.0 (2022-09-22)
4
+
5
+ * Regenerated from discovery document revision 20220915
6
+ * Regenerated using generator version 0.10.0
7
+
3
8
  ### v0.15.0 (2022-09-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20220909
@@ -450,8 +450,7 @@ module Google
450
450
  include Google::Apis::Core::Hashable
451
451
 
452
452
  # User annotations. These attributes can only be set and used by the user, and
453
- # not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for
454
- # more details such as format and size limitations.
453
+ # not by Google Cloud Deploy.
455
454
  # Corresponds to the JSON property `annotations`
456
455
  # @return [Hash<String,String>]
457
456
  attr_accessor :annotations
@@ -604,6 +603,12 @@ module Google
604
603
  # @return [String]
605
604
  attr_accessor :failure_message
606
605
 
606
+ # DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to
607
+ # the user.
608
+ # Corresponds to the JSON property `metadata`
609
+ # @return [Google::Apis::ClouddeployV1::DeployJobRunMetadata]
610
+ attr_accessor :metadata
611
+
607
612
  def initialize(**args)
608
613
  update!(**args)
609
614
  end
@@ -613,6 +618,27 @@ module Google
613
618
  @build = args[:build] if args.key?(:build)
614
619
  @failure_cause = args[:failure_cause] if args.key?(:failure_cause)
615
620
  @failure_message = args[:failure_message] if args.key?(:failure_message)
621
+ @metadata = args[:metadata] if args.key?(:metadata)
622
+ end
623
+ end
624
+
625
+ # DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to
626
+ # the user.
627
+ class DeployJobRunMetadata
628
+ include Google::Apis::Core::Hashable
629
+
630
+ # CloudRunMetadata contains information from a Cloud Run deployment.
631
+ # Corresponds to the JSON property `cloudRun`
632
+ # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
633
+ attr_accessor :cloud_run
634
+
635
+ def initialize(**args)
636
+ update!(**args)
637
+ end
638
+
639
+ # Update properties of this object
640
+ def update!(**args)
641
+ @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
616
642
  end
617
643
  end
618
644
 
@@ -935,6 +961,63 @@ module Google
935
961
  end
936
962
  end
937
963
 
964
+ # Payload proto for "clouddeploy.googleapis.com/jobrun_notification" Platform
965
+ # Log event that describes the failure to send JobRun resource update Pub/Sub
966
+ # notification.
967
+ class JobRunNotificationEvent
968
+ include Google::Apis::Core::Hashable
969
+
970
+ # The name of the `JobRun`.
971
+ # Corresponds to the JSON property `jobRun`
972
+ # @return [String]
973
+ attr_accessor :job_run
974
+
975
+ # Debug message for when a notification fails to send.
976
+ # Corresponds to the JSON property `message`
977
+ # @return [String]
978
+ attr_accessor :message
979
+
980
+ # Unique identifier of the `DeliveryPipeline`.
981
+ # Corresponds to the JSON property `pipelineUid`
982
+ # @return [String]
983
+ attr_accessor :pipeline_uid
984
+
985
+ # Unique identifier of the `Release`.
986
+ # Corresponds to the JSON property `releaseUid`
987
+ # @return [String]
988
+ attr_accessor :release_uid
989
+
990
+ # Unique identifier of the `Rollout`.
991
+ # Corresponds to the JSON property `rolloutUid`
992
+ # @return [String]
993
+ attr_accessor :rollout_uid
994
+
995
+ # ID of the `Target`.
996
+ # Corresponds to the JSON property `targetId`
997
+ # @return [String]
998
+ attr_accessor :target_id
999
+
1000
+ # Type of this notification, e.g. for a Pub/Sub failure.
1001
+ # Corresponds to the JSON property `type`
1002
+ # @return [String]
1003
+ attr_accessor :type
1004
+
1005
+ def initialize(**args)
1006
+ update!(**args)
1007
+ end
1008
+
1009
+ # Update properties of this object
1010
+ def update!(**args)
1011
+ @job_run = args[:job_run] if args.key?(:job_run)
1012
+ @message = args[:message] if args.key?(:message)
1013
+ @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
1014
+ @release_uid = args[:release_uid] if args.key?(:release_uid)
1015
+ @rollout_uid = args[:rollout_uid] if args.key?(:rollout_uid)
1016
+ @target_id = args[:target_id] if args.key?(:target_id)
1017
+ @type = args[:type] if args.key?(:type)
1018
+ end
1019
+ end
1020
+
938
1021
  # The response object from `ListDeliveryPipelines`.
939
1022
  class ListDeliveryPipelinesResponse
940
1023
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ClouddeployV1
18
18
  # Version of the google-apis-clouddeploy_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220909"
25
+ REVISION = "20220915"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class DeployJobRunMetadata
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class DeploymentJobs
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -178,6 +184,12 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class JobRunNotificationEvent
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class ListDeliveryPipelinesResponse
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -568,6 +580,16 @@ module Google
568
580
  property :build, as: 'build'
569
581
  property :failure_cause, as: 'failureCause'
570
582
  property :failure_message, as: 'failureMessage'
583
+ property :metadata, as: 'metadata', class: Google::Apis::ClouddeployV1::DeployJobRunMetadata, decorator: Google::Apis::ClouddeployV1::DeployJobRunMetadata::Representation
584
+
585
+ end
586
+ end
587
+
588
+ class DeployJobRunMetadata
589
+ # @private
590
+ class Representation < Google::Apis::Core::JsonRepresentation
591
+ property :cloud_run, as: 'cloudRun', class: Google::Apis::ClouddeployV1::CloudRunMetadata, decorator: Google::Apis::ClouddeployV1::CloudRunMetadata::Representation
592
+
571
593
  end
572
594
  end
573
595
 
@@ -652,6 +674,19 @@ module Google
652
674
  end
653
675
  end
654
676
 
677
+ class JobRunNotificationEvent
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :job_run, as: 'jobRun'
681
+ property :message, as: 'message'
682
+ property :pipeline_uid, as: 'pipelineUid'
683
+ property :release_uid, as: 'releaseUid'
684
+ property :rollout_uid, as: 'rolloutUid'
685
+ property :target_id, as: 'targetId'
686
+ property :type, as: 'type'
687
+ end
688
+ end
689
+
655
690
  class ListDeliveryPipelinesResponse
656
691
  # @private
657
692
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-clouddeploy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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-09-19 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.7.2
19
+ version: 0.9.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.7.2
29
+ version: 0.9.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-clouddeploy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []