Class: Google::Apis::RunV1alpha1::Trigger
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::Trigger
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb
Instance Attribute Summary collapse
-
#api_version ⇒ String
The API version for this call such as "v1alpha1".
-
#kind ⇒ String
The kind of resource, in this case "Trigger".
-
#metadata ⇒ Google::Apis::RunV1alpha1::ObjectMeta
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
-
#spec ⇒ Google::Apis::RunV1alpha1::TriggerSpec
The desired state of the Trigger.
-
#status ⇒ Google::Apis::RunV1alpha1::TriggerStatus
TriggerStatus represents the current state of a Trigger.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Trigger
constructor
A new instance of Trigger.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Trigger
Returns a new instance of Trigger
3964 3965 3966 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
The API version for this call such as "v1alpha1".
Corresponds to the JSON property apiVersion
3941 3942 3943 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3941 def api_version @api_version end |
#kind ⇒ String
The kind of resource, in this case "Trigger".
Corresponds to the JSON property kind
3946 3947 3948 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3946 def kind @kind end |
#metadata ⇒ Google::Apis::RunV1alpha1::ObjectMeta
ObjectMeta is metadata that all persisted resources must have, which includes
all objects users must create.
Corresponds to the JSON property metadata
3952 3953 3954 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3952 def @metadata end |
#spec ⇒ Google::Apis::RunV1alpha1::TriggerSpec
The desired state of the Trigger.
Corresponds to the JSON property spec
3957 3958 3959 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3957 def spec @spec end |
#status ⇒ Google::Apis::RunV1alpha1::TriggerStatus
TriggerStatus represents the current state of a Trigger.
Corresponds to the JSON property status
3962 3963 3964 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3962 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3969 3970 3971 3972 3973 3974 3975 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3969 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @kind = args[:kind] if args.key?(:kind) @metadata = args[:metadata] if args.key?(:metadata) @spec = args[:spec] if args.key?(:spec) @status = args[:status] if args.key?(:status) end |