Google Cloud Logging v2 API - Class ListLogsRequest (4.3.0)

public sealed class ListLogsRequest : IMessage<ListLogsRequest>, IEquatable<ListLogsRequest>, IDeepCloneable<ListLogsRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Google Cloud Logging v2 API class ListLogsRequest.

The parameters to ListLogs.

Inheritance

object > ListLogsRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

ListLogsRequest()

public ListLogsRequest()

ListLogsRequest(ListLogsRequest)

public ListLogsRequest(ListLogsRequest other)
Parameter
NameDescription
otherListLogsRequest

Properties

PageSize

public int PageSize { get; set; }

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.

Property Value
TypeDescription
int

PageToken

public string PageToken { get; set; }

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The resource name to list logs for:

  • projects/[PROJECT_ID]
  • organizations/[ORGANIZATION_ID]
  • billingAccounts/[BILLING_ACCOUNT_ID]
  • folders/[FOLDER_ID]
Property Value
TypeDescription
string

ParentAsBillingAccountName

public BillingAccountName ParentAsBillingAccountName { get; set; }

BillingAccountName-typed view over the Parent resource name property.

Property Value
TypeDescription
BillingAccountName

ParentAsFolderName

public FolderName ParentAsFolderName { get; set; }

FolderName-typed view over the Parent resource name property.

Property Value
TypeDescription
FolderName

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
TypeDescription
OrganizationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName

ResourceNames

public RepeatedField<string> ResourceNames { get; }

Optional. List of resource names to list logs for:

  • projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
  • organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
  • billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
  • folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]

To support legacy queries, it could also be:

  • projects/[PROJECT_ID]
  • organizations/[ORGANIZATION_ID]
  • billingAccounts/[BILLING_ACCOUNT_ID]
  • folders/[FOLDER_ID]

The resource name in the parent field is added to this list.

Property Value
TypeDescription
RepeatedFieldstring

ResourceNamesAsBillingAccountNames

public ResourceNameList<BillingAccountName> ResourceNamesAsBillingAccountNames { get; }

BillingAccountName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameListBillingAccountName

ResourceNamesAsFolderNames

public ResourceNameList<FolderName> ResourceNamesAsFolderNames { get; }

FolderName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameListFolderName

ResourceNamesAsOrganizationNames

public ResourceNameList<OrganizationName> ResourceNamesAsOrganizationNames { get; }

OrganizationName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameListOrganizationName

ResourceNamesAsProjectNames

public ResourceNameList<ProjectName> ResourceNamesAsProjectNames { get; }

ProjectName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameListProjectName

ResourceNamesAsResourceNames

public ResourceNameList<IResourceName> ResourceNamesAsResourceNames { get; }

IResourceName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameListIResourceName