Google Cloud Logging v2 API - Class ListBucketsRequest (4.4.0)

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

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

The parameters to ListBuckets.

Inheritance

object > ListBucketsRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

ListBucketsRequest()

public ListBucketsRequest()

ListBucketsRequest(ListBucketsRequest)

public ListBucketsRequest(ListBucketsRequest other)
Parameter
Name Description
other ListBucketsRequest

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
Type Description
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
Type Description
string

Parent

public string Parent { get; set; }

Required. The parent resource whose buckets are to be listed:

"projects/[PROJECT_ID]/locations/[LOCATION_ID]"
"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
"folders/[FOLDER_ID]/locations/[LOCATION_ID]"

Note: The locations portion of the resource must be specified, but supplying the character - in place of [LOCATION_ID] will return all buckets.

Property Value
Type Description
string

ParentAsBillingAccountLocationName

public BillingAccountLocationName ParentAsBillingAccountLocationName { get; set; }

BillingAccountLocationName-typed view over the Parent resource name property.

Property Value
Type Description
BillingAccountLocationName

ParentAsFolderLocationName

public FolderLocationName ParentAsFolderLocationName { get; set; }

FolderLocationName-typed view over the Parent resource name property.

Property Value
Type Description
FolderLocationName

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

ParentAsOrganizationLocationName

public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

OrganizationLocationName-typed view over the Parent resource name property.

Property Value
Type Description
OrganizationLocationName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
Type Description
IResourceName