CasesAttachments
class CasesAttachments extends Resource (View source)
The "attachments" collection of methods.
Typical usage is:
$cloudsupportService = new Google\Service\CloudSupport(...);
$attachments = $cloudsupportService->cases_attachments;
Methods
listCasesAttachments(string $parent, array $optParams = [])
List all the attachments associated with a support case. EXAMPLES: cURL:
"Authorization: Bearer $(gcloud auth print-access-token)" \
"https://cloudsupport.googleapis.com/v2/$case/attachments" ``` Python:
```python import googleapiclient.discovery api_version = "v2"
supportApiService = googleapiclient.discovery.build(
serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https:
//cloudsupport.googleapis.com/$discovery/rest?version={api_version}", )
request = ( supportApiService.cases() .attachments()
.list(parent="projects/some-project/cases/43595344") )
print(request.execute()) ``` (attachments.listCasesAttachments)
Details
ListAttachmentsResponse
listCasesAttachments(string $parent, array $optParams = [])
List all the attachments associated with a support case. EXAMPLES: cURL:
"Authorization: Bearer $(gcloud auth print-access-token)" \
"https://cloudsupport.googleapis.com/v2/$case/attachments" ``` Python:
```python import googleapiclient.discovery api_version = "v2"
supportApiService = googleapiclient.discovery.build(
serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https:
//cloudsupport.googleapis.com/$discovery/rest?version={api_version}", )
request = ( supportApiService.cases() .attachments()
.list(parent="projects/some-project/cases/43595344") )
print(request.execute()) ``` (attachments.listCasesAttachments)