Class: Google::Apis::ChecksV1alpha::GoogleChecksAccountV1alphaApp
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksAccountV1alphaApp
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb
Overview
Represents an app in Checks.
Instance Attribute Summary collapse
-
#name ⇒ String
The resource name of the app.
-
#title ⇒ String
The app's title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksAccountV1alphaApp
constructor
A new instance of GoogleChecksAccountV1alphaApp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksAccountV1alphaApp
Returns a new instance of GoogleChecksAccountV1alphaApp.
200 201 202 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 200 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The resource name of the app. Example: accounts/123/apps/456
Corresponds to the JSON property name
193 194 195 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 193 def name @name end |
#title ⇒ String
The app's title.
Corresponds to the JSON property title
198 199 200 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 198 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
205 206 207 208 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 205 def update!(**args) @name = args[:name] if args.key?(:name) @title = args[:title] if args.key?(:title) end |