Class: Google::Apis::RunV1::Configuration
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::Configuration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1/classes.rb,
generated/google/apis/run_v1/representations.rb,
generated/google/apis/run_v1/representations.rb
Overview
Configuration represents the "floating HEAD" of a linear history of Revisions, and optionally how the containers those revisions reference are built. Users create new Revisions by updating the Configuration's spec. The "latest created" revision's name is available under status, as is the "latest ready" revision's name. See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md# configuration
Instance Attribute Summary collapse
-
#api_version ⇒ String
The API version for this call such as "serving.knative.dev/v1".
-
#kind ⇒ String
The kind of resource, in this case always "Configuration".
-
#metadata ⇒ Google::Apis::RunV1::ObjectMeta
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
-
#spec ⇒ Google::Apis::RunV1::ConfigurationSpec
ConfigurationSpec holds the desired state of the Configuration (from the client).
-
#status ⇒ Google::Apis::RunV1::ConfigurationStatus
ConfigurationStatus communicates the observed state of the Configuration (from the controller).
Instance Method Summary collapse
-
#initialize(**args) ⇒ Configuration
constructor
A new instance of Configuration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Configuration
Returns a new instance of Configuration
548 549 550 |
# File 'generated/google/apis/run_v1/classes.rb', line 548 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
The API version for this call such as "serving.knative.dev/v1".
Corresponds to the JSON property apiVersion
523 524 525 |
# File 'generated/google/apis/run_v1/classes.rb', line 523 def api_version @api_version end |
#kind ⇒ String
The kind of resource, in this case always "Configuration".
Corresponds to the JSON property kind
528 529 530 |
# File 'generated/google/apis/run_v1/classes.rb', line 528 def kind @kind end |
#metadata ⇒ Google::Apis::RunV1::ObjectMeta
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
persisted resources must have, which includes all objects users must create.
Corresponds to the JSON property metadata
534 535 536 |
# File 'generated/google/apis/run_v1/classes.rb', line 534 def @metadata end |
#spec ⇒ Google::Apis::RunV1::ConfigurationSpec
ConfigurationSpec holds the desired state of the Configuration (from the
client).
Corresponds to the JSON property spec
540 541 542 |
# File 'generated/google/apis/run_v1/classes.rb', line 540 def spec @spec end |
#status ⇒ Google::Apis::RunV1::ConfigurationStatus
ConfigurationStatus communicates the observed state of the Configuration
(from the controller).
Corresponds to the JSON property status
546 547 548 |
# File 'generated/google/apis/run_v1/classes.rb', line 546 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
553 554 555 556 557 558 559 |
# File 'generated/google/apis/run_v1/classes.rb', line 553 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 |