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 537057 additions and 189681 deletions

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"`
@ -400,11 +430,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"`
@ -419,11 +449,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"`
@ -489,7 +519,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 *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,
@ -665,6 +703,9 @@ func (s *Credential) MarshalJSON() ([]byte, error) {
}
type Deployment struct {
// Credential: User provided default credential for the deployment.
Credential *Credential `json:"credential,omitempty"`
// Description: An optional user-provided description of the deployment.
Description string `json:"description,omitempty"`
@ -680,11 +721,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 +737,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 +750,22 @@ 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.
// Outputs: 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"`
// 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"`
@ -729,7 +774,7 @@ type Deployment struct {
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Description") to
// ForceSendFields is a list of field names (e.g. "Credential") 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
@ -737,10 +782,10 @@ type Deployment struct {
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Description") 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
// NullFields is a list of field names (e.g. "Credential") 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:"-"`
@ -780,24 +825,12 @@ func (s *DeploymentLabelEntry) MarshalJSON() ([]byte, error) {
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.
Description string `json:"description,omitempty"`
type DeploymentOutputsEntry struct {
Key string `json:"key,omitempty"`
// 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
// between 0 and 63 characters long and must conform to the regular
// expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
Labels []*DeploymentUpdateLabelEntry `json:"labels,omitempty"`
Value string `json:"value,omitempty"`
// Manifest: [Output Only] URL of the manifest representing the update
// configuration of this deployment.
Manifest string `json:"manifest,omitempty"`
// ForceSendFields is a list of field names (e.g. "Description") to
// 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
@ -805,10 +838,54 @@ type DeploymentUpdate struct {
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Description") 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
// 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 {
// Credential: Output only. The user-provided default credential to use
// when deploying this preview.
Credential *Credential `json:"credential,omitempty"`
// 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
// 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])?)?
Labels []*DeploymentUpdateLabelEntry `json:"labels,omitempty"`
// Manifest: Output only. URL of the manifest representing the update
// configuration of this deployment.
Manifest string `json:"manifest,omitempty"`
// ForceSendFields is a list of field names (e.g. "Credential") 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. "Credential") 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:"-"`
@ -889,12 +966,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 +1164,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 +1192,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 +1224,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 +1277,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 +1368,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 +1669,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
@ -1692,48 +1831,52 @@ 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
// LastUsedCredential: Output only. The last used credential that
// successfully created/updated the resource.
LastUsedCredential *Credential `json:"lastUsedCredential,omitempty"`
// 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"`
@ -1872,31 +2015,35 @@ type ResourceUpdate struct {
// after updating the resource itself.
AccessControl *ResourceAccessControl `json:"accessControl,omitempty"`
// Error: [Output Only] If errors are generated during update of the
// Credential: Output only. The credential that will be used
// creating/updating this resource.
Credential *Credential `json:"credential,omitempty"`
// 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"`
@ -1923,7 +2070,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
@ -2104,7 +2251,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.
@ -2151,6 +2299,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"`
@ -2293,11 +2470,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"`
@ -2312,11 +2489,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"`
// ServerResponse contains the HTTP response code and headers from the
@ -2357,7 +2534,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"`
@ -2368,7 +2545,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.
@ -2479,11 +2656,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"`
@ -2498,7 +2675,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"`
@ -2506,7 +2683,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
@ -2571,7 +2748,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"`
@ -2606,7 +2783,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
@ -2642,7 +2819,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"`
@ -4271,7 +4448,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 +5218,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 +5513,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"
// }