Class: Google::Apis::AppengineV1beta::OAuth2ClientInfo

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_nameString

Application name to be used in OAuth consent screen. Corresponds to the JSON property applicationName

Returns:

  • (String)


1875
1876
1877
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1875

def application_name
  @application_name
end

#client_nameString

Nameof the client to be generated. Optional - If not provided, the name will be autogenerated by the backend. Corresponds to the JSON property clientName

Returns:

  • (String)


1881
1882
1883
# File 'generated/google/apis/appengine_v1beta/classes.rb', line 1881

def client_name
  @client_name
end

#developer_email_addressString

Developer's information to be used in OAuth consent screen. Corresponds to the JSON property developerEmailAddress

Returns:

  • (String)


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