Class: Google::Apis::AlertcenterV1beta1::RequestInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/alertcenter_v1beta1/classes.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb

Overview

Requests for one application that needs default SQL setup.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RequestInfo

Returns a new instance of RequestInfo.


1161
1162
1163
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1161

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#app_developer_emailArray<String>

List of app developers who triggered notifications for above application. Corresponds to the JSON property appDeveloperEmail

Returns:

  • (Array<String>)

1148
1149
1150
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1148

def app_developer_email
  @app_developer_email
end

#app_keyString

Required. The application that requires the SQL setup. Corresponds to the JSON property appKey

Returns:

  • (String)

1153
1154
1155
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1153

def app_key
  @app_key
end

#number_of_requestsFixnum

Required. Number of requests sent for this application to set up default SQL instance. Corresponds to the JSON property numberOfRequests

Returns:

  • (Fixnum)

1159
1160
1161
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1159

def number_of_requests
  @number_of_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1166
1167
1168
1169
1170
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1166

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