diff --git a/appengine/v1/appengine-api.json b/appengine/v1/appengine-api.json index 225390c1251..8567e082590 100644 --- a/appengine/v1/appengine-api.json +++ b/appengine/v1/appengine-api.json @@ -1718,7 +1718,7 @@ } } }, - "revision": "20240722", + "revision": "20240906", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -2480,6 +2480,24 @@ }, "type": "object" }, + "GceTag": { + "description": "For use only by GCE. GceTag is a wrapper around the GCE administrative tag with parent info.", + "id": "GceTag", + "properties": { + "parent": { + "description": "The parents(s) of the tag. Eg. projects/123, folders/456 It usually contains only one parent. But, in some corner cases, it can contain multiple parents. Currently, organizations are not supported.", + "items": { + "type": "string" + }, + "type": "array" + }, + "tag": { + "description": "The administrative_tag name.", + "type": "string" + } + }, + "type": "object" + }, "GoogleAppengineV1betaLocationMetadata": { "description": "Metadata for the given google.cloud.location.Location.", "id": "GoogleAppengineV1betaLocationMetadata", @@ -3343,6 +3361,13 @@ ], "type": "string" }, + "gceTag": { + "description": "The GCE tags associated with the consumer project and those inherited due to their ancestry, if any. Not supported by CCFE.", + "items": { + "$ref": "GceTag" + }, + "type": "array" + }, "p4ServiceAccount": { "description": "The service account authorized to operate on the consumer project. Note: CCFE only propagates P4SA with default tag to CLH.", "type": "string" diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index 2464c563617..5a307ed2065 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -1428,6 +1428,33 @@ func (s FlexibleRuntimeSettings) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GceTag: For use only by GCE. GceTag is a wrapper around the GCE +// administrative tag with parent info. +type GceTag struct { + // Parent: The parents(s) of the tag. Eg. projects/123, folders/456 It usually + // contains only one parent. But, in some corner cases, it can contain multiple + // parents. Currently, organizations are not supported. + Parent []string `json:"parent,omitempty"` + // Tag: The administrative_tag name. + Tag string `json:"tag,omitempty"` + // ForceSendFields is a list of field names (e.g. "Parent") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Parent") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GceTag) MarshalJSON() ([]byte, error) { + type NoMethod GceTag + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleAppengineV1betaLocationMetadata: Metadata for the given // google.cloud.location.Location. type GoogleAppengineV1betaLocationMetadata struct { @@ -2469,6 +2496,9 @@ type ProjectsMetadata struct { // completely removed. This is often due to a data governance purge request and // therefore resources should be deleted when this state is reached. ConsumerProjectState string `json:"consumerProjectState,omitempty"` + // GceTag: The GCE tags associated with the consumer project and those + // inherited due to their ancestry, if any. Not supported by CCFE. + GceTag []*GceTag `json:"gceTag,omitempty"` // P4ServiceAccount: The service account authorized to operate on the consumer // project. Note: CCFE only propagates P4SA with default tag to CLH. P4ServiceAccount string `json:"p4ServiceAccount,omitempty"` diff --git a/appengine/v1alpha/appengine-api.json b/appengine/v1alpha/appengine-api.json index 433baa51c4f..ac63e22e42d 100644 --- a/appengine/v1alpha/appengine-api.json +++ b/appengine/v1alpha/appengine-api.json @@ -946,7 +946,7 @@ } } }, - "revision": "20240415", + "revision": "20240906", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "AuthorizedCertificate": { @@ -1125,6 +1125,24 @@ "properties": {}, "type": "object" }, + "GceTag": { + "description": "For use only by GCE. GceTag is a wrapper around the GCE administrative tag with parent info.", + "id": "GceTag", + "properties": { + "parent": { + "description": "The parents(s) of the tag. Eg. projects/123, folders/456 It usually contains only one parent. But, in some corner cases, it can contain multiple parents. Currently, organizations are not supported.", + "items": { + "type": "string" + }, + "type": "array" + }, + "tag": { + "description": "The administrative_tag name.", + "type": "string" + } + }, + "type": "object" + }, "GoogleAppengineV1betaLocationMetadata": { "description": "Metadata for the given google.cloud.location.Location.", "id": "GoogleAppengineV1betaLocationMetadata", @@ -1551,6 +1569,13 @@ ], "type": "string" }, + "gceTag": { + "description": "The GCE tags associated with the consumer project and those inherited due to their ancestry, if any. Not supported by CCFE.", + "items": { + "$ref": "GceTag" + }, + "type": "array" + }, "p4ServiceAccount": { "description": "The service account authorized to operate on the consumer project. Note: CCFE only propagates P4SA with default tag to CLH.", "type": "string" diff --git a/appengine/v1alpha/appengine-gen.go b/appengine/v1alpha/appengine-gen.go index 59a3594213d..bb373e06448 100644 --- a/appengine/v1alpha/appengine-gen.go +++ b/appengine/v1alpha/appengine-gen.go @@ -600,6 +600,33 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } +// GceTag: For use only by GCE. GceTag is a wrapper around the GCE +// administrative tag with parent info. +type GceTag struct { + // Parent: The parents(s) of the tag. Eg. projects/123, folders/456 It usually + // contains only one parent. But, in some corner cases, it can contain multiple + // parents. Currently, organizations are not supported. + Parent []string `json:"parent,omitempty"` + // Tag: The administrative_tag name. + Tag string `json:"tag,omitempty"` + // ForceSendFields is a list of field names (e.g. "Parent") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Parent") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GceTag) MarshalJSON() ([]byte, error) { + type NoMethod GceTag + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleAppengineV1betaLocationMetadata: Metadata for the given // google.cloud.location.Location. type GoogleAppengineV1betaLocationMetadata struct { @@ -1126,6 +1153,9 @@ type ProjectsMetadata struct { // completely removed. This is often due to a data governance purge request and // therefore resources should be deleted when this state is reached. ConsumerProjectState string `json:"consumerProjectState,omitempty"` + // GceTag: The GCE tags associated with the consumer project and those + // inherited due to their ancestry, if any. Not supported by CCFE. + GceTag []*GceTag `json:"gceTag,omitempty"` // P4ServiceAccount: The service account authorized to operate on the consumer // project. Note: CCFE only propagates P4SA with default tag to CLH. P4ServiceAccount string `json:"p4ServiceAccount,omitempty"` diff --git a/appengine/v1beta/appengine-api.json b/appengine/v1beta/appengine-api.json index b25dc2e75f7..0429678e6e2 100644 --- a/appengine/v1beta/appengine-api.json +++ b/appengine/v1beta/appengine-api.json @@ -1918,7 +1918,7 @@ } } }, - "revision": "20240722", + "revision": "20240906", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -2731,6 +2731,24 @@ }, "type": "object" }, + "GceTag": { + "description": "For use only by GCE. GceTag is a wrapper around the GCE administrative tag with parent info.", + "id": "GceTag", + "properties": { + "parent": { + "description": "The parents(s) of the tag. Eg. projects/123, folders/456 It usually contains only one parent. But, in some corner cases, it can contain multiple parents. Currently, organizations are not supported.", + "items": { + "type": "string" + }, + "type": "array" + }, + "tag": { + "description": "The administrative_tag name.", + "type": "string" + } + }, + "type": "object" + }, "GoogleAppengineV1betaLocationMetadata": { "description": "Metadata for the given google.cloud.location.Location.", "id": "GoogleAppengineV1betaLocationMetadata", @@ -3594,6 +3612,13 @@ ], "type": "string" }, + "gceTag": { + "description": "The GCE tags associated with the consumer project and those inherited due to their ancestry, if any. Not supported by CCFE.", + "items": { + "$ref": "GceTag" + }, + "type": "array" + }, "p4ServiceAccount": { "description": "The service account authorized to operate on the consumer project. Note: CCFE only propagates P4SA with default tag to CLH.", "type": "string" diff --git a/appengine/v1beta/appengine-gen.go b/appengine/v1beta/appengine-gen.go index 6a86d77808d..491f5945051 100644 --- a/appengine/v1beta/appengine-gen.go +++ b/appengine/v1beta/appengine-gen.go @@ -1520,6 +1520,33 @@ func (s FlexibleRuntimeSettings) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GceTag: For use only by GCE. GceTag is a wrapper around the GCE +// administrative tag with parent info. +type GceTag struct { + // Parent: The parents(s) of the tag. Eg. projects/123, folders/456 It usually + // contains only one parent. But, in some corner cases, it can contain multiple + // parents. Currently, organizations are not supported. + Parent []string `json:"parent,omitempty"` + // Tag: The administrative_tag name. + Tag string `json:"tag,omitempty"` + // ForceSendFields is a list of field names (e.g. "Parent") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Parent") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GceTag) MarshalJSON() ([]byte, error) { + type NoMethod GceTag + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleAppengineV1betaLocationMetadata: Metadata for the given // google.cloud.location.Location. type GoogleAppengineV1betaLocationMetadata struct { @@ -2561,6 +2588,9 @@ type ProjectsMetadata struct { // completely removed. This is often due to a data governance purge request and // therefore resources should be deleted when this state is reached. ConsumerProjectState string `json:"consumerProjectState,omitempty"` + // GceTag: The GCE tags associated with the consumer project and those + // inherited due to their ancestry, if any. Not supported by CCFE. + GceTag []*GceTag `json:"gceTag,omitempty"` // P4ServiceAccount: The service account authorized to operate on the consumer // project. Note: CCFE only propagates P4SA with default tag to CLH. P4ServiceAccount string `json:"p4ServiceAccount,omitempty"` diff --git a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-api.json b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-api.json index 37b901c6dbc..ac2e60fa84e 100644 --- a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-api.json +++ b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-api.json @@ -512,7 +512,7 @@ } } }, - "revision": "20240621", + "revision": "20240904", "rootUrl": "https://contactcenteraiplatform.googleapis.com/", "schemas": { "AdminUser": { @@ -703,7 +703,7 @@ "type": "object" }, "Critical": { - "description": "Instances in this Channel will receive updates after all instances in `Critical` were updated + 2 days. They also will only be updated outside of their peak hours.", + "description": "Instances in this Channel will receive updates after all instances in `Normal` were updated. They also will only be updated outside of their peak hours.", "id": "Critical", "properties": { "peakHours": { @@ -1034,6 +1034,14 @@ "type": "string" }, "type": "array" + }, + "producerProjectIds": { + "description": "Output only. The CCAIP tenant project ids.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" } }, "type": "object" diff --git a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go index f8aeeb6d8df..63c793d6a6e 100644 --- a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go +++ b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go @@ -375,8 +375,8 @@ func (s ContactCenterQuota) MarshalJSON() ([]byte, error) { } // Critical: Instances in this Channel will receive updates after all instances -// in `Critical` were updated + 2 days. They also will only be updated outside -// of their peak hours. +// in `Normal` were updated. They also will only be updated outside of their +// peak hours. type Critical struct { // PeakHours: Required. Hours during which the instance should not be updated. PeakHours []*WeeklySchedule `json:"peakHours,omitempty"` @@ -741,6 +741,8 @@ type PscSetting struct { // traffic to the service attachment. This field should be filled only for the // ingress components. AllowedConsumerProjectIds []string `json:"allowedConsumerProjectIds,omitempty"` + // ProducerProjectIds: Output only. The CCAIP tenant project ids. + ProducerProjectIds []string `json:"producerProjectIds,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowedConsumerProjectIds") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/file/v1/file-api.json b/file/v1/file-api.json index 6718a32f9c5..576e7ee5b2b 100644 --- a/file/v1/file-api.json +++ b/file/v1/file-api.json @@ -902,7 +902,7 @@ } } }, - "revision": "20240821", + "revision": "20240905", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -1140,6 +1140,18 @@ }, "type": "object" }, + "FixedIOPS": { + "description": "Fixed IOPS (input/output operations per second) parameters.", + "id": "FixedIOPS", + "properties": { + "maxReadIops": { + "description": "Required. Maximum raw read IOPS.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSaasacceleratorManagementProvidersV1Instance": { "description": "Instance represents the interface for SLM services to actuate the state of control plane resources. Example Instance in JSON, where consumer-project-number=123456, producer-project-id=cloud-sql: ```json Instance: { \"name\": \"projects/123456/locations/us-east1/instances/prod-instance\", \"create_time\": { \"seconds\": 1526406431, }, \"labels\": { \"env\": \"prod\", \"foo\": \"bar\" }, \"state\": READY, \"software_versions\": { \"software_update\": \"cloud-sql-09-28-2018\", }, \"maintenance_policy_names\": { \"UpdatePolicy\": \"projects/123456/locations/us-east1/maintenancePolicies/prod-update-policy\", } \"tenant_project_id\": \"cloud-sql-test-tenant\", \"producer_metadata\": { \"cloud-sql-tier\": \"basic\", \"cloud-sql-instance-size\": \"1G\", }, \"provisioned_resources\": [ { \"resource-type\": \"compute-instance\", \"resource-url\": \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\", } ], \"maintenance_schedules\": { \"csa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, }, \"ncsa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, } }, \"consumer_defined_name\": \"my-sql-instance1\", } ``` LINT.IfChange", "id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance", @@ -1415,10 +1427,27 @@ }, "type": "object" }, + "IOPSPerTB": { + "description": "IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).", + "id": "IOPSPerTB", + "properties": { + "maxReadIopsPerTb": { + "description": "Required. Maximum read IOPS per TiB.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "Instance": { "description": "A Filestore instance.", "id": "Instance", "properties": { + "configurablePerformanceEnabled": { + "description": "Output only. Indicates whether this instance's performance is configurable. If enabled, adjust it using the 'performance_config' field.", + "readOnly": true, + "type": "boolean" + }, "createTime": { "description": "Output only. The time when the instance was created.", "format": "google-datetime", @@ -1471,6 +1500,15 @@ }, "type": "array" }, + "performanceConfig": { + "$ref": "PerformanceConfig", + "description": "Optional. Used to configure performance." + }, + "performanceLimits": { + "$ref": "PerformanceLimits", + "description": "Output only. Used for getting performance limits.", + "readOnly": true + }, "protocol": { "description": "Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: `NFS_V3`.", "enum": [ @@ -1975,6 +2013,52 @@ }, "type": "object" }, + "PerformanceConfig": { + "description": "Used for setting the performance configuration. If the user doesn't specify PerformanceConfig, automatically provision the default performance settings as described in https://cloud.google.com/filestore/docs/performance. Larger instances will be linearly set to more IOPS. If the instance's capacity is increased or decreased, its performance will be automatically adjusted upwards or downwards accordingly (respectively).", + "id": "PerformanceConfig", + "properties": { + "fixedIops": { + "$ref": "FixedIOPS", + "description": "Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity. Value must be a multiple of 1000. If the chosen value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error." + }, + "iopsPerTb": { + "$ref": "IOPSPerTB", + "description": "Provision IOPS dynamically based on the capacity of the instance. Provisioned read IOPS will be calculated by multiplying the capacity of the instance in TiB by the `iops_per_tb` value. For example, for a 2 TiB instance with an `iops_per_tb` value of 17000 the provisioned read IOPS will be 34000. If the calculated value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error." + } + }, + "type": "object" + }, + "PerformanceLimits": { + "description": "The enforced performance limits, calculated from the instance's performance configuration.", + "id": "PerformanceLimits", + "properties": { + "maxReadIops": { + "description": "Output only. The max read IOPS.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "maxReadThroughputBps": { + "description": "Output only. The max read throughput in bytes per second.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "maxWriteIops": { + "description": "Output only. The max write IOPS.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "maxWriteThroughputBps": { + "description": "Output only. The max write throughput in bytes per second.", + "format": "int64", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "PromoteReplicaRequest": { "description": "PromoteReplicaRequest promotes a Filestore standby instance (replica).", "id": "PromoteReplicaRequest", diff --git a/file/v1/file-gen.go b/file/v1/file-gen.go index c7d8cd0cb20..4acf8b2bb55 100644 --- a/file/v1/file-gen.go +++ b/file/v1/file-gen.go @@ -474,6 +474,28 @@ func (s FileShareConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// FixedIOPS: Fixed IOPS (input/output operations per second) parameters. +type FixedIOPS struct { + // MaxReadIops: Required. Maximum raw read IOPS. + MaxReadIops int64 `json:"maxReadIops,omitempty,string"` + // ForceSendFields is a list of field names (e.g. "MaxReadIops") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "MaxReadIops") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s FixedIOPS) MarshalJSON() ([]byte, error) { + type NoMethod FixedIOPS + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudSaasacceleratorManagementProvidersV1Instance: Instance represents // the interface for SLM services to actuate the state of control plane // resources. Example Instance in JSON, where consumer-project-number=123456, @@ -852,8 +874,34 @@ func (s GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata) MarshalJSON( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// IOPSPerTB: IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB). +type IOPSPerTB struct { + // MaxReadIopsPerTb: Required. Maximum read IOPS per TiB. + MaxReadIopsPerTb int64 `json:"maxReadIopsPerTb,omitempty,string"` + // ForceSendFields is a list of field names (e.g. "MaxReadIopsPerTb") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "MaxReadIopsPerTb") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s IOPSPerTB) MarshalJSON() ([]byte, error) { + type NoMethod IOPSPerTB + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Instance: A Filestore instance. type Instance struct { + // ConfigurablePerformanceEnabled: Output only. Indicates whether this + // instance's performance is configurable. If enabled, adjust it using the + // 'performance_config' field. + ConfigurablePerformanceEnabled bool `json:"configurablePerformanceEnabled,omitempty"` // CreateTime: Output only. The time when the instance was created. CreateTime string `json:"createTime,omitempty"` // DeletionProtectionEnabled: Optional. Indicates whether the instance is @@ -880,6 +928,10 @@ type Instance struct { // Networks: VPC networks to which the instance is connected. For this version, // only a single network is supported. Networks []*NetworkConfig `json:"networks,omitempty"` + // PerformanceConfig: Optional. Used to configure performance. + PerformanceConfig *PerformanceConfig `json:"performanceConfig,omitempty"` + // PerformanceLimits: Output only. Used for getting performance limits. + PerformanceLimits *PerformanceLimits `json:"performanceLimits,omitempty"` // Protocol: Immutable. The protocol indicates the access protocol for all // shares in the instance. This field is immutable and it cannot be changed // after the instance has been created. Default value: `NFS_V3`. @@ -956,15 +1008,16 @@ type Instance struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See + // ForceSendFields is a list of field names (e.g. + // "ConfigurablePerformanceEnabled") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted from + // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See + // NullFields is a list of field names (e.g. "ConfigurablePerformanceEnabled") + // to include in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } @@ -1439,6 +1492,81 @@ func (s OperationMetadata) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// PerformanceConfig: Used for setting the performance configuration. If the +// user doesn't specify PerformanceConfig, automatically provision the default +// performance settings as described in +// https://cloud.google.com/filestore/docs/performance. Larger instances will +// be linearly set to more IOPS. If the instance's capacity is increased or +// decreased, its performance will be automatically adjusted upwards or +// downwards accordingly (respectively). +type PerformanceConfig struct { + // FixedIops: Choose a fixed provisioned IOPS value for the instance, which + // will remain constant regardless of instance capacity. Value must be a + // multiple of 1000. If the chosen value is outside the supported range for the + // instance's capacity during instance creation, instance creation will fail + // with an `InvalidArgument` error. Similarly, if an instance capacity update + // would result in a value outside the supported range, the update will fail + // with an `InvalidArgument` error. + FixedIops *FixedIOPS `json:"fixedIops,omitempty"` + // IopsPerTb: Provision IOPS dynamically based on the capacity of the instance. + // Provisioned read IOPS will be calculated by multiplying the capacity of the + // instance in TiB by the `iops_per_tb` value. For example, for a 2 TiB + // instance with an `iops_per_tb` value of 17000 the provisioned read IOPS will + // be 34000. If the calculated value is outside the supported range for the + // instance's capacity during instance creation, instance creation will fail + // with an `InvalidArgument` error. Similarly, if an instance capacity update + // would result in a value outside the supported range, the update will fail + // with an `InvalidArgument` error. + IopsPerTb *IOPSPerTB `json:"iopsPerTb,omitempty"` + // ForceSendFields is a list of field names (e.g. "FixedIops") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "FixedIops") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s PerformanceConfig) MarshalJSON() ([]byte, error) { + type NoMethod PerformanceConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// PerformanceLimits: The enforced performance limits, calculated from the +// instance's performance configuration. +type PerformanceLimits struct { + // MaxReadIops: Output only. The max read IOPS. + MaxReadIops int64 `json:"maxReadIops,omitempty,string"` + // MaxReadThroughputBps: Output only. The max read throughput in bytes per + // second. + MaxReadThroughputBps int64 `json:"maxReadThroughputBps,omitempty,string"` + // MaxWriteIops: Output only. The max write IOPS. + MaxWriteIops int64 `json:"maxWriteIops,omitempty,string"` + // MaxWriteThroughputBps: Output only. The max write throughput in bytes per + // second. + MaxWriteThroughputBps int64 `json:"maxWriteThroughputBps,omitempty,string"` + // ForceSendFields is a list of field names (e.g. "MaxReadIops") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "MaxReadIops") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s PerformanceLimits) MarshalJSON() ([]byte, error) { + type NoMethod PerformanceLimits + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // PromoteReplicaRequest: PromoteReplicaRequest promotes a Filestore standby // instance (replica). type PromoteReplicaRequest struct { diff --git a/file/v1beta1/file-api.json b/file/v1beta1/file-api.json index 8c4f831ff90..22b3110e59a 100644 --- a/file/v1beta1/file-api.json +++ b/file/v1beta1/file-api.json @@ -1069,7 +1069,7 @@ } } }, - "revision": "20240821", + "revision": "20240905", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -1318,6 +1318,18 @@ }, "type": "object" }, + "FixedIOPS": { + "description": "Fixed IOPS (input/output operations per second) parameters.", + "id": "FixedIOPS", + "properties": { + "maxReadIops": { + "description": "Required. Maximum raw read IOPS.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudSaasacceleratorManagementProvidersV1Instance": { "description": "Instance represents the interface for SLM services to actuate the state of control plane resources. Example Instance in JSON, where consumer-project-number=123456, producer-project-id=cloud-sql: ```json Instance: { \"name\": \"projects/123456/locations/us-east1/instances/prod-instance\", \"create_time\": { \"seconds\": 1526406431, }, \"labels\": { \"env\": \"prod\", \"foo\": \"bar\" }, \"state\": READY, \"software_versions\": { \"software_update\": \"cloud-sql-09-28-2018\", }, \"maintenance_policy_names\": { \"UpdatePolicy\": \"projects/123456/locations/us-east1/maintenancePolicies/prod-update-policy\", } \"tenant_project_id\": \"cloud-sql-test-tenant\", \"producer_metadata\": { \"cloud-sql-tier\": \"basic\", \"cloud-sql-instance-size\": \"1G\", }, \"provisioned_resources\": [ { \"resource-type\": \"compute-instance\", \"resource-url\": \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\", } ], \"maintenance_schedules\": { \"csa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, }, \"ncsa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, } }, \"consumer_defined_name\": \"my-sql-instance1\", } ``` LINT.IfChange", "id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance", @@ -1593,6 +1605,18 @@ }, "type": "object" }, + "IOPSPerTB": { + "description": "IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).", + "id": "IOPSPerTB", + "properties": { + "maxReadIopsPerTb": { + "description": "Required. Maximum read IOPS per TiB.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "Instance": { "description": "A Filestore instance.", "id": "Instance", @@ -1608,6 +1632,11 @@ "readOnly": true, "type": "string" }, + "configurablePerformanceEnabled": { + "description": "Output only. Indicates whether this instance's performance is configurable. If enabled, adjust it using the 'performance_config' field.", + "readOnly": true, + "type": "boolean" + }, "createTime": { "description": "Output only. The time when the instance was created.", "format": "google-datetime", @@ -1679,6 +1708,15 @@ }, "type": "array" }, + "performanceConfig": { + "$ref": "PerformanceConfig", + "description": "Optional. Used to configure performance." + }, + "performanceLimits": { + "$ref": "PerformanceLimits", + "description": "Output only. Used for getting performance limits.", + "readOnly": true + }, "protocol": { "description": "Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: `NFS_V3`.", "enum": [ @@ -2244,6 +2282,52 @@ }, "type": "object" }, + "PerformanceConfig": { + "description": "Used for setting the performance configuration. If the user doesn't specify PerformanceConfig, automatically provision the default performance settings as described in https://cloud.google.com/filestore/docs/performance. Larger instances will be linearly set to more IOPS. If the instance's capacity is increased or decreased, its performance will be automatically adjusted upwards or downwards accordingly (respectively).", + "id": "PerformanceConfig", + "properties": { + "fixedIops": { + "$ref": "FixedIOPS", + "description": "Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity. Value must be a multiple of 1000. If the chosen value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error." + }, + "iopsPerTb": { + "$ref": "IOPSPerTB", + "description": "Provision IOPS dynamically based on the capacity of the instance. Provisioned read IOPS will be calculated by multiplying the capacity of the instance in TiB by the `iops_per_tb` value. For example, for a 2 TiB instance with an `iops_per_tb` value of 17000 the provisioned read IOPS will be 34000. If the calculated value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error." + } + }, + "type": "object" + }, + "PerformanceLimits": { + "description": "The enforced performance limits, calculated from the instance's performance configuration.", + "id": "PerformanceLimits", + "properties": { + "maxReadIops": { + "description": "Output only. The max read IOPS.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "maxReadThroughputBps": { + "description": "Output only. The max read throughput in bytes per second.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "maxWriteIops": { + "description": "Output only. The max write IOPS.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "maxWriteThroughputBps": { + "description": "Output only. The max write throughput in bytes per second.", + "format": "int64", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "PromoteReplicaRequest": { "description": "PromoteReplicaRequest promotes a Filestore standby instance (replica).", "id": "PromoteReplicaRequest", diff --git a/file/v1beta1/file-gen.go b/file/v1beta1/file-gen.go index 6ae24bd9ab4..5c40637c6c6 100644 --- a/file/v1beta1/file-gen.go +++ b/file/v1beta1/file-gen.go @@ -509,6 +509,28 @@ func (s FileShareConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// FixedIOPS: Fixed IOPS (input/output operations per second) parameters. +type FixedIOPS struct { + // MaxReadIops: Required. Maximum raw read IOPS. + MaxReadIops int64 `json:"maxReadIops,omitempty,string"` + // ForceSendFields is a list of field names (e.g. "MaxReadIops") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "MaxReadIops") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s FixedIOPS) MarshalJSON() ([]byte, error) { + type NoMethod FixedIOPS + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudSaasacceleratorManagementProvidersV1Instance: Instance represents // the interface for SLM services to actuate the state of control plane // resources. Example Instance in JSON, where consumer-project-number=123456, @@ -887,6 +909,28 @@ func (s GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata) MarshalJSON( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// IOPSPerTB: IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB). +type IOPSPerTB struct { + // MaxReadIopsPerTb: Required. Maximum read IOPS per TiB. + MaxReadIopsPerTb int64 `json:"maxReadIopsPerTb,omitempty,string"` + // ForceSendFields is a list of field names (e.g. "MaxReadIopsPerTb") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "MaxReadIopsPerTb") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s IOPSPerTB) MarshalJSON() ([]byte, error) { + type NoMethod IOPSPerTB + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Instance: A Filestore instance. type Instance struct { // CapacityGb: The storage capacity of the instance in gigabytes (GB = 1024^3 @@ -895,6 +939,10 @@ type Instance struct { CapacityGb int64 `json:"capacityGb,omitempty,string"` // CapacityStepSizeGb: Output only. The increase/decrease capacity step size. CapacityStepSizeGb int64 `json:"capacityStepSizeGb,omitempty,string"` + // ConfigurablePerformanceEnabled: Output only. Indicates whether this + // instance's performance is configurable. If enabled, adjust it using the + // 'performance_config' field. + ConfigurablePerformanceEnabled bool `json:"configurablePerformanceEnabled,omitempty"` // CreateTime: Output only. The time when the instance was created. CreateTime string `json:"createTime,omitempty"` // DeletionProtectionEnabled: Optional. Indicates whether the instance is @@ -933,6 +981,10 @@ type Instance struct { // Networks: VPC networks to which the instance is connected. For this version, // only a single network is supported. Networks []*NetworkConfig `json:"networks,omitempty"` + // PerformanceConfig: Optional. Used to configure performance. + PerformanceConfig *PerformanceConfig `json:"performanceConfig,omitempty"` + // PerformanceLimits: Output only. Used for getting performance limits. + PerformanceLimits *PerformanceLimits `json:"performanceLimits,omitempty"` // Protocol: Immutable. The protocol indicates the access protocol for all // shares in the instance. This field is immutable and it cannot be changed // after the instance has been created. Default value: `NFS_V3`. @@ -1565,6 +1617,81 @@ func (s OperationMetadata) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// PerformanceConfig: Used for setting the performance configuration. If the +// user doesn't specify PerformanceConfig, automatically provision the default +// performance settings as described in +// https://cloud.google.com/filestore/docs/performance. Larger instances will +// be linearly set to more IOPS. If the instance's capacity is increased or +// decreased, its performance will be automatically adjusted upwards or +// downwards accordingly (respectively). +type PerformanceConfig struct { + // FixedIops: Choose a fixed provisioned IOPS value for the instance, which + // will remain constant regardless of instance capacity. Value must be a + // multiple of 1000. If the chosen value is outside the supported range for the + // instance's capacity during instance creation, instance creation will fail + // with an `InvalidArgument` error. Similarly, if an instance capacity update + // would result in a value outside the supported range, the update will fail + // with an `InvalidArgument` error. + FixedIops *FixedIOPS `json:"fixedIops,omitempty"` + // IopsPerTb: Provision IOPS dynamically based on the capacity of the instance. + // Provisioned read IOPS will be calculated by multiplying the capacity of the + // instance in TiB by the `iops_per_tb` value. For example, for a 2 TiB + // instance with an `iops_per_tb` value of 17000 the provisioned read IOPS will + // be 34000. If the calculated value is outside the supported range for the + // instance's capacity during instance creation, instance creation will fail + // with an `InvalidArgument` error. Similarly, if an instance capacity update + // would result in a value outside the supported range, the update will fail + // with an `InvalidArgument` error. + IopsPerTb *IOPSPerTB `json:"iopsPerTb,omitempty"` + // ForceSendFields is a list of field names (e.g. "FixedIops") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "FixedIops") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s PerformanceConfig) MarshalJSON() ([]byte, error) { + type NoMethod PerformanceConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// PerformanceLimits: The enforced performance limits, calculated from the +// instance's performance configuration. +type PerformanceLimits struct { + // MaxReadIops: Output only. The max read IOPS. + MaxReadIops int64 `json:"maxReadIops,omitempty,string"` + // MaxReadThroughputBps: Output only. The max read throughput in bytes per + // second. + MaxReadThroughputBps int64 `json:"maxReadThroughputBps,omitempty,string"` + // MaxWriteIops: Output only. The max write IOPS. + MaxWriteIops int64 `json:"maxWriteIops,omitempty,string"` + // MaxWriteThroughputBps: Output only. The max write throughput in bytes per + // second. + MaxWriteThroughputBps int64 `json:"maxWriteThroughputBps,omitempty,string"` + // ForceSendFields is a list of field names (e.g. "MaxReadIops") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "MaxReadIops") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s PerformanceLimits) MarshalJSON() ([]byte, error) { + type NoMethod PerformanceLimits + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // PromoteReplicaRequest: PromoteReplicaRequest promotes a Filestore standby // instance (replica). type PromoteReplicaRequest struct { diff --git a/migrationcenter/v1/migrationcenter-api.json b/migrationcenter/v1/migrationcenter-api.json index 6212c8652b4..0b802f831b9 100644 --- a/migrationcenter/v1/migrationcenter-api.json +++ b/migrationcenter/v1/migrationcenter-api.json @@ -2309,7 +2309,7 @@ } } }, - "revision": "20240822", + "revision": "20240906", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -2850,12 +2850,14 @@ "id": "ComputeEngineShapeDescriptor", "properties": { "logicalCoreCount": { - "description": "Number of logical cores.", + "description": "Output only. Number of logical cores.", "format": "int32", + "readOnly": true, "type": "integer" }, "machineType": { - "description": "Compute Engine machine type.", + "description": "Output only. Compute Engine machine type.", + "readOnly": true, "type": "string" }, "memoryMb": { @@ -2869,14 +2871,16 @@ "type": "integer" }, "series": { - "description": "Compute Engine machine series.", + "description": "Output only. Compute Engine machine series.", + "readOnly": true, "type": "string" }, "storage": { - "description": "Compute Engine storage. Never empty.", + "description": "Output only. Compute Engine storage. Never empty.", "items": { "$ref": "ComputeStorageDescriptor" }, + "readOnly": true, "type": "array" } }, @@ -2887,12 +2891,13 @@ "id": "ComputeStorageDescriptor", "properties": { "sizeGb": { - "description": "Disk size in GiB.", + "description": "Output only. Disk size in GiB.", "format": "int32", + "readOnly": true, "type": "integer" }, "type": { - "description": "Disk type backing the storage.", + "description": "Output only. Disk type backing the storage.", "enum": [ "PERSISTENT_DISK_TYPE_UNSPECIFIED", "PERSISTENT_DISK_TYPE_STANDARD", @@ -2905,6 +2910,7 @@ "Balanced Persistent Disk.", "SSD Persistent Disk." ], + "readOnly": true, "type": "string" } }, @@ -3377,7 +3383,7 @@ "id": "FitDescriptor", "properties": { "fitLevel": { - "description": "Fit level.", + "description": "Output only. Fit level.", "enum": [ "FIT_LEVEL_UNSPECIFIED", "FIT", @@ -3390,6 +3396,7 @@ "No Fit.", "Fit with effort." ], + "readOnly": true, "type": "string" } }, diff --git a/migrationcenter/v1/migrationcenter-gen.go b/migrationcenter/v1/migrationcenter-gen.go index 09778762cc1..ae3992f3ecd 100644 --- a/migrationcenter/v1/migrationcenter-gen.go +++ b/migrationcenter/v1/migrationcenter-gen.go @@ -1035,17 +1035,17 @@ func (s ComputeEnginePreferences) MarshalJSON() ([]byte, error) { // ComputeEngineShapeDescriptor: Compute Engine target shape descriptor. type ComputeEngineShapeDescriptor struct { - // LogicalCoreCount: Number of logical cores. + // LogicalCoreCount: Output only. Number of logical cores. LogicalCoreCount int64 `json:"logicalCoreCount,omitempty"` - // MachineType: Compute Engine machine type. + // MachineType: Output only. Compute Engine machine type. MachineType string `json:"machineType,omitempty"` // MemoryMb: Memory in mebibytes. MemoryMb int64 `json:"memoryMb,omitempty"` // PhysicalCoreCount: Number of physical cores. PhysicalCoreCount int64 `json:"physicalCoreCount,omitempty"` - // Series: Compute Engine machine series. + // Series: Output only. Compute Engine machine series. Series string `json:"series,omitempty"` - // Storage: Compute Engine storage. Never empty. + // Storage: Output only. Compute Engine storage. Never empty. Storage []*ComputeStorageDescriptor `json:"storage,omitempty"` // ForceSendFields is a list of field names (e.g. "LogicalCoreCount") to // unconditionally include in API requests. By default, fields with empty or @@ -1067,9 +1067,9 @@ func (s ComputeEngineShapeDescriptor) MarshalJSON() ([]byte, error) { // ComputeStorageDescriptor: Compute Engine storage option descriptor. type ComputeStorageDescriptor struct { - // SizeGb: Disk size in GiB. + // SizeGb: Output only. Disk size in GiB. SizeGb int64 `json:"sizeGb,omitempty"` - // Type: Disk type backing the storage. + // Type: Output only. Disk type backing the storage. // // Possible values: // "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified (default value). @@ -1680,7 +1680,7 @@ func (s FileValidationReport) MarshalJSON() ([]byte, error) { // FitDescriptor: Describes the fit level of an asset for migration to a // specific target. type FitDescriptor struct { - // FitLevel: Fit level. + // FitLevel: Output only. Fit level. // // Possible values: // "FIT_LEVEL_UNSPECIFIED" - Not enough information. diff --git a/migrationcenter/v1alpha1/migrationcenter-api.json b/migrationcenter/v1alpha1/migrationcenter-api.json index 17e8c91d0a8..491194d60bd 100644 --- a/migrationcenter/v1alpha1/migrationcenter-api.json +++ b/migrationcenter/v1alpha1/migrationcenter-api.json @@ -2548,7 +2548,7 @@ } } }, - "revision": "20240822", + "revision": "20240906", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -2828,8 +2828,7 @@ }, "performanceData": { "$ref": "AssetPerformanceData", - "description": "Output only. Performance data for the asset.", - "readOnly": true + "description": "Performance data for the asset." }, "sources": { "description": "Output only. The list of sources contributing to the asset.", @@ -2969,6 +2968,10 @@ "readOnly": true, "type": "string" }, + "inventory": { + "$ref": "AssetsExportJobInventory", + "description": "Export asset inventory details." + }, "labels": { "additionalProperties": { "type": "string" @@ -2985,6 +2988,10 @@ "$ref": "AssetsExportJobNetworkDependencies", "description": "Export data regarding asset network dependencies." }, + "performanceData": { + "$ref": "AssetsExportJobPerformanceData", + "description": "Export asset with performance data." + }, "recentExecutions": { "description": "Output only. Recent non expired executions of the job.", "items": { @@ -2993,6 +3000,10 @@ "readOnly": true, "type": "array" }, + "showHidden": { + "description": "Optional. When this value is set to 'true' the response will include all assets, including those that are hidden.", + "type": "boolean" + }, "signedUriDestination": { "$ref": "SignedUriDestination", "description": "Export to Cloud Storage files downloadable using signed URIs." @@ -3027,6 +3038,12 @@ "readOnly": true, "type": "string" }, + "requestedAssetCount": { + "description": "Output only. Number of assets requested for export after resolving the requested filters.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "result": { "$ref": "AssetsExportJobExecutionResult", "description": "Output only. Result of the export execution.", @@ -3050,6 +3067,11 @@ "description": "Output only. Error encountered during export.", "readOnly": true }, + "outputFiles": { + "$ref": "OutputFileList", + "description": "Output only. List of output files.", + "readOnly": true + }, "signedUris": { "$ref": "SignedUris", "description": "Output only. Signed URLs for downloading export artifacts.", @@ -3069,6 +3091,12 @@ }, "type": "object" }, + "AssetsExportJobInventory": { + "description": "Configuration for asset inventory details exports.", + "id": "AssetsExportJobInventory", + "properties": {}, + "type": "object" + }, "AssetsExportJobNetworkDependencies": { "description": "Configuration for network dependencies exports.", "id": "AssetsExportJobNetworkDependencies", @@ -3081,6 +3109,18 @@ }, "type": "object" }, + "AssetsExportJobPerformanceData": { + "description": "Configuration for performance data exports.", + "id": "AssetsExportJobPerformanceData", + "properties": { + "maxDays": { + "description": "Optional. When this value is set to a positive integer, performance data will be returned for the most recent days for which data is available. When this value is unset (or set to zero), all available data is returned. The maximum value is 420; values above 420 will be coerced to 420. If unset (0 value) a default value of 40 will be used.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "AwsEc2PlatformDetails": { "description": "AWS EC2 specific details.", "id": "AwsEc2PlatformDetails", @@ -3228,7 +3268,7 @@ }, "cloudSqlForPostgresqlShape": { "$ref": "CloudSqlForPostgreSqlShape", - "description": "Cloud SQL for Postgres database shape." + "description": "Cloud SQL for PostgreSQL database shape." }, "cloudSqlShape": { "$ref": "CloudSqlForSqlServerShape", @@ -3653,7 +3693,7 @@ "type": "integer" }, "type": { - "description": "Disk type backing the storage.", + "description": "Output only. Disk type backing the storage.", "enum": [ "PERSISTENT_DISK_TYPE_UNSPECIFIED", "PERSISTENT_DISK_TYPE_STANDARD", @@ -3666,6 +3706,7 @@ "Balanced Persistent Disk.", "SSD Persistent Disk." ], + "readOnly": true, "type": "string" } }, @@ -3683,6 +3724,30 @@ }, "type": "object" }, + "CsvOutputFile": { + "description": "Contains a single output file of type CSV.", + "id": "CsvOutputFile", + "properties": { + "columnsCount": { + "description": "Output only. Number of columns in the file.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "rowCount": { + "description": "Output only. Number of rows in the file.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "signedUri": { + "$ref": "SignedUri", + "description": "Output only. Signed URI destination.", + "readOnly": true + } + }, + "type": "object" + }, "DailyResourceUsageAggregation": { "description": "Usage data aggregation for a single day.", "id": "DailyResourceUsageAggregation", @@ -4153,7 +4218,7 @@ "id": "DatabasePreferencesCloudSqlCommonBackup", "properties": { "backupMode": { - "description": "Optional. Mode of automated backups.", + "description": "Optional. Automated backup mode.", "enum": [ "BACKUP_MODE_UNSPECIFIED", "BACKUP_MODE_DISABLED", @@ -4695,7 +4760,7 @@ "id": "FitDescriptor", "properties": { "fitLevel": { - "description": "Fit level.", + "description": "Output only. Fit level.", "enum": [ "FIT_LEVEL_UNSPECIFIED", "FIT", @@ -4708,6 +4773,7 @@ "No Fit.", "Fit with effort." ], + "readOnly": true, "type": "string" } }, @@ -4926,7 +4992,8 @@ }, "hosts": { "$ref": "HostsEntryList", - "description": "Hosts file (/etc/hosts)." + "description": "Output only. Hosts file (/etc/hosts).", + "readOnly": true }, "issue": { "description": "OS issue (typically /etc/issue in Linux).", @@ -5068,10 +5135,11 @@ "id": "HostsEntryList", "properties": { "entries": { - "description": "Hosts entries.", + "description": "Output only. Hosts entries.", "items": { "$ref": "HostsEntry" }, + "readOnly": true, "type": "array" } }, @@ -6496,6 +6564,38 @@ }, "type": "object" }, + "OutputFile": { + "description": "Contains a single output file.", + "id": "OutputFile", + "properties": { + "csvOutputFile": { + "$ref": "CsvOutputFile", + "description": "Output only. CSV output file.", + "readOnly": true + }, + "fileSizeBytes": { + "description": "Output only. File size in bytes.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "OutputFileList": { + "description": "Contains a list of output files.", + "id": "OutputFileList", + "properties": { + "entries": { + "description": "List of output files.", + "items": { + "$ref": "OutputFile" + }, + "type": "array" + } + }, + "type": "object" + }, "PayloadFile": { "description": "Payload file for inline import job payload.", "id": "PayloadFile", diff --git a/migrationcenter/v1alpha1/migrationcenter-gen.go b/migrationcenter/v1alpha1/migrationcenter-gen.go index 85975efde99..05a30a95153 100644 --- a/migrationcenter/v1alpha1/migrationcenter-gen.go +++ b/migrationcenter/v1alpha1/migrationcenter-gen.go @@ -716,7 +716,7 @@ type Asset struct { Labels map[string]string `json:"labels,omitempty"` // Name: Output only. The full name of the asset. Name string `json:"name,omitempty"` - // PerformanceData: Output only. Performance data for the asset. + // PerformanceData: Performance data for the asset. PerformanceData *AssetPerformanceData `json:"performanceData,omitempty"` // Sources: Output only. The list of sources contributing to the asset. Sources []string `json:"sources,omitempty"` @@ -852,6 +852,8 @@ type AssetsExportJob struct { Condition *AssetsExportJobExportCondition `json:"condition,omitempty"` // CreateTime: Output only. Resource creation time. CreateTime string `json:"createTime,omitempty"` + // Inventory: Export asset inventory details. + Inventory *AssetsExportJobInventory `json:"inventory,omitempty"` // Labels: Optional. Labels as key value pairs. Labels must meet the following // constraints: * Keys and values can contain only lowercase letters, numeric // characters, underscores, and dashes. * All characters must use UTF-8 @@ -864,8 +866,13 @@ type AssetsExportJob struct { Name string `json:"name,omitempty"` // NetworkDependencies: Export data regarding asset network dependencies. NetworkDependencies *AssetsExportJobNetworkDependencies `json:"networkDependencies,omitempty"` + // PerformanceData: Export asset with performance data. + PerformanceData *AssetsExportJobPerformanceData `json:"performanceData,omitempty"` // RecentExecutions: Output only. Recent non expired executions of the job. RecentExecutions []*AssetsExportJobExecution `json:"recentExecutions,omitempty"` + // ShowHidden: Optional. When this value is set to 'true' the response will + // include all assets, including those that are hidden. + ShowHidden bool `json:"showHidden,omitempty"` // SignedUriDestination: Export to Cloud Storage files downloadable using // signed URIs. SignedUriDestination *SignedUriDestination `json:"signedUriDestination,omitempty"` @@ -900,6 +907,9 @@ type AssetsExportJobExecution struct { ExecutionId string `json:"executionId,omitempty"` // ExpireTime: Output only. Expiration time for the export and artifacts. ExpireTime string `json:"expireTime,omitempty"` + // RequestedAssetCount: Output only. Number of assets requested for export + // after resolving the requested filters. + RequestedAssetCount int64 `json:"requestedAssetCount,omitempty"` // Result: Output only. Result of the export execution. Result *AssetsExportJobExecutionResult `json:"result,omitempty"` // StartTime: Output only. Execution timestamp. @@ -926,6 +936,8 @@ func (s AssetsExportJobExecution) MarshalJSON() ([]byte, error) { type AssetsExportJobExecutionResult struct { // Error: Output only. Error encountered during export. Error *Status `json:"error,omitempty"` + // OutputFiles: Output only. List of output files. + OutputFiles *OutputFileList `json:"outputFiles,omitempty"` // SignedUris: Output only. Signed URLs for downloading export artifacts. SignedUris *SignedUris `json:"signedUris,omitempty"` // ForceSendFields is a list of field names (e.g. "Error") to unconditionally @@ -968,6 +980,10 @@ func (s AssetsExportJobExportCondition) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// AssetsExportJobInventory: Configuration for asset inventory details exports. +type AssetsExportJobInventory struct { +} + // AssetsExportJobNetworkDependencies: Configuration for network dependencies // exports. type AssetsExportJobNetworkDependencies struct { @@ -994,6 +1010,32 @@ func (s AssetsExportJobNetworkDependencies) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// AssetsExportJobPerformanceData: Configuration for performance data exports. +type AssetsExportJobPerformanceData struct { + // MaxDays: Optional. When this value is set to a positive integer, performance + // data will be returned for the most recent days for which data is available. + // When this value is unset (or set to zero), all available data is returned. + // The maximum value is 420; values above 420 will be coerced to 420. If unset + // (0 value) a default value of 40 will be used. + MaxDays int64 `json:"maxDays,omitempty"` + // ForceSendFields is a list of field names (e.g. "MaxDays") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "MaxDays") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s AssetsExportJobPerformanceData) MarshalJSON() ([]byte, error) { + type NoMethod AssetsExportJobPerformanceData + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // AwsEc2PlatformDetails: AWS EC2 specific details. type AwsEc2PlatformDetails struct { // Location: The location of the machine in the AWS format. @@ -1189,7 +1231,7 @@ func (s CascadingRule) MarshalJSON() ([]byte, error) { type CloudDatabaseMigrationTarget struct { // CloudSqlForMysqlShape: Cloud SQL for MySQL database shape. CloudSqlForMysqlShape *CloudSqlForMySqlShape `json:"cloudSqlForMysqlShape,omitempty"` - // CloudSqlForPostgresqlShape: Cloud SQL for Postgres database shape. + // CloudSqlForPostgresqlShape: Cloud SQL for PostgreSQL database shape. CloudSqlForPostgresqlShape *CloudSqlForPostgreSqlShape `json:"cloudSqlForPostgresqlShape,omitempty"` // CloudSqlShape: Cloud SQL for SQL Server database shape. CloudSqlShape *CloudSqlForSqlServerShape `json:"cloudSqlShape,omitempty"` @@ -1555,7 +1597,7 @@ type ComputeEngineSoleTenantMigrationTarget struct { type ComputeStorageDescriptor struct { // SizeGb: Disk size in GiB. SizeGb int64 `json:"sizeGb,omitempty"` - // Type: Disk type backing the storage. + // Type: Output only. Disk type backing the storage. // // Possible values: // "PERSISTENT_DISK_TYPE_UNSPECIFIED" - Unspecified (default value). @@ -1621,6 +1663,32 @@ func (s *CpuUsageSample) UnmarshalJSON(data []byte) error { return nil } +// CsvOutputFile: Contains a single output file of type CSV. +type CsvOutputFile struct { + // ColumnsCount: Output only. Number of columns in the file. + ColumnsCount int64 `json:"columnsCount,omitempty"` + // RowCount: Output only. Number of rows in the file. + RowCount int64 `json:"rowCount,omitempty"` + // SignedUri: Output only. Signed URI destination. + SignedUri *SignedUri `json:"signedUri,omitempty"` + // ForceSendFields is a list of field names (e.g. "ColumnsCount") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "ColumnsCount") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s CsvOutputFile) MarshalJSON() ([]byte, error) { + type NoMethod CsvOutputFile + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // DailyResourceUsageAggregation: Usage data aggregation for a single day. type DailyResourceUsageAggregation struct { // Cpu: CPU usage. @@ -2175,7 +2243,7 @@ func (s DatabasePreferencesCloudSqlCommon) MarshalJSON() ([]byte, error) { // DatabasePreferencesCloudSqlCommonBackup: Preferences for database backups. type DatabasePreferencesCloudSqlCommonBackup struct { - // BackupMode: Optional. Mode of automated backups. + // BackupMode: Optional. Automated backup mode. // // Possible values: // "BACKUP_MODE_UNSPECIFIED" - An unspecified database backup mode. @@ -2791,7 +2859,7 @@ func (s FileValidationReport) MarshalJSON() ([]byte, error) { // FitDescriptor: Describes the fit level of an asset for migration to a // specific target. type FitDescriptor struct { - // FitLevel: Fit level. + // FitLevel: Output only. Fit level. // // Possible values: // "FIT_LEVEL_UNSPECIFIED" - Not enough information. @@ -3064,7 +3132,7 @@ func (s Group) MarshalJSON() ([]byte, error) { type GuestConfigDetails struct { // Fstab: Mount list (Linux fstab). Fstab *FstabEntryList `json:"fstab,omitempty"` - // Hosts: Hosts file (/etc/hosts). + // Hosts: Output only. Hosts file (/etc/hosts). Hosts *HostsEntryList `json:"hosts,omitempty"` // Issue: OS issue (typically /etc/issue in Linux). Issue string `json:"issue,omitempty"` @@ -3230,7 +3298,7 @@ func (s HostsEntry) MarshalJSON() ([]byte, error) { // HostsEntryList: Hosts content. type HostsEntryList struct { - // Entries: Hosts entries. + // Entries: Output only. Hosts entries. Entries []*HostsEntry `json:"entries,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -4905,6 +4973,52 @@ func (s OperationMetadata) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// OutputFile: Contains a single output file. +type OutputFile struct { + // CsvOutputFile: Output only. CSV output file. + CsvOutputFile *CsvOutputFile `json:"csvOutputFile,omitempty"` + // FileSizeBytes: Output only. File size in bytes. + FileSizeBytes int64 `json:"fileSizeBytes,omitempty"` + // ForceSendFields is a list of field names (e.g. "CsvOutputFile") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "CsvOutputFile") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s OutputFile) MarshalJSON() ([]byte, error) { + type NoMethod OutputFile + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// OutputFileList: Contains a list of output files. +type OutputFileList struct { + // Entries: List of output files. + Entries []*OutputFile `json:"entries,omitempty"` + // ForceSendFields is a list of field names (e.g. "Entries") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Entries") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s OutputFileList) MarshalJSON() ([]byte, error) { + type NoMethod OutputFileList + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // PayloadFile: Payload file for inline import job payload. type PayloadFile struct { // Data: The file data.