Class: Google::Apis::AppengineV1beta::OAuth2ClientInfo
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::OAuth2ClientInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta/classes.rb,
generated/google/apis/appengine_v1beta/representations.rb,
generated/google/apis/appengine_v1beta/representations.rb
Instance Attribute Summary collapse
-
#application_name ⇒ String
Application name to be used in OAuth consent screen.
-
#client_name ⇒ String
Nameof the client to be generated.
-
#developer_email_address ⇒ String
Developer's information to be used in OAuth consent screen.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OAuth2ClientInfo
constructor
A new instance of OAuth2ClientInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OAuth2ClientInfo
Returns a new instance of OAuth2ClientInfo
1888 1889 1890 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1888 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_name ⇒ String
Application name to be used in OAuth consent screen.
Corresponds to the JSON property applicationName
1875 1876 1877 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1875 def application_name @application_name end |
#client_name ⇒ String
Nameof the client to be generated. Optional - If not provided, the name will
be autogenerated by the backend.
Corresponds to the JSON property clientName
1881 1882 1883 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1881 def client_name @client_name end |
#developer_email_address ⇒ String
Developer's information to be used in OAuth consent screen.
Corresponds to the JSON property developerEmailAddress
1886 1887 1888 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1886 def developer_email_address @developer_email_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1893 1894 1895 1896 1897 |
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1893 def update!(**args) @application_name = args[:application_name] if args.key?(:application_name) @client_name = args[:client_name] if args.key?(:client_name) @developer_email_address = args[:developer_email_address] if args.key?(:developer_email_address) end |