vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/BpAXxEaDX5Q7fHdBGIpwDxZQd84\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/fjbnlFC4GTEIX5zCJ4_9R1qQWCw\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:v2beta",
"name": "deploymentmanager",
"canonicalName": "Deployment Manager V2Beta",
"version": "v2beta",
"revision": "20170615",
"revision": "20170925",
"title": "Google Cloud Deployment Manager API V2Beta Methods",
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
"ownerDomain": "google.com",
@@ -21,7 +21,7 @@
"basePath": "/deploymentmanager/v2beta/projects/",
"rootUrl": "https://www.googleapis.com/",
"servicePath": "deploymentmanager/v2beta/projects/",
"batchPath": "batch",
"batchPath": "batch/deploymentmanager/v2beta",
"parameters": {
"alt": {
"type": "string",
@@ -129,6 +129,17 @@
}
}
},
"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."
}
}
},
"BaseType": {
"id": "BaseType",
"type": "object",
@@ -216,12 +227,12 @@
},
"id": {
"type": "string",
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
"description": "Output only. Unique identifier for the resource; defined by the server.",
"format": "uint64"
},
"insertTime": {
"type": "string",
"description": "[Output Only] Timestamp when the composite type was created, in RFC3339 text format."
"description": "Output only. Timestamp when the composite type was created, in RFC3339 text format."
},
"labels": {
"type": "array",
@@ -236,11 +247,11 @@
},
"operation": {
"$ref": "Operation",
"description": "[Output Only] The Operation that most recently ran, or is currently running, on this composite type."
"description": "Output only. The Operation that most recently ran, or is currently running, on this composite type."
},
"selfLink": {
"type": "string",
"description": "[Output Only] Self link for the type provider."
"description": "Output only. Self link for the type provider."
},
"status": {
"type": "string"
@@ -270,7 +281,7 @@
"properties": {
"compositeTypes": {
"type": "array",
"description": "[Output Only] A list of resource composite types supported by Deployment Manager.",
"description": "Output only. A list of resource composite types supported by Deployment Manager.",
"items": {
"$ref": "CompositeType"
}
@@ -329,11 +340,19 @@
"Credential": {
"id": "Credential",
"type": "object",
"description": "Credential used by ConfigurableResourceTypes.",
"description": "The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted.",
"properties": {
"basicAuth": {
"$ref": "BasicAuth",
"description": "Basic Auth Credentials for this Type."
"description": "Basic Auth Credential, only used by TypeProvider."
},
"serviceAccount": {
"$ref": "ServiceAccount",
"description": "Service Account Credential, only used by Deployment."
},
"useProjectDefault": {
"type": "boolean",
"description": "Specify to use the project default credential, only supported by Deployment."
}
}
},
@@ -353,12 +372,12 @@
},
"id": {
"type": "string",
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
"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 ."
"description": "Output only. Timestamp when the deployment was created, in RFC3339 text format ."
},
"labels": {
"type": "array",
@@ -369,7 +388,7 @@
},
"manifest": {
"type": "string",
"description": "[Output Only] URL of the manifest representing the last manifest that was successfully deployed."
"description": "Output only. URL of the manifest representing the last manifest that was successfully deployed."
},
"name": {
"type": "string",
@@ -377,11 +396,11 @@
},
"operation": {
"$ref": "Operation",
"description": "[Output Only] The Operation that most recently ran, or is currently running, on this deployment."
"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."
"description": "Output only. Self link for the deployment."
},
"target": {
"$ref": "TargetConfiguration",
@@ -389,7 +408,7 @@
},
"update": {
"$ref": "DeploymentUpdate",
"description": "[Output Only] If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here."
"description": "Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here."
}
}
},
@@ -412,18 +431,18 @@
"properties": {
"description": {
"type": "string",
"description": "[Output Only] An optional user-provided description of the deployment after the current update has been applied."
"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])?)?",
"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."
"description": "Output only. URL of the manifest representing the update configuration of this deployment."
}
}
},
@@ -458,14 +477,14 @@
"properties": {
"deployments": {
"type": "array",
"description": "[Output Only] The deployments contained in this response.",
"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."
"description": "Output only. A token used to continue a truncated list request."
}
}
},
@@ -554,6 +573,10 @@
"counter": {
"$ref": "LogConfigCounterOptions",
"description": "Counter options."
},
"dataAccess": {
"$ref": "LogConfigDataAccessOptions",
"description": "Data access options."
}
}
},
@@ -562,6 +585,10 @@
"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."
@@ -571,7 +598,7 @@
"LogConfigCounterOptions": {
"id": "LogConfigCounterOptions",
"type": "object",
"description": "Options for counters",
"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",
@@ -583,6 +610,17 @@
}
}
},
"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",
@@ -590,39 +628,39 @@
"properties": {
"config": {
"$ref": "ConfigFile",
"description": "[Output Only] The YAML configuration for this manifest."
"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."
"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.",
"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.",
"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."
"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."
"description": "Output only. The YAML layout for this manifest."
},
"name": {
"type": "string",
"description": "[Output Only] The name of the manifest."
"description": "Output only.\n\nThe name of the manifest."
},
"selfLink": {
"type": "string",
"description": "[Output Only] Self link for the manifest."
"description": "Output only. Self link for the manifest."
}
}
},
@@ -633,14 +671,14 @@
"properties": {
"manifests": {
"type": "array",
"description": "[Output Only] Manifests contained in this list response.",
"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."
"description": "Output only. A token used to continue a truncated list request."
}
}
},
@@ -808,11 +846,11 @@
"properties": {
"nextPageToken": {
"type": "string",
"description": "[Output Only] A token used to continue a truncated list request."
"description": "Output only. A token used to continue a truncated list request."
},
"operations": {
"type": "array",
"description": "[Output Only] Operations contained in this list response.",
"description": "Output only. Operations contained in this list response.",
"items": {
"$ref": "Operation"
}
@@ -894,48 +932,48 @@
},
"finalProperties": {
"type": "string",
"description": "[Output Only] The evaluated properties of the resource with references expanded. Returned as serialized YAML."
"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.",
"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 ."
"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."
"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."
"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."
"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."
"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."
"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 ."
"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."
"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.",
"description": "Output only. If warning messages are generated during processing of this resource, this field will be populated.",
"items": {
"type": "object",
"properties": {
@@ -991,7 +1029,7 @@
},
"error": {
"type": "object",
"description": "[Output Only] If errors are generated during update of the resource, this field will be populated.",
"description": "Output only. If errors are generated during update of the resource, this field will be populated.",
"properties": {
"errors": {
"type": "array",
@@ -1018,27 +1056,27 @@
},
"finalProperties": {
"type": "string",
"description": "[Output Only] The expanded properties of the resource with reference values expanded. Returned as serialized YAML."
"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."
"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."
"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."
"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."
"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.",
"description": "Output only. If warning messages are generated during processing of this resource, this field will be populated.",
"items": {
"type": "object",
"properties": {
@@ -1101,7 +1139,7 @@
},
"conditions": {
"type": "array",
"description": "Additional restrictions that must be met",
"description": "Additional restrictions that must be met. All conditions must pass for the rule to match.",
"items": {
"$ref": "Condition"
}
@@ -1140,6 +1178,17 @@
}
}
},
"ServiceAccount": {
"id": "ServiceAccount",
"type": "object",
"description": "Service Account used as a credential.",
"properties": {
"email": {
"type": "string",
"description": "The IAM service account email address like test@myproject.iam.gserviceaccount.com"
}
}
},
"TargetConfiguration": {
"id": "TargetConfiguration",
"type": "object",
@@ -1225,12 +1274,12 @@
},
"id": {
"type": "string",
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
"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."
"description": "Output only. Timestamp when the type was created, in RFC3339 text format."
},
"labels": {
"type": "array",
@@ -1245,11 +1294,11 @@
},
"operation": {
"$ref": "Operation",
"description": "[Output Only] The Operation that most recently ran, or is currently running, on this type."
"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."
"description": "Output only. Self link for the type."
}
}
},
@@ -1268,7 +1317,7 @@
},
"kind": {
"type": "string",
"description": "[Output Only] Type of the output. Always deploymentManager#TypeInfo for TypeInfo.",
"description": "Output only. Type of the output. Always deploymentManager#TypeInfo for TypeInfo.",
"default": "deploymentmanager#typeInfo"
},
"name": {
@@ -1281,7 +1330,7 @@
},
"selfLink": {
"type": "string",
"description": "[Output Only] Server-defined URL for the resource."
"description": "Output only. Server-defined URL for the resource."
},
"title": {
"type": "string",
@@ -1342,12 +1391,12 @@
},
"id": {
"type": "string",
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
"description": "Output only. Unique identifier for the resource; defined by the server.",
"format": "uint64"
},
"insertTime": {
"type": "string",
"description": "[Output Only] Timestamp when the type provider was created, in RFC3339 text format."
"description": "Output only. Timestamp when the type provider was created, in RFC3339 text format."
},
"labels": {
"type": "array",
@@ -1362,7 +1411,7 @@
},
"operation": {
"$ref": "Operation",
"description": "[Output Only] The Operation that most recently ran, or is currently running, on this type provider."
"description": "Output only. The Operation that most recently ran, or is currently running, on this type provider."
},
"options": {
"$ref": "Options",
@@ -1370,7 +1419,7 @@
},
"selfLink": {
"type": "string",
"description": "[Output Only] Self link for the type provider."
"description": "Output only. Self link for the type provider."
}
}
},
@@ -1397,7 +1446,7 @@
},
"typeProviders": {
"type": "array",
"description": "[Output Only] A list of resource type providers supported by Deployment Manager.",
"description": "Output only. A list of resource type providers supported by Deployment Manager.",
"items": {
"$ref": "TypeProvider"
}
@@ -1415,7 +1464,7 @@
},
"types": {
"type": "array",
"description": "[Output Only] A list of resource type info.",
"description": "Output only. A list of resource type info.",
"items": {
"$ref": "TypeInfo"
}
@@ -1433,7 +1482,7 @@
},
"types": {
"type": "array",
"description": "[Output Only] A list of resource types supported by Deployment Manager.",
"description": "Output only. A list of resource types supported by Deployment Manager.",
"items": {
"$ref": "Type"
}
@@ -1816,7 +1865,7 @@
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"pattern": "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
@@ -2002,7 +2051,7 @@
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"pattern": "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
@@ -2074,7 +2123,7 @@
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"pattern": "(?:[-a-z0-9_]{0,62}[a-z0-9])?",
"location": "path"
}
},
@@ -268,6 +268,36 @@ func (s *AuditLogConfig) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AuthorizationLoggingOptions: Authorization-related information used
// by Cloud Audit Logging.
type AuthorizationLoggingOptions struct {
// PermissionType: The type of the permission that was checked.
PermissionType string `json:"permissionType,omitempty"`
// ForceSendFields is a list of field names (e.g. "PermissionType") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "PermissionType") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *AuthorizationLoggingOptions) MarshalJSON() ([]byte, error) {
type noMethod AuthorizationLoggingOptions
raw := noMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// BaseType: BaseType that describes a service-backed Type.
type BaseType struct {
// CollectionOverrides: Allows resource handling overrides for specific
@@ -440,11 +470,11 @@ type CompositeType struct {
// provided by the client when the resource is created.
Description string `json:"description,omitempty"`
// Id: [Output Only] Unique identifier for the resource; defined by the
// Id: Output only. Unique identifier for the resource; defined by the
// server.
Id uint64 `json:"id,omitempty,string"`
// InsertTime: [Output Only] Timestamp when the composite type was
// InsertTime: Output only. Timestamp when the composite type was
// created, in RFC3339 text format.
InsertTime string `json:"insertTime,omitempty"`
@@ -459,11 +489,11 @@ type CompositeType struct {
// Name: Name of the composite type.
Name string `json:"name,omitempty"`
// Operation: [Output Only] The Operation that most recently ran, or is
// Operation: Output only. The Operation that most recently ran, or is
// currently running, on this composite type.
Operation *Operation `json:"operation,omitempty"`
// SelfLink: [Output Only] Self link for the type provider.
// SelfLink: Output only. Self link for the type provider.
SelfLink string `json:"selfLink,omitempty"`
Status string `json:"status,omitempty"`
@@ -529,7 +559,7 @@ func (s *CompositeTypeLabelEntry) MarshalJSON() ([]byte, error) {
// CompositeTypesListResponse: A response that returns all Composite
// Types supported by Deployment Manager
type CompositeTypesListResponse struct {
// CompositeTypes: [Output Only] A list of resource composite types
// CompositeTypes: Output only. A list of resource composite types
// supported by Deployment Manager.
CompositeTypes []*CompositeType `json:"compositeTypes,omitempty"`
@@ -636,11 +666,19 @@ func (s *ConfigFile) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Credential: Credential used by ConfigurableResourceTypes.
// Credential: The credential used by Deployment Manager and
// TypeProvider. Only one of the options is permitted.
type Credential struct {
// BasicAuth: Basic Auth Credentials for this Type.
// BasicAuth: Basic Auth Credential, only used by TypeProvider.
BasicAuth *BasicAuth `json:"basicAuth,omitempty"`
// ServiceAccount: Service Account Credential, only used by Deployment.
ServiceAccount *ServiceAccount `json:"serviceAccount,omitempty"`
// UseProjectDefault: Specify to use the project default credential,
// only supported by Deployment.
UseProjectDefault bool `json:"useProjectDefault,omitempty"`
// ForceSendFields is a list of field names (e.g. "BasicAuth") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
@@ -680,11 +718,11 @@ type Deployment struct {
// fingerprint value, perform a get() request to a deployment.
Fingerprint string `json:"fingerprint,omitempty"`
// Id: [Output Only] Unique identifier for the resource; defined by the
// Id: Output only. Unique identifier for the resource; defined by the
// server.
Id uint64 `json:"id,omitempty,string"`
// InsertTime: [Output Only] Timestamp when the deployment was created,
// InsertTime: Output only. Timestamp when the deployment was created,
// in RFC3339 text format .
InsertTime string `json:"insertTime,omitempty"`
@@ -696,7 +734,7 @@ type Deployment struct {
// ([a-z]([-a-z0-9]*[a-z0-9])?)?
Labels []*DeploymentLabelEntry `json:"labels,omitempty"`
// Manifest: [Output Only] URL of the manifest representing the last
// Manifest: Output only. URL of the manifest representing the last
// manifest that was successfully deployed.
Manifest string `json:"manifest,omitempty"`
@@ -709,18 +747,18 @@ type Deployment struct {
// last character, which cannot be a dash.
Name string `json:"name,omitempty"`
// Operation: [Output Only] The Operation that most recently ran, or is
// Operation: Output only. The Operation that most recently ran, or is
// currently running, on this deployment.
Operation *Operation `json:"operation,omitempty"`
// SelfLink: [Output Only] Self link for the deployment.
// SelfLink: Output only. Self link for the deployment.
SelfLink string `json:"selfLink,omitempty"`
// Target: [Input Only] The parameters that define your deployment,
// including the deployment configuration and relevant templates.
Target *TargetConfiguration `json:"target,omitempty"`
// Update: [Output Only] If Deployment Manager is currently updating or
// Update: Output only. If Deployment Manager is currently updating or
// previewing an update to this deployment, the updated configuration
// appears here.
Update *DeploymentUpdate `json:"update,omitempty"`
@@ -781,11 +819,11 @@ func (s *DeploymentLabelEntry) MarshalJSON() ([]byte, error) {
}
type DeploymentUpdate struct {
// Description: [Output Only] An optional user-provided description of
// Description: Output only. An optional user-provided description of
// the deployment after the current update has been applied.
Description string `json:"description,omitempty"`
// Labels: [Output Only] Map of labels; provided by the client when the
// Labels: 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
@@ -793,7 +831,7 @@ type DeploymentUpdate struct {
// expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
Labels []*DeploymentUpdateLabelEntry `json:"labels,omitempty"`
// Manifest: [Output Only] URL of the manifest representing the update
// Manifest: Output only. URL of the manifest representing the update
// configuration of this deployment.
Manifest string `json:"manifest,omitempty"`
@@ -889,12 +927,11 @@ func (s *DeploymentsCancelPreviewRequest) MarshalJSON() ([]byte, error) {
// deployments and a page token used to build the next request if the
// request has been truncated.
type DeploymentsListResponse struct {
// Deployments: [Output Only] The deployments contained in this
// response.
// Deployments: Output only. The deployments contained in this response.
Deployments []*Deployment `json:"deployments,omitempty"`
// NextPageToken: [Output Only] A token used to continue a truncated
// list request.
// NextPageToken: Output only. A token used to continue a truncated list
// request.
NextPageToken string `json:"nextPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -1088,6 +1125,9 @@ type LogConfig struct {
// Counter: Counter options.
Counter *LogConfigCounterOptions `json:"counter,omitempty"`
// DataAccess: Data access options.
DataAccess *LogConfigDataAccessOptions `json:"dataAccess,omitempty"`
// ForceSendFields is a list of field names (e.g. "CloudAudit") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
@@ -1113,23 +1153,29 @@ func (s *LogConfig) MarshalJSON() ([]byte, error) {
// LogConfigCloudAuditOptions: Write a Cloud Audit log
type LogConfigCloudAuditOptions struct {
// AuthorizationLoggingOptions: Information used by the Cloud Audit
// Logging pipeline.
AuthorizationLoggingOptions *AuthorizationLoggingOptions `json:"authorizationLoggingOptions,omitempty"`
// LogName: The log_name to populate in the Cloud Audit Record.
LogName string `json:"logName,omitempty"`
// ForceSendFields is a list of field names (e.g. "LogName") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
// ForceSendFields is a list of field names (e.g.
// "AuthorizationLoggingOptions") to unconditionally include in API
// requests. By default, fields with empty values are omitted from API
// requests. However, any non-pointer, non-interface field appearing in
// ForceSendFields will be sent to the server regardless of whether the
// field is empty or not. This may be used to include empty fields in
// Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "LogName") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
// NullFields is a list of field names (e.g.
// "AuthorizationLoggingOptions") to include in API requests with the
// JSON null value. By default, fields with empty values are omitted
// from API requests. However, any field with an empty value appearing
// in NullFields will be sent to the server as null. It is an error if a
// field in this list has a non-empty value. This may be used to include
// null fields in Patch requests.
NullFields []string `json:"-"`
}
@@ -1139,7 +1185,29 @@ func (s *LogConfigCloudAuditOptions) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// LogConfigCounterOptions: Options for counters
// LogConfigCounterOptions: Increment a streamz counter with the
// specified metric and field names.
//
// Metric 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.
//
// Field names correspond to IAM request parameters and field values are
// their respective values.
//
// At present the only supported field names are - "iam_principal",
// corresponding to IAMContext.principal; - "" (empty string), resulting
// in one aggretated counter with no field.
//
// Examples: counter { metric: "/debug_access_count" field:
// "iam_principal" } ==> increment counter
// /iam/policy/backend_debug_access_count {iam_principal=[value of
// IAMContext.principal]}
//
// At 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
type LogConfigCounterOptions struct {
// Field: The field value to attribute.
Field string `json:"field,omitempty"`
@@ -1170,32 +1238,64 @@ func (s *LogConfigCounterOptions) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// LogConfigDataAccessOptions: Write a Data Access (Gin) log
type LogConfigDataAccessOptions struct {
// LogMode: Whether Gin logging should happen in a fail-closed manner at
// the caller. This is relevant only in the LocalIAM implementation, for
// now.
LogMode string `json:"logMode,omitempty"`
// ForceSendFields is a list of field names (e.g. "LogMode") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "LogMode") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *LogConfigDataAccessOptions) MarshalJSON() ([]byte, error) {
type noMethod LogConfigDataAccessOptions
raw := noMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type Manifest struct {
// Config: [Output Only] The YAML configuration for this manifest.
// Config: Output only. The YAML configuration for this manifest.
Config *ConfigFile `json:"config,omitempty"`
// ExpandedConfig: [Output Only] The fully-expanded configuration file,
// ExpandedConfig: Output only. The fully-expanded configuration file,
// including any templates and references.
ExpandedConfig string `json:"expandedConfig,omitempty"`
// Id: [Output Only] Unique identifier for the resource; defined by the
// Id: Output only. Unique identifier for the resource; defined by the
// server.
Id uint64 `json:"id,omitempty,string"`
// Imports: [Output Only] The imported files for this manifest.
// Imports: Output only. The imported files for this manifest.
Imports []*ImportFile `json:"imports,omitempty"`
// InsertTime: [Output Only] Timestamp when the manifest was created, in
// InsertTime: Output only. Timestamp when the manifest was created, in
// RFC3339 text format.
InsertTime string `json:"insertTime,omitempty"`
// Layout: [Output Only] The YAML layout for this manifest.
// Layout: Output only. The YAML layout for this manifest.
Layout string `json:"layout,omitempty"`
// Name: [Output Only] The name of the manifest.
// Name: Output only.
//
// The name of the manifest.
Name string `json:"name,omitempty"`
// SelfLink: [Output Only] Self link for the manifest.
// SelfLink: Output only. Self link for the manifest.
SelfLink string `json:"selfLink,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -1229,11 +1329,11 @@ func (s *Manifest) MarshalJSON() ([]byte, error) {
// manifests and a page token used to build the next request if the
// request has been truncated.
type ManifestsListResponse struct {
// Manifests: [Output Only] Manifests contained in this list response.
// Manifests: Output only. Manifests contained in this list response.
Manifests []*Manifest `json:"manifests,omitempty"`
// NextPageToken: [Output Only] A token used to continue a truncated
// list request.
// NextPageToken: Output only. A token used to continue a truncated list
// request.
NextPageToken string `json:"nextPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -1530,11 +1630,11 @@ func (s *OperationWarningsData) MarshalJSON() ([]byte, error) {
// operations and a page token used to build the next request if the
// request has been truncated.
type OperationsListResponse struct {
// NextPageToken: [Output Only] A token used to continue a truncated
// list request.
// NextPageToken: Output only. A token used to continue a truncated list
// request.
NextPageToken string `json:"nextPageToken,omitempty"`
// Operations: [Output Only] Operations contained in this list response.
// Operations: Output only. Operations contained in this list response.
Operations []*Operation `json:"operations,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -1697,48 +1797,48 @@ type Resource struct {
// AccessControl: The Access Control Policy set on this resource.
AccessControl *ResourceAccessControl `json:"accessControl,omitempty"`
// FinalProperties: [Output Only] The evaluated properties of the
// FinalProperties: Output only. The evaluated properties of the
// resource with references expanded. Returned as serialized YAML.
FinalProperties string `json:"finalProperties,omitempty"`
// Id: [Output Only] Unique identifier for the resource; defined by the
// Id: Output only. Unique identifier for the resource; defined by the
// server.
Id uint64 `json:"id,omitempty,string"`
// InsertTime: [Output Only] Timestamp when the resource was created or
// InsertTime: Output only. Timestamp when the resource was created or
// acquired, in RFC3339 text format .
InsertTime string `json:"insertTime,omitempty"`
// Manifest: [Output Only] URL of the manifest representing the current
// Manifest: Output only. URL of the manifest representing the current
// configuration of this resource.
Manifest string `json:"manifest,omitempty"`
// Name: [Output Only] The name of the resource as it appears in the
// YAML config.
// Name: Output only. The name of the resource as it appears in the YAML
// config.
Name string `json:"name,omitempty"`
// Properties: [Output Only] The current properties of the resource
// Properties: Output only. The current properties of the resource
// before any references have been filled in. Returned as serialized
// YAML.
Properties string `json:"properties,omitempty"`
// Type: [Output Only] The type of the resource, for example
// Type: Output only. The type of the resource, for example
// compute.v1.instance, or cloudfunctions.v1beta1.function.
Type string `json:"type,omitempty"`
// Update: [Output Only] If Deployment Manager is currently updating or
// Update: Output only. If Deployment Manager is currently updating or
// previewing an update to this resource, the updated configuration
// appears here.
Update *ResourceUpdate `json:"update,omitempty"`
// UpdateTime: [Output Only] Timestamp when the resource was updated, in
// UpdateTime: Output only. Timestamp when the resource was updated, in
// RFC3339 text format .
UpdateTime string `json:"updateTime,omitempty"`
// Url: [Output Only] The URL of the actual resource.
// Url: Output only. The URL of the actual resource.
Url string `json:"url,omitempty"`
// Warnings: [Output Only] If warning messages are generated during
// Warnings: Output only. If warning messages are generated during
// processing of this resource, this field will be populated.
Warnings []*ResourceWarnings `json:"warnings,omitempty"`
@@ -1877,31 +1977,31 @@ type ResourceUpdate struct {
// after updating the resource itself.
AccessControl *ResourceAccessControl `json:"accessControl,omitempty"`
// Error: [Output Only] If errors are generated during update of the
// Error: Output only. If errors are generated during update of the
// resource, this field will be populated.
Error *ResourceUpdateError `json:"error,omitempty"`
// FinalProperties: [Output Only] The expanded properties of the
// resource with reference values expanded. Returned as serialized YAML.
// FinalProperties: Output only. The expanded properties of the resource
// with reference values expanded. Returned as serialized YAML.
FinalProperties string `json:"finalProperties,omitempty"`
// Intent: [Output Only] The intent of the resource: PREVIEW, UPDATE, or
// Intent: Output only. The intent of the resource: PREVIEW, UPDATE, or
// CANCEL.
Intent string `json:"intent,omitempty"`
// Manifest: [Output Only] URL of the manifest representing the update
// Manifest: Output only. URL of the manifest representing the update
// configuration of this resource.
Manifest string `json:"manifest,omitempty"`
// Properties: [Output Only] The set of updated properties for this
// Properties: Output only. The set of updated properties for this
// resource, before references are expanded. Returned as serialized
// YAML.
Properties string `json:"properties,omitempty"`
// State: [Output Only] The state of the resource.
// State: Output only. The state of the resource.
State string `json:"state,omitempty"`
// Warnings: [Output Only] If warning messages are generated during
// Warnings: Output only. If warning messages are generated during
// processing of this resource, this field will be populated.
Warnings []*ResourceUpdateWarnings `json:"warnings,omitempty"`
@@ -1928,7 +2028,7 @@ func (s *ResourceUpdate) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ResourceUpdateError: [Output Only] If errors are generated during
// ResourceUpdateError: Output only. If errors are generated during
// update of the resource, this field will be populated.
type ResourceUpdateError struct {
// Errors: [Output Only] The array of errors encountered while
@@ -2109,7 +2209,8 @@ type Rule struct {
// Action: Required
Action string `json:"action,omitempty"`
// Conditions: Additional restrictions that must be met
// Conditions: Additional restrictions that must be met. All conditions
// must pass for the rule to match.
Conditions []*Condition `json:"conditions,omitempty"`
// Description: Human-readable description of the rule.
@@ -2156,6 +2257,35 @@ func (s *Rule) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ServiceAccount: Service Account used as a credential.
type ServiceAccount struct {
// Email: The IAM service account email address like
// test@myproject.iam.gserviceaccount.com
Email string `json:"email,omitempty"`
// ForceSendFields is a list of field names (e.g. "Email") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Email") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ServiceAccount) MarshalJSON() ([]byte, error) {
type noMethod ServiceAccount
raw := noMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type TargetConfiguration struct {
// Config: The configuration to use for this deployment.
Config *ConfigFile `json:"config,omitempty"`
@@ -2297,11 +2427,11 @@ type Type struct {
// provided by the client when the resource is created.
Description string `json:"description,omitempty"`
// Id: [Output Only] Unique identifier for the resource; defined by the
// Id: Output only. Unique identifier for the resource; defined by the
// server.
Id uint64 `json:"id,omitempty,string"`
// InsertTime: [Output Only] Timestamp when the type was created, in
// InsertTime: Output only. Timestamp when the type was created, in
// RFC3339 text format.
InsertTime string `json:"insertTime,omitempty"`
@@ -2316,11 +2446,11 @@ type Type struct {
// Name: Name of the type.
Name string `json:"name,omitempty"`
// Operation: [Output Only] The Operation that most recently ran, or is
// Operation: Output only. The Operation that most recently ran, or is
// currently running, on this type.
Operation *Operation `json:"operation,omitempty"`
// SelfLink: [Output Only] Self link for the type.
// SelfLink: Output only. Self link for the type.
SelfLink string `json:"selfLink,omitempty"`
// ForceSendFields is a list of field names (e.g. "Base") to
@@ -2356,7 +2486,7 @@ type TypeInfo struct {
// For swagger 1.2 this field will be empty.
DocumentationLink string `json:"documentationLink,omitempty"`
// Kind: [Output Only] Type of the output. Always
// Kind: Output only. Type of the output. Always
// deploymentManager#TypeInfo for TypeInfo.
Kind string `json:"kind,omitempty"`
@@ -2367,7 +2497,7 @@ type TypeInfo struct {
// documentation link For template types, we return only a schema
Schema *TypeInfoSchemaInfo `json:"schema,omitempty"`
// SelfLink: [Output Only] Server-defined URL for the resource.
// SelfLink: Output only. Server-defined URL for the resource.
SelfLink string `json:"selfLink,omitempty"`
// Title: The title on the API descriptor URL provided.
@@ -2478,11 +2608,11 @@ type TypeProvider struct {
// DescriptorUrl: Descriptor Url for the this type provider.
DescriptorUrl string `json:"descriptorUrl,omitempty"`
// Id: [Output Only] Unique identifier for the resource; defined by the
// Id: Output only. Unique identifier for the resource; defined by the
// server.
Id uint64 `json:"id,omitempty,string"`
// InsertTime: [Output Only] Timestamp when the type provider was
// InsertTime: Output only. Timestamp when the type provider was
// created, in RFC3339 text format.
InsertTime string `json:"insertTime,omitempty"`
@@ -2497,7 +2627,7 @@ type TypeProvider struct {
// Name: Name of the type provider.
Name string `json:"name,omitempty"`
// Operation: [Output Only] The Operation that most recently ran, or is
// Operation: Output only. The Operation that most recently ran, or is
// currently running, on this type provider.
Operation *Operation `json:"operation,omitempty"`
@@ -2505,7 +2635,7 @@ type TypeProvider struct {
// service.
Options *Options `json:"options,omitempty"`
// SelfLink: [Output Only] Self link for the type provider.
// SelfLink: Output only. Self link for the type provider.
SelfLink string `json:"selfLink,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -2570,7 +2700,7 @@ type TypeProvidersListResponse struct {
// NextPageToken: A token used to continue a truncated list request.
NextPageToken string `json:"nextPageToken,omitempty"`
// TypeProviders: [Output Only] A list of resource type providers
// TypeProviders: Output only. A list of resource type providers
// supported by Deployment Manager.
TypeProviders []*TypeProvider `json:"typeProviders,omitempty"`
@@ -2605,7 +2735,7 @@ type TypeProvidersListTypesResponse struct {
// NextPageToken: A token used to continue a truncated list request.
NextPageToken string `json:"nextPageToken,omitempty"`
// Types: [Output Only] A list of resource type info.
// Types: Output only. A list of resource type info.
Types []*TypeInfo `json:"types,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -2641,7 +2771,7 @@ type TypesListResponse struct {
// NextPageToken: A token used to continue a truncated list request.
NextPageToken string `json:"nextPageToken,omitempty"`
// Types: [Output Only] A list of resource types supported by Deployment
// Types: Output only. A list of resource types supported by Deployment
// Manager.
Types []*Type `json:"types,omitempty"`
@@ -4270,7 +4400,7 @@ func (c *DeploymentsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,
// "resource": {
// "description": "Name of the resource for this request.",
// "location": "path",
// "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
// "pattern": "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?",
// "required": true,
// "type": "string"
// }
@@ -5040,7 +5170,7 @@ func (c *DeploymentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,
// "resource": {
// "description": "Name of the resource for this request.",
// "location": "path",
// "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
// "pattern": "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?",
// "required": true,
// "type": "string"
// }
@@ -5335,7 +5465,7 @@ func (c *DeploymentsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*T
// "resource": {
// "description": "Name of the resource for this request.",
// "location": "path",
// "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
// "pattern": "(?:[-a-z0-9_]{0,62}[a-z0-9])?",
// "required": true,
// "type": "string"
// }