Class: Google::Apis::AppengineV1alpha::ProjectState
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1alpha::ProjectState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1alpha/classes.rb,
lib/google/apis/appengine_v1alpha/representations.rb,
lib/google/apis/appengine_v1alpha/representations.rb
Overview
ProjectState contains the externally-visible project state that is used to communicate the state and reasoning for that state to the CLH. This data is not persisted by CCFE, but is instead derived from CCFE's internal representation of the project state.
Instance Attribute Summary collapse
-
#current_reasons ⇒ Google::Apis::AppengineV1alpha::Reasons
Projects transition between and within states based on reasons sent from various systems.
-
#previous_reasons ⇒ Google::Apis::AppengineV1alpha::Reasons
Projects transition between and within states based on reasons sent from various systems.
-
#state ⇒ String
The current state of the project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProjectState
constructor
A new instance of ProjectState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProjectState
Returns a new instance of ProjectState.
887 888 889 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 887 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_reasons ⇒ Google::Apis::AppengineV1alpha::Reasons
Projects transition between and within states based on reasons sent from
various systems. CCFE will provide the CLH with reasons for the current state
per system.The current systems that CCFE supports are: Service Management (
Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
Billing API)
Corresponds to the JSON property currentReasons
870 871 872 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 870 def current_reasons @current_reasons end |
#previous_reasons ⇒ Google::Apis::AppengineV1alpha::Reasons
Projects transition between and within states based on reasons sent from
various systems. CCFE will provide the CLH with reasons for the current state
per system.The current systems that CCFE supports are: Service Management (
Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
Billing API)
Corresponds to the JSON property previousReasons
879 880 881 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 879 def previous_reasons @previous_reasons end |
#state ⇒ String
The current state of the project. This state is the culmination of all of the
opinions from external systems that CCFE knows about of the project.
Corresponds to the JSON property state
885 886 887 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 885 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
892 893 894 895 896 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 892 def update!(**args) @current_reasons = args[:current_reasons] if args.key?(:current_reasons) @previous_reasons = args[:previous_reasons] if args.key?(:previous_reasons) @state = args[:state] if args.key?(:state) end |