class Google::Apis::RunV1::DomainMapping
Resource to hold the state and status of a user's domain mapping. NOTE: This resource is currently in Beta.
Attributes
The API version for this call such as “domains.cloudrun.com/v1”. Corresponds to the JSON property `apiVersion` @return [String]
The kind of resource, in this case “DomainMapping”. Corresponds to the JSON property `kind` @return [String]
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` @return [Google::Apis::RunV1::ObjectMeta]
The desired state of the Domain Mapping. Corresponds to the JSON property `spec` @return [Google::Apis::RunV1::DomainMappingSpec]
The current state of the Domain Mapping. Corresponds to the JSON property `status` @return [Google::Apis::RunV1::DomainMappingStatus]
Public Class Methods
# File lib/google/apis/run_v1/classes.rb, line 680 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v1/classes.rb, line 685 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