Class: Google::Apis::AlertcenterV1beta1::RequestInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::RequestInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb
Overview
Requests for one application that needs default SQL setup.
Instance Attribute Summary collapse
-
#app_developer_email ⇒ Array<String>
List of app developers who triggered notifications for above application.
-
#app_key ⇒ String
Required.
-
#number_of_requests ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RequestInfo
constructor
A new instance of RequestInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RequestInfo
Returns a new instance of RequestInfo.
1732 1733 1734 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_developer_email ⇒ Array<String>
List of app developers who triggered notifications for above application.
Corresponds to the JSON property appDeveloperEmail
1719 1720 1721 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1719 def app_developer_email @app_developer_email end |
#app_key ⇒ String
Required. The application that requires the SQL setup.
Corresponds to the JSON property appKey
1724 1725 1726 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1724 def app_key @app_key end |
#number_of_requests ⇒ Fixnum
Required. Number of requests sent for this application to set up default SQL
instance.
Corresponds to the JSON property numberOfRequests
1730 1731 1732 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1730 def number_of_requests @number_of_requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1737 1738 1739 1740 1741 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1737 def update!(**args) @app_developer_email = args[:app_developer_email] if args.key?(:app_developer_email) @app_key = args[:app_key] if args.key?(:app_key) @number_of_requests = args[:number_of_requests] if args.key?(:number_of_requests) end |