Liking cljdoc? Tell your friends :D

happygapi.compute.images

Compute Engine API: images. Creates and runs virtual machines on Google Cloud Platform. See: https://cloud.google.com/compute/api/reference/rest/v1/images

Compute Engine API: images.
Creates and runs virtual machines on Google Cloud Platform. 
See: https://cloud.google.com/compute/api/reference/rest/v1/images
raw docstring

delete$clj

(delete$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/images/delete

Required parameters: project, image

Optional parameters: requestId

Deletes the specified image.

https://cloud.google.com/compute/api/reference/rest/v1/images/delete

Required parameters: project, image

Optional parameters: requestId

Deletes the specified image.
raw docstring

deprecate$clj

(deprecate$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/images/deprecate

Required parameters: project, image

Optional parameters: requestId

Body:

{:replacement string, :deprecated string, :state string, :obsolete string, :deleted string}

Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead.

https://cloud.google.com/compute/api/reference/rest/v1/images/deprecate

Required parameters: project, image

Optional parameters: requestId

Body: 

{:replacement string,
 :deprecated string,
 :state string,
 :obsolete string,
 :deleted string}

Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead.
raw docstring

get$clj

(get$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/images/get

Required parameters: image, project

Optional parameters: none

Returns the specified image. Gets a list of available images by making a list() request.

https://cloud.google.com/compute/api/reference/rest/v1/images/get

Required parameters: image, project

Optional parameters: none

Returns the specified image. Gets a list of available images by making a list() request.
raw docstring

getFromFamily$clj

(getFromFamily$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/images/getFromFamily

Required parameters: project, family

Optional parameters: none

Returns the latest image that is part of an image family and is not deprecated.

https://cloud.google.com/compute/api/reference/rest/v1/images/getFromFamily

Required parameters: project, family

Optional parameters: none

Returns the latest image that is part of an image family and is not deprecated.
raw docstring

getIamPolicy$clj

(getIamPolicy$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/images/getIamPolicy

Required parameters: resource, project

Optional parameters: optionsRequestedPolicyVersion

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

https://cloud.google.com/compute/api/reference/rest/v1/images/getIamPolicy

Required parameters: resource, project

Optional parameters: optionsRequestedPolicyVersion

Gets the access control policy for a resource. May be empty if no such policy or resource exists.
raw docstring

insert$clj

(insert$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/images/insert

Required parameters: project

Optional parameters: forceCreate, requestId

Body:

{:description string, :labels {}, :sourceSnapshotEncryptionKey {:kmsKeyName string, :rawKey string, :kmsKeyServiceAccount string, :sha256 string}, :guestOsFeatures [{:type string}], :family string, :sourceImage string, :sourceDiskId string, :creationTimestamp string, :sourceImageEncryptionKey {:kmsKeyName string, :rawKey string, :kmsKeyServiceAccount string, :sha256 string}, :imageEncryptionKey {:kmsKeyName string, :rawKey string, :kmsKeyServiceAccount string, :sha256 string}, :name string, :sourceDisk string, :sourceImageId string, :licenses [string], :selfLink string, :sourceSnapshot string, :sourceDiskEncryptionKey {:kmsKeyName string, :rawKey string, :kmsKeyServiceAccount string, :sha256 string}, :satisfiesPzs boolean, :status string, :deprecated {:replacement string, :deprecated string, :state string, :obsolete string, :deleted string}, :id string, :kind string, :sourceSnapshotId string, :rawDisk {:containerType string, :source string, :sha1Checksum string}, :sourceType string, :diskSizeGb string, :licenseCodes [string], :storageLocations [string], :shieldedInstanceInitialState {:dbs [FileContentBuffer], :pk FileContentBuffer, :dbxs [FileContentBuffer], :keks [FileContentBuffer]}, :archiveSizeBytes string, :labelFingerprint string}

Creates an image in the specified project using the data included in the request.

https://cloud.google.com/compute/api/reference/rest/v1/images/insert

Required parameters: project

Optional parameters: forceCreate, requestId

Body: 

{:description string,
 :labels {},
 :sourceSnapshotEncryptionKey {:kmsKeyName string,
                               :rawKey string,
                               :kmsKeyServiceAccount string,
                               :sha256 string},
 :guestOsFeatures [{:type string}],
 :family string,
 :sourceImage string,
 :sourceDiskId string,
 :creationTimestamp string,
 :sourceImageEncryptionKey {:kmsKeyName string,
                            :rawKey string,
                            :kmsKeyServiceAccount string,
                            :sha256 string},
 :imageEncryptionKey {:kmsKeyName string,
                      :rawKey string,
                      :kmsKeyServiceAccount string,
                      :sha256 string},
 :name string,
 :sourceDisk string,
 :sourceImageId string,
 :licenses [string],
 :selfLink string,
 :sourceSnapshot string,
 :sourceDiskEncryptionKey {:kmsKeyName string,
                           :rawKey string,
                           :kmsKeyServiceAccount string,
                           :sha256 string},
 :satisfiesPzs boolean,
 :status string,
 :deprecated {:replacement string,
              :deprecated string,
              :state string,
              :obsolete string,
              :deleted string},
 :id string,
 :kind string,
 :sourceSnapshotId string,
 :rawDisk {:containerType string,
           :source string,
           :sha1Checksum string},
 :sourceType string,
 :diskSizeGb string,
 :licenseCodes [string],
 :storageLocations [string],
 :shieldedInstanceInitialState {:dbs [FileContentBuffer],
                                :pk FileContentBuffer,
                                :dbxs [FileContentBuffer],
                                :keks [FileContentBuffer]},
 :archiveSizeBytes string,
 :labelFingerprint string}

Creates an image in the specified project using the data included in the request.
raw docstring

list$clj

(list$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/images/list

Required parameters: project

Optional parameters: pageToken, orderBy, filter, maxResults, returnPartialSuccess

Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.

https://cloud.google.com/compute/api/reference/rest/v1/images/list

Required parameters: project

Optional parameters: pageToken, orderBy, filter, maxResults, returnPartialSuccess

Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.
raw docstring

patch$clj

(patch$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/images/patch

Required parameters: image, project

Optional parameters: requestId

Body:

{:description string, :labels {}, :sourceSnapshotEncryptionKey {:kmsKeyName string, :rawKey string, :kmsKeyServiceAccount string, :sha256 string}, :guestOsFeatures [{:type string}], :family string, :sourceImage string, :sourceDiskId string, :creationTimestamp string, :sourceImageEncryptionKey {:kmsKeyName string, :rawKey string, :kmsKeyServiceAccount string, :sha256 string}, :imageEncryptionKey {:kmsKeyName string, :rawKey string, :kmsKeyServiceAccount string, :sha256 string}, :name string, :sourceDisk string, :sourceImageId string, :licenses [string], :selfLink string, :sourceSnapshot string, :sourceDiskEncryptionKey {:kmsKeyName string, :rawKey string, :kmsKeyServiceAccount string, :sha256 string}, :satisfiesPzs boolean, :status string, :deprecated {:replacement string, :deprecated string, :state string, :obsolete string, :deleted string}, :id string, :kind string, :sourceSnapshotId string, :rawDisk {:containerType string, :source string, :sha1Checksum string}, :sourceType string, :diskSizeGb string, :licenseCodes [string], :storageLocations [string], :shieldedInstanceInitialState {:dbs [FileContentBuffer], :pk FileContentBuffer, :dbxs [FileContentBuffer], :keks [FileContentBuffer]}, :archiveSizeBytes string, :labelFingerprint string}

Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status.

https://cloud.google.com/compute/api/reference/rest/v1/images/patch

Required parameters: image, project

Optional parameters: requestId

Body: 

{:description string,
 :labels {},
 :sourceSnapshotEncryptionKey {:kmsKeyName string,
                               :rawKey string,
                               :kmsKeyServiceAccount string,
                               :sha256 string},
 :guestOsFeatures [{:type string}],
 :family string,
 :sourceImage string,
 :sourceDiskId string,
 :creationTimestamp string,
 :sourceImageEncryptionKey {:kmsKeyName string,
                            :rawKey string,
                            :kmsKeyServiceAccount string,
                            :sha256 string},
 :imageEncryptionKey {:kmsKeyName string,
                      :rawKey string,
                      :kmsKeyServiceAccount string,
                      :sha256 string},
 :name string,
 :sourceDisk string,
 :sourceImageId string,
 :licenses [string],
 :selfLink string,
 :sourceSnapshot string,
 :sourceDiskEncryptionKey {:kmsKeyName string,
                           :rawKey string,
                           :kmsKeyServiceAccount string,
                           :sha256 string},
 :satisfiesPzs boolean,
 :status string,
 :deprecated {:replacement string,
              :deprecated string,
              :state string,
              :obsolete string,
              :deleted string},
 :id string,
 :kind string,
 :sourceSnapshotId string,
 :rawDisk {:containerType string,
           :source string,
           :sha1Checksum string},
 :sourceType string,
 :diskSizeGb string,
 :licenseCodes [string],
 :storageLocations [string],
 :shieldedInstanceInitialState {:dbs [FileContentBuffer],
                                :pk FileContentBuffer,
                                :dbxs [FileContentBuffer],
                                :keks [FileContentBuffer]},
 :archiveSizeBytes string,
 :labelFingerprint string}

Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status.
raw docstring

setIamPolicy$clj

(setIamPolicy$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/images/setIamPolicy

Required parameters: resource, project

Optional parameters: none

Body:

{:policy {:rules [Rule], :bindings [Binding], :auditConfigs [AuditConfig], :iamOwned boolean, :version integer, :etag string}, :bindings [{:condition Expr, :members [string], :bindingId string, :role string}], :etag string}

Sets the access control policy on the specified resource. Replaces any existing policy.

https://cloud.google.com/compute/api/reference/rest/v1/images/setIamPolicy

Required parameters: resource, project

Optional parameters: none

Body: 

{:policy {:rules [Rule],
          :bindings [Binding],
          :auditConfigs [AuditConfig],
          :iamOwned boolean,
          :version integer,
          :etag string},
 :bindings [{:condition Expr,
             :members [string],
             :bindingId string,
             :role string}],
 :etag string}

Sets the access control policy on the specified resource. Replaces any existing policy.
raw docstring

setLabels$clj

(setLabels$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/images/setLabels

Required parameters: project, resource

Optional parameters: none

Body:

{:labelFingerprint string, :labels {}}

Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.

https://cloud.google.com/compute/api/reference/rest/v1/images/setLabels

Required parameters: project, resource

Optional parameters: none

Body: 

{:labelFingerprint string, :labels {}}

Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.
raw docstring

testIamPermissions$clj

(testIamPermissions$ auth parameters body)

https://cloud.google.com/compute/api/reference/rest/v1/images/testIamPermissions

Required parameters: resource, project

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource.

https://cloud.google.com/compute/api/reference/rest/v1/images/testIamPermissions

Required parameters: resource, project

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close