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.
sourceraw docstring

deprecate$clj

(deprecate$ auth parameters body)

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

Required parameters: image, project

Optional parameters: requestId

Body:

{:deprecated string, :state string, :replacement string, :deleted string, :obsolete 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: image, project

Optional parameters: requestId

Body: 

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

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

get$clj

(get$ auth parameters)

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

Required parameters: project, image

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: project, image

Optional parameters: none

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

getFromFamily$clj

(getFromFamily$ auth parameters)

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

Required parameters: family, project

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: family, project

Optional parameters: none

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

getIamPolicy$clj

(getIamPolicy$ auth parameters)

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

Required parameters: project, resource

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: project, resource

Optional parameters: optionsRequestedPolicyVersion

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

insert$clj

(insert$ auth parameters body)

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

Required parameters: project

Optional parameters: requestId, forceCreate

Body:

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

Body: 

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

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

list$clj

(list$ auth parameters)

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

Required parameters: project

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

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: orderBy, pageToken, returnPartialSuccess, filter, maxResults

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.
sourceraw docstring

patch$clj

(patch$ auth parameters body)

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

Required parameters: project, image

Optional parameters: requestId

Body:

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

Optional parameters: requestId

Body: 

{:description string,
 :labels {},
 :sourceSnapshotEncryptionKey {:kmsKeyName string,
                               :kmsKeyServiceAccount string,
                               :sha256 string,
                               :rawKey string,
                               :rsaEncryptedKey string},
 :guestOsFeatures [{:type string}],
 :family string,
 :sourceImage string,
 :sourceDiskId string,
 :creationTimestamp string,
 :sourceImageEncryptionKey {:kmsKeyName string,
                            :kmsKeyServiceAccount string,
                            :sha256 string,
                            :rawKey string,
                            :rsaEncryptedKey string},
 :imageEncryptionKey {:kmsKeyName string,
                      :kmsKeyServiceAccount string,
                      :sha256 string,
                      :rawKey string,
                      :rsaEncryptedKey string},
 :name string,
 :sourceDisk string,
 :sourceImageId string,
 :licenses [string],
 :selfLink string,
 :sourceSnapshot string,
 :sourceDiskEncryptionKey {:kmsKeyName string,
                           :kmsKeyServiceAccount string,
                           :sha256 string,
                           :rawKey string,
                           :rsaEncryptedKey string},
 :satisfiesPzs boolean,
 :status string,
 :deprecated {:deprecated string,
              :state string,
              :replacement string,
              :deleted string,
              :obsolete string},
 :id string,
 :kind string,
 :sourceSnapshotId string,
 :rawDisk {:containerType string,
           :source string,
           :sha1Checksum string},
 :sourceType string,
 :diskSizeGb string,
 :licenseCodes [string],
 :storageLocations [string],
 :shieldedInstanceInitialState {:keks [FileContentBuffer],
                                :dbxs [FileContentBuffer],
                                :dbs [FileContentBuffer],
                                :pk 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.
sourceraw docstring

setIamPolicy$clj

(setIamPolicy$ auth parameters body)

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

Required parameters: project, resource

Optional parameters: none

Body:

{:policy {:etag string, :auditConfigs [AuditConfig], :iamOwned boolean, :version integer, :rules [Rule], :bindings [Binding]}, :bindings [{:members [string], :condition Expr, :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: project, resource

Optional parameters: none

Body: 

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

Sets the access control policy on the specified resource. Replaces any existing policy.
sourceraw 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.
sourceraw docstring

testIamPermissions$clj

(testIamPermissions$ auth parameters body)

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

Required parameters: project, resource

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: project, resource

Optional parameters: none

Body: 

{:permissions [string]}

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

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

× close