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.
1875 1876 1877 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1875 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deploy_policy ⇒ String
The name of the DeployPolicy
.
Corresponds to the JSON property deployPolicy
1858 1859 1860 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1858 def deploy_policy @deploy_policy end |
#deploy_policy_uid ⇒ String
Unique identifier of the deploy policy.
Corresponds to the JSON property deployPolicyUid
1863 1864 1865 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1863 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
1868 1869 1870 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1868 def @message end |
#type ⇒ String
Type of this notification, e.g. for a Pub/Sub failure.
Corresponds to the JSON property type
1873 1874 1875 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1873 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1880 1881 1882 1883 1884 1885 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1880 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 |