Class: Google::Apis::ServiceconsumermanagementV1::UndeleteTenantProjectRequest
- Inherits:
-
Object
- Object
- Google::Apis::ServiceconsumermanagementV1::UndeleteTenantProjectRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceconsumermanagement_v1/classes.rb,
lib/google/apis/serviceconsumermanagement_v1/representations.rb,
lib/google/apis/serviceconsumermanagement_v1/representations.rb
Overview
Request message to undelete tenant project resource previously deleted from the tenancy unit.
Instance Attribute Summary collapse
-
#tag ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UndeleteTenantProjectRequest
constructor
A new instance of UndeleteTenantProjectRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UndeleteTenantProjectRequest
Returns a new instance of UndeleteTenantProjectRequest.
3240 3241 3242 |
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 3240 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tag ⇒ String
Required. Tag of the resource within the tenancy unit.
Corresponds to the JSON property tag
3238 3239 3240 |
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 3238 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3245 3246 3247 |
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 3245 def update!(**args) @tag = args[:tag] if args.key?(:tag) end |