Class: Google::Apis::RunV1alpha1::CloudStorageSource
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::CloudStorageSource
- 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 CloudStorageSource 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 "CloudStorageSource".
-
#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::CloudStorageSourceSpec
The desired state of the CloudStorageSource.
-
#status ⇒ Google::Apis::RunV1alpha1::CloudStorageSourceStatus
CloudStorageSourceStatus represents the current state of a CloudStorageSource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudStorageSource
constructor
A new instance of CloudStorageSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudStorageSource
Returns a new instance of CloudStorageSource.
743 744 745 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 743 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
720 721 722 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 720 def api_version @api_version end |
#kind ⇒ String
The kind of resource, in this case "CloudStorageSource".
Corresponds to the JSON property kind
725 726 727 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 725 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
731 732 733 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 731 def @metadata end |
#spec ⇒ Google::Apis::RunV1alpha1::CloudStorageSourceSpec
The desired state of the CloudStorageSource.
Corresponds to the JSON property spec
736 737 738 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 736 def spec @spec end |
#status ⇒ Google::Apis::RunV1alpha1::CloudStorageSourceStatus
CloudStorageSourceStatus represents the current state of a CloudStorageSource.
Corresponds to the JSON property status
741 742 743 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 741 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
748 749 750 751 752 753 754 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 748 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 |