Update dependencies

This commit is contained in:
Alexander Neumann 2017-09-13 14:09:48 +02:00
parent f3b49987f8
commit fda563d606
926 changed files with 189726 additions and 98666 deletions

View file

@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/DSQnXnJrdGCXbfLjaO33fHf1TP4\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/PsbV54STic97ire0OJuiC5JKfrE\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:alpha",
"name": "deploymentmanager",
"canonicalName": "Deployment Manager Alpha",
"version": "alpha",
"revision": "20170615",
"revision": "20170907",
"title": "Google Cloud Deployment Manager Alpha API",
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
"ownerDomain": "google.com",
@ -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."
}
}
},
"BasicAuth": {
"id": "BasicAuth",
"type": "object",
@ -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."
}
}
},
@ -379,6 +398,13 @@
"$ref": "Operation",
"description": "[Output Only] The Operation that most recently ran, or is currently running, on this deployment."
},
"outputs": {
"type": "array",
"description": "api-linter: output-only-format=disabled [Output Only] Map of outputs from the last manifest that deployed successfully.",
"items": {
"$ref": "DeploymentOutputsEntry"
}
},
"selfLink": {
"type": "string",
"description": "[Output Only] Self link for the deployment."
@ -405,6 +431,18 @@
}
}
},
"DeploymentOutputsEntry": {
"id": "DeploymentOutputsEntry",
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"DeploymentUpdate": {
"id": "DeploymentUpdate",
"type": "object",
@ -554,6 +592,10 @@
"counter": {
"$ref": "LogConfigCounterOptions",
"description": "Counter options."
},
"dataAccess": {
"$ref": "LogConfigDataAccessOptions",
"description": "Data access options."
}
}
},
@ -562,6 +604,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 +617,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 +629,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",
@ -1140,6 +1197,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",
@ -1816,7 +1884,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 +2070,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 +2142,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"
}
},

View file

@ -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)
}
// BasicAuth: Basic Auth used as a credential.
type BasicAuth struct {
Password string `json:"password,omitempty"`
@ -636,11 +666,19 @@ func (s *ConfigurableService) 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,
@ -713,6 +751,10 @@ type Deployment struct {
// currently running, on this deployment.
Operation *Operation `json:"operation,omitempty"`
// Outputs: api-linter: output-only-format=disabled [Output Only] Map of
// outputs from the last manifest that deployed successfully.
Outputs []*DeploymentOutputsEntry `json:"outputs,omitempty"`
// SelfLink: [Output Only] Self link for the deployment.
SelfLink string `json:"selfLink,omitempty"`
@ -780,6 +822,34 @@ func (s *DeploymentLabelEntry) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type DeploymentOutputsEntry struct {
Key string `json:"key,omitempty"`
Value string `json:"value,omitempty"`
// ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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 *DeploymentOutputsEntry) MarshalJSON() ([]byte, error) {
type noMethod DeploymentOutputsEntry
raw := noMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type DeploymentUpdate struct {
// Description: [Output Only] An optional user-provided description of
// the deployment after the current update has been applied.
@ -1088,6 +1158,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 +1186,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 +1218,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,6 +1271,36 @@ 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 *ConfigFile `json:"config,omitempty"`
@ -2151,6 +2282,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"`
@ -4271,7 +4431,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"
// }
@ -5041,7 +5201,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"
// }
@ -5336,7 +5496,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"
// }

View file

@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/D9oyxr4DnVbupMt9dSmNXQp4YGQ\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Wel7paJC_1D4E1HCo-ynj9yjUZ0\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:v2",
"name": "deploymentmanager",
"canonicalName": "Deployment Manager",
"version": "v2",
"revision": "20170615",
"revision": "20170907",
"title": "Google Cloud Deployment Manager API",
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
"ownerDomain": "google.com",
@ -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",
@ -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",
@ -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"
}
},

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:
@ -765,6 +795,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 +823,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 +855,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,6 +908,36 @@ 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 *ConfigFile `json:"config,omitempty"`
@ -2558,7 +2649,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 +3419,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 +3714,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"
// }

View file

@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/BpAXxEaDX5Q7fHdBGIpwDxZQd84\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/pIU6gkhdkztp310WN4djWTN4XKE\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:v2beta",
"name": "deploymentmanager",
"canonicalName": "Deployment Manager V2Beta",
"version": "v2beta",
"revision": "20170615",
"revision": "20170907",
"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",
@ -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",
@ -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."
}
}
},
@ -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",
@ -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",
@ -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"
}
},

View file

@ -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
@ -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,
@ -1088,6 +1126,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 +1154,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 +1186,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,6 +1239,36 @@ 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 *ConfigFile `json:"config,omitempty"`
@ -2156,6 +2255,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"`
@ -4270,7 +4398,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 +5168,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 +5463,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"
// }