Class WebfontsResource.ListRequest
Retrieves the list of fonts currently served by the Google Fonts Developer API.
Inheritance
Inherited Members
Namespace: Google.Apis.Webfonts.v1
Assembly: Google.Apis.Webfonts.v1.dll
Syntax
public class WebfontsResource.ListRequest : WebfontsBaseServiceRequest<WebfontList>, IClientServiceRequest<WebfontList>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Capability
Controls the font urls in Webfont.files
, by default, static ttf fonts are sent.
Declaration
[RequestParameter("capability", RequestParameterType.Query)]
public virtual WebfontsResource.ListRequest.CapabilityEnum? Capability { get; set; }
Property Value
Type | Description |
---|---|
WebfontsResource.ListRequest.CapabilityEnum? |
Remarks
Use this property to set a single value for the parameter, or CapabilityList to set multiple values. Do not set both properties.
CapabilityList
Controls the font urls in Webfont.files
, by default, static ttf fonts are sent.
Declaration
[RequestParameter("capability", RequestParameterType.Query)]
public virtual Repeatable<WebfontsResource.ListRequest.CapabilityEnum> CapabilityList { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<WebfontsResource.ListRequest.CapabilityEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and Capability.
Family
Filters by Webfont.family, using literal match. If not set, returns all families
Declaration
[RequestParameter("family", RequestParameterType.Query)]
public virtual Repeatable<string> Family { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Sort
Enables sorting of the list.
Declaration
[RequestParameter("sort", RequestParameterType.Query)]
public virtual WebfontsResource.ListRequest.SortEnum? Sort { get; set; }
Property Value
Type | Description |
---|---|
WebfontsResource.ListRequest.SortEnum? |
Subset
Filters by Webfont.subset, if subset is found in Webfont.subsets. If not set, returns all families.
Declaration
[RequestParameter("subset", RequestParameterType.Query)]
public virtual string Subset { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()