Class: Google::Apis::RunV1alpha1::DomainMapping
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::DomainMapping
- 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
Resource to hold the state and status of a user's domain mapping.
Instance Attribute Summary collapse
-
#api_version ⇒ String
The API version for this call such as "domains.cloudrun.com/v1alpha1".
-
#kind ⇒ String
The kind of resource, in this case "DomainMapping".
-
#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::DomainMappingSpec
The desired state of the Domain Mapping.
-
#status ⇒ Google::Apis::RunV1alpha1::DomainMappingStatus
The current state of the Domain Mapping.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainMapping
constructor
A new instance of DomainMapping.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DomainMapping
Returns a new instance of DomainMapping.
1371 1372 1373 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1371 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
The API version for this call such as "domains.cloudrun.com/v1alpha1".
Corresponds to the JSON property apiVersion
1348 1349 1350 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1348 def api_version @api_version end |
#kind ⇒ String
The kind of resource, in this case "DomainMapping".
Corresponds to the JSON property kind
1353 1354 1355 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1353 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
1359 1360 1361 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1359 def @metadata end |
#spec ⇒ Google::Apis::RunV1alpha1::DomainMappingSpec
The desired state of the Domain Mapping.
Corresponds to the JSON property spec
1364 1365 1366 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1364 def spec @spec end |
#status ⇒ Google::Apis::RunV1alpha1::DomainMappingStatus
The current state of the Domain Mapping.
Corresponds to the JSON property status
1369 1370 1371 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1369 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1376 1377 1378 1379 1380 1381 1382 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1376 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 |