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
+84 -54
View File
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/D9oyxr4DnVbupMt9dSmNXQp4YGQ\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/4coXG-kLdOLe0xqn_lc-mbxcObg\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:v2",
"name": "deploymentmanager",
"canonicalName": "Deployment Manager",
"version": "v2",
"revision": "20170615",
"revision": "20170925",
"title": "Google Cloud Deployment Manager API",
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
"ownerDomain": "google.com",
@@ -21,7 +21,7 @@
"basePath": "/deploymentmanager/v2/projects/",
"rootUrl": "https://www.googleapis.com/",
"servicePath": "deploymentmanager/v2/projects/",
"batchPath": "batch",
"batchPath": "batch/deploymentmanager/v2",
"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."
}
}
},
"Binding": {
"id": "Binding",
"type": "object",
@@ -212,12 +223,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",
@@ -228,7 +239,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",
@@ -236,11 +247,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",
@@ -248,7 +259,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."
}
}
},
@@ -271,18 +282,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."
}
}
},
@@ -317,14 +328,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."
}
}
},
@@ -390,6 +401,10 @@
"counter": {
"$ref": "LogConfigCounterOptions",
"description": "Counter options."
},
"dataAccess": {
"$ref": "LogConfigDataAccessOptions",
"description": "Data access options."
}
}
},
@@ -398,6 +413,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."
@@ -407,7 +426,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",
@@ -419,6 +438,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",
@@ -426,39 +456,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."
}
}
},
@@ -469,14 +499,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."
}
}
},
@@ -644,11 +674,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"
}
@@ -708,48 +738,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": {
@@ -805,7 +835,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",
@@ -832,27 +862,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": {
@@ -915,7 +945,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"
}
@@ -1005,12 +1035,12 @@
"properties": {
"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."
},
"name": {
"type": "string",
@@ -1018,11 +1048,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."
}
}
},
@@ -1037,7 +1067,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"
}
@@ -1183,7 +1213,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"
}
},
@@ -1369,7 +1399,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"
}
},
@@ -1441,7 +1471,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"
}
},
+163 -70
View File
@@ -244,6 +244,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)
}
// Binding: Associates `members` with a `role`.
type Binding struct {
// Condition: The condition that is associated with this binding. NOTE:
@@ -396,11 +426,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"`
@@ -412,7 +442,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"`
@@ -425,18 +455,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"`
@@ -497,11 +527,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
@@ -509,7 +539,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"`
@@ -605,12 +635,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
@@ -765,6 +794,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,
@@ -790,23 +822,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:"-"`
}
@@ -816,7 +854,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"`
@@ -847,32 +907,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
@@ -906,11 +998,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
@@ -1207,11 +1299,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
@@ -1331,48 +1423,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"`
@@ -1511,31 +1603,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"`
@@ -1562,7 +1654,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
@@ -1743,7 +1835,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.
@@ -1885,22 +1978,22 @@ func (s *TestPermissionsResponse) MarshalJSON() ([]byte, error) {
// Type: A resource type supported by Deployment Manager.
type Type struct {
// 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"`
// 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. "Id") to
@@ -1932,7 +2025,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"`
@@ -2558,7 +2651,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"
// }
@@ -3328,7 +3421,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"
// }
@@ -3623,7 +3716,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"
// }