Class: Google::Apis::RunV1alpha1::Storage
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::Storage
- 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 "events.cloud.google.com/v1alpha1".
-
#kind ⇒ String
The kind of resource, in this case "Storage".
-
#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::StorageSpec
The desired state of the Storage.
-
#status ⇒ Google::Apis::RunV1alpha1::StorageStatus
StorageStatus represents the current state of a Storage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Storage
constructor
A new instance of Storage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Storage
Returns a new instance of Storage.
4472 4473 4474 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4472 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
4449 4450 4451 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4449 def api_version @api_version end |
#kind ⇒ String
The kind of resource, in this case "Storage".
Corresponds to the JSON property kind
4454 4455 4456 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4454 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
4460 4461 4462 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4460 def @metadata end |
#spec ⇒ Google::Apis::RunV1alpha1::StorageSpec
The desired state of the Storage.
Corresponds to the JSON property spec
4465 4466 4467 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4465 def spec @spec end |
#status ⇒ Google::Apis::RunV1alpha1::StorageStatus
StorageStatus represents the current state of a Storage.
Corresponds to the JSON property status
4470 4471 4472 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4470 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4477 4478 4479 4480 4481 4482 4483 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4477 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 |