Show / Hide Table of Contents

Class CasesResource.AttachmentsResource.ListRequest

Retrieve all attachments associated with a support case. Here is an example of calling this endpoint using cURL:

shell case="projects/some-project/cases/23598314" curl \ --header "Authorization: Bearer
$(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/attachments"
Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListAttachmentsResponse>
CloudSupportBaseServiceRequest<ListAttachmentsResponse>
CasesResource.AttachmentsResource.ListRequest
Implements
IClientServiceRequest<ListAttachmentsResponse>
IClientServiceRequest
Inherited Members
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.Xgafv
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.AccessToken
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.Alt
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.Callback
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.Fields
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.Key
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.OauthToken
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.PrettyPrint
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.QuotaUser
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.UploadType
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.UploadProtocol
ClientServiceRequest<ListAttachmentsResponse>.Execute()
ClientServiceRequest<ListAttachmentsResponse>.ExecuteAsStream()
ClientServiceRequest<ListAttachmentsResponse>.ExecuteAsync()
ClientServiceRequest<ListAttachmentsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListAttachmentsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListAttachmentsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListAttachmentsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListAttachmentsResponse>.GenerateRequestUri()
ClientServiceRequest<ListAttachmentsResponse>.GetBody()
ClientServiceRequest<ListAttachmentsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListAttachmentsResponse>.ETagAction
ClientServiceRequest<ListAttachmentsResponse>.ModifyRequest
ClientServiceRequest<ListAttachmentsResponse>.ValidateParameters
ClientServiceRequest<ListAttachmentsResponse>.RequestParameters
ClientServiceRequest<ListAttachmentsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudSupport.v2beta
Assembly: Google.Apis.CloudSupport.v2beta.dll
Syntax
public class CasesResource.AttachmentsResource.ListRequest : CloudSupportBaseServiceRequest<ListAttachmentsResponse>, IClientServiceRequest<ListAttachmentsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.ListAttachmentsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.ListAttachmentsResponse>.MethodName

PageSize

The maximum number of attachments fetched with each request. If not provided, the default is 10. The maximum page size that will be returned is 100.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

A token identifying the page of results to return. If unspecified, the first page is retrieved.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Parent

Required. The resource name of Case object for which attachments should be listed.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.ListAttachmentsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudSupportBaseServiceRequest<ListAttachmentsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX