Class: Google::Apis::RunV1alpha1::CloudSchedulerSource
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::CloudSchedulerSource
- 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
Overview
The CloudSchedulerSource resource.
Instance Attribute Summary collapse
-
#api_version ⇒ String
The API version for this call such as "events.cloud.google.com/v1alpha1".
-
#kind ⇒ String
The kind of resource, in this case "CloudSchedulerSource".
-
#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::CloudSchedulerSourceSpec
The desired state of the CloudSchedulerSource.
-
#status ⇒ Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus
CloudSchedulerSourceStatus represents the current state of a CloudSchedulerSource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudSchedulerSource
constructor
A new instance of CloudSchedulerSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudSchedulerSource
Returns a new instance of CloudSchedulerSource.
599 600 601 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 599 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
The API version for this call such as "events.cloud.google.com/v1alpha1".
Corresponds to the JSON property apiVersion
575 576 577 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 575 def api_version @api_version end |
#kind ⇒ String
The kind of resource, in this case "CloudSchedulerSource".
Corresponds to the JSON property kind
580 581 582 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 580 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
586 587 588 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 586 def @metadata end |
#spec ⇒ Google::Apis::RunV1alpha1::CloudSchedulerSourceSpec
The desired state of the CloudSchedulerSource.
Corresponds to the JSON property spec
591 592 593 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 591 def spec @spec end |
#status ⇒ Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus
CloudSchedulerSourceStatus represents the current state of a
CloudSchedulerSource.
Corresponds to the JSON property status
597 598 599 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 597 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
604 605 606 607 608 609 610 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 604 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 |