Vendor newest GCP Go client
This commit is contained in:
222
vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go
generated
vendored
222
vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go
generated
vendored
@@ -1527,12 +1527,16 @@ type Address struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Network: The URL of the network in which to reserve the address. This
|
||||
// field can only be used with INTERNAL type with VPC_PEERING purpose.
|
||||
Network string `json:"network,omitempty"`
|
||||
|
||||
// NetworkTier: This signifies the networking tier used for configuring
|
||||
// this Address and can only take the following values: PREMIUM ,
|
||||
// STANDARD.
|
||||
@@ -1545,6 +1549,19 @@ type Address struct {
|
||||
// "STANDARD"
|
||||
NetworkTier string `json:"networkTier,omitempty"`
|
||||
|
||||
// PrefixLength: The prefix length if the resource reprensents an IP
|
||||
// range.
|
||||
PrefixLength int64 `json:"prefixLength,omitempty"`
|
||||
|
||||
// Purpose: The purpose of resource, only used with INTERNAL type.
|
||||
//
|
||||
// Possible values:
|
||||
// "DNS_RESOLVER"
|
||||
// "GCE_ENDPOINT"
|
||||
// "UNSPECIFIED_PURPOSE"
|
||||
// "VPC_PEERING"
|
||||
Purpose string `json:"purpose,omitempty"`
|
||||
|
||||
// Region: [Output Only] URL of the region where the regional address
|
||||
// resides. This field is not applicable to global addresses. You must
|
||||
// specify this field as part of the HTTP request URL. You cannot set
|
||||
@@ -2526,7 +2543,7 @@ type Autoscaler struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -3664,7 +3681,7 @@ type BackendBucket struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -3986,7 +4003,7 @@ type BackendService struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -5005,7 +5022,7 @@ type Commitment struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -5882,7 +5899,7 @@ type Disk struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -6220,7 +6237,19 @@ type DiskInstantiationConfig struct {
|
||||
DeviceName string `json:"deviceName,omitempty"`
|
||||
|
||||
// InstantiateFrom: Specifies whether to include the disk and what image
|
||||
// to use.
|
||||
// to use. Possible values are:
|
||||
// - source-image: to use the same image that was used to create the
|
||||
// source instance's corresponding disk. Applicable to the boot disk and
|
||||
// additional read-write disks.
|
||||
// - source-image-family: to use the same image family that was used to
|
||||
// create the source instance's corresponding disk. Applicable to the
|
||||
// boot disk and additional read-write disks.
|
||||
// - custom-image: to use a user-provided image url for disk creation.
|
||||
// Applicable to the boot disk and additional read-write disks.
|
||||
// - attach-read-only: to attach a read-only disk. Applicable to
|
||||
// read-only disks.
|
||||
// - do-not-include: to exclude a disk from the template. Applicable to
|
||||
// additional read-write disks, local SSDs, and read-only disks.
|
||||
//
|
||||
// Possible values:
|
||||
// "ATTACH_READ_ONLY"
|
||||
@@ -7290,7 +7319,7 @@ type Firewall struct {
|
||||
// Name: Name of the resource; provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -7803,13 +7832,14 @@ type ForwardingRule struct {
|
||||
// Possible values:
|
||||
// "EXTERNAL"
|
||||
// "INTERNAL"
|
||||
// "INTERNAL_SELF_MANAGED"
|
||||
// "INVALID"
|
||||
LoadBalancingScheme string `json:"loadBalancingScheme,omitempty"`
|
||||
|
||||
// Name: Name of the resource; provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -7885,7 +7915,7 @@ type ForwardingRule struct {
|
||||
//
|
||||
// The label must be 1-63 characters long, and comply with RFC1035.
|
||||
// Specifically, the label must be 1-63 characters long and match the
|
||||
// regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first
|
||||
// regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
||||
// character must be a lowercase letter, and all following characters
|
||||
// must be a dash, lowercase letter, or digit, except the last
|
||||
// character, which cannot be a dash.
|
||||
@@ -8427,8 +8457,8 @@ type GlobalSetLabelsRequest struct {
|
||||
// Labels: A list of labels to apply for this resource. Each label key &
|
||||
// value must comply with RFC1035. Specifically, the name must be 1-63
|
||||
// characters long and match the regular expression
|
||||
// [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a
|
||||
// lowercase letter, and all following characters must be a dash,
|
||||
// `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be
|
||||
// a lowercase letter, and all following characters must be a dash,
|
||||
// lowercase letter, or digit, except the last character, which cannot
|
||||
// be a dash. For example, "webserver-frontend": "images". A label value
|
||||
// can also be empty (e.g. "my-label": "").
|
||||
@@ -8819,7 +8849,7 @@ type HealthCheck struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -9207,8 +9237,8 @@ type Host struct {
|
||||
// creating the resource. The resource name must be 1-63 characters
|
||||
// long, and comply with RFC1035. Specifically, the name must be 1-63
|
||||
// characters long and match the regular expression
|
||||
// [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a
|
||||
// lowercase letter, and all following characters must be a dash,
|
||||
// `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be
|
||||
// a lowercase letter, and all following characters must be a dash,
|
||||
// lowercase letter, or digit, except the last character, which cannot
|
||||
// be a dash.
|
||||
Name string `json:"name,omitempty"`
|
||||
@@ -10337,7 +10367,7 @@ type HttpHealthCheck struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -10582,7 +10612,7 @@ type HttpsHealthCheck struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -10874,7 +10904,7 @@ type Image struct {
|
||||
// Name: Name of the resource; provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -11315,8 +11345,8 @@ type Instance struct {
|
||||
// creating the resource. The resource name must be 1-63 characters
|
||||
// long, and comply with RFC1035. Specifically, the name must be 1-63
|
||||
// characters long and match the regular expression
|
||||
// [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a
|
||||
// lowercase letter, and all following characters must be a dash,
|
||||
// `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be
|
||||
// a lowercase letter, and all following characters must be a dash,
|
||||
// lowercase letter, or digit, except the last character, which cannot
|
||||
// be a dash.
|
||||
Name string `json:"name,omitempty"`
|
||||
@@ -14373,7 +14403,7 @@ type InstanceTemplate struct {
|
||||
// Name: Name of the resource; provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -15145,7 +15175,7 @@ type Interconnect struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -15325,7 +15355,7 @@ type InterconnectAttachment struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -18058,8 +18088,8 @@ type MaintenancePolicy struct {
|
||||
// creating the resource. The resource name must be 1-63 characters
|
||||
// long, and comply with RFC1035. Specifically, the name must be 1-63
|
||||
// characters long and match the regular expression
|
||||
// [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a
|
||||
// lowercase letter, and all following characters must be a dash,
|
||||
// `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be
|
||||
// a lowercase letter, and all following characters must be a dash,
|
||||
// lowercase letter, or digit, except the last character, which cannot
|
||||
// be a dash.
|
||||
Name string `json:"name,omitempty"`
|
||||
@@ -18290,6 +18320,7 @@ func (s *MaintenanceWindow) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ManagedInstance: Next available tag: 12
|
||||
type ManagedInstance struct {
|
||||
// CurrentAction: [Output Only] The current action that the managed
|
||||
// instance group has scheduled for the instance. Possible values:
|
||||
@@ -18364,13 +18395,6 @@ type ManagedInstance struct {
|
||||
// Override: [Output Only] Override defined for this instance.
|
||||
Override *ManagedInstanceOverride `json:"override,omitempty"`
|
||||
|
||||
// StandbyMode: [Output Only] Standby mode of the instance. This field
|
||||
// is non-empty iff the instance is a standby.
|
||||
//
|
||||
// Possible values:
|
||||
// "DRAINED"
|
||||
StandbyMode string `json:"standbyMode,omitempty"`
|
||||
|
||||
// Tag: [Output Only] Tag describing the version.
|
||||
Tag string `json:"tag,omitempty"`
|
||||
|
||||
@@ -18812,7 +18836,7 @@ type Network struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -18930,7 +18954,7 @@ type NetworkEndpointGroup struct {
|
||||
// Name: Name of the resource; provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -20006,8 +20030,8 @@ type NetworkPeering struct {
|
||||
// Name: Name of this peering. Provided by the client when the peering
|
||||
// is created. The name must comply with RFC1035. Specifically, the name
|
||||
// must be 1-63 characters long and match regular expression
|
||||
// [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a
|
||||
// lowercase letter, and all the following characters must be a dash,
|
||||
// `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be
|
||||
// a lowercase letter, and all the following characters must be a dash,
|
||||
// lowercase letter, or digit, except the last character, which cannot
|
||||
// be a dash.
|
||||
Name string `json:"name,omitempty"`
|
||||
@@ -21414,6 +21438,8 @@ type Quota struct {
|
||||
// "NETWORKS"
|
||||
// "NVIDIA_K80_GPUS"
|
||||
// "NVIDIA_P100_GPUS"
|
||||
// "NVIDIA_P100_VWS_GPUS"
|
||||
// "NVIDIA_V100_GPUS"
|
||||
// "PREEMPTIBLE_CPUS"
|
||||
// "PREEMPTIBLE_LOCAL_SSD_GB"
|
||||
// "PREEMPTIBLE_NVIDIA_K80_GPUS"
|
||||
@@ -23246,7 +23272,7 @@ type Route struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -23619,7 +23645,7 @@ type Router struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -24854,6 +24880,9 @@ type Scheduling struct {
|
||||
// restarted if it is terminated by Compute Engine.
|
||||
AutomaticRestart *bool `json:"automaticRestart,omitempty"`
|
||||
|
||||
// NodeAffinities: A set of node affinity and anti-affinity.
|
||||
NodeAffinities []*SchedulingNodeAffinity `json:"nodeAffinities,omitempty"`
|
||||
|
||||
// OnHostMaintenance: Defines the maintenance behavior for this
|
||||
// instance. For standard instances, the default behavior is MIGRATE.
|
||||
// For preemptible instances, the default and only possible behavior is
|
||||
@@ -24894,6 +24923,46 @@ func (s *Scheduling) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SchedulingNodeAffinity: Node Affinity: the configuration of desired
|
||||
// nodes onto which this Instance could be scheduled.
|
||||
type SchedulingNodeAffinity struct {
|
||||
// Key: Corresponds to the label key of Node resource.
|
||||
Key string `json:"key,omitempty"`
|
||||
|
||||
// Operator: Defines the operation of node selection.
|
||||
//
|
||||
// Possible values:
|
||||
// "IN"
|
||||
// "NOT_IN"
|
||||
// "OPERATOR_UNSPECIFIED"
|
||||
Operator string `json:"operator,omitempty"`
|
||||
|
||||
// Values: Corresponds to the label values of Node resource.
|
||||
Values []string `json:"values,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 *SchedulingNodeAffinity) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod SchedulingNodeAffinity
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SecurityPolicy: A security policy is comprised of one or more rules.
|
||||
// It can also be associated with one or more 'targets'.
|
||||
type SecurityPolicy struct {
|
||||
@@ -24927,7 +24996,7 @@ type SecurityPolicy struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -25218,7 +25287,7 @@ type SecurityPolicyRuleMatcher struct {
|
||||
// contents in the request header.
|
||||
Expr *Expr `json:"expr,omitempty"`
|
||||
|
||||
// SrcIpRanges: CIDR IP address range. Only IPv4 is supported.
|
||||
// SrcIpRanges: CIDR IP address range.
|
||||
SrcIpRanges []string `json:"srcIpRanges,omitempty"`
|
||||
|
||||
// VersionedExpr: Preconfigured versioned expression. If this field is
|
||||
@@ -25255,7 +25324,7 @@ func (s *SecurityPolicyRuleMatcher) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
type SecurityPolicyRuleMatcherConfig struct {
|
||||
// SrcIpRanges: CIDR IP address range. Only IPv4 is supported.
|
||||
// SrcIpRanges: CIDR IP address range.
|
||||
SrcIpRanges []string `json:"srcIpRanges,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "SrcIpRanges") to
|
||||
@@ -25366,6 +25435,10 @@ func (s *ServiceAccount) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// ShieldedVmConfig: A set of Shielded VM options.
|
||||
type ShieldedVmConfig struct {
|
||||
// EnableIntegrityMonitoring: Defines whether the instance should have
|
||||
// integrity monitoring enabled.
|
||||
EnableIntegrityMonitoring bool `json:"enableIntegrityMonitoring,omitempty"`
|
||||
|
||||
// EnableSecureBoot: Defines whether the instance should have secure
|
||||
// boot enabled.
|
||||
EnableSecureBoot bool `json:"enableSecureBoot,omitempty"`
|
||||
@@ -25373,21 +25446,22 @@ type ShieldedVmConfig struct {
|
||||
// EnableVtpm: Defines whether the instance should have the TPM enabled.
|
||||
EnableVtpm bool `json:"enableVtpm,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EnableSecureBoot") 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.
|
||||
// "EnableIntegrityMonitoring") 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. "EnableSecureBoot") 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.
|
||||
// "EnableIntegrityMonitoring") 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:"-"`
|
||||
}
|
||||
|
||||
@@ -25402,7 +25476,7 @@ func (s *ShieldedVmConfig) MarshalJSON() ([]byte, error) {
|
||||
type SignedUrlKey struct {
|
||||
// KeyName: Name of the key. The name must be 1-63 characters long, and
|
||||
// comply with RFC1035. Specifically, the name must be 1-63 characters
|
||||
// long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
|
||||
// long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
// which means the first character must be a lowercase letter, and all
|
||||
// following characters must be a dash, lowercase letter, or digit,
|
||||
// except the last character, which cannot be a dash.
|
||||
@@ -25449,6 +25523,12 @@ type Snapshot struct {
|
||||
// DiskSizeGb: [Output Only] Size of the snapshot, specified in GB.
|
||||
DiskSizeGb int64 `json:"diskSizeGb,omitempty,string"`
|
||||
|
||||
// GuestOsFeatures: [Output Only] A list of features to enable on the
|
||||
// guest operating system. Applicable only for bootable images. Read
|
||||
// Enabling guest operating system features to see a list of available
|
||||
// options.
|
||||
GuestOsFeatures []*GuestOsFeature `json:"guestOsFeatures,omitempty"`
|
||||
|
||||
// Id: [Output Only] The unique identifier for the resource. This
|
||||
// identifier is defined by the server.
|
||||
Id uint64 `json:"id,omitempty,string"`
|
||||
@@ -25484,7 +25564,7 @@ type Snapshot struct {
|
||||
// Name: Name of the resource; provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -25805,7 +25885,7 @@ type SslCertificate struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -26334,8 +26414,8 @@ type SslPolicy struct {
|
||||
// Name: Name of the resource. The name must be 1-63 characters long,
|
||||
// and comply with RFC1035. Specifically, the name must be 1-63
|
||||
// characters long and match the regular expression
|
||||
// [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a
|
||||
// lowercase letter, and all following characters must be a dash,
|
||||
// `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be
|
||||
// a lowercase letter, and all following characters must be a dash,
|
||||
// lowercase letter, or digit, except the last character, which cannot
|
||||
// be a dash.
|
||||
Name string `json:"name,omitempty"`
|
||||
@@ -26660,6 +26740,10 @@ type Subnetwork struct {
|
||||
// can be set only at resource creation time.
|
||||
IpCidrRange string `json:"ipCidrRange,omitempty"`
|
||||
|
||||
// Ipv6CidrRange: [Output Only] The range of internal IPv6 addresses
|
||||
// that are owned by this subnetwork.
|
||||
Ipv6CidrRange string `json:"ipv6CidrRange,omitempty"`
|
||||
|
||||
// Kind: [Output Only] Type of the resource. Always compute#subnetwork
|
||||
// for Subnetwork resources.
|
||||
Kind string `json:"kind,omitempty"`
|
||||
@@ -26667,7 +26751,7 @@ type Subnetwork struct {
|
||||
// Name: The name of the resource, provided by the client when initially
|
||||
// creating the resource. The name must be 1-63 characters long, and
|
||||
// comply with RFC1035. Specifically, the name must be 1-63 characters
|
||||
// long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
|
||||
// long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
// which means the first character must be a lowercase letter, and all
|
||||
// following characters must be a dash, lowercase letter, or digit,
|
||||
// except the last character, which cannot be a dash.
|
||||
@@ -27409,7 +27493,7 @@ type TargetHttpProxy struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -27695,7 +27779,7 @@ type TargetHttpsProxy struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -27956,7 +28040,7 @@ type TargetInstance struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -28519,7 +28603,7 @@ type TargetPool struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -29333,7 +29417,7 @@ type TargetSslProxy struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -29630,7 +29714,7 @@ type TargetTcpProxy struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -29878,7 +29962,7 @@ type TargetVpnGateway struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -30554,7 +30638,7 @@ type UrlMap struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
@@ -31233,7 +31317,7 @@ type VpnTunnel struct {
|
||||
// Name: Name of the resource. Provided by the client when the resource
|
||||
// is created. The name must be 1-63 characters long, and comply with
|
||||
// RFC1035. Specifically, the name must be 1-63 characters long and
|
||||
// match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
|
||||
// match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means
|
||||
// the first character must be a lowercase letter, and all following
|
||||
// characters must be a dash, lowercase letter, or digit, except the
|
||||
// last character, which cannot be a dash.
|
||||
|
Reference in New Issue
Block a user