Class: Google::Apis::RunV1beta1::CustomResourceSubresourceStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1beta1/classes.rb,
generated/google/apis/run_v1beta1/representations.rb,
generated/google/apis/run_v1beta1/representations.rb

Overview

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomResourceSubresourceStatus

Returns a new instance of CustomResourceSubresourceStatus.


346
347
348
# File 'generated/google/apis/run_v1beta1/classes.rb', line 346

def initialize(**args)
   update!(**args)
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


351
352
# File 'generated/google/apis/run_v1beta1/classes.rb', line 351

def update!(**args)
end