MachineImages
class MachineImages extends Resource (View source)
The "machineImages" collection of methods.
Typical usage is:
 $computeService = new Google\Service\Compute(...);
 $machineImages = $computeService->machineImages;Methods
Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone. (machineImages.delete)
Returns the specified machine image. (machineImages.get)
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (machineImages.getIamPolicy)
Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance.
Retrieves a list of machine images that are contained within the specified project. (machineImages.listMachineImages)
Sets the access control policy on the specified resource. Replaces any existing policy. (machineImages.setIamPolicy)
Returns permissions that a caller has on the specified resource.
Details
        
                            Operation
    delete(string $project, string $machineImage, array $optParams = [])
        
    
    Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone. (machineImages.delete)
        
                            MachineImage
    get(string $project, string $machineImage, array $optParams = [])
        
    
    Returns the specified machine image. (machineImages.get)
        
                            Policy
    getIamPolicy(string $project, string $resource, array $optParams = [])
        
    
    Gets the access control policy for a resource. May be empty if no such policy or resource exists. (machineImages.getIamPolicy)
        
                            Operation
    insert(string $project, MachineImage $postBody, array $optParams = [])
        
    
    Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance.
(machineImages.insert)
        
                            MachineImageList
    listMachineImages(string $project, array $optParams = [])
        
    
    Retrieves a list of machine images that are contained within the specified project. (machineImages.listMachineImages)
        
                            Policy
    setIamPolicy(string $project, string $resource, GlobalSetPolicyRequest $postBody, array $optParams = [])
        
    
    Sets the access control policy on the specified resource. Replaces any existing policy. (machineImages.setIamPolicy)
        
                            TestPermissionsResponse
    testIamPermissions(string $project, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
        
    
    Returns permissions that a caller has on the specified resource.
(machineImages.testIamPermissions)