Class: Google::Apis::ClouddeployV1::DeployPolicyNotificationEvent
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::DeployPolicyNotificationEvent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Payload proto for "clouddeploy.googleapis.com/deploypolicy_notification". Platform Log event that describes the failure to send a pub/sub notification when there is a DeployPolicy status change.
Instance Attribute Summary collapse
-
#deploy_policy ⇒ String
The name of the
DeployPolicy
. -
#deploy_policy_uid ⇒ String
Unique identifier of the deploy policy.
-
#message ⇒ String
Debug message for when a deploy policy fails to send a pub/sub notification.
-
#type ⇒ String
Type of this notification, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeployPolicyNotificationEvent
constructor
A new instance of DeployPolicyNotificationEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeployPolicyNotificationEvent
Returns a new instance of DeployPolicyNotificationEvent.
2179 2180 2181 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2179 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deploy_policy ⇒ String
The name of the DeployPolicy
.
Corresponds to the JSON property deployPolicy
2162 2163 2164 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2162 def deploy_policy @deploy_policy end |
#deploy_policy_uid ⇒ String
Unique identifier of the deploy policy.
Corresponds to the JSON property deployPolicyUid
2167 2168 2169 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2167 def deploy_policy_uid @deploy_policy_uid end |
#message ⇒ String
Debug message for when a deploy policy fails to send a pub/sub notification.
Corresponds to the JSON property message
2172 2173 2174 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2172 def @message end |
#type ⇒ String
Type of this notification, e.g. for a Pub/Sub failure.
Corresponds to the JSON property type
2177 2178 2179 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2177 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2184 2185 2186 2187 2188 2189 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2184 def update!(**args) @deploy_policy = args[:deploy_policy] if args.key?(:deploy_policy) @deploy_policy_uid = args[:deploy_policy_uid] if args.key?(:deploy_policy_uid) @message = args[:message] if args.key?(:message) @type = args[:type] if args.key?(:type) end |