Class BeaconsResource.DiagnosticsResource.ListRequest
List the diagnostics for a single beacon. You can also list diagnostics for all the beacons
owned by your Google Developers Console project by using the beacon name beacons/-
.
Authenticate using an OAuth access token from a signed-in user with viewer, Is owner or Can edit permissions in the Google Developers Console project.
Inheritance
Inherited Members
Namespace: Google.Apis.Proximitybeacon.v1beta1
Assembly: Google.Apis.Proximitybeacon.v1beta1.dll
Syntax
public class ListRequest : ProximitybeaconBaseServiceRequest<ListDiagnosticsResponse>, IClientServiceRequest<ListDiagnosticsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, String)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string beaconName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | beaconName |
Properties
AlertFilter
Requests only beacons that have the given alert. For example, to find beacons that have low
batteries use alert_filter=LOW_BATTERY
.
Declaration
[RequestParameter("alertFilter", RequestParameterType.Query)]
public virtual BeaconsResource.DiagnosticsResource.ListRequest.AlertFilterEnum? AlertFilter { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<BeaconsResource.DiagnosticsResource.ListRequest.AlertFilterEnum> |
BeaconName
Beacon that the diagnostics are for.
Declaration
[RequestParameter("beaconName", RequestParameterType.Path)]
public virtual string BeaconName { get; }
Property Value
Type | Description |
---|---|
System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
PageSize
Specifies the maximum number of results to return. Defaults to 10. Maximum 1000. Optional.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
PageToken
Requests results that occur after the page_token
, obtained from the response to a
previous request. Optional.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProjectId
Requests only diagnostic records for the given project id. If not set, then the project making the request will be used for looking up diagnostic records. Optional.
Declaration
[RequestParameter("projectId", RequestParameterType.Query)]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()