2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-18 11:05:18 +00:00
restic/vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-api.json
2017-09-21 17:48:45 +02:00

1918 lines
80 KiB
JSON

{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/daUhnbBTIdWllhB4C_Sl3rPArXs\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:v2",
"name": "deploymentmanager",
"canonicalName": "Deployment Manager",
"version": "v2",
"revision": "20170914",
"title": "Google Cloud Deployment Manager API",
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/deployment-manager/",
"protocol": "rest",
"baseUrl": "https://www.googleapis.com/deploymentmanager/v2/projects/",
"basePath": "/deploymentmanager/v2/projects/",
"rootUrl": "https://www.googleapis.com/",
"servicePath": "deploymentmanager/v2/projects/",
"batchPath": "batch/deploymentmanager/v2",
"parameters": {
"alt": {
"type": "string",
"description": "Data format for the response.",
"default": "json",
"enum": [
"json"
],
"enumDescriptions": [
"Responses with Content-Type of application/json"
],
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
"location": "query"
},
"userIp": {
"type": "string",
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
"location": "query"
}
},
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/ndev.cloudman": {
"description": "View and manage your Google Cloud Platform management resources and deployment status information"
},
"https://www.googleapis.com/auth/ndev.cloudman.readonly": {
"description": "View your Google Cloud Platform management resources and deployment status information"
}
}
}
},
"schemas": {
"AuditConfig": {
"id": "AuditConfig",
"type": "object",
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"fooservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:bar@gmail.com\" ] } ] } ] }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.",
"properties": {
"auditLogConfigs": {
"type": "array",
"description": "The configuration for logging of each type of permission.",
"items": {
"$ref": "AuditLogConfig"
}
},
"exemptedMembers": {
"type": "array",
"description": "",
"items": {
"type": "string"
}
},
"service": {
"type": "string",
"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services."
}
}
},
"AuditLogConfig": {
"id": "AuditLogConfig",
"type": "object",
"description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.",
"properties": {
"exemptedMembers": {
"type": "array",
"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][].",
"items": {
"type": "string"
}
},
"logType": {
"type": "string",
"description": "The log type that this config enables."
}
}
},
"AuthorizationLoggingOptions": {
"id": "AuthorizationLoggingOptions",
"type": "object",
"description": "Authorization-related information used by Cloud Audit Logging.",
"properties": {
"permissionType": {
"type": "string",
"description": "The type of the permission that was checked."
}
}
},
"Binding": {
"id": "Binding",
"type": "object",
"description": "Associates `members` with a `role`.",
"properties": {
"condition": {
"$ref": "Expr",
"description": "The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently. This field is GOOGLE_INTERNAL."
},
"members": {
"type": "array",
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
}
},
"role": {
"type": "string",
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`."
}
}
},
"Condition": {
"id": "Condition",
"type": "object",
"description": "A condition to be met.",
"properties": {
"iam": {
"type": "string",
"description": "Trusted attributes supplied by the IAM system."
},
"op": {
"type": "string",
"description": "An operator to apply the subject with."
},
"svc": {
"type": "string",
"description": "Trusted attributes discharged by the service."
},
"sys": {
"type": "string",
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control."
},
"value": {
"type": "string",
"description": "DEPRECATED. Use 'values' instead."
},
"values": {
"type": "array",
"description": "The objects of the condition. This is mutually exclusive with 'value'.",
"items": {
"type": "string"
}
}
}
},
"ConfigFile": {
"id": "ConfigFile",
"type": "object",
"description": "",
"properties": {
"content": {
"type": "string",
"description": "The contents of the file."
}
}
},
"Deployment": {
"id": "Deployment",
"type": "object",
"description": "",
"properties": {
"description": {
"type": "string",
"description": "An optional user-provided description of the deployment."
},
"fingerprint": {
"type": "string",
"description": "Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.",
"format": "byte"
},
"id": {
"type": "string",
"description": "Output only. Unique identifier for the resource; defined by the server.",
"format": "uint64"
},
"insertTime": {
"type": "string",
"description": "Output only. Timestamp when the deployment was created, in RFC3339 text format ."
},
"labels": {
"type": "array",
"description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
"items": {
"$ref": "DeploymentLabelEntry"
}
},
"manifest": {
"type": "string",
"description": "Output only. URL of the manifest representing the last manifest that was successfully deployed."
},
"name": {
"type": "string",
"description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash."
},
"operation": {
"$ref": "Operation",
"description": "Output only. The Operation that most recently ran, or is currently running, on this deployment."
},
"selfLink": {
"type": "string",
"description": "Output only. Self link for the deployment."
},
"target": {
"$ref": "TargetConfiguration",
"description": "[Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates."
},
"update": {
"$ref": "DeploymentUpdate",
"description": "Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here."
}
}
},
"DeploymentLabelEntry": {
"id": "DeploymentLabelEntry",
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"DeploymentUpdate": {
"id": "DeploymentUpdate",
"type": "object",
"description": "",
"properties": {
"description": {
"type": "string",
"description": "Output only. An optional user-provided description of the deployment after the current update has been applied."
},
"labels": {
"type": "array",
"description": "Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?",
"items": {
"$ref": "DeploymentUpdateLabelEntry"
}
},
"manifest": {
"type": "string",
"description": "Output only. URL of the manifest representing the update configuration of this deployment."
}
}
},
"DeploymentUpdateLabelEntry": {
"id": "DeploymentUpdateLabelEntry",
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"DeploymentsCancelPreviewRequest": {
"id": "DeploymentsCancelPreviewRequest",
"type": "object",
"description": "",
"properties": {
"fingerprint": {
"type": "string",
"description": "Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.",
"format": "byte"
}
}
},
"DeploymentsListResponse": {
"id": "DeploymentsListResponse",
"type": "object",
"description": "A response containing a partial list of deployments and a page token used to build the next request if the request has been truncated.",
"properties": {
"deployments": {
"type": "array",
"description": "Output only. The deployments contained in this response.",
"items": {
"$ref": "Deployment"
}
},
"nextPageToken": {
"type": "string",
"description": "Output only. A token used to continue a truncated list request."
}
}
},
"DeploymentsStopRequest": {
"id": "DeploymentsStopRequest",
"type": "object",
"description": "",
"properties": {
"fingerprint": {
"type": "string",
"description": "Specifies a fingerprint for stop() requests. A fingerprint is a randomly generated value that must be provided in stop() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.",
"format": "byte"
}
}
},
"Expr": {
"id": "Expr",
"type": "object",
"description": "Represents an expression text. Example:\n\ntitle: \"User account presence\" description: \"Determines whether the request has a user account\" expression: \"size(request.user) \u003e 0\"",
"properties": {
"description": {
"type": "string",
"description": "An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI."
},
"expression": {
"type": "string",
"description": "Textual representation of an expression in Common Expression Language syntax.\n\nThe application context of the containing message determines which well-known feature set of CEL is supported."
},
"location": {
"type": "string",
"description": "An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file."
},
"title": {
"type": "string",
"description": "An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression."
}
}
},
"ImportFile": {
"id": "ImportFile",
"type": "object",
"description": "",
"properties": {
"content": {
"type": "string",
"description": "The contents of the file."
},
"name": {
"type": "string",
"description": "The name of the file."
}
}
},
"LogConfig": {
"id": "LogConfig",
"type": "object",
"description": "Specifies what kind of log the caller must write",
"properties": {
"cloudAudit": {
"$ref": "LogConfigCloudAuditOptions",
"description": "Cloud audit options."
},
"counter": {
"$ref": "LogConfigCounterOptions",
"description": "Counter options."
},
"dataAccess": {
"$ref": "LogConfigDataAccessOptions",
"description": "Data access options."
}
}
},
"LogConfigCloudAuditOptions": {
"id": "LogConfigCloudAuditOptions",
"type": "object",
"description": "Write a Cloud Audit log",
"properties": {
"authorizationLoggingOptions": {
"$ref": "AuthorizationLoggingOptions",
"description": "Information used by the Cloud Audit Logging pipeline."
},
"logName": {
"type": "string",
"description": "The log_name to populate in the Cloud Audit Record."
}
}
},
"LogConfigCounterOptions": {
"id": "LogConfigCounterOptions",
"type": "object",
"description": "Increment a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only, and end in \"_count\". Field names should not contain an initial slash. The actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are their respective values.\n\nAt present the only supported field names are - \"iam_principal\", corresponding to IAMContext.principal; - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==\u003e increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support: * multiple field names (though this may be supported in the future) * decrementing the counter * incrementing it by anything other than 1",
"properties": {
"field": {
"type": "string",
"description": "The field value to attribute."
},
"metric": {
"type": "string",
"description": "The metric to update."
}
}
},
"LogConfigDataAccessOptions": {
"id": "LogConfigDataAccessOptions",
"type": "object",
"description": "Write a Data Access (Gin) log",
"properties": {
"logMode": {
"type": "string",
"description": "Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now."
}
}
},
"Manifest": {
"id": "Manifest",
"type": "object",
"description": "",
"properties": {
"config": {
"$ref": "ConfigFile",
"description": "Output only. The YAML configuration for this manifest."
},
"expandedConfig": {
"type": "string",
"description": "Output only. The fully-expanded configuration file, including any templates and references."
},
"id": {
"type": "string",
"description": "Output only. Unique identifier for the resource; defined by the server.",
"format": "uint64"
},
"imports": {
"type": "array",
"description": "Output only. The imported files for this manifest.",
"items": {
"$ref": "ImportFile"
}
},
"insertTime": {
"type": "string",
"description": "Output only. Timestamp when the manifest was created, in RFC3339 text format."
},
"layout": {
"type": "string",
"description": "Output only. The YAML layout for this manifest."
},
"name": {
"type": "string",
"description": "Output only.\n\nThe name of the manifest."
},
"selfLink": {
"type": "string",
"description": "Output only. Self link for the manifest."
}
}
},
"ManifestsListResponse": {
"id": "ManifestsListResponse",
"type": "object",
"description": "A response containing a partial list of manifests and a page token used to build the next request if the request has been truncated.",
"properties": {
"manifests": {
"type": "array",
"description": "Output only. Manifests contained in this list response.",
"items": {
"$ref": "Manifest"
}
},
"nextPageToken": {
"type": "string",
"description": "Output only. A token used to continue a truncated list request."
}
}
},
"Operation": {
"id": "Operation",
"type": "object",
"description": "An Operation resource, used to manage asynchronous API requests.",
"properties": {
"clientOperationId": {
"type": "string",
"description": "[Output Only] Reserved for future use."
},
"creationTimestamp": {
"type": "string",
"description": "[Deprecated] This field is deprecated."
},
"description": {
"type": "string",
"description": "[Output Only] A textual description of the operation, which is set when the operation is created."
},
"endTime": {
"type": "string",
"description": "[Output Only] The time that this operation was completed. This value is in RFC3339 text format."
},
"error": {
"type": "object",
"description": "[Output Only] If errors are generated during processing of the operation, this field will be populated.",
"properties": {
"errors": {
"type": "array",
"description": "[Output Only] The array of errors encountered while processing this operation.",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "[Output Only] The error type identifier for this error."
},
"location": {
"type": "string",
"description": "[Output Only] Indicates the field in the request that caused the error. This property is optional."
},
"message": {
"type": "string",
"description": "[Output Only] An optional, human-readable error message."
}
}
}
}
}
},
"httpErrorMessage": {
"type": "string",
"description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND."
},
"httpErrorStatusCode": {
"type": "integer",
"description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.",
"format": "int32"
},
"id": {
"type": "string",
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
"format": "uint64"
},
"insertTime": {
"type": "string",
"description": "[Output Only] The time that this operation was requested. This value is in RFC3339 text format."
},
"kind": {
"type": "string",
"description": "[Output Only] Type of the resource. Always compute#operation for Operation resources.",
"default": "deploymentmanager#operation"
},
"name": {
"type": "string",
"description": "[Output Only] Name of the resource."
},
"operationType": {
"type": "string",
"description": "[Output Only] The type of operation, such as insert, update, or delete, and so on."
},
"progress": {
"type": "integer",
"description": "[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.",
"format": "int32"
},
"region": {
"type": "string",
"description": "[Output Only] The URL of the region where the operation resides. Only available when performing regional operations."
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server-defined URL for the resource."
},
"startTime": {
"type": "string",
"description": "[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format."
},
"status": {
"type": "string",
"description": "[Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE."
},
"statusMessage": {
"type": "string",
"description": "[Output Only] An optional textual description of the current status of the operation."
},
"targetId": {
"type": "string",
"description": "[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.",
"format": "uint64"
},
"targetLink": {
"type": "string",
"description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from."
},
"user": {
"type": "string",
"description": "[Output Only] User who requested the operation, for example: user@example.com."
},
"warnings": {
"type": "array",
"description": "[Output Only] If warning messages are generated during processing of the operation, this field will be populated.",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response."
},
"data": {
"type": "array",
"description": "[Output Only] Metadata about this warning in key: value format. For example:\n\"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" }",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)."
},
"value": {
"type": "string",
"description": "[Output Only] A warning data value corresponding to the key."
}
}
}
},
"message": {
"type": "string",
"description": "[Output Only] A human-readable description of the warning code."
}
}
}
},
"zone": {
"type": "string",
"description": "[Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations."
}
}
},
"OperationsListResponse": {
"id": "OperationsListResponse",
"type": "object",
"description": "A response containing a partial list of operations and a page token used to build the next request if the request has been truncated.",
"properties": {
"nextPageToken": {
"type": "string",
"description": "Output only. A token used to continue a truncated list request."
},
"operations": {
"type": "array",
"description": "Output only. Operations contained in this list response.",
"items": {
"$ref": "Operation"
}
}
}
},
"Policy": {
"id": "Policy",
"type": "object",
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
"properties": {
"auditConfigs": {
"type": "array",
"description": "Specifies cloud audit logging configuration for this policy.",
"items": {
"$ref": "AuditConfig"
}
},
"bindings": {
"type": "array",
"description": "Associates a list of `members` to a `role`. `bindings` with no members will result in an error.",
"items": {
"$ref": "Binding"
}
},
"etag": {
"type": "string",
"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
"format": "byte"
},
"iamOwned": {
"type": "boolean",
"description": ""
},
"rules": {
"type": "array",
"description": "If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.",
"items": {
"$ref": "Rule"
}
},
"version": {
"type": "integer",
"description": "Version of the `Policy`. The default version is 0.",
"format": "int32"
}
}
},
"Resource": {
"id": "Resource",
"type": "object",
"description": "",
"properties": {
"accessControl": {
"$ref": "ResourceAccessControl",
"description": "The Access Control Policy set on this resource."
},
"finalProperties": {
"type": "string",
"description": "Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML."
},
"id": {
"type": "string",
"description": "Output only. Unique identifier for the resource; defined by the server.",
"format": "uint64"
},
"insertTime": {
"type": "string",
"description": "Output only. Timestamp when the resource was created or acquired, in RFC3339 text format ."
},
"manifest": {
"type": "string",
"description": "Output only. URL of the manifest representing the current configuration of this resource."
},
"name": {
"type": "string",
"description": "Output only. The name of the resource as it appears in the YAML config."
},
"properties": {
"type": "string",
"description": "Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML."
},
"type": {
"type": "string",
"description": "Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function."
},
"update": {
"$ref": "ResourceUpdate",
"description": "Output only. If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here."
},
"updateTime": {
"type": "string",
"description": "Output only. Timestamp when the resource was updated, in RFC3339 text format ."
},
"url": {
"type": "string",
"description": "Output only. The URL of the actual resource."
},
"warnings": {
"type": "array",
"description": "Output only. If warning messages are generated during processing of this resource, this field will be populated.",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response."
},
"data": {
"type": "array",
"description": "[Output Only] Metadata about this warning in key: value format. For example:\n\"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" }",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)."
},
"value": {
"type": "string",
"description": "[Output Only] A warning data value corresponding to the key."
}
}
}
},
"message": {
"type": "string",
"description": "[Output Only] A human-readable description of the warning code."
}
}
}
}
}
},
"ResourceAccessControl": {
"id": "ResourceAccessControl",
"type": "object",
"description": "The access controls set on the resource.",
"properties": {
"gcpIamPolicy": {
"type": "string",
"description": "The GCP IAM Policy to set on the resource."
}
}
},
"ResourceUpdate": {
"id": "ResourceUpdate",
"type": "object",
"description": "",
"properties": {
"accessControl": {
"$ref": "ResourceAccessControl",
"description": "The Access Control Policy to set on this resource after updating the resource itself."
},
"error": {
"type": "object",
"description": "Output only. If errors are generated during update of the resource, this field will be populated.",
"properties": {
"errors": {
"type": "array",
"description": "[Output Only] The array of errors encountered while processing this operation.",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "[Output Only] The error type identifier for this error."
},
"location": {
"type": "string",
"description": "[Output Only] Indicates the field in the request that caused the error. This property is optional."
},
"message": {
"type": "string",
"description": "[Output Only] An optional, human-readable error message."
}
}
}
}
}
},
"finalProperties": {
"type": "string",
"description": "Output only. The expanded properties of the resource with reference values expanded. Returned as serialized YAML."
},
"intent": {
"type": "string",
"description": "Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL."
},
"manifest": {
"type": "string",
"description": "Output only. URL of the manifest representing the update configuration of this resource."
},
"properties": {
"type": "string",
"description": "Output only. The set of updated properties for this resource, before references are expanded. Returned as serialized YAML."
},
"state": {
"type": "string",
"description": "Output only. The state of the resource."
},
"warnings": {
"type": "array",
"description": "Output only. If warning messages are generated during processing of this resource, this field will be populated.",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response."
},
"data": {
"type": "array",
"description": "[Output Only] Metadata about this warning in key: value format. For example:\n\"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" }",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)."
},
"value": {
"type": "string",
"description": "[Output Only] A warning data value corresponding to the key."
}
}
}
},
"message": {
"type": "string",
"description": "[Output Only] A human-readable description of the warning code."
}
}
}
}
}
},
"ResourcesListResponse": {
"id": "ResourcesListResponse",
"type": "object",
"description": "A response containing a partial list of resources and a page token used to build the next request if the request has been truncated.",
"properties": {
"nextPageToken": {
"type": "string",
"description": "A token used to continue a truncated list request."
},
"resources": {
"type": "array",
"description": "Resources contained in this list response.",
"items": {
"$ref": "Resource"
}
}
}
},
"Rule": {
"id": "Rule",
"type": "object",
"description": "A rule to be applied in a Policy.",
"properties": {
"action": {
"type": "string",
"description": "Required"
},
"conditions": {
"type": "array",
"description": "Additional restrictions that must be met",
"items": {
"$ref": "Condition"
}
},
"description": {
"type": "string",
"description": "Human-readable description of the rule."
},
"ins": {
"type": "array",
"description": "If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
"items": {
"type": "string"
}
},
"logConfigs": {
"type": "array",
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
"items": {
"$ref": "LogConfig"
}
},
"notIns": {
"type": "array",
"description": "If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.",
"items": {
"type": "string"
}
},
"permissions": {
"type": "array",
"description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
"items": {
"type": "string"
}
}
}
},
"TargetConfiguration": {
"id": "TargetConfiguration",
"type": "object",
"description": "",
"properties": {
"config": {
"$ref": "ConfigFile",
"description": "The configuration to use for this deployment."
},
"imports": {
"type": "array",
"description": "Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.",
"items": {
"$ref": "ImportFile"
}
}
}
},
"TestPermissionsRequest": {
"id": "TestPermissionsRequest",
"type": "object",
"properties": {
"permissions": {
"type": "array",
"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
"items": {
"type": "string"
}
}
}
},
"TestPermissionsResponse": {
"id": "TestPermissionsResponse",
"type": "object",
"properties": {
"permissions": {
"type": "array",
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
"items": {
"type": "string"
}
}
}
},
"Type": {
"id": "Type",
"type": "object",
"description": "A resource type supported by Deployment Manager.",
"properties": {
"id": {
"type": "string",
"description": "Output only. Unique identifier for the resource; defined by the server.",
"format": "uint64"
},
"insertTime": {
"type": "string",
"description": "Output only. Timestamp when the type was created, in RFC3339 text format."
},
"name": {
"type": "string",
"description": "Name of the type."
},
"operation": {
"$ref": "Operation",
"description": "Output only. The Operation that most recently ran, or is currently running, on this type."
},
"selfLink": {
"type": "string",
"description": "Output only. Self link for the type."
}
}
},
"TypesListResponse": {
"id": "TypesListResponse",
"type": "object",
"description": "A response that returns all Types supported by Deployment Manager",
"properties": {
"nextPageToken": {
"type": "string",
"description": "A token used to continue a truncated list request."
},
"types": {
"type": "array",
"description": "Output only. A list of resource types supported by Deployment Manager.",
"items": {
"$ref": "Type"
}
}
}
}
},
"resources": {
"deployments": {
"methods": {
"cancelPreview": {
"id": "deploymentmanager.deployments.cancelPreview",
"path": "{project}/global/deployments/{deployment}/cancelPreview",
"httpMethod": "POST",
"description": "Cancels and removes the preview currently associated with the deployment.",
"parameters": {
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment"
],
"request": {
"$ref": "DeploymentsCancelPreviewRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"delete": {
"id": "deploymentmanager.deployments.delete",
"path": "{project}/global/deployments/{deployment}",
"httpMethod": "DELETE",
"description": "Deletes a deployment and all of the resources in the deployment.",
"parameters": {
"deletePolicy": {
"type": "string",
"description": "Sets the policy to use for deleting resources.",
"default": "DELETE",
"enum": [
"ABANDON",
"DELETE"
],
"enumDescriptions": [
"",
""
],
"location": "query"
},
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment"
],
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"get": {
"id": "deploymentmanager.deployments.get",
"path": "{project}/global/deployments/{deployment}",
"httpMethod": "GET",
"description": "Gets information about a specific deployment.",
"parameters": {
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment"
],
"response": {
"$ref": "Deployment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
},
"getIamPolicy": {
"id": "deploymentmanager.deployments.getIamPolicy",
"path": "{project}/global/deployments/{resource}/getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"insert": {
"id": "deploymentmanager.deployments.insert",
"path": "{project}/global/deployments",
"httpMethod": "POST",
"description": "Creates a deployment and all of the resources described by the deployment manifest.",
"parameters": {
"preview": {
"type": "boolean",
"description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"location": "query"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project"
],
"request": {
"$ref": "Deployment"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"list": {
"id": "deploymentmanager.deployments.list",
"path": "{project}/global/deployments",
"httpMethod": "GET",
"description": "Lists all deployments for a given project.",
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.\n\nYou can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
"location": "query"
},
"maxResults": {
"type": "integer",
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
"default": "500",
"format": "uint32",
"minimum": "0",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
"location": "query"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project"
],
"response": {
"$ref": "DeploymentsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
},
"patch": {
"id": "deploymentmanager.deployments.patch",
"path": "{project}/global/deployments/{deployment}",
"httpMethod": "PATCH",
"description": "Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.",
"parameters": {
"createPolicy": {
"type": "string",
"description": "Sets the policy to use for creating new resources.",
"default": "CREATE_OR_ACQUIRE",
"enum": [
"ACQUIRE",
"CREATE_OR_ACQUIRE"
],
"enumDescriptions": [
"",
""
],
"location": "query"
},
"deletePolicy": {
"type": "string",
"description": "Sets the policy to use for deleting resources.",
"default": "DELETE",
"enum": [
"ABANDON",
"DELETE"
],
"enumDescriptions": [
"",
""
],
"location": "query"
},
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"preview": {
"type": "boolean",
"description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"default": "false",
"location": "query"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment"
],
"request": {
"$ref": "Deployment"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"setIamPolicy": {
"id": "deploymentmanager.deployments.setIamPolicy",
"path": "{project}/global/deployments/{resource}/setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "Policy"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"stop": {
"id": "deploymentmanager.deployments.stop",
"path": "{project}/global/deployments/{deployment}/stop",
"httpMethod": "POST",
"description": "Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.",
"parameters": {
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment"
],
"request": {
"$ref": "DeploymentsStopRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"testIamPermissions": {
"id": "deploymentmanager.deployments.testIamPermissions",
"path": "{project}/global/deployments/{resource}/testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified resource.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "(?:[-a-z0-9_]{0,62}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "TestPermissionsRequest"
},
"response": {
"$ref": "TestPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"update": {
"id": "deploymentmanager.deployments.update",
"path": "{project}/global/deployments/{deployment}",
"httpMethod": "PUT",
"description": "Updates a deployment and all of the resources described by the deployment manifest.",
"parameters": {
"createPolicy": {
"type": "string",
"description": "Sets the policy to use for creating new resources.",
"default": "CREATE_OR_ACQUIRE",
"enum": [
"ACQUIRE",
"CREATE_OR_ACQUIRE"
],
"enumDescriptions": [
"",
""
],
"location": "query"
},
"deletePolicy": {
"type": "string",
"description": "Sets the policy to use for deleting resources.",
"default": "DELETE",
"enum": [
"ABANDON",
"DELETE"
],
"enumDescriptions": [
"",
""
],
"location": "query"
},
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"preview": {
"type": "boolean",
"description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.",
"default": "false",
"location": "query"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment"
],
"request": {
"$ref": "Deployment"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
}
}
},
"manifests": {
"methods": {
"get": {
"id": "deploymentmanager.manifests.get",
"path": "{project}/global/deployments/{deployment}/manifests/{manifest}",
"httpMethod": "GET",
"description": "Gets information about a specific manifest.",
"parameters": {
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"manifest": {
"type": "string",
"description": "The name of the manifest for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment",
"manifest"
],
"response": {
"$ref": "Manifest"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
},
"list": {
"id": "deploymentmanager.manifests.list",
"path": "{project}/global/deployments/{deployment}/manifests",
"httpMethod": "GET",
"description": "Lists all manifests for a given deployment.",
"parameters": {
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"filter": {
"type": "string",
"description": "Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.\n\nYou can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
"location": "query"
},
"maxResults": {
"type": "integer",
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
"default": "500",
"format": "uint32",
"minimum": "0",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
"location": "query"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment"
],
"response": {
"$ref": "ManifestsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
}
}
},
"operations": {
"methods": {
"get": {
"id": "deploymentmanager.operations.get",
"path": "{project}/global/operations/{operation}",
"httpMethod": "GET",
"description": "Gets information about a specific operation.",
"parameters": {
"operation": {
"type": "string",
"description": "The name of the operation for this request.",
"required": true,
"location": "path"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"operation"
],
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
},
"list": {
"id": "deploymentmanager.operations.list",
"path": "{project}/global/operations",
"httpMethod": "GET",
"description": "Lists all operations for a project.",
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.\n\nYou can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
"location": "query"
},
"maxResults": {
"type": "integer",
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
"default": "500",
"format": "uint32",
"minimum": "0",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
"location": "query"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project"
],
"response": {
"$ref": "OperationsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
}
}
},
"resources": {
"methods": {
"get": {
"id": "deploymentmanager.resources.get",
"path": "{project}/global/deployments/{deployment}/resources/{resource}",
"httpMethod": "GET",
"description": "Gets information about a single resource.",
"parameters": {
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "The name of the resource for this request.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment",
"resource"
],
"response": {
"$ref": "Resource"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
},
"list": {
"id": "deploymentmanager.resources.list",
"path": "{project}/global/deployments/{deployment}/resources",
"httpMethod": "GET",
"description": "Lists all resources in a given deployment.",
"parameters": {
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"location": "path"
},
"filter": {
"type": "string",
"description": "Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.\n\nYou can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
"location": "query"
},
"maxResults": {
"type": "integer",
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
"default": "500",
"format": "uint32",
"minimum": "0",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
"location": "query"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project",
"deployment"
],
"response": {
"$ref": "ResourcesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
}
}
},
"types": {
"methods": {
"list": {
"id": "deploymentmanager.types.list",
"path": "{project}/global/types",
"httpMethod": "GET",
"description": "Lists all resource types for Deployment Manager.",
"parameters": {
"filter": {
"type": "string",
"description": "Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.\n\nYou can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
"location": "query"
},
"maxResults": {
"type": "integer",
"description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
"default": "500",
"format": "uint32",
"minimum": "0",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
"location": "query"
},
"project": {
"type": "string",
"description": "The project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
}
},
"parameterOrder": [
"project"
],
"response": {
"$ref": "TypesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only",
"https://www.googleapis.com/auth/ndev.cloudman",
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
}
}
}
}
}