Liking cljdoc? Tell your friends :D

happygapi.compute.resourcePolicies

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

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

aggregatedList$clj

(aggregatedList$ auth parameters)

https://cloud.google.com/compute/api/reference/rest/v1/resourcePolicies/aggregatedList

Required parameters: project

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

Retrieves an aggregated list of resource policies.

https://cloud.google.com/compute/api/reference/rest/v1/resourcePolicies/aggregatedList

Required parameters: project

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

Retrieves an aggregated list of resource policies.
sourceraw docstring

delete$clj

(delete$ auth parameters)

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

Required parameters: resourcePolicy, region, project

Optional parameters: requestId

Deletes the specified resource policy.

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

Required parameters: resourcePolicy, region, project

Optional parameters: requestId

Deletes the specified resource policy.
sourceraw docstring

get$clj

(get$ auth parameters)

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

Required parameters: resourcePolicy, region, project

Optional parameters: none

Retrieves all information of the specified resource policy.

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

Required parameters: resourcePolicy, region, project

Optional parameters: none

Retrieves all information of the specified resource policy.
sourceraw docstring

getIamPolicy$clj

(getIamPolicy$ auth parameters)

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

Required parameters: region, 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/resourcePolicies/getIamPolicy

Required parameters: region, 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/resourcePolicies/insert

Required parameters: project, region

Optional parameters: requestId

Body:

{:description string, :creationTimestamp string, :resourceStatus {:instanceSchedulePolicy ResourcePolicyResourceStatusInstanceSchedulePolicyStatus}, :name string, :selfLink string, :region string, :instanceSchedulePolicy {:expirationTime string, :vmStopSchedule ResourcePolicyInstanceSchedulePolicySchedule, :timeZone string, :startTime string, :vmStartSchedule ResourcePolicyInstanceSchedulePolicySchedule}, :status string, :id string, :kind string, :groupPlacementPolicy {:collocation string, :availabilityDomainCount integer, :vmCount integer}, :snapshotSchedulePolicy {:retentionPolicy ResourcePolicySnapshotSchedulePolicyRetentionPolicy, :schedule ResourcePolicySnapshotSchedulePolicySchedule, :snapshotProperties ResourcePolicySnapshotSchedulePolicySnapshotProperties}}

Creates a new resource policy.

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

Required parameters: project, region

Optional parameters: requestId

Body: 

{:description string,
 :creationTimestamp string,
 :resourceStatus {:instanceSchedulePolicy ResourcePolicyResourceStatusInstanceSchedulePolicyStatus},
 :name string,
 :selfLink string,
 :region string,
 :instanceSchedulePolicy {:expirationTime string,
                          :vmStopSchedule ResourcePolicyInstanceSchedulePolicySchedule,
                          :timeZone string,
                          :startTime string,
                          :vmStartSchedule ResourcePolicyInstanceSchedulePolicySchedule},
 :status string,
 :id string,
 :kind string,
 :groupPlacementPolicy {:collocation string,
                        :availabilityDomainCount integer,
                        :vmCount integer},
 :snapshotSchedulePolicy {:retentionPolicy ResourcePolicySnapshotSchedulePolicyRetentionPolicy,
                          :schedule ResourcePolicySnapshotSchedulePolicySchedule,
                          :snapshotProperties ResourcePolicySnapshotSchedulePolicySnapshotProperties}}

Creates a new resource policy.
sourceraw docstring

list$clj

(list$ auth parameters)

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

Required parameters: project, region

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

A list all the resource policies that have been configured for the specified project in specified region.

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

Required parameters: project, region

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

A list all the resource policies that have been configured for the specified project in specified region.
sourceraw docstring

setIamPolicy$clj

(setIamPolicy$ auth parameters body)

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

Required parameters: project, region, resource

Optional parameters: none

Body:

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

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

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

Required parameters: project, region, resource

Optional parameters: none

Body: 

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

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

testIamPermissions$clj

(testIamPermissions$ auth parameters body)

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

Required parameters: region, 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/resourcePolicies/testIamPermissions

Required parameters: region, 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