class Google::Apis::RunV1beta1::CustomResourceSubresources
CustomResourceSubresources
defines the status and scale subresources for CustomResources.
Attributes
CustomResourceSubresourceScale
defines how to serve the scale subresource for CustomResources. Corresponds to the JSON property `scale` @return [Google::Apis::RunV1beta1::CustomResourceSubresourceScale]
CustomResourceSubresourceStatus
defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/ PATCH requests to the custom resource ignore changes to the status stanza Corresponds to the JSON property `status` @return [Google::Apis::RunV1beta1::CustomResourceSubresourceStatus]
Public Class Methods
# File lib/google/apis/run_v1beta1/classes.rb, line 376 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v1beta1/classes.rb, line 381 def update!(**args) @scale = args[:scale] if args.key?(:scale) @status = args[:status] if args.key?(:status) end