diff --git a/container/v1/container-api.json b/container/v1/container-api.json index 845ed74b31e..eb6b473c4c8 100644 --- a/container/v1/container-api.json +++ b/container/v1/container-api.json @@ -2540,7 +2540,7 @@ } } }, - "revision": "20240304", + "revision": "20240313", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3935,10 +3935,49 @@ "description": "Configuration of etcd encryption.", "id": "DatabaseEncryption", "properties": { + "currentState": { + "description": "Output only. The current state of etcd encryption.", + "enum": [ + "CURRENT_STATE_UNSPECIFIED", + "CURRENT_STATE_ENCRYPTED", + "CURRENT_STATE_DECRYPTED", + "CURRENT_STATE_ENCRYPTION_PENDING", + "CURRENT_STATE_ENCRYPTION_ERROR", + "CURRENT_STATE_DECRYPTION_PENDING", + "CURRENT_STATE_DECRYPTION_ERROR" + ], + "enumDescriptions": [ + "Should never be set", + "Secrets in etcd are encrypted.", + "Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.", + "Encryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.", + "Encryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.", + "De-crypting Secrets to plain text in etcd is in progress.", + "De-crypting Secrets to plain text in etcd encountered an error." + ], + "readOnly": true, + "type": "string" + }, + "decryptionKeys": { + "description": "Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in `key_name`. Each item is a CloudKMS key resource.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "keyName": { "description": "Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key", "type": "string" }, + "lastOperationErrors": { + "description": "Output only. Records errors seen during DatabaseEncryption update operations.", + "items": { + "$ref": "OperationError" + }, + "readOnly": true, + "type": "array" + }, "state": { "description": "The desired state of etcd encryption.", "enum": [ @@ -5877,6 +5916,26 @@ }, "type": "object" }, + "OperationError": { + "description": "OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.", + "id": "OperationError", + "properties": { + "errorMessage": { + "description": "Description of the error seen during the operation.", + "type": "string" + }, + "keyName": { + "description": "CloudKMS key resource that had the error.", + "type": "string" + }, + "timestamp": { + "description": "Time when the CloudKMS error was seen.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "OperationProgress": { "description": "Information about operation (or operation stage) progress.", "id": "OperationProgress", diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index 788ca5a8b88..db99255636f 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -2390,12 +2390,40 @@ func (s *DailyMaintenanceWindow) MarshalJSON() ([]byte, error) { // DatabaseEncryption: Configuration of etcd encryption. type DatabaseEncryption struct { + // CurrentState: Output only. The current state of etcd encryption. + // + // Possible values: + // "CURRENT_STATE_UNSPECIFIED" - Should never be set + // "CURRENT_STATE_ENCRYPTED" - Secrets in etcd are encrypted. + // "CURRENT_STATE_DECRYPTED" - Secrets in etcd are stored in plain + // text (at etcd level) - this is unrelated to Compute Engine level full + // disk encryption. + // "CURRENT_STATE_ENCRYPTION_PENDING" - Encryption (or re-encryption + // with a different CloudKMS key) of Secrets is in progress. + // "CURRENT_STATE_ENCRYPTION_ERROR" - Encryption (or re-encryption + // with a different CloudKMS key) of Secrets in etcd encountered an + // error. + // "CURRENT_STATE_DECRYPTION_PENDING" - De-crypting Secrets to plain + // text in etcd is in progress. + // "CURRENT_STATE_DECRYPTION_ERROR" - De-crypting Secrets to plain + // text in etcd encountered an error. + CurrentState string `json:"currentState,omitempty"` + + // DecryptionKeys: Output only. Keys in use by the cluster for + // decrypting existing objects, in addition to the key in `key_name`. + // Each item is a CloudKMS key resource. + DecryptionKeys []string `json:"decryptionKeys,omitempty"` + // KeyName: Name of CloudKMS key to use for the encryption of secrets in // etcd. Ex. // projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-ke // y KeyName string `json:"keyName,omitempty"` + // LastOperationErrors: Output only. Records errors seen during + // DatabaseEncryption update operations. + LastOperationErrors []*OperationError `json:"lastOperationErrors,omitempty"` + // State: The desired state of etcd encryption. // // Possible values: @@ -2406,7 +2434,7 @@ type DatabaseEncryption struct { // encryption. State string `json:"state,omitempty"` - // ForceSendFields is a list of field names (e.g. "KeyName") to + // ForceSendFields is a list of field names (e.g. "CurrentState") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -2414,10 +2442,10 @@ type DatabaseEncryption struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "KeyName") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CurrentState") 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:"-"` @@ -5735,6 +5763,41 @@ func (s *Operation) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// OperationError: OperationError records errors seen from CloudKMS keys +// encountered during updates to DatabaseEncryption configuration. +type OperationError struct { + // ErrorMessage: Description of the error seen during the operation. + ErrorMessage string `json:"errorMessage,omitempty"` + + // KeyName: CloudKMS key resource that had the error. + KeyName string `json:"keyName,omitempty"` + + // Timestamp: Time when the CloudKMS error was seen. + Timestamp string `json:"timestamp,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ErrorMessage") to + // unconditionally include in API requests. By default, fields with + // empty or default 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. "ErrorMessage") 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 *OperationError) MarshalJSON() ([]byte, error) { + type NoMethod OperationError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // OperationProgress: Information about operation (or operation stage) // progress. type OperationProgress struct { diff --git a/redis/v1beta1/redis-api.json b/redis/v1beta1/redis-api.json index b06b217b7a1..14c3d40bb03 100644 --- a/redis/v1beta1/redis-api.json +++ b/redis/v1beta1/redis-api.json @@ -821,9 +821,32 @@ } } }, - "revision": "20240307", + "revision": "20240319", "rootUrl": "https://redis.googleapis.com/", "schemas": { + "AOFConfig": { + "description": "Configuration of the AOF based persistence.", + "id": "AOFConfig", + "properties": { + "appendFsync": { + "description": "Optional. fsync configuration.", + "enum": [ + "APPEND_FSYNC_UNSPECIFIED", + "NO", + "EVERYSEC", + "ALWAYS" + ], + "enumDescriptions": [ + "Not set. Default: EVERYSEC", + "Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.", + "fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster", + "fsync every time new commands are appended to the AOF. It has the best data loss protection at the cost of performance" + ], + "type": "string" + } + }, + "type": "object" + }, "AvailabilityConfiguration": { "description": "Configuration for availability of database instance", "id": "AvailabilityConfiguration", @@ -972,6 +995,10 @@ "description": "Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`", "type": "string" }, + "persistenceConfig": { + "$ref": "ClusterPersistenceConfig", + "description": "Optional. Persistence config (RDB, AOF) for the cluster." + }, "pscConfigs": { "description": "Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.", "items": { @@ -987,6 +1014,13 @@ "readOnly": true, "type": "array" }, + "redisConfigs": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Key/Value pairs of customer overrides for mutable Redis Configs", + "type": "object" + }, "replicaCount": { "description": "Optional. The number of replica nodes per shard.", "format": "int32", @@ -1049,6 +1083,37 @@ }, "type": "object" }, + "ClusterPersistenceConfig": { + "description": "Configuration of the persistence functionality.", + "id": "ClusterPersistenceConfig", + "properties": { + "aofConfig": { + "$ref": "AOFConfig", + "description": "Optional. AOF configuration. This field will be ignored if mode is not AOF." + }, + "mode": { + "description": "Optional. The mode of persistence.", + "enum": [ + "PERSISTENCE_MODE_UNSPECIFIED", + "DISABLED", + "RDB", + "AOF" + ], + "enumDescriptions": [ + "Not set.", + "Persistence is disabled, and any snapshot data is deleted.", + "RDB based persistence is enabled.", + "AOF based persistence is enabled." + ], + "type": "string" + }, + "rdbConfig": { + "$ref": "RDBConfig", + "description": "Optional. RDB configuration. This field will be ignored if mode is not RDB." + } + }, + "type": "object" + }, "Compliance": { "description": "Contains compliance information about a security standard indicating unmet recommendations.", "id": "Compliance", @@ -1301,7 +1366,7 @@ "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", - "SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT", + "SIGNAL_TYPE_QUOTA_LIMIT", "SIGNAL_TYPE_NO_PASSWORD_POLICY", "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", @@ -1780,7 +1845,7 @@ "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", - "SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT", + "SIGNAL_TYPE_QUOTA_LIMIT", "SIGNAL_TYPE_NO_PASSWORD_POLICY", "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", @@ -2943,6 +3008,36 @@ }, "type": "object" }, + "RDBConfig": { + "description": "Configuration of the RDB based persistence.", + "id": "RDBConfig", + "properties": { + "rdbSnapshotPeriod": { + "description": "Optional. Period between RDB snapshots.", + "enum": [ + "SNAPSHOT_PERIOD_UNSPECIFIED", + "ONE_HOUR", + "SIX_HOURS", + "TWELVE_HOURS", + "TWENTY_FOUR_HOURS" + ], + "enumDescriptions": [ + "Not set.", + "One hour.", + "Six hours.", + "Twelve hours.", + "Twenty four hours." + ], + "type": "string" + }, + "rdbSnapshotStartTime": { + "description": "Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "ReconciliationOperationMetadata": { "description": "Operation metadata returned by the CLH during resource state reconciliation.", "id": "ReconciliationOperationMetadata", diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index 98610e3e101..5387ba85155 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -214,6 +214,43 @@ type ProjectsLocationsOperationsService struct { s *Service } +// AOFConfig: Configuration of the AOF based persistence. +type AOFConfig struct { + // AppendFsync: Optional. fsync configuration. + // + // Possible values: + // "APPEND_FSYNC_UNSPECIFIED" - Not set. Default: EVERYSEC + // "NO" - Never fsync. Normally Linux will flush data every 30 seconds + // with this configuration, but it's up to the kernel's exact tuning. + // "EVERYSEC" - fsync every second. Fast enough, and you may lose 1 + // second of data if there is a disaster + // "ALWAYS" - fsync every time new commands are appended to the AOF. + // It has the best data loss protection at the cost of performance + AppendFsync string `json:"appendFsync,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AppendFsync") to + // unconditionally include in API requests. By default, fields with + // empty or default 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. "AppendFsync") 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 *AOFConfig) MarshalJSON() ([]byte, error) { + type NoMethod AOFConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // AvailabilityConfiguration: Configuration for availability of database // instance type AvailabilityConfiguration struct { @@ -432,6 +469,10 @@ type Cluster struct { // `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` Name string `json:"name,omitempty"` + // PersistenceConfig: Optional. Persistence config (RDB, AOF) for the + // cluster. + PersistenceConfig *ClusterPersistenceConfig `json:"persistenceConfig,omitempty"` + // PscConfigs: Required. Each PscConfig configures the consumer network // where IPs will be designated to the cluster for client access through // Private Service Connect Automation. Currently, only one PscConfig is @@ -442,6 +483,10 @@ type Cluster struct { // cluster topology and accessing the cluster. PscConnections []*PscConnection `json:"pscConnections,omitempty"` + // RedisConfigs: Optional. Key/Value pairs of customer overrides for + // mutable Redis Configs + RedisConfigs map[string]string `json:"redisConfigs,omitempty"` + // ReplicaCount: Optional. The number of replica nodes per shard. ReplicaCount int64 `json:"replicaCount,omitempty"` @@ -511,6 +556,50 @@ func (s *Cluster) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ClusterPersistenceConfig: Configuration of the persistence +// functionality. +type ClusterPersistenceConfig struct { + // AofConfig: Optional. AOF configuration. This field will be ignored if + // mode is not AOF. + AofConfig *AOFConfig `json:"aofConfig,omitempty"` + + // Mode: Optional. The mode of persistence. + // + // Possible values: + // "PERSISTENCE_MODE_UNSPECIFIED" - Not set. + // "DISABLED" - Persistence is disabled, and any snapshot data is + // deleted. + // "RDB" - RDB based persistence is enabled. + // "AOF" - AOF based persistence is enabled. + Mode string `json:"mode,omitempty"` + + // RdbConfig: Optional. RDB configuration. This field will be ignored if + // mode is not RDB. + RdbConfig *RDBConfig `json:"rdbConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AofConfig") to + // unconditionally include in API requests. By default, fields with + // empty or default 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. "AofConfig") 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 *ClusterPersistenceConfig) MarshalJSON() ([]byte, error) { + type NoMethod ClusterPersistenceConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Compliance: Contains compliance information about a security standard // indicating unmet recommendations. type Compliance struct { @@ -907,7 +996,7 @@ type DatabaseResourceHealthSignalData struct { // restricted to authorized networks. // "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP" - Represents // violate org policy restrict public ip. - // "SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT" - Cluster nearing quota limit + // "SIGNAL_TYPE_QUOTA_LIMIT" - Cluster nearing quota limit // "SIGNAL_TYPE_NO_PASSWORD_POLICY" - No password policy set on // resources // "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT" - Performance impact @@ -1354,7 +1443,7 @@ type DatabaseResourceRecommendationSignalData struct { // restricted to authorized networks. // "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP" - Represents // violate org policy restrict public ip. - // "SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT" - Cluster nearing quota limit + // "SIGNAL_TYPE_QUOTA_LIMIT" - Cluster nearing quota limit // "SIGNAL_TYPE_NO_PASSWORD_POLICY" - No password policy set on // resources // "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT" - Performance impact @@ -2835,6 +2924,47 @@ func (s *PscConnection) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// RDBConfig: Configuration of the RDB based persistence. +type RDBConfig struct { + // RdbSnapshotPeriod: Optional. Period between RDB snapshots. + // + // Possible values: + // "SNAPSHOT_PERIOD_UNSPECIFIED" - Not set. + // "ONE_HOUR" - One hour. + // "SIX_HOURS" - Six hours. + // "TWELVE_HOURS" - Twelve hours. + // "TWENTY_FOUR_HOURS" - Twenty four hours. + RdbSnapshotPeriod string `json:"rdbSnapshotPeriod,omitempty"` + + // RdbSnapshotStartTime: Optional. The time that the first snapshot + // was/will be attempted, and to which future snapshots will be aligned. + // If not provided, the current time will be used. + RdbSnapshotStartTime string `json:"rdbSnapshotStartTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "RdbSnapshotPeriod") + // to unconditionally include in API requests. By default, fields with + // empty or default 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. "RdbSnapshotPeriod") 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 *RDBConfig) MarshalJSON() ([]byte, error) { + type NoMethod RDBConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ReconciliationOperationMetadata: Operation metadata returned by the // CLH during resource state reconciliation. type ReconciliationOperationMetadata struct { diff --git a/workloadmanager/v1/workloadmanager-api.json b/workloadmanager/v1/workloadmanager-api.json index 8372371a2c4..6697d5d0efc 100644 --- a/workloadmanager/v1/workloadmanager-api.json +++ b/workloadmanager/v1/workloadmanager-api.json @@ -226,6 +226,11 @@ "name" ], "parameters": { + "force": { + "description": "Optional. Followed the best practice from https://aip.dev/135#cascading-delete", + "location": "query", + "type": "boolean" + }, "name": { "description": "Required. Name of the resource", "location": "path", @@ -767,7 +772,7 @@ } } }, - "revision": "20240306", + "revision": "20240322", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "BigQueryDestination": { @@ -1518,6 +1523,10 @@ "description": "Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java.", "type": "boolean" }, + "appInstanceNumber": { + "description": "Optional. Instance number of the SAP application instance.", + "type": "string" + }, "applicationType": { "description": "Required. Type of the application. Netweaver, etc.", "enum": [ @@ -1530,12 +1539,12 @@ ], "type": "string" }, - "ascsUri": { - "description": "Optional. Resource URI of the recognized ASCS host of the application.", + "ascsInstanceNumber": { + "description": "Optional. Instance number of the ASCS instance.", "type": "string" }, - "instanceNumber": { - "description": "Optional. Instance number of the SAP instance.", + "ascsUri": { + "description": "Optional. Resource URI of the recognized ASCS host of the application.", "type": "string" }, "kernelVersion": { @@ -1553,6 +1562,10 @@ "description": "A set of properties describing an SAP Database layer.", "id": "SapDiscoveryComponentDatabaseProperties", "properties": { + "databaseSid": { + "description": "Optional. SID of the system database.", + "type": "string" + }, "databaseType": { "description": "Required. Type of the database. HANA, DB2, etc.", "enum": [ @@ -1697,6 +1710,11 @@ }, "type": "array" }, + "instanceNumber": { + "description": "Optional. The VM's instance number.", + "format": "int64", + "type": "string" + }, "virtualHostname": { "description": "Optional. A virtual hostname of the instance if it has one.", "type": "string" diff --git a/workloadmanager/v1/workloadmanager-gen.go b/workloadmanager/v1/workloadmanager-gen.go index a7d7adfd13a..5da0c754f26 100644 --- a/workloadmanager/v1/workloadmanager-gen.go +++ b/workloadmanager/v1/workloadmanager-gen.go @@ -1331,6 +1331,10 @@ type SapDiscoveryComponentApplicationProperties struct { // instance. true means it is ABAP, false means it is Java. Abap bool `json:"abap,omitempty"` + // AppInstanceNumber: Optional. Instance number of the SAP application + // instance. + AppInstanceNumber string `json:"appInstanceNumber,omitempty"` + // ApplicationType: Required. Type of the application. Netweaver, etc. // // Possible values: @@ -1338,13 +1342,13 @@ type SapDiscoveryComponentApplicationProperties struct { // "NETWEAVER" - SAP Netweaver ApplicationType string `json:"applicationType,omitempty"` + // AscsInstanceNumber: Optional. Instance number of the ASCS instance. + AscsInstanceNumber string `json:"ascsInstanceNumber,omitempty"` + // AscsUri: Optional. Resource URI of the recognized ASCS host of the // application. AscsUri string `json:"ascsUri,omitempty"` - // InstanceNumber: Optional. Instance number of the SAP instance. - InstanceNumber string `json:"instanceNumber,omitempty"` - // KernelVersion: Optional. Kernel version for Netweaver running in the // system. KernelVersion string `json:"kernelVersion,omitempty"` @@ -1380,6 +1384,9 @@ func (s *SapDiscoveryComponentApplicationProperties) MarshalJSON() ([]byte, erro // SapDiscoveryComponentDatabaseProperties: A set of properties // describing an SAP Database layer. type SapDiscoveryComponentDatabaseProperties struct { + // DatabaseSid: Optional. SID of the system database. + DatabaseSid string `json:"databaseSid,omitempty"` + // DatabaseType: Required. Type of the database. HANA, DB2, etc. // // Possible values: @@ -1404,7 +1411,7 @@ type SapDiscoveryComponentDatabaseProperties struct { // database. May be empty if the database has only a single node. SharedNfsUri string `json:"sharedNfsUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "DatabaseType") to + // ForceSendFields is a list of field names (e.g. "DatabaseSid") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1412,7 +1419,7 @@ type SapDiscoveryComponentDatabaseProperties struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DatabaseType") to include + // NullFields is a list of field names (e.g. "DatabaseSid") 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 @@ -1548,6 +1555,9 @@ type SapDiscoveryResourceInstanceProperties struct { // a cluster with this one. ClusterInstances []string `json:"clusterInstances,omitempty"` + // InstanceNumber: Optional. The VM's instance number. + InstanceNumber int64 `json:"instanceNumber,omitempty,string"` + // VirtualHostname: Optional. A virtual hostname of the instance if it // has one. VirtualHostname string `json:"virtualHostname,omitempty"` @@ -2614,6 +2624,13 @@ func (r *ProjectsLocationsEvaluationsService) Delete(name string) *ProjectsLocat return c } +// Force sets the optional parameter "force": Followed the best practice +// from https://aip.dev/135#cascading-delete +func (c *ProjectsLocationsEvaluationsDeleteCall) Force(force bool) *ProjectsLocationsEvaluationsDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + // RequestId sets the optional parameter "requestId": An optional // request ID to identify requests. Specify a unique request ID so that // if you must retry your request, the server will know to ignore the @@ -2726,6 +2743,11 @@ func (c *ProjectsLocationsEvaluationsDeleteCall) Do(opts ...googleapi.CallOption // "name" // ], // "parameters": { + // "force": { + // "description": "Optional. Followed the best practice from https://aip.dev/135#cascading-delete", + // "location": "query", + // "type": "boolean" + // }, // "name": { // "description": "Required. Name of the resource", // "location": "path",