Liking cljdoc? Tell your friends :D

happygapi.compute.images

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

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

delete$clj

(delete$ auth parameters)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/delete

Required parameters: image, project

Optional parameters: requestId

Deletes the specified image.

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/delete

Required parameters: image, project

Optional parameters: requestId

Deletes the specified image.
sourceraw docstring

deprecate$clj

(deprecate$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/deprecate

Required parameters: image, project

Optional parameters: requestId

Body:

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

Sets the deprecation status of an image.

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

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/deprecate

Required parameters: image, project

Optional parameters: requestId

Body: 

{:deleted string,
 :deprecated string,
 :obsolete string,
 :replacement string,
 :state 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://developers.google.com/compute/docs/reference/latest/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://developers.google.com/compute/docs/reference/latest/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.
sourceraw docstring

getFromFamily$clj

(getFromFamily$ auth parameters)

https://developers.google.com/compute/docs/reference/latest/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://developers.google.com/compute/docs/reference/latest/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://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/getIamPolicy

Required parameters: project, resource

Optional parameters: none

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

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/getIamPolicy

Required parameters: project, resource

Optional parameters: none

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://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/insert

Required parameters: project

Optional parameters: forceCreate, requestId

Body:

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

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

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/insert

Required parameters: project

Optional parameters: forceCreate, requestId

Body: 

{:description string,
 :labels {},
 :sourceSnapshotEncryptionKey {:kmsKeyName string,
                               :kmsKeyServiceAccount string,
                               :rawKey string,
                               :sha256 string},
 :guestOsFeatures [{:type string}],
 :family string,
 :sourceImage string,
 :sourceDiskId string,
 :creationTimestamp string,
 :sourceImageEncryptionKey {:kmsKeyName string,
                            :kmsKeyServiceAccount string,
                            :rawKey string,
                            :sha256 string},
 :imageEncryptionKey {:kmsKeyName string,
                      :kmsKeyServiceAccount string,
                      :rawKey string,
                      :sha256 string},
 :name string,
 :sourceDisk string,
 :sourceImageId string,
 :licenses [string],
 :selfLink string,
 :sourceSnapshot string,
 :sourceDiskEncryptionKey {:kmsKeyName string,
                           :kmsKeyServiceAccount string,
                           :rawKey string,
                           :sha256 string},
 :status string,
 :deprecated {:deleted string,
              :deprecated string,
              :obsolete string,
              :replacement string,
              :state string},
 :id string,
 :kind string,
 :sourceSnapshotId string,
 :rawDisk {:containerType string,
           :sha1Checksum string,
           :source string},
 :sourceType string,
 :diskSizeGb string,
 :licenseCodes [string],
 :storageLocations [string],
 :shieldedInstanceInitialState {:dbs [FileContentBuffer],
                                :dbxs [FileContentBuffer],
                                :keks [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://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/list

Required parameters: project

Optional parameters: filter, maxResults, orderBy, pageToken

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://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/list

Required parameters: project

Optional parameters: filter, maxResults, orderBy, pageToken

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

setIamPolicy$clj

(setIamPolicy$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/setIamPolicy

Required parameters: project, resource

Optional parameters: none

Body:

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

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

https://developers.google.com/compute/docs/reference/latest/api/reference/rest/v1/images/setIamPolicy

Required parameters: project, resource

Optional parameters: none

Body: 

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

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

setLabels$clj

(setLabels$ auth parameters body)

https://developers.google.com/compute/docs/reference/latest/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://developers.google.com/compute/docs/reference/latest/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://developers.google.com/compute/docs/reference/latest/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://developers.google.com/compute/docs/reference/latest/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