Class: Google::Apis::ChecksV1alpha::GoogleChecksAccountV1alphaApp

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#nameString

The resource name of the app. Example: accounts/123/apps/456 Corresponds to the JSON property name

Returns:

  • (String)


193
194
195
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 193

def name
  @name
end

#titleString

The app's title. Corresponds to the JSON property title

Returns:

  • (String)


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