Class ListLogsRequest (3.5.0)

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

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
Int32

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 that owns the logs:

  • 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. The resource name that owns the logs:

  • 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]
Property Value
TypeDescription
RepeatedField<String>

ResourceNamesAsBillingAccountNames

public ResourceNameList<BillingAccountName> ResourceNamesAsBillingAccountNames { get; }

BillingAccountName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameList<BillingAccountName>

ResourceNamesAsFolderNames

public ResourceNameList<FolderName> ResourceNamesAsFolderNames { get; }

FolderName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameList<FolderName>

ResourceNamesAsOrganizationNames

public ResourceNameList<OrganizationName> ResourceNamesAsOrganizationNames { get; }

OrganizationName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameList<OrganizationName>

ResourceNamesAsProjectNames

public ResourceNameList<ProjectName> ResourceNamesAsProjectNames { get; }

ProjectName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameList<ProjectName>

ResourceNamesAsResourceNames

public ResourceNameList<IResourceName> ResourceNamesAsResourceNames { get; }

IResourceName-typed view over the ResourceNames resource name property.

Property Value
TypeDescription
ResourceNameList<IResourceName>