Class: Google::Apis::AppengineV1beta::ProjectEvent
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::ProjectEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1beta/classes.rb,
lib/google/apis/appengine_v1beta/representations.rb,
lib/google/apis/appengine_v1beta/representations.rb
Overview
The request sent to CLHs during project events.
Instance Attribute Summary collapse
-
#event_id ⇒ String
The unique ID for this project event.
-
#phase ⇒ String
Corresponds to the JSON property
phase. -
#project_metadata ⇒ Google::Apis::AppengineV1beta::ProjectsMetadata
ProjectsMetadata is the metadata CCFE stores about the all the relevant projects (tenant, consumer, producer).
-
#state ⇒ Google::Apis::AppengineV1beta::ProjectState
ProjectState contains the externally-visible project state that is used to communicate the state and reasoning for that state to the CLH.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProjectEvent
constructor
A new instance of ProjectEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProjectEvent
Returns a new instance of ProjectEvent.
2238 2239 2240 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2238 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_id ⇒ String
The unique ID for this project event. CLHs can use this value to dedup
repeated calls. required
Corresponds to the JSON property eventId
2217 2218 2219 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2217 def event_id @event_id end |
#phase ⇒ String
Corresponds to the JSON property phase
2222 2223 2224 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2222 def phase @phase end |
#project_metadata ⇒ Google::Apis::AppengineV1beta::ProjectsMetadata
ProjectsMetadata is the metadata CCFE stores about the all the relevant
projects (tenant, consumer, producer).
Corresponds to the JSON property projectMetadata
2228 2229 2230 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2228 def @project_metadata end |
#state ⇒ Google::Apis::AppengineV1beta::ProjectState
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.
Corresponds to the JSON property state
2236 2237 2238 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2236 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2243 2244 2245 2246 2247 2248 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 2243 def update!(**args) @event_id = args[:event_id] if args.key?(:event_id) @phase = args[:phase] if args.key?(:phase) @project_metadata = args[:project_metadata] if args.key?(:project_metadata) @state = args[:state] if args.key?(:state) end |