From 2d69d972d4c8a20e9247bfcb12beafe38416075a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 24 Jan 2024 00:24:15 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2372) --- .../v1/androidmanagement-api.json | 229 +++++- androidmanagement/v1/androidmanagement-gen.go | 709 +++++++++++++++++- .../v1/blockchainnodeengine-api.json | 6 +- .../v1/blockchainnodeengine-gen.go | 10 + .../v1alpha/discoveryengine-api.json | 10 +- .../v1alpha/discoveryengine-gen.go | 14 +- .../v1beta/discoveryengine-api.json | 4 +- discoveryengine/v1beta/discoveryengine-gen.go | 2 +- .../v1beta/firebaseappcheck-api.json | 7 +- .../v1beta/firebaseappcheck-gen.go | 21 + healthcare/v1/healthcare-api.json | 322 +++++--- healthcare/v1/healthcare-gen.go | 549 ++++++++++---- healthcare/v1beta1/healthcare-api.json | 214 +++--- healthcare/v1beta1/healthcare-gen.go | 282 +++---- osconfig/v1/osconfig-api.json | 4 +- osconfig/v1/osconfig-gen.go | 10 +- 16 files changed, 1873 insertions(+), 520 deletions(-) diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index 8126891d984..afeaaee5fe1 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -725,6 +725,99 @@ } } }, + "migrationTokens": { + "methods": { + "create": { + "description": "Creates a migration token, to migrate an existing device from being managed by the EMM's Device Policy Controller (DPC) to being managed by the Android Management API.", + "flatPath": "v1/enterprises/{enterprisesId}/migrationTokens", + "httpMethod": "POST", + "id": "androidmanagement.enterprises.migrationTokens.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The enterprise in which this migration token will be created. Format: enterprises/{enterprise}", + "location": "path", + "pattern": "^enterprises/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/migrationTokens", + "request": { + "$ref": "MigrationToken" + }, + "response": { + "$ref": "MigrationToken" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidmanagement" + ] + }, + "get": { + "description": "Gets a migration token.", + "flatPath": "v1/enterprises/{enterprisesId}/migrationTokens/{migrationTokensId}", + "httpMethod": "GET", + "id": "androidmanagement.enterprises.migrationTokens.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the migration token to retrieve. Format: enterprises/{enterprise}/migrationTokens/{migration_token}", + "location": "path", + "pattern": "^enterprises/[^/]+/migrationTokens/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "MigrationToken" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidmanagement" + ] + }, + "list": { + "description": "Lists migration tokens.", + "flatPath": "v1/enterprises/{enterprisesId}/migrationTokens", + "httpMethod": "GET", + "id": "androidmanagement.enterprises.migrationTokens.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of migration tokens to return. Fewer migration tokens may be returned. If unspecified, at most 100 migration tokens will be returned. The maximum value is 100; values above 100 will be coerced to 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous ListMigrationTokens call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to ListMigrationTokens must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The enterprise which the migration tokens belong to. Format: enterprises/{enterprise}", + "location": "path", + "pattern": "^enterprises/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/migrationTokens", + "response": { + "$ref": "ListMigrationTokensResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidmanagement" + ] + } + } + }, "policies": { "methods": { "delete": { @@ -1095,7 +1188,7 @@ } } }, - "revision": "20240108", + "revision": "20240115", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -2361,7 +2454,8 @@ "DISABLED", "DELETED", "PROVISIONING", - "LOST" + "LOST", + "PREPARING_FOR_MIGRATION" ], "enumDescriptions": [ "This value is disallowed.", @@ -2369,7 +2463,8 @@ "The device is disabled.", "The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.", "The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.", - "The device is lost. This state is only possible on organization-owned devices." + "The device is lost. This state is only possible on organization-owned devices.", + "The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue." ], "type": "string" }, @@ -2392,6 +2487,11 @@ }, "type": "array" }, + "dpcMigrationInfo": { + "$ref": "DpcMigrationInfo", + "description": "Output only. Information related to whether this device was migrated from being managed by another Device Policy Controller (DPC).", + "readOnly": true + }, "enrollmentTime": { "description": "The time of device enrollment.", "format": "google-datetime", @@ -2524,7 +2624,8 @@ "DISABLED", "DELETED", "PROVISIONING", - "LOST" + "LOST", + "PREPARING_FOR_MIGRATION" ], "enumDescriptions": [ "This value is disallowed.", @@ -2532,7 +2633,8 @@ "The device is disabled.", "The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.", "The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.", - "The device is lost. This state is only possible on organization-owned devices." + "The device is lost. This state is only possible on organization-owned devices.", + "The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue." ], "type": "string" }, @@ -2838,6 +2940,23 @@ }, "type": "object" }, + "DpcMigrationInfo": { + "description": "Information related to whether this device was migrated from being managed by another Device Policy Controller (DPC).", + "id": "DpcMigrationInfo", + "properties": { + "additionalData": { + "description": "Output only. If this device was migrated from another DPC, the additionalData field of the migration token is populated here.", + "readOnly": true, + "type": "string" + }, + "previousDpc": { + "description": "Output only. If this device was migrated from another DPC, this is its package name. Not populated otherwise.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } ", "id": "Empty", @@ -3519,6 +3638,24 @@ }, "type": "object" }, + "ListMigrationTokensResponse": { + "description": "Response to a request to list migration tokens for a given enterprise.", + "id": "ListMigrationTokensResponse", + "properties": { + "migrationTokens": { + "description": "The migration tokens from the specified enterprise.", + "items": { + "$ref": "MigrationToken" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "ListOperationsResponse", @@ -3810,6 +3947,76 @@ }, "type": "object" }, + "MigrationToken": { + "description": "A token to initiate the migration of a device from being managed by a third-party DPC to being managed by Android Management API. A migration token is valid only for a single device.", + "id": "MigrationToken", + "properties": { + "additionalData": { + "description": "Immutable. Optional EMM-specified additional data. Once the device is migrated this will be populated in the migrationAdditionalData field of the Device resource. This must be at most 1024 characters.", + "type": "string" + }, + "createTime": { + "description": "Output only. Time when this migration token was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "device": { + "description": "Output only. Once this migration token is used to migrate a device, the name of the resulting Device resource will be populated here, in the form enterprises/{enterprise}/devices/{device}.", + "readOnly": true, + "type": "string" + }, + "deviceId": { + "description": "Required. Immutable. The id of the device, as in the Play EMM API. This corresponds to the deviceId parameter in Play EMM API's Devices.get (https://developers.google.com/android/work/play/emm-api/v1/devices/get#parameters) call.", + "type": "string" + }, + "expireTime": { + "description": "Immutable. The time when this migration token expires. This can be at most seven days from the time of creation. The migration token is deleted seven days after it expires.", + "format": "google-datetime", + "type": "string" + }, + "managementMode": { + "description": "Required. Immutable. The management mode of the device or profile being migrated.", + "enum": [ + "MANAGEMENT_MODE_UNSPECIFIED", + "WORK_PROFILE_PERSONALLY_OWNED", + "WORK_PROFILE_COMPANY_OWNED", + "FULLY_MANAGED" + ], + "enumDescriptions": [ + "This value must not be used.", + "A work profile on a personally owned device. Supported only on devices running Android 9 and above.", + "A work profile on a company-owned device. Supported only on devices running Android 11 and above.", + "A fully-managed device. Supported only on devices running Android 9 and above." + ], + "type": "string" + }, + "name": { + "description": "Output only. The name of the migration token, which is generated by the server during creation, in the form enterprises/{enterprise}/migrationTokens/{migration_token}.", + "readOnly": true, + "type": "string" + }, + "policy": { + "description": "Required. Immutable. The name of the policy initially applied to the enrolled device, in the form enterprises/{enterprise}/policies/{policy}.", + "type": "string" + }, + "ttl": { + "description": "Input only. The time that this migration token is valid for. This is input-only, and for returning a migration token the server will populate the expireTime field. This can be at most seven days. The default is seven days.", + "format": "google-duration", + "type": "string" + }, + "userId": { + "description": "Required. Immutable. The user id of the Managed Google Play account on the device, as in the Play EMM API. This corresponds to the userId parameter in Play EMM API's Devices.get (https://developers.google.com/android/work/play/emm-api/v1/devices/get#parameters) call.", + "type": "string" + }, + "value": { + "description": "Output only. The value of the migration token.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "NetworkInfo": { "description": "Device network info.", "id": "NetworkInfo", @@ -3940,7 +4147,8 @@ "PASSWORD_POLICIES_PASSWORD_NOT_SUFFICIENT", "ONC_WIFI_INVALID_VALUE", "ONC_WIFI_API_LEVEL", - "ONC_WIFI_INVALID_ENTERPRISE_CONFIG" + "ONC_WIFI_INVALID_ENTERPRISE_CONFIG", + "ONC_WIFI_USER_SHOULD_REMOVE_NETWORK" ], "enumDescriptions": [ "Specific non-compliance reason is not specified. Fields in specific_non_compliance_context are not set.", @@ -3949,7 +4157,8 @@ "The device password does not satisfy password requirements. passwordPoliciesContext is set. nonComplianceReason is set to USER_ACTION.", "There is an incorrect value in ONC Wi-Fi configuration. fieldPath specifies which field value is incorrect. oncWifiContext is set. nonComplianceReason is set to INVALID_VALUE.", "The ONC Wi-Fi setting is not supported in the API level of the Android version running on the device. fieldPath specifies which field value is not supported. oncWifiContext is set. nonComplianceReason is set to API_LEVEL.", - "The enterprise Wi-Fi network is missing either the root CA or domain name. nonComplianceReason is set to INVALID_VALUE." + "The enterprise Wi-Fi network is missing either the root CA or domain name. nonComplianceReason is set to INVALID_VALUE.", + "User needs to remove the configured Wi-Fi network manually. This is applicable only on work profiles on personally-owned devices. nonComplianceReason is set to USER_ACTION." ], "type": "string" } @@ -5077,9 +5286,9 @@ ], "enumDescriptions": [ "Unspecified.", - "SafetyNet detects that the device is running an unknown OS (basicIntegrity check succeeds but ctsProfileMatch fails).", - "SafetyNet detects that the device is running a compromised OS (basicIntegrity check fails).", - "SafetyNet detects that the device does not have a strong guarantee of system integrity, such as a hardware-backed keystore (https://developer.android.com/training/articles/security-key-attestation)." + "Play Integrity API detects that the device is running an unknown OS (basicIntegrity check succeeds but ctsProfileMatch fails).", + "Play Integrity API detects that the device is running a compromised OS (basicIntegrity check fails).", + "Play Integrity API detects that the device does not have a strong guarantee of system integrity, if the MEETS_STRONG_INTEGRITY label doesn't show in the device integrity field (https://developer.android.com/google/play/integrity/verdicts#device-integrity-field)." ], "type": "string" } diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index 3138f48e779..1d5b68c0669 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -165,6 +165,7 @@ func NewEnterprisesService(s *Service) *EnterprisesService { rs.Applications = NewEnterprisesApplicationsService(s) rs.Devices = NewEnterprisesDevicesService(s) rs.EnrollmentTokens = NewEnterprisesEnrollmentTokensService(s) + rs.MigrationTokens = NewEnterprisesMigrationTokensService(s) rs.Policies = NewEnterprisesPoliciesService(s) rs.WebApps = NewEnterprisesWebAppsService(s) rs.WebTokens = NewEnterprisesWebTokensService(s) @@ -180,6 +181,8 @@ type EnterprisesService struct { EnrollmentTokens *EnterprisesEnrollmentTokensService + MigrationTokens *EnterprisesMigrationTokensService + Policies *EnterprisesPoliciesService WebApps *EnterprisesWebAppsService @@ -226,6 +229,15 @@ type EnterprisesEnrollmentTokensService struct { s *Service } +func NewEnterprisesMigrationTokensService(s *Service) *EnterprisesMigrationTokensService { + rs := &EnterprisesMigrationTokensService{s: s} + return rs +} + +type EnterprisesMigrationTokensService struct { + s *Service +} + func NewEnterprisesPoliciesService(s *Service) *EnterprisesPoliciesService { rs := &EnterprisesPoliciesService{s: s} return rs @@ -2134,6 +2146,9 @@ type Device struct { // devices are in this state until they have a policy applied. // "LOST" - The device is lost. This state is only possible on // organization-owned devices. + // "PREPARING_FOR_MIGRATION" - The device is preparing for migrating + // to Android Management API. No further action is needed for the + // migration to continue. AppliedState string `json:"appliedState,omitempty"` // CommonCriteriaModeInfo: Information about Common Criteria @@ -2158,6 +2173,11 @@ type Device struct { // device's policy. Displays []*Display `json:"displays,omitempty"` + // DpcMigrationInfo: Output only. Information related to whether this + // device was migrated from being managed by another Device Policy + // Controller (DPC). + DpcMigrationInfo *DpcMigrationInfo `json:"dpcMigrationInfo,omitempty"` + // EnrollmentTime: The time of device enrollment. EnrollmentTime string `json:"enrollmentTime,omitempty"` @@ -2279,6 +2299,9 @@ type Device struct { // devices are in this state until they have a policy applied. // "LOST" - The device is lost. This state is only possible on // organization-owned devices. + // "PREPARING_FOR_MIGRATION" - The device is preparing for migrating + // to Android Management API. No further action is needed for the + // migration to continue. State string `json:"state,omitempty"` // SystemProperties: Map of selected system properties name and value @@ -2701,6 +2724,43 @@ func (s *DnsEvent) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DpcMigrationInfo: Information related to whether this device was +// migrated from being managed by another Device Policy Controller +// (DPC). +type DpcMigrationInfo struct { + // AdditionalData: Output only. If this device was migrated from another + // DPC, the additionalData field of the migration token is populated + // here. + AdditionalData string `json:"additionalData,omitempty"` + + // PreviousDpc: Output only. If this device was migrated from another + // DPC, this is its package name. Not populated otherwise. + PreviousDpc string `json:"previousDpc,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AdditionalData") 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. "AdditionalData") 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 *DpcMigrationInfo) MarshalJSON() ([]byte, error) { + type NoMethod DpcMigrationInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Empty: A generic empty message that you can re-use to avoid defining // duplicated empty messages in your APIs. A typical example is to use // it as the request or the response type of an API method. For @@ -3844,6 +3904,45 @@ func (s *ListEnterprisesResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ListMigrationTokensResponse: Response to a request to list migration +// tokens for a given enterprise. +type ListMigrationTokensResponse struct { + // MigrationTokens: The migration tokens from the specified enterprise. + MigrationTokens []*MigrationToken `json:"migrationTokens,omitempty"` + + // NextPageToken: A token, which can be sent as page_token to retrieve + // the next page. If this field is omitted, there are no subsequent + // pages. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "MigrationTokens") 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. "MigrationTokens") 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 *ListMigrationTokensResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListMigrationTokensResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ListOperationsResponse: The response message for // Operations.ListOperations. type ListOperationsResponse struct { @@ -4335,6 +4434,103 @@ func (s *MemoryInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// MigrationToken: A token to initiate the migration of a device from +// being managed by a third-party DPC to being managed by Android +// Management API. A migration token is valid only for a single device. +type MigrationToken struct { + // AdditionalData: Immutable. Optional EMM-specified additional data. + // Once the device is migrated this will be populated in the + // migrationAdditionalData field of the Device resource. This must be at + // most 1024 characters. + AdditionalData string `json:"additionalData,omitempty"` + + // CreateTime: Output only. Time when this migration token was created. + CreateTime string `json:"createTime,omitempty"` + + // Device: Output only. Once this migration token is used to migrate a + // device, the name of the resulting Device resource will be populated + // here, in the form enterprises/{enterprise}/devices/{device}. + Device string `json:"device,omitempty"` + + // DeviceId: Required. Immutable. The id of the device, as in the Play + // EMM API. This corresponds to the deviceId parameter in Play EMM API's + // Devices.get + // (https://developers.google.com/android/work/play/emm-api/v1/devices/get#parameters) + // call. + DeviceId string `json:"deviceId,omitempty"` + + // ExpireTime: Immutable. The time when this migration token expires. + // This can be at most seven days from the time of creation. The + // migration token is deleted seven days after it expires. + ExpireTime string `json:"expireTime,omitempty"` + + // ManagementMode: Required. Immutable. The management mode of the + // device or profile being migrated. + // + // Possible values: + // "MANAGEMENT_MODE_UNSPECIFIED" - This value must not be used. + // "WORK_PROFILE_PERSONALLY_OWNED" - A work profile on a personally + // owned device. Supported only on devices running Android 9 and above. + // "WORK_PROFILE_COMPANY_OWNED" - A work profile on a company-owned + // device. Supported only on devices running Android 11 and above. + // "FULLY_MANAGED" - A fully-managed device. Supported only on devices + // running Android 9 and above. + ManagementMode string `json:"managementMode,omitempty"` + + // Name: Output only. The name of the migration token, which is + // generated by the server during creation, in the form + // enterprises/{enterprise}/migrationTokens/{migration_token}. + Name string `json:"name,omitempty"` + + // Policy: Required. Immutable. The name of the policy initially applied + // to the enrolled device, in the form + // enterprises/{enterprise}/policies/{policy}. + Policy string `json:"policy,omitempty"` + + // Ttl: Input only. The time that this migration token is valid for. + // This is input-only, and for returning a migration token the server + // will populate the expireTime field. This can be at most seven days. + // The default is seven days. + Ttl string `json:"ttl,omitempty"` + + // UserId: Required. Immutable. The user id of the Managed Google Play + // account on the device, as in the Play EMM API. This corresponds to + // the userId parameter in Play EMM API's Devices.get + // (https://developers.google.com/android/work/play/emm-api/v1/devices/get#parameters) + // call. + UserId string `json:"userId,omitempty"` + + // Value: Output only. The value of the migration token. + Value string `json:"value,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "AdditionalData") 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. "AdditionalData") 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 *MigrationToken) MarshalJSON() ([]byte, error) { + type NoMethod MigrationToken + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // NetworkInfo: Device network info. type NetworkInfo struct { // Imei: IMEI number of the GSM device. For example, A1000031212. @@ -4506,6 +4702,10 @@ type NonComplianceDetail struct { // "ONC_WIFI_INVALID_ENTERPRISE_CONFIG" - The enterprise Wi-Fi network // is missing either the root CA or domain name. nonComplianceReason is // set to INVALID_VALUE. + // "ONC_WIFI_USER_SHOULD_REMOVE_NETWORK" - User needs to remove the + // configured Wi-Fi network manually. This is applicable only on work + // profiles on personally-owned devices. nonComplianceReason is set to + // USER_ACTION. SpecificNonComplianceReason string `json:"specificNonComplianceReason,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentValue") to @@ -5933,14 +6133,16 @@ type PostureDetail struct { // // Possible values: // "SECURITY_RISK_UNSPECIFIED" - Unspecified. - // "UNKNOWN_OS" - SafetyNet detects that the device is running an - // unknown OS (basicIntegrity check succeeds but ctsProfileMatch fails). - // "COMPROMISED_OS" - SafetyNet detects that the device is running a - // compromised OS (basicIntegrity check fails). - // "HARDWARE_BACKED_EVALUATION_FAILED" - SafetyNet detects that the - // device does not have a strong guarantee of system integrity, such as - // a hardware-backed keystore - // (https://developer.android.com/training/articles/security-key-attestation). + // "UNKNOWN_OS" - Play Integrity API detects that the device is + // running an unknown OS (basicIntegrity check succeeds but + // ctsProfileMatch fails). + // "COMPROMISED_OS" - Play Integrity API detects that the device is + // running a compromised OS (basicIntegrity check fails). + // "HARDWARE_BACKED_EVALUATION_FAILED" - Play Integrity API detects + // that the device does not have a strong guarantee of system integrity, + // if the MEETS_STRONG_INTEGRITY label doesn't show in the device + // integrity field + // (https://developer.android.com/google/play/integrity/verdicts#device-integrity-field). SecurityRisk string `json:"securityRisk,omitempty"` // ForceSendFields is a list of field names (e.g. "Advice") to @@ -10617,6 +10819,497 @@ func (c *EnterprisesEnrollmentTokensListCall) Pages(ctx context.Context, f func( } } +// method id "androidmanagement.enterprises.migrationTokens.create": + +type EnterprisesMigrationTokensCreateCall struct { + s *Service + parent string + migrationtoken *MigrationToken + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a migration token, to migrate an existing device from +// being managed by the EMM's Device Policy Controller (DPC) to being +// managed by the Android Management API. +// +// - parent: The enterprise in which this migration token will be +// created. Format: enterprises/{enterprise}. +func (r *EnterprisesMigrationTokensService) Create(parent string, migrationtoken *MigrationToken) *EnterprisesMigrationTokensCreateCall { + c := &EnterprisesMigrationTokensCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.migrationtoken = migrationtoken + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *EnterprisesMigrationTokensCreateCall) Fields(s ...googleapi.Field) *EnterprisesMigrationTokensCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *EnterprisesMigrationTokensCreateCall) Context(ctx context.Context) *EnterprisesMigrationTokensCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *EnterprisesMigrationTokensCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *EnterprisesMigrationTokensCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.migrationtoken) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/migrationTokens") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "androidmanagement.enterprises.migrationTokens.create" call. +// Exactly one of *MigrationToken or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *MigrationToken.ServerResponse.Header or (if a response was returned +// at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *EnterprisesMigrationTokensCreateCall) Do(opts ...googleapi.CallOption) (*MigrationToken, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &MigrationToken{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a migration token, to migrate an existing device from being managed by the EMM's Device Policy Controller (DPC) to being managed by the Android Management API.", + // "flatPath": "v1/enterprises/{enterprisesId}/migrationTokens", + // "httpMethod": "POST", + // "id": "androidmanagement.enterprises.migrationTokens.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The enterprise in which this migration token will be created. Format: enterprises/{enterprise}", + // "location": "path", + // "pattern": "^enterprises/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/migrationTokens", + // "request": { + // "$ref": "MigrationToken" + // }, + // "response": { + // "$ref": "MigrationToken" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/androidmanagement" + // ] + // } + +} + +// method id "androidmanagement.enterprises.migrationTokens.get": + +type EnterprisesMigrationTokensGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets a migration token. +// +// - name: The name of the migration token to retrieve. Format: +// enterprises/{enterprise}/migrationTokens/{migration_token}. +func (r *EnterprisesMigrationTokensService) Get(name string) *EnterprisesMigrationTokensGetCall { + c := &EnterprisesMigrationTokensGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *EnterprisesMigrationTokensGetCall) Fields(s ...googleapi.Field) *EnterprisesMigrationTokensGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *EnterprisesMigrationTokensGetCall) IfNoneMatch(entityTag string) *EnterprisesMigrationTokensGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *EnterprisesMigrationTokensGetCall) Context(ctx context.Context) *EnterprisesMigrationTokensGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *EnterprisesMigrationTokensGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *EnterprisesMigrationTokensGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "androidmanagement.enterprises.migrationTokens.get" call. +// Exactly one of *MigrationToken or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *MigrationToken.ServerResponse.Header or (if a response was returned +// at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *EnterprisesMigrationTokensGetCall) Do(opts ...googleapi.CallOption) (*MigrationToken, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &MigrationToken{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets a migration token.", + // "flatPath": "v1/enterprises/{enterprisesId}/migrationTokens/{migrationTokensId}", + // "httpMethod": "GET", + // "id": "androidmanagement.enterprises.migrationTokens.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the migration token to retrieve. Format: enterprises/{enterprise}/migrationTokens/{migration_token}", + // "location": "path", + // "pattern": "^enterprises/[^/]+/migrationTokens/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "MigrationToken" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/androidmanagement" + // ] + // } + +} + +// method id "androidmanagement.enterprises.migrationTokens.list": + +type EnterprisesMigrationTokensListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists migration tokens. +// +// - parent: The enterprise which the migration tokens belong to. +// Format: enterprises/{enterprise}. +func (r *EnterprisesMigrationTokensService) List(parent string) *EnterprisesMigrationTokensListCall { + c := &EnterprisesMigrationTokensListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of migration tokens to return. Fewer migration tokens may be +// returned. If unspecified, at most 100 migration tokens will be +// returned. The maximum value is 100; values above 100 will be coerced +// to 100. +func (c *EnterprisesMigrationTokensListCall) PageSize(pageSize int64) *EnterprisesMigrationTokensListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": A page token, +// received from a previous ListMigrationTokens call. Provide this to +// retrieve the subsequent page.When paginating, all other parameters +// provided to ListMigrationTokens must match the call that provided the +// page token. +func (c *EnterprisesMigrationTokensListCall) PageToken(pageToken string) *EnterprisesMigrationTokensListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *EnterprisesMigrationTokensListCall) Fields(s ...googleapi.Field) *EnterprisesMigrationTokensListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *EnterprisesMigrationTokensListCall) IfNoneMatch(entityTag string) *EnterprisesMigrationTokensListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *EnterprisesMigrationTokensListCall) Context(ctx context.Context) *EnterprisesMigrationTokensListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *EnterprisesMigrationTokensListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *EnterprisesMigrationTokensListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/migrationTokens") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "androidmanagement.enterprises.migrationTokens.list" call. +// Exactly one of *ListMigrationTokensResponse or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *ListMigrationTokensResponse.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *EnterprisesMigrationTokensListCall) Do(opts ...googleapi.CallOption) (*ListMigrationTokensResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &ListMigrationTokensResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists migration tokens.", + // "flatPath": "v1/enterprises/{enterprisesId}/migrationTokens", + // "httpMethod": "GET", + // "id": "androidmanagement.enterprises.migrationTokens.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of migration tokens to return. Fewer migration tokens may be returned. If unspecified, at most 100 migration tokens will be returned. The maximum value is 100; values above 100 will be coerced to 100.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "A page token, received from a previous ListMigrationTokens call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to ListMigrationTokens must match the call that provided the page token.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The enterprise which the migration tokens belong to. Format: enterprises/{enterprise}", + // "location": "path", + // "pattern": "^enterprises/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/migrationTokens", + // "response": { + // "$ref": "ListMigrationTokensResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/androidmanagement" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *EnterprisesMigrationTokensListCall) Pages(ctx context.Context, f func(*ListMigrationTokensResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + // method id "androidmanagement.enterprises.policies.delete": type EnterprisesPoliciesDeleteCall struct { diff --git a/blockchainnodeengine/v1/blockchainnodeengine-api.json b/blockchainnodeengine/v1/blockchainnodeengine-api.json index bde18cc1555..3798d35948d 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-api.json +++ b/blockchainnodeengine/v1/blockchainnodeengine-api.json @@ -487,7 +487,7 @@ } } }, - "revision": "20240103", + "revision": "20240117", "rootUrl": "https://blockchainnodeengine.googleapis.com/", "schemas": { "BlockchainNode": { @@ -533,6 +533,10 @@ "readOnly": true, "type": "string" }, + "privateServiceConnectEnabled": { + "description": "Optional. When true, the node is only accessible via Private Service Connect; no public endpoints are exposed. Otherwise, the node is only accessible via public endpoints. Warning: Private Service Connect enabled nodes may require a manual migration effort to remain compatible with future versions of the product. If this feature is enabled, you will be notified of these changes along with any required action to avoid disruption. See https://cloud.google.com/vpc/docs/private-service-connect.", + "type": "boolean" + }, "state": { "description": "Output only. A status representing the state of the node.", "enum": [ diff --git a/blockchainnodeengine/v1/blockchainnodeengine-gen.go b/blockchainnodeengine/v1/blockchainnodeengine-gen.go index f66da77c4da..a81ece16bcf 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-gen.go +++ b/blockchainnodeengine/v1/blockchainnodeengine-gen.go @@ -229,6 +229,16 @@ type BlockchainNode struct { // `projects/my-project/locations/us-central1/blockchainNodes/my-node`. Name string `json:"name,omitempty"` + // PrivateServiceConnectEnabled: Optional. When true, the node is only + // accessible via Private Service Connect; no public endpoints are + // exposed. Otherwise, the node is only accessible via public endpoints. + // Warning: Private Service Connect enabled nodes may require a manual + // migration effort to remain compatible with future versions of the + // product. If this feature is enabled, you will be notified of these + // changes along with any required action to avoid disruption. See + // https://cloud.google.com/vpc/docs/private-service-connect. + PrivateServiceConnectEnabled bool `json:"privateServiceConnectEnabled,omitempty"` + // State: Output only. A status representing the state of the node. // // Possible values: diff --git a/discoveryengine/v1alpha/discoveryengine-api.json b/discoveryengine/v1alpha/discoveryengine-api.json index 1e4d81b3795..f27ea23f9cd 100644 --- a/discoveryengine/v1alpha/discoveryengine-api.json +++ b/discoveryengine/v1alpha/discoveryengine-api.json @@ -235,7 +235,7 @@ ], "parameters": { "location": { - "description": "Required. Full resource name of the Location, such as `projects/{project}/locations/{location}`.", + "description": "Required. Full resource name of the location, such as `projects/{project}/locations/{location}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -636,7 +636,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.orc_config If not set, all supported fields are updated.", + "description": "Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3141,7 +3141,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.orc_config If not set, all supported fields are updated.", + "description": "Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4596,7 +4596,7 @@ } } }, - "revision": "20240118", + "revision": "20240123", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -7973,7 +7973,7 @@ }, "embeddingSpec": { "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec", - "description": "Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_paths." + "description": "Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path." }, "facetSpecs": { "description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", diff --git a/discoveryengine/v1alpha/discoveryengine-gen.go b/discoveryengine/v1alpha/discoveryengine-gen.go index a58a536feab..0c3c728fc70 100644 --- a/discoveryengine/v1alpha/discoveryengine-gen.go +++ b/discoveryengine/v1alpha/discoveryengine-gen.go @@ -6865,7 +6865,7 @@ type GoogleCloudDiscoveryengineV1alphaSearchRequest struct { // embedding that is provided in // SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If // SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not - // provided, it will use ServingConfig.EmbeddingConfig.field_paths. + // provided, it will use ServingConfig.EmbeddingConfig.field_path. EmbeddingSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec `json:"embeddingSpec,omitempty"` // FacetSpecs: Facet specifications for faceted search. If empty, no @@ -12055,7 +12055,7 @@ type ProjectsLocationsEstimateDataSizeCall struct { // EstimateDataSize: Estimates the data size to be used by a customer. // -// - location: Full resource name of the Location, such as +// - location: Full resource name of the location, such as // `projects/{project}/locations/{location}`. func (r *ProjectsLocationsService) EstimateDataSize(location string, googleclouddiscoveryenginev1alphaestimatedatasizerequest *GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest) *ProjectsLocationsEstimateDataSizeCall { c := &ProjectsLocationsEstimateDataSizeCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -12164,7 +12164,7 @@ func (c *ProjectsLocationsEstimateDataSizeCall) Do(opts ...googleapi.CallOption) // ], // "parameters": { // "location": { - // "description": "Required. Full resource name of the Location, such as `projects/{project}/locations/{location}`.", + // "description": "Required. Full resource name of the location, such as `projects/{project}/locations/{location}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -14083,7 +14083,7 @@ func (r *ProjectsLocationsCollectionsDataStoresService) UpdateDocumentProcessing // UpdateMask sets the optional parameter "updateMask": Indicates which // fields in the provided DocumentProcessingConfig to update. The // following are the only supported fields: * -// DocumentProcessingConfig.orc_config If not set, all supported fields +// DocumentProcessingConfig.ocr_config If not set, all supported fields // are updated. func (c *ProjectsLocationsCollectionsDataStoresUpdateDocumentProcessingConfigCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresUpdateDocumentProcessingConfigCall { c.urlParams_.Set("updateMask", updateMask) @@ -14200,7 +14200,7 @@ func (c *ProjectsLocationsCollectionsDataStoresUpdateDocumentProcessingConfigCal // "type": "string" // }, // "updateMask": { - // "description": "Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.orc_config If not set, all supported fields are updated.", + // "description": "Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -26893,7 +26893,7 @@ func (r *ProjectsLocationsDataStoresService) UpdateDocumentProcessingConfig(name // UpdateMask sets the optional parameter "updateMask": Indicates which // fields in the provided DocumentProcessingConfig to update. The // following are the only supported fields: * -// DocumentProcessingConfig.orc_config If not set, all supported fields +// DocumentProcessingConfig.ocr_config If not set, all supported fields // are updated. func (c *ProjectsLocationsDataStoresUpdateDocumentProcessingConfigCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresUpdateDocumentProcessingConfigCall { c.urlParams_.Set("updateMask", updateMask) @@ -27010,7 +27010,7 @@ func (c *ProjectsLocationsDataStoresUpdateDocumentProcessingConfigCall) Do(opts // "type": "string" // }, // "updateMask": { - // "description": "Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.orc_config If not set, all supported fields are updated.", + // "description": "Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/discoveryengine/v1beta/discoveryengine-api.json b/discoveryengine/v1beta/discoveryengine-api.json index 097de550bb1..2f29aba07f6 100644 --- a/discoveryengine/v1beta/discoveryengine-api.json +++ b/discoveryengine/v1beta/discoveryengine-api.json @@ -4164,7 +4164,7 @@ } } }, - "revision": "20240118", + "revision": "20240123", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -8323,7 +8323,7 @@ }, "embeddingSpec": { "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec", - "description": "Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_paths." + "description": "Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path." }, "facetSpecs": { "description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", diff --git a/discoveryengine/v1beta/discoveryengine-gen.go b/discoveryengine/v1beta/discoveryengine-gen.go index ca60f57d1ad..26be6649612 100644 --- a/discoveryengine/v1beta/discoveryengine-gen.go +++ b/discoveryengine/v1beta/discoveryengine-gen.go @@ -8111,7 +8111,7 @@ type GoogleCloudDiscoveryengineV1betaSearchRequest struct { // embedding that is provided in // SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If // SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not - // provided, it will use ServingConfig.EmbeddingConfig.field_paths. + // provided, it will use ServingConfig.EmbeddingConfig.field_path. EmbeddingSpec *GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec `json:"embeddingSpec,omitempty"` // FacetSpecs: Facet specifications for faceted search. If empty, no diff --git a/firebaseappcheck/v1beta/firebaseappcheck-api.json b/firebaseappcheck/v1beta/firebaseappcheck-api.json index 933b3b14520..a23e7206307 100644 --- a/firebaseappcheck/v1beta/firebaseappcheck-api.json +++ b/firebaseappcheck/v1beta/firebaseappcheck-api.json @@ -1748,6 +1748,11 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. Filters the results by the specified rule. For the exact syntax of this field, please consult the [AIP-160](https://google.aip.dev/160) standard. Currently, since the only fields in the ResourcePolicy resource are the scalar fields `enforcement_mode` and `target_resource`, this method does not support the traversal operator (`.`) or the has operator (`:`). Here are some examples of valid filters: * `enforcement_mode = ENFORCED` * `target_resource = \"//oauth2.googleapis.com/projects/12345/oauthClients/\"` * `enforcement_mode = ENFORCED AND target_resource = \"//oauth2.googleapis.com/projects/12345/oauthClients/\"`", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of ResourcePolicys to return in the response. Only explicitly configured policies are returned. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.", "format": "int32", @@ -1818,7 +1823,7 @@ } } }, - "revision": "20231204", + "revision": "20240122", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1betaAppAttestConfig": { diff --git a/firebaseappcheck/v1beta/firebaseappcheck-gen.go b/firebaseappcheck/v1beta/firebaseappcheck-gen.go index e3504581edf..48e965e9183 100644 --- a/firebaseappcheck/v1beta/firebaseappcheck-gen.go +++ b/firebaseappcheck/v1beta/firebaseappcheck-gen.go @@ -10596,6 +10596,22 @@ func (r *ProjectsServicesResourcePoliciesService) List(parent string) *ProjectsS return c } +// Filter sets the optional parameter "filter": Filters the results by +// the specified rule. For the exact syntax of this field, please +// consult the AIP-160 (https://google.aip.dev/160) standard. Currently, +// since the only fields in the ResourcePolicy resource are the scalar +// fields `enforcement_mode` and `target_resource`, this method does not +// support the traversal operator (`.`) or the has operator (`:`). Here +// are some examples of valid filters: * `enforcement_mode = ENFORCED` * +// `target_resource = +// "//oauth2.googleapis.com/projects/12345/oauthClients/" * +// `enforcement_mode = ENFORCED AND target_resource = +// "//oauth2.googleapis.com/projects/12345/oauthClients/" +func (c *ProjectsServicesResourcePoliciesListCall) Filter(filter string) *ProjectsServicesResourcePoliciesListCall { + c.urlParams_.Set("filter", filter) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of ResourcePolicys to return in the response. Only explicitly // configured policies are returned. The server may return fewer than @@ -10727,6 +10743,11 @@ func (c *ProjectsServicesResourcePoliciesListCall) Do(opts ...googleapi.CallOpti // "parent" // ], // "parameters": { + // "filter": { + // "description": "Optional. Filters the results by the specified rule. For the exact syntax of this field, please consult the [AIP-160](https://google.aip.dev/160) standard. Currently, since the only fields in the ResourcePolicy resource are the scalar fields `enforcement_mode` and `target_resource`, this method does not support the traversal operator (`.`) or the has operator (`:`). Here are some examples of valid filters: * `enforcement_mode = ENFORCED` * `target_resource = \"//oauth2.googleapis.com/projects/12345/oauthClients/\"` * `enforcement_mode = ENFORCED AND target_resource = \"//oauth2.googleapis.com/projects/12345/oauthClients/\"`", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of ResourcePolicys to return in the response. Only explicitly configured policies are returned. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.", // "format": "int32", diff --git a/healthcare/v1/healthcare-api.json b/healthcare/v1/healthcare-api.json index a4dbac6299f..85a498444a1 100644 --- a/healthcare/v1/healthcare-api.json +++ b/healthcare/v1/healthcare-api.json @@ -228,7 +228,7 @@ ], "parameters": { "sourceDataset": { - "description": "Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", + "description": "Required. Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -947,7 +947,7 @@ ], "parameters": { "name": { - "description": "Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", + "description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", "required": true, @@ -1623,12 +1623,12 @@ ], "parameters": { "dicomStoreId": { - "description": "The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", + "description": "Required. The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", "location": "query", "type": "string" }, "parent": { - "description": "The name of the dataset this DICOM store belongs to.", + "description": "Required. The name of the dataset this DICOM store belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -1657,7 +1657,7 @@ ], "parameters": { "sourceStore": { - "description": "Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -1686,7 +1686,7 @@ ], "parameters": { "name": { - "description": "The resource name of the DICOM store to delete.", + "description": "Required. The resource name of the DICOM store to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -1712,7 +1712,7 @@ ], "parameters": { "name": { - "description": "The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -1741,7 +1741,7 @@ ], "parameters": { "name": { - "description": "The resource name of the DICOM store to get.", + "description": "Required. The resource name of the DICOM store to get.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -1767,7 +1767,7 @@ ], "parameters": { "name": { - "description": "The resource name of the DICOM store to get metrics for.", + "description": "Required. The resource name of the DICOM store to get metrics for.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -1825,7 +1825,7 @@ ], "parameters": { "name": { - "description": "The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -1870,7 +1870,7 @@ "type": "string" }, "parent": { - "description": "Name of the dataset.", + "description": "Required. Name of the dataset.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -1896,14 +1896,14 @@ ], "parameters": { "name": { - "description": "Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", + "description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1932,14 +1932,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", "location": "path", "pattern": "^instances$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -1966,14 +1966,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", + "description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", "location": "path", "pattern": "^series$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2000,14 +2000,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForStudies DICOMweb request. For example, `studies`.", + "description": "Required. The path of the SearchForStudies DICOMweb request. For example, `studies`.", "location": "path", "pattern": "^studies$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2063,14 +2063,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", + "description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", "location": "path", "pattern": "^studies$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2134,7 +2134,7 @@ ], "parameters": { "study": { - "description": "The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", + "description": "Required. The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+$", "required": true, @@ -2164,7 +2164,7 @@ ], "parameters": { "series": { - "description": "The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", + "description": "Required. The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+/series/[^/]+$", "required": true, @@ -2199,7 +2199,7 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the DeleteStudy request. For example, `studies/{study_uid}`.", + "description": "Required. The path of the DeleteStudy request. For example, `studies/{study_uid}`.", "location": "path", "pattern": "^studies/[^/]+$", "required": true, @@ -2232,14 +2232,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", + "description": "Required. The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", "location": "path", "pattern": "^studies/[^/]+/metadata$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2266,14 +2266,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", + "description": "Required. The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", "location": "path", "pattern": "^studies/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2300,14 +2300,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", "location": "path", "pattern": "^studies/[^/]+/instances$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2334,14 +2334,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", + "description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", "location": "path", "pattern": "^studies/[^/]+/series$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2368,14 +2368,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", + "description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", "location": "path", "pattern": "^studies/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2409,14 +2409,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", + "description": "Required. The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2443,14 +2443,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", + "description": "Required. The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/metadata$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2477,14 +2477,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", + "description": "Required. The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2511,14 +2511,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2549,14 +2549,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", + "description": "Required. The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2583,14 +2583,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", + "description": "Required. The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2617,14 +2617,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", + "description": "Required. The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/metadata$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2651,14 +2651,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", + "description": "Required. The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/rendered$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2689,14 +2689,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", + "description": "Required. The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2723,14 +2723,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", + "description": "Required. The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+/rendered$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2768,12 +2768,12 @@ ], "parameters": { "fhirStoreId": { - "description": "The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", + "description": "Required. The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", "location": "query", "type": "string" }, "parent": { - "description": "The name of the dataset this FHIR store belongs to.", + "description": "Required. The name of the dataset this FHIR store belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -2802,7 +2802,7 @@ ], "parameters": { "sourceStore": { - "description": "Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Required. Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -2831,7 +2831,7 @@ ], "parameters": { "name": { - "description": "The resource name of the FHIR store to delete.", + "description": "Required. The resource name of the FHIR store to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -2857,7 +2857,7 @@ ], "parameters": { "name": { - "description": "The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Required. The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -2886,7 +2886,7 @@ ], "parameters": { "name": { - "description": "The resource name of the FHIR store to get.", + "description": "Required. The resource name of the FHIR store to get.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -2912,7 +2912,7 @@ ], "parameters": { "name": { - "description": "The resource name of the FHIR store to get metrics for.", + "description": "Required. The resource name of the FHIR store to get metrics for.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -2970,7 +2970,7 @@ ], "parameters": { "name": { - "description": "The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Required. The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3015,7 +3015,7 @@ "type": "string" }, "parent": { - "description": "Name of the dataset.", + "description": "Required. Name of the dataset.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -3041,14 +3041,14 @@ ], "parameters": { "name": { - "description": "Output only. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", + "description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3066,6 +3066,35 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "rollback": { + "description": "Rolls back resources from the FHIR store to the specified time. This method returns an Operation that can be used to track the status of the rollback by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type RollbackFhirResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:rollback", + "httpMethod": "POST", + "id": "healthcare.projects.locations.datasets.fhirStores.rollback", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the FHIR store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /fhirStores/{fhir_store_id}\".", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:rollback", + "request": { + "$ref": "RollbackFhirResourcesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-healthcare", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "setIamPolicy": { "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:setIamPolicy", @@ -3138,7 +3167,7 @@ ], "parameters": { "_count": { - "description": "Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", + "description": "Optional. Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -3149,29 +3178,29 @@ "type": "string" }, "_since": { - "description": "If provided, only resources updated after this time are returned. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", + "description": "Optional. If provided, only resources updated after this time are returned. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", "location": "query", "type": "string" }, "_type": { - "description": "String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are returned. Specifying multiple `_type` parameters isn't supported. For example, the result of `_type=Observation\u0026_type=Encounter` is undefined. Use `_type=Observation,Encounter` instead.", + "description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are returned. Specifying multiple `_type` parameters isn't supported. For example, the result of `_type=Observation\u0026_type=Encounter` is undefined. Use `_type=Observation,Encounter` instead.", "location": "query", "type": "string" }, "end": { - "description": "The response includes records prior to the end date. The date uses the format YYYY-MM-DD. If no end date is provided, all records subsequent to the start date are in scope.", + "description": "Optional. The response includes records prior to the end date. The date uses the format YYYY-MM-DD. If no end date is provided, all records subsequent to the start date are in scope.", "location": "query", "type": "string" }, "name": { - "description": "Name of the `Patient` resource for which the information is required.", + "description": "Required. Name of the `Patient` resource for which the information is required.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$", "required": true, "type": "string" }, "start": { - "description": "The response includes records subsequent to the start date. The date uses the format YYYY-MM-DD. If no start date is provided, all records prior to the end date are in scope.", + "description": "Optional. The response includes records subsequent to the start date. The date uses the format YYYY-MM-DD. If no start date is provided, all records prior to the end date are in scope.", "location": "query", "type": "string" } @@ -3195,7 +3224,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to purge.", + "description": "Required. The name of the resource to purge.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -3222,19 +3251,19 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store that holds the profiles being used for validation.", + "description": "Required. The name of the FHIR store that holds the profiles being used for validation.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "profile": { - "description": "The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", + "description": "Required. The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", "location": "query", "type": "string" }, "type": { - "description": "The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + "description": "Required. The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -3263,7 +3292,7 @@ ], "parameters": { "name": { - "description": "Name of the FHIR store to retrieve the capabilities for.", + "description": "Required. Name of the FHIR store to retrieve the capabilities for.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3290,14 +3319,14 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store this resource belongs to.", + "description": "Required. The name of the FHIR store this resource belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "type": { - "description": "The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + "description": "Required. The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -3324,14 +3353,14 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store this resource belongs to.", + "description": "Required. The name of the FHIR store this resource belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "type": { - "description": "The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + "description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -3361,14 +3390,14 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store this resource belongs to.", + "description": "Required. The name of the FHIR store this resource belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "type": { - "description": "The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + "description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -3398,14 +3427,14 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store this resource belongs to.", + "description": "Required. The name of the FHIR store this resource belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "type": { - "description": "The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + "description": "Required. The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -3434,7 +3463,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to delete.", + "description": "Required. The name of the resource to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -3460,7 +3489,7 @@ ], "parameters": { "parent": { - "description": "Name of the FHIR store in which this bundle will be executed.", + "description": "Required. Name of the FHIR store in which this bundle will be executed.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3510,7 +3539,7 @@ "type": "string" }, "name": { - "description": "The name of the resource to retrieve.", + "description": "Required. The name of the resource to retrieve.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -3536,7 +3565,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to update.", + "description": "Required. The name of the resource to update.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -3565,7 +3594,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to retrieve.", + "description": "Required. The name of the resource to retrieve.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -3591,7 +3620,7 @@ ], "parameters": { "parent": { - "description": "Name of the FHIR store to retrieve resources from.", + "description": "Required. Name of the FHIR store to retrieve resources from.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3621,14 +3650,14 @@ ], "parameters": { "parent": { - "description": "Name of the FHIR store to retrieve resources from.", + "description": "Required. Name of the FHIR store to retrieve resources from.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "resourceType": { - "description": "The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + "description": "Required. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", "location": "path", "required": true, "type": "string" @@ -3656,7 +3685,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to update.", + "description": "Required. The name of the resource to update.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -3685,7 +3714,7 @@ ], "parameters": { "name": { - "description": "The name of the resource version to retrieve.", + "description": "Required. The name of the resource version to retrieve.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+/_history/[^/]+$", "required": true, @@ -4431,7 +4460,7 @@ } } }, - "revision": "20240110", + "revision": "20240112", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { @@ -4598,7 +4627,7 @@ "type": "string" }, "name": { - "description": "Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", + "description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", "type": "string" } }, @@ -4846,7 +4875,7 @@ "type": "object" }, "name": { - "description": "Resource name of the Consent artifact, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. Cannot be changed after creation.", + "description": "Identifier. Resource name of the Consent artifact, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. Cannot be changed after creation.", "type": "string" }, "userId": { @@ -5039,7 +5068,7 @@ "description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." }, "destinationDataset": { - "description": "The name of the dataset resource to create and write the redacted data to. * The destination dataset must not exist. * The destination dataset must be in the same location as the source dataset. De-identifying data across multiple locations is not supported.", + "description": "Required. The name of the dataset resource to create and write the redacted data to. * The destination dataset must not exist. * The destination dataset must be in the same location as the source dataset. De-identifying data across multiple locations is not supported.", "type": "string" }, "gcsConfigUri": { @@ -5058,7 +5087,7 @@ "description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." }, "destinationStore": { - "description": "The name of the DICOM store to create and write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * The destination dataset must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The destination DICOM store must not exist. * The caller must have the necessary permissions to create the destination DICOM store.", + "description": "Required. The name of the DICOM store to create and write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * The destination dataset must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The destination DICOM store must not exist. * The caller must have the necessary permissions to create the destination DICOM store.", "type": "string" }, "filterConfig": { @@ -5081,7 +5110,7 @@ "description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." }, "destinationStore": { - "description": "The name of the FHIR store to create and write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * The destination dataset must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The destination FHIR store must exist. * The caller must have the healthcare.fhirResources.update permission to write to the destination FHIR store.", + "description": "Required. The name of the FHIR store to create and write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * The destination dataset must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The destination FHIR store must exist. * The caller must have the healthcare.fhirResources.update permission to write to the destination FHIR store.", "type": "string" }, "gcsConfigUri": { @@ -5165,7 +5194,7 @@ "type": "object" }, "name": { - "description": "Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "type": "string" }, "notificationConfig": { @@ -5592,7 +5621,7 @@ "type": "object" }, "name": { - "description": "Output only. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "type": "string" }, "notificationConfig": { @@ -5619,7 +5648,7 @@ "description": "Configuration for how to validate incoming FHIR resources against configured profiles." }, "version": { - "description": "Immutable. The FHIR specification version that this FHIR store supports natively. This field is immutable after store creation. Requests are rejected if they contain FHIR resources of a different version. Version is required for every FHIR store.", + "description": "Required. Immutable. The FHIR specification version that this FHIR store supports natively. This field is immutable after store creation. Requests are rejected if they contain FHIR resources of a different version. Version is required for every FHIR store.", "enum": [ "VERSION_UNSPECIFIED", "DSTU2", @@ -6959,6 +6988,91 @@ }, "type": "object" }, + "RollbackFhirResourceFilteringFields": { + "id": "RollbackFhirResourceFilteringFields", + "properties": { + "metadataFilter": { + "description": "Optional. A filter expression that matches data in the `Resource.meta` element. Supports all filters in [AIP-160](https://google.aip.dev/160) except the \"has\" (`:`) operator. Supports the following custom functions: * `tag(\"\") = \"\"` for tag filtering. * `extension_value_ts(\"\") = ` for filtering extensions with a timestamp, where `` is a Unix timestamp. Supports the `\u003e`, `\u003c`, `\u003c=`, `\u003e=`, and `!=` comparison operators.", + "type": "string" + }, + "operationIds": { + "description": "Optional. A list of operation IDs to roll back.", + "items": { + "format": "uint64", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "RollbackFhirResourcesRequest": { + "id": "RollbackFhirResourcesRequest", + "properties": { + "changeType": { + "description": "Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.", + "enum": [ + "CHANGE_TYPE_UNSPECIFIED", + "ALL", + "CREATE", + "UPDATE", + "DELETE" + ], + "enumDescriptions": [ + "When unspecified, revert all transactions", + "All transactions", + "Revert only CREATE transactions", + "Revert only Update transactions", + "Revert only Delete transactions" + ], + "type": "string" + }, + "excludeRollbacks": { + "description": "Optional. Specifies whether to exclude earlier rollbacks.", + "type": "boolean" + }, + "filteringFields": { + "$ref": "RollbackFhirResourceFilteringFields", + "description": "Optional. Parameters for filtering resources" + }, + "force": { + "description": "Optional. When enabled, changes will be reverted without explicit confirmation", + "type": "boolean" + }, + "inputGcsObject": { + "description": "Optional. GCS object containing list of {resourceType}/{resourceId} lines, identifying resources to be reverted", + "type": "string" + }, + "resultGcsBucket": { + "description": "Required. Bucket to deposit result", + "type": "string" + }, + "rollbackTime": { + "description": "Required. Time point to rollback to.", + "format": "google-datetime", + "type": "string" + }, + "type": { + "description": "Optional. If specified, revert only resources of these types", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "RollbackFhirResourcesResponse": { + "description": "Final response of rollback FIHR resources request.", + "id": "RollbackFhirResourcesResponse", + "properties": { + "fhirStore": { + "description": "The name of the FHIR store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /fhirStores/{fhir_store_id}\".", + "type": "string" + } + }, + "type": "object" + }, "SchemaConfig": { "description": "Configuration for the FHIR BigQuery schema. Determines how the server generates the schema.", "id": "SchemaConfig", @@ -7117,7 +7231,7 @@ "id": "SearchResourcesRequest", "properties": { "resourceType": { - "description": "The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + "description": "Required. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", "type": "string" } }, diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index 1548c2a4ead..bac2baa9027 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -672,7 +672,8 @@ type AttributeDefinition struct { // Description: Optional. A description of the attribute. Description string `json:"description,omitempty"` - // Name: Resource name of the Attribute definition, of the form + // Name: Identifier. Resource name of the Attribute definition, of the + // form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/c // onsentStores/{consent_store_id}/attributeDefinitions/{attribute_defini // tion_id}`. Cannot be changed after creation. @@ -1156,7 +1157,7 @@ type ConsentArtifact struct { // For example, the consent locale or user agent version. Metadata map[string]string `json:"metadata,omitempty"` - // Name: Resource name of the Consent artifact, of the form + // Name: Identifier. Resource name of the Consent artifact, of the form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/c // onsentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id} // `. Cannot be changed after creation. @@ -1574,11 +1575,11 @@ type DeidentifyDatasetRequest struct { // `gcs_config_uri` can be specified. Config *DeidentifyConfig `json:"config,omitempty"` - // DestinationDataset: The name of the dataset resource to create and - // write the redacted data to. * The destination dataset must not exist. - // * The destination dataset must be in the same location as the source - // dataset. De-identifying data across multiple locations is not - // supported. + // DestinationDataset: Required. The name of the dataset resource to + // create and write the redacted data to. * The destination dataset must + // not exist. * The destination dataset must be in the same location as + // the source dataset. De-identifying data across multiple locations is + // not supported. DestinationDataset string `json:"destinationDataset,omitempty"` // GcsConfigUri: Cloud Storage location to read the JSON @@ -1620,8 +1621,8 @@ type DeidentifyDicomStoreRequest struct { // `gcs_config_uri` can be specified. Config *DeidentifyConfig `json:"config,omitempty"` - // DestinationStore: The name of the DICOM store to create and write the - // redacted data to. For example, + // DestinationStore: Required. The name of the DICOM store to create and + // write the redacted data to. For example, // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/d // icomStores/{dicom_store_id}`. * The destination dataset must exist. * // The source dataset and destination dataset must both reside in the @@ -1673,8 +1674,8 @@ type DeidentifyFhirStoreRequest struct { // `gcs_config_uri` can be specified. Config *DeidentifyConfig `json:"config,omitempty"` - // DestinationStore: The name of the FHIR store to create and write the - // redacted data to. For example, + // DestinationStore: Required. The name of the FHIR store to create and + // write the redacted data to. For example, // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/f // hirStores/{fhir_store_id}`. * The destination dataset must exist. * // The source dataset and destination dataset must both reside in the @@ -1840,7 +1841,7 @@ type DicomStore struct { // associated with a given store. Labels map[string]string `json:"labels,omitempty"` - // Name: Resource name of the DICOM store, of the form + // Name: Identifier. Resource name of the DICOM store, of the form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/d // icomStores/{dicom_store_id}`. Name string `json:"name,omitempty"` @@ -2747,7 +2748,8 @@ type FhirStore struct { // associated with a given store. Labels map[string]string `json:"labels,omitempty"` - // Name: Output only. Resource name of the FHIR store, of the form + // Name: Output only. Identifier. Resource name of the FHIR store, of + // the form // `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id // }`. Name string `json:"name,omitempty"` @@ -2782,10 +2784,10 @@ type FhirStore struct { // resources against configured profiles. ValidationConfig *ValidationConfig `json:"validationConfig,omitempty"` - // Version: Immutable. The FHIR specification version that this FHIR - // store supports natively. This field is immutable after store - // creation. Requests are rejected if they contain FHIR resources of a - // different version. Version is required for every FHIR store. + // Version: Required. Immutable. The FHIR specification version that + // this FHIR store supports natively. This field is immutable after + // store creation. Requests are rejected if they contain FHIR resources + // of a different version. Version is required for every FHIR store. // // Possible values: // "VERSION_UNSPECIFIED" - Users must specify a version on store @@ -5608,6 +5610,135 @@ func (s *RevokeConsentRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type RollbackFhirResourceFilteringFields struct { + // MetadataFilter: Optional. A filter expression that matches data in + // the `Resource.meta` element. Supports all filters in AIP-160 + // (https://google.aip.dev/160) except the "has" (`:`) operator. + // Supports the following custom functions: * `tag("") = "" for tag + // filtering. * `extension_value_ts("") = ` for filtering extensions + // with a timestamp, where `` is a Unix timestamp. Supports the `>`, + // `<`, `<=`, `>=`, and `!=` comparison operators. + MetadataFilter string `json:"metadataFilter,omitempty"` + + // OperationIds: Optional. A list of operation IDs to roll back. + OperationIds googleapi.Uint64s `json:"operationIds,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MetadataFilter") 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. "MetadataFilter") 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 *RollbackFhirResourceFilteringFields) MarshalJSON() ([]byte, error) { + type NoMethod RollbackFhirResourceFilteringFields + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +type RollbackFhirResourcesRequest struct { + // ChangeType: Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns + // of a certain type. + // + // Possible values: + // "CHANGE_TYPE_UNSPECIFIED" - When unspecified, revert all + // transactions + // "ALL" - All transactions + // "CREATE" - Revert only CREATE transactions + // "UPDATE" - Revert only Update transactions + // "DELETE" - Revert only Delete transactions + ChangeType string `json:"changeType,omitempty"` + + // ExcludeRollbacks: Optional. Specifies whether to exclude earlier + // rollbacks. + ExcludeRollbacks bool `json:"excludeRollbacks,omitempty"` + + // FilteringFields: Optional. Parameters for filtering resources + FilteringFields *RollbackFhirResourceFilteringFields `json:"filteringFields,omitempty"` + + // Force: Optional. When enabled, changes will be reverted without + // explicit confirmation + Force bool `json:"force,omitempty"` + + // InputGcsObject: Optional. GCS object containing list of + // {resourceType}/{resourceId} lines, identifying resources to be + // reverted + InputGcsObject string `json:"inputGcsObject,omitempty"` + + // ResultGcsBucket: Required. Bucket to deposit result + ResultGcsBucket string `json:"resultGcsBucket,omitempty"` + + // RollbackTime: Required. Time point to rollback to. + RollbackTime string `json:"rollbackTime,omitempty"` + + // Type: Optional. If specified, revert only resources of these types + Type []string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ChangeType") 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. "ChangeType") 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 *RollbackFhirResourcesRequest) MarshalJSON() ([]byte, error) { + type NoMethod RollbackFhirResourcesRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// RollbackFhirResourcesResponse: Final response of rollback FIHR +// resources request. +type RollbackFhirResourcesResponse struct { + // FhirStore: The name of the FHIR store to rollback, in the format of + // "projects/{project_id}/locations/{location_id}/datasets/{dataset_id} + // /fhirStores/{fhir_store_id}". + FhirStore string `json:"fhirStore,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FhirStore") 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. "FhirStore") 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 *RollbackFhirResourcesResponse) MarshalJSON() ([]byte, error) { + type NoMethod RollbackFhirResourcesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SchemaConfig: Configuration for the FHIR BigQuery schema. Determines // how the server generates the schema. type SchemaConfig struct { @@ -5855,8 +5986,9 @@ func (s *SchematizedData) MarshalJSON() ([]byte, error) { // SearchResourcesRequest: Request to search the resources in the // specified FHIR store. type SearchResourcesRequest struct { - // ResourceType: The FHIR resource type to search, such as Patient or - // Observation. For a complete list, see the FHIR Resource Index (DSTU2 + // ResourceType: Required. The FHIR resource type to search, such as + // Patient or Observation. For a complete list, see the FHIR Resource + // Index (DSTU2 // (http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), // STU3 // (http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), R4 @@ -7304,7 +7436,7 @@ func (c *ProjectsLocationsDatasetsDeidentifyCall) Do(opts ...googleapi.CallOptio // ], // "parameters": { // "sourceDataset": { - // "description": "Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", + // "description": "Required. Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -10882,7 +11014,8 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall struct // Patch: Updates the specified Attribute definition. // -// - name: Resource name of the Attribute definition, of the form +// - name: Identifier. Resource name of the Attribute definition, of the +// form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id} // /consentStores/{consent_store_id}/attributeDefinitions/{attribute_de // finition_id}`. Cannot be changed after creation. @@ -11006,7 +11139,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall) Do // ], // "parameters": { // "name": { - // "description": "Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", + // "description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", // "required": true, @@ -14347,9 +14480,9 @@ func (r *ProjectsLocationsDatasetsDicomStoresService) Create(parent string, dico return c } -// DicomStoreId sets the optional parameter "dicomStoreId": The ID of -// the DICOM store that is being created. Any string value up to 256 -// characters in length. +// DicomStoreId sets the optional parameter "dicomStoreId": Required. +// The ID of the DICOM store that is being created. Any string value up +// to 256 characters in length. func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) DicomStoreId(dicomStoreId string) *ProjectsLocationsDatasetsDicomStoresCreateCall { c.urlParams_.Set("dicomStoreId", dicomStoreId) return c @@ -14455,12 +14588,12 @@ func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "dicomStoreId": { - // "description": "The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", + // "description": "Required. The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "The name of the dataset this DICOM store belongs to.", + // "description": "Required. The name of the dataset this DICOM store belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -14614,7 +14747,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) Do(opts ...googleap // ], // "parameters": { // "sourceStore": { - // "description": "Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -14751,7 +14884,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "name": { - // "description": "The resource name of the DICOM store to delete.", + // "description": "Required. The resource name of the DICOM store to delete.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -14898,7 +15031,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresExportCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "name": { - // "description": "The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -15048,7 +15181,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetCall) Do(opts ...googleapi.CallO // ], // "parameters": { // "name": { - // "description": "The resource name of the DICOM store to get.", + // "description": "Required. The resource name of the DICOM store to get.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -15195,7 +15328,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetDICOMStoreMetricsCall) Do(opts . // ], // "parameters": { // "name": { - // "description": "The resource name of the DICOM store to get metrics for.", + // "description": "Required. The resource name of the DICOM store to get metrics for.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -15518,7 +15651,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresImportCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "name": { - // "description": "The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -15731,7 +15864,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Do(opts ...googleapi.Call // "type": "string" // }, // "parent": { - // "description": "Name of the dataset.", + // "description": "Required. Name of the dataset.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -15784,7 +15917,7 @@ type ProjectsLocationsDatasetsDicomStoresPatchCall struct { // Patch: Updates the specified DICOM store. // -// - name: Resource name of the DICOM store, of the form +// - name: Identifier. Resource name of the DICOM store, of the form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id} // /dicomStores/{dicom_store_id}`. func (r *ProjectsLocationsDatasetsDicomStoresService) Patch(name string, dicomstore *DicomStore) *ProjectsLocationsDatasetsDicomStoresPatchCall { @@ -15794,8 +15927,9 @@ func (r *ProjectsLocationsDatasetsDicomStoresService) Patch(name string, dicomst return c } -// UpdateMask sets the optional parameter "updateMask": The update mask -// applies to the resource. For the `FieldMask` definition, see +// UpdateMask sets the optional parameter "updateMask": Required. The +// update mask applies to the resource. For the `FieldMask` definition, +// see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDatasetsDicomStoresPatchCall { c.urlParams_.Set("updateMask", updateMask) @@ -15902,14 +16036,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", + // "description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -16043,14 +16177,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) Do(opts ... // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + // "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", // "location": "path", // "pattern": "^instances$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -16181,14 +16315,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) Do(opts ...goo // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", + // "description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", // "location": "path", // "pattern": "^series$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -16319,14 +16453,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) Do(opts ...go // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForStudies DICOMweb request. For example, `studies`.", + // "description": "Required. The path of the SearchForStudies DICOMweb request. For example, `studies`.", // "location": "path", // "pattern": "^studies$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -16593,14 +16727,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) Do(opts ...goog // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", + // "description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", // "location": "path", // "pattern": "^studies$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -16903,7 +17037,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDicomWebStudiesGetStudyMetricsCall) // ], // "parameters": { // "study": { - // "description": "The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", + // "description": "Required. The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+$", // "required": true, @@ -17053,7 +17187,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesGetSeriesMetri // ], // "parameters": { // "series": { - // "description": "The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", + // "description": "Required. The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+/series/[^/]+$", // "required": true, @@ -17199,7 +17333,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) Do(opts ...googl // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the DeleteStudy request. For example, `studies/{study_uid}`.", + // "description": "Required. The path of the DeleteStudy request. For example, `studies/{study_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+$", // "required": true, @@ -17337,14 +17471,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) Do(opt // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", + // "description": "Required. The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", // "location": "path", // "pattern": "^studies/[^/]+/metadata$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -17475,14 +17609,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) Do(opts . // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", + // "description": "Required. The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -17614,14 +17748,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) Do(o // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + // "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", // "location": "path", // "pattern": "^studies/[^/]+/instances$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -17752,14 +17886,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) Do(opts // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", + // "description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", // "location": "path", // "pattern": "^studies/[^/]+/series$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -17878,14 +18012,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) Do(opts // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", + // "description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", // "location": "path", // "pattern": "^studies/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -18037,14 +18171,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) Do(opts .. // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", + // "description": "Required. The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -18177,14 +18311,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", + // "description": "Required. The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/metadata$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -18315,14 +18449,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) Do // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", + // "description": "Required. The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -18454,14 +18588,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + // "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -18609,14 +18743,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) D // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", + // "description": "Required. The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -18751,14 +18885,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInsta // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", + // "description": "Required. The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -18893,14 +19027,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetad // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", + // "description": "Required. The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/metadata$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -19035,14 +19169,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRende // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", + // "description": "Required. The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/rendered$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -19175,14 +19309,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", + // "description": "Required. The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -19317,14 +19451,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", + // "description": "Required. The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+/rendered$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -19364,9 +19498,9 @@ func (r *ProjectsLocationsDatasetsFhirStoresService) Create(parent string, fhirs return c } -// FhirStoreId sets the optional parameter "fhirStoreId": The ID of the -// FHIR store that is being created. The string must match the following -// regex: `[\p{L}\p{N}_\-\.]{1,256}`. +// FhirStoreId sets the optional parameter "fhirStoreId": Required. The +// ID of the FHIR store that is being created. The string must match the +// following regex: `[\p{L}\p{N}_\-\.]{1,256}`. func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) FhirStoreId(fhirStoreId string) *ProjectsLocationsDatasetsFhirStoresCreateCall { c.urlParams_.Set("fhirStoreId", fhirStoreId) return c @@ -19472,12 +19606,12 @@ func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "fhirStoreId": { - // "description": "The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", + // "description": "Required. The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "The name of the dataset this FHIR store belongs to.", + // "description": "Required. The name of the dataset this FHIR store belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -19628,7 +19762,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) Do(opts ...googleapi // ], // "parameters": { // "sourceStore": { - // "description": "Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Required. Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -19765,7 +19899,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "The resource name of the FHIR store to delete.", + // "description": "Required. The resource name of the FHIR store to delete.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -19916,7 +20050,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresExportCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Required. The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -20066,7 +20200,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetCall) Do(opts ...googleapi.CallOp // ], // "parameters": { // "name": { - // "description": "The resource name of the FHIR store to get.", + // "description": "Required. The resource name of the FHIR store to get.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -20213,7 +20347,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetFHIRStoreMetricsCall) Do(opts ... // ], // "parameters": { // "name": { - // "description": "The resource name of the FHIR store to get metrics for.", + // "description": "Required. The resource name of the FHIR store to get metrics for.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -20592,7 +20726,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresImportCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Required. The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -20805,7 +20939,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Do(opts ...googleapi.CallO // "type": "string" // }, // "parent": { - // "description": "Name of the dataset.", + // "description": "Required. Name of the dataset.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -20858,7 +20992,8 @@ type ProjectsLocationsDatasetsFhirStoresPatchCall struct { // Patch: Updates the configuration of the specified FHIR store. // -// - name: Output only. Resource name of the FHIR store, of the form +// - name: Output only. Identifier. Resource name of the FHIR store, of +// the form // `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_ // id}`. func (r *ProjectsLocationsDatasetsFhirStoresService) Patch(name string, fhirstore *FhirStore) *ProjectsLocationsDatasetsFhirStoresPatchCall { @@ -20868,8 +21003,9 @@ func (r *ProjectsLocationsDatasetsFhirStoresService) Patch(name string, fhirstor return c } -// UpdateMask sets the optional parameter "updateMask": The update mask -// applies to the resource. For the `FieldMask` definition, see +// UpdateMask sets the optional parameter "updateMask": Required. The +// update mask applies to the resource. For the `FieldMask` definition, +// see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDatasetsFhirStoresPatchCall { c.urlParams_.Set("updateMask", updateMask) @@ -20976,14 +21112,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) Do(opts ...googleapi.Call // ], // "parameters": { // "name": { - // "description": "Output only. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", + // "description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -21004,6 +21140,159 @@ func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) Do(opts ...googleapi.Call } +// method id "healthcare.projects.locations.datasets.fhirStores.rollback": + +type ProjectsLocationsDatasetsFhirStoresRollbackCall struct { + s *Service + name string + rollbackfhirresourcesrequest *RollbackFhirResourcesRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Rollback: Rolls back resources from the FHIR store to the specified +// time. This method returns an Operation that can be used to track the +// status of the rollback by calling GetOperation. Immediate fatal +// errors appear in the error field, errors are also logged to Cloud +// Logging (see Viewing error logs in Cloud Logging +// (https://cloud.google.com/healthcare/docs/how-tos/logging)). +// Otherwise, when the operation finishes, a detailed response of type +// RollbackFhirResourcesResponse is returned in the response field. The +// metadata field type for this operation is OperationMetadata. +// +// - name: The name of the FHIR store to rollback, in the format of +// "projects/{project_id}/locations/{location_id}/datasets/{dataset_id} +// /fhirStores/{fhir_store_id}". +func (r *ProjectsLocationsDatasetsFhirStoresService) Rollback(name string, rollbackfhirresourcesrequest *RollbackFhirResourcesRequest) *ProjectsLocationsDatasetsFhirStoresRollbackCall { + c := &ProjectsLocationsDatasetsFhirStoresRollbackCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.rollbackfhirresourcesrequest = rollbackfhirresourcesrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsDatasetsFhirStoresRollbackCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsFhirStoresRollbackCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsDatasetsFhirStoresRollbackCall) Context(ctx context.Context) *ProjectsLocationsDatasetsFhirStoresRollbackCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsDatasetsFhirStoresRollbackCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsDatasetsFhirStoresRollbackCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.rollbackfhirresourcesrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:rollback") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "healthcare.projects.locations.datasets.fhirStores.rollback" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsDatasetsFhirStoresRollbackCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Rolls back resources from the FHIR store to the specified time. This method returns an Operation that can be used to track the status of the rollback by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type RollbackFhirResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:rollback", + // "httpMethod": "POST", + // "id": "healthcare.projects.locations.datasets.fhirStores.rollback", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the FHIR store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /fhirStores/{fhir_store_id}\".", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}:rollback", + // "request": { + // "$ref": "RollbackFhirResourcesRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-healthcare", + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "healthcare.projects.locations.datasets.fhirStores.setIamPolicy": type ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall struct { @@ -21482,7 +21771,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Do(opts . // ], // "parameters": { // "_count": { - // "description": "Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", + // "description": "Optional. Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -21493,29 +21782,29 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Do(opts . // "type": "string" // }, // "_since": { - // "description": "If provided, only resources updated after this time are returned. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", + // "description": "Optional. If provided, only resources updated after this time are returned. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", // "location": "query", // "type": "string" // }, // "_type": { - // "description": "String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are returned. Specifying multiple `_type` parameters isn't supported. For example, the result of `_type=Observation\u0026_type=Encounter` is undefined. Use `_type=Observation,Encounter` instead.", + // "description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are returned. Specifying multiple `_type` parameters isn't supported. For example, the result of `_type=Observation\u0026_type=Encounter` is undefined. Use `_type=Observation,Encounter` instead.", // "location": "query", // "type": "string" // }, // "end": { - // "description": "The response includes records prior to the end date. The date uses the format YYYY-MM-DD. If no end date is provided, all records subsequent to the start date are in scope.", + // "description": "Optional. The response includes records prior to the end date. The date uses the format YYYY-MM-DD. If no end date is provided, all records subsequent to the start date are in scope.", // "location": "query", // "type": "string" // }, // "name": { - // "description": "Name of the `Patient` resource for which the information is required.", + // "description": "Required. Name of the `Patient` resource for which the information is required.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$", // "required": true, // "type": "string" // }, // "start": { - // "description": "The response includes records subsequent to the start date. The date uses the format YYYY-MM-DD. If no start date is provided, all records prior to the end date are in scope.", + // "description": "Optional. The response includes records subsequent to the start date. The date uses the format YYYY-MM-DD. If no start date is provided, all records prior to the end date are in scope.", // "location": "query", // "type": "string" // } @@ -21652,7 +21941,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) Do(opts ...go // ], // "parameters": { // "name": { - // "description": "The name of the resource to purge.", + // "description": "Required. The name of the resource to purge.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -21720,10 +22009,10 @@ func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ResourceValidate(parent return c } -// Profile sets the optional parameter "profile": The canonical URL of a -// profile that this resource should be validated against. For example, -// to validate a Patient resource against the US Core Patient profile -// this parameter would be +// Profile sets the optional parameter "profile": Required. The +// canonical URL of a profile that this resource should be validated +// against. For example, to validate a Patient resource against the US +// Core Patient profile this parameter would be // `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A // StructureDefinition with this canonical URL must exist in the FHIR // store. @@ -21795,19 +22084,19 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirResourceValidateCall) Do(opts .. // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store that holds the profiles being used for validation.", + // "description": "Required. The name of the FHIR store that holds the profiles being used for validation.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "profile": { - // "description": "The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", + // "description": "Required. The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", // "location": "query", // "type": "string" // }, // "type": { - // "description": "The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + // "description": "Required. The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -21939,7 +22228,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) Do(opts ...goo // ], // "parameters": { // "name": { - // "description": "Name of the FHIR store to retrieve the capabilities for.", + // "description": "Required. Name of the FHIR store to retrieve the capabilities for.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -22097,14 +22386,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalDeleteCall) Do(opts . // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store this resource belongs to.", + // "description": "Required. The name of the FHIR store this resource belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "type": { - // "description": "The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + // "description": "Required. The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -22238,14 +22527,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalPatchCall) Do(opts .. // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store this resource belongs to.", + // "description": "Required. The name of the FHIR store this resource belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "type": { - // "description": "The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + // "description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -22390,14 +22679,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdateCall) Do(opts . // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store this resource belongs to.", + // "description": "Required. The name of the FHIR store this resource belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "type": { - // "description": "The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + // "description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -22540,14 +22829,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) Do(opts ...googleapi // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store this resource belongs to.", + // "description": "Required. The name of the FHIR store this resource belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "type": { - // "description": "The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + // "description": "Required. The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -22661,7 +22950,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) Do(opts ...googleapi // ], // "parameters": { // "name": { - // "description": "The name of the resource to delete.", + // "description": "Required. The name of the resource to delete.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -22804,7 +23093,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) Do(opts ...go // ], // "parameters": { // "parent": { - // "description": "Name of the FHIR store in which this bundle will be executed.", + // "description": "Required. Name of the FHIR store in which this bundle will be executed.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -22999,7 +23288,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Do(opts ...googleap // "type": "string" // }, // "name": { - // "description": "The name of the resource to retrieve.", + // "description": "Required. The name of the resource to retrieve.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -23116,7 +23405,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) Do(opts ...googleapi. // ], // "parameters": { // "name": { - // "description": "The name of the resource to update.", + // "description": "Required. The name of the resource to update.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -23250,7 +23539,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) Do(opts ...googleapi.C // ], // "parameters": { // "name": { - // "description": "The name of the resource to retrieve.", + // "description": "Required. The name of the resource to retrieve.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -23428,7 +23717,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) Do(opts ...googleapi // ], // "parameters": { // "parent": { - // "description": "Name of the FHIR store to retrieve resources from.", + // "description": "Required. Name of the FHIR store to retrieve resources from.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -23620,14 +23909,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchTypeCall) Do(opts ...googl // ], // "parameters": { // "parent": { - // "description": "Name of the FHIR store to retrieve resources from.", + // "description": "Required. Name of the FHIR store to retrieve resources from.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "resourceType": { - // "description": "The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + // "description": "Required. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", // "location": "path", // "required": true, // "type": "string" @@ -23753,7 +24042,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) Do(opts ...googleapi // ], // "parameters": { // "name": { - // "description": "The name of the resource to update.", + // "description": "Required. The name of the resource to update.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -23883,7 +24172,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) Do(opts ...googleapi. // ], // "parameters": { // "name": { - // "description": "The name of the resource version to retrieve.", + // "description": "Required. The name of the resource version to retrieve.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+/_history/[^/]+$", // "required": true, diff --git a/healthcare/v1beta1/healthcare-api.json b/healthcare/v1beta1/healthcare-api.json index cdb7f0d87c3..e88b9994f1c 100644 --- a/healthcare/v1beta1/healthcare-api.json +++ b/healthcare/v1beta1/healthcare-api.json @@ -228,7 +228,7 @@ ], "parameters": { "sourceDataset": { - "description": "Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", + "description": "Required. Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -1470,7 +1470,7 @@ ], "parameters": { "name": { - "description": "Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", + "description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", "required": true, @@ -2146,12 +2146,12 @@ ], "parameters": { "dicomStoreId": { - "description": "The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", + "description": "Required. The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", "location": "query", "type": "string" }, "parent": { - "description": "The name of the dataset this DICOM store belongs to.", + "description": "Required. The name of the dataset this DICOM store belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -2180,7 +2180,7 @@ ], "parameters": { "sourceStore": { - "description": "Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2209,7 +2209,7 @@ ], "parameters": { "name": { - "description": "The resource name of the DICOM store to delete.", + "description": "Required. The resource name of the DICOM store to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2235,7 +2235,7 @@ ], "parameters": { "name": { - "description": "The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2264,7 +2264,7 @@ ], "parameters": { "name": { - "description": "The resource name of the DICOM store to get.", + "description": "Required. The resource name of the DICOM store to get.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2290,7 +2290,7 @@ ], "parameters": { "name": { - "description": "The resource name of the DICOM store to get metrics for.", + "description": "Required. The resource name of the DICOM store to get metrics for.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2348,7 +2348,7 @@ ], "parameters": { "name": { - "description": "The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2393,7 +2393,7 @@ "type": "string" }, "parent": { - "description": "Name of the dataset.", + "description": "Required. Name of the dataset.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -2419,7 +2419,7 @@ ], "parameters": { "name": { - "description": "Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2455,14 +2455,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", "location": "path", "pattern": "^instances$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2489,14 +2489,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", + "description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", "location": "path", "pattern": "^series$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2523,14 +2523,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForStudies DICOMweb request. For example, `studies`.", + "description": "Required. The path of the SearchForStudies DICOMweb request. For example, `studies`.", "location": "path", "pattern": "^studies$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2615,14 +2615,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", + "description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", "location": "path", "pattern": "^studies$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2686,7 +2686,7 @@ ], "parameters": { "study": { - "description": "The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", + "description": "Required. The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+$", "required": true, @@ -2745,7 +2745,7 @@ ], "parameters": { "series": { - "description": "The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", + "description": "Required. The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+/series/[^/]+$", "required": true, @@ -2812,7 +2812,7 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the DeleteStudy request. For example, `studies/{study_uid}`.", + "description": "Required. The path of the DeleteStudy request. For example, `studies/{study_uid}`.", "location": "path", "pattern": "^studies/[^/]+$", "required": true, @@ -2845,14 +2845,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", + "description": "Required. The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", "location": "path", "pattern": "^studies/[^/]+/metadata$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2879,14 +2879,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", + "description": "Required. The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", "location": "path", "pattern": "^studies/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2913,14 +2913,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", "location": "path", "pattern": "^studies/[^/]+/instances$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2947,14 +2947,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", + "description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", "location": "path", "pattern": "^studies/[^/]+/series$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -2981,14 +2981,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", + "description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", "location": "path", "pattern": "^studies/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3022,14 +3022,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", + "description": "Required. The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3056,14 +3056,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", + "description": "Required. The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/metadata$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3090,14 +3090,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", + "description": "Required. The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3124,14 +3124,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3162,14 +3162,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", + "description": "Required. The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3196,14 +3196,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", + "description": "Required. The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3230,14 +3230,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", + "description": "Required. The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/metadata$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3264,14 +3264,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", + "description": "Required. The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/rendered$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3340,14 +3340,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", + "description": "Required. The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3374,14 +3374,14 @@ ], "parameters": { "dicomWebPath": { - "description": "The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", + "description": "Required. The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", "location": "path", "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+/rendered$", "required": true, "type": "string" }, "parent": { - "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", "required": true, @@ -3419,7 +3419,7 @@ ], "parameters": { "name": { - "description": "The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3477,7 +3477,7 @@ ], "parameters": { "name": { - "description": "The name of the FHIR store to configure, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Required. The name of the FHIR store to configure, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3506,12 +3506,12 @@ ], "parameters": { "fhirStoreId": { - "description": "The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", + "description": "Required. The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", "location": "query", "type": "string" }, "parent": { - "description": "The name of the dataset this FHIR store belongs to.", + "description": "Required. The name of the dataset this FHIR store belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -3540,7 +3540,7 @@ ], "parameters": { "sourceStore": { - "description": "Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Required. Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3569,7 +3569,7 @@ ], "parameters": { "name": { - "description": "The resource name of the FHIR store to delete.", + "description": "Required. The resource name of the FHIR store to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3595,7 +3595,7 @@ ], "parameters": { "name": { - "description": "The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Required. The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3624,7 +3624,7 @@ ], "parameters": { "name": { - "description": "The resource name of the FHIR store to get.", + "description": "Required. The resource name of the FHIR store to get.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3650,7 +3650,7 @@ ], "parameters": { "name": { - "description": "The resource name of the FHIR store to get metrics for.", + "description": "Required. The resource name of the FHIR store to get metrics for.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3708,7 +3708,7 @@ ], "parameters": { "name": { - "description": "The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Required. The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3753,7 +3753,7 @@ "type": "string" }, "parent": { - "description": "Name of the dataset.", + "description": "Required. Name of the dataset.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -3779,14 +3779,14 @@ ], "parameters": { "name": { - "description": "Output only. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", + "description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3905,7 +3905,7 @@ ], "parameters": { "code": { - "description": "The code to translate.", + "description": "Required. The code to translate.", "location": "query", "type": "string" }, @@ -3915,7 +3915,7 @@ "type": "string" }, "parent": { - "description": "The name for the FHIR store containing the concept map(s) to use for the translation.", + "description": "Required. The name for the FHIR store containing the concept map(s) to use for the translation.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -3927,7 +3927,7 @@ "type": "string" }, "system": { - "description": "The system for the code to be translated.", + "description": "Required. The system for the code to be translated.", "location": "query", "type": "string" }, @@ -3961,7 +3961,7 @@ ], "parameters": { "code": { - "description": "The code to translate.", + "description": "Required. The code to translate.", "location": "query", "type": "string" }, @@ -3971,14 +3971,14 @@ "type": "string" }, "name": { - "description": "The URL for the concept map to use for the translation.", + "description": "Required. The URL for the concept map to use for the translation.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/ConceptMap/[^/]+$", "required": true, "type": "string" }, "system": { - "description": "The system for the code to be translated.", + "description": "Required. The system for the code to be translated.", "location": "query", "type": "string" } @@ -4028,7 +4028,7 @@ ], "parameters": { "parent": { - "description": "Name of the FHIR store to retrieve resources from.", + "description": "Required. Name of the FHIR store to retrieve resources from.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -4117,7 +4117,7 @@ "type": "string" }, "name": { - "description": "Name of the `Patient` resource for which the information is required.", + "description": "Required. Name of the `Patient` resource for which the information is required.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$", "required": true, @@ -4200,7 +4200,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to purge.", + "description": "Required. The name of the resource to purge.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -4227,19 +4227,19 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store that holds the profiles being used for validation.", + "description": "Required. The name of the FHIR store that holds the profiles being used for validation.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "profile": { - "description": "The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", + "description": "Required. The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", "location": "query", "type": "string" }, "type": { - "description": "The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + "description": "Required. The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -4268,7 +4268,7 @@ ], "parameters": { "name": { - "description": "Name of the FHIR store to retrieve the capabilities for.", + "description": "Required. Name of the FHIR store to retrieve the capabilities for.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -4295,14 +4295,14 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store this resource belongs to.", + "description": "Required. The name of the FHIR store this resource belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "type": { - "description": "The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + "description": "Required. The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -4329,14 +4329,14 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store this resource belongs to.", + "description": "Required. The name of the FHIR store this resource belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "type": { - "description": "The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + "description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -4366,14 +4366,14 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store this resource belongs to.", + "description": "Required. The name of the FHIR store this resource belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "type": { - "description": "The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + "description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -4403,14 +4403,14 @@ ], "parameters": { "parent": { - "description": "The name of the FHIR store this resource belongs to.", + "description": "Required. The name of the FHIR store this resource belongs to.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "type": { - "description": "The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + "description": "Required. The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", "location": "path", "pattern": "^[^/]+$", "required": true, @@ -4439,7 +4439,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to delete.", + "description": "Required. The name of the resource to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -4465,7 +4465,7 @@ ], "parameters": { "parent": { - "description": "Name of the FHIR store in which this bundle will be executed.", + "description": "Required. Name of the FHIR store in which this bundle will be executed.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -4515,7 +4515,7 @@ "type": "string" }, "name": { - "description": "The name of the resource to retrieve.", + "description": "Required. The name of the resource to retrieve.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -4541,7 +4541,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to update.", + "description": "Required. The name of the resource to update.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -4570,7 +4570,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to retrieve.", + "description": "Required. The name of the resource to retrieve.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -4596,7 +4596,7 @@ ], "parameters": { "parent": { - "description": "Name of the FHIR store to retrieve resources from.", + "description": "Required. Name of the FHIR store to retrieve resources from.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -4626,14 +4626,14 @@ ], "parameters": { "parent": { - "description": "Name of the FHIR store to retrieve resources from.", + "description": "Required. Name of the FHIR store to retrieve resources from.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, "type": "string" }, "resourceType": { - "description": "The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + "description": "Required. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", "location": "path", "required": true, "type": "string" @@ -4661,7 +4661,7 @@ ], "parameters": { "name": { - "description": "The name of the resource to update.", + "description": "Required. The name of the resource to update.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", "required": true, @@ -4690,7 +4690,7 @@ ], "parameters": { "name": { - "description": "The name of the resource version to retrieve.", + "description": "Required. The name of the resource version to retrieve.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+/_history/[^/]+$", "required": true, @@ -5489,7 +5489,7 @@ } } }, - "revision": "20240110", + "revision": "20240112", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { @@ -5900,7 +5900,7 @@ "type": "string" }, "name": { - "description": "Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", + "description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", "type": "string" } }, @@ -6293,7 +6293,7 @@ "type": "object" }, "name": { - "description": "Resource name of the Consent artifact, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. Cannot be changed after creation.", + "description": "Identifier. Resource name of the Consent artifact, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. Cannot be changed after creation.", "type": "string" }, "userId": { @@ -6582,7 +6582,7 @@ "description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." }, "destinationDataset": { - "description": "The name of the dataset resource to create and write the redacted data to. * The destination dataset must not exist. * The destination dataset must be in the same location as the source dataset. De-identifying data across multiple locations is not supported.", + "description": "Required. The name of the dataset resource to create and write the redacted data to. * The destination dataset must not exist. * The destination dataset must be in the same location as the source dataset. De-identifying data across multiple locations is not supported.", "type": "string" }, "gcsConfigUri": { @@ -6601,7 +6601,7 @@ "description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." }, "destinationStore": { - "description": "The name of the DICOM store to create and write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * The destination dataset must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The destination DICOM store must not exist. * The caller must have the necessary permissions to create the destination DICOM store.", + "description": "Required. The name of the DICOM store to create and write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * The destination dataset must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The destination DICOM store must not exist. * The caller must have the necessary permissions to create the destination DICOM store.", "type": "string" }, "filterConfig": { @@ -6624,7 +6624,7 @@ "description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." }, "destinationStore": { - "description": "The name of the FHIR store to create and write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * The destination dataset must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The destination FHIR store must exist. * The caller must have the healthcare.fhirResources.update permission to write to the destination FHIR store.", + "description": "Required. The name of the FHIR store to create and write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * The destination dataset must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The destination FHIR store must exist. * The caller must have the healthcare.fhirResources.update permission to write to the destination FHIR store.", "type": "string" }, "gcsConfigUri": { @@ -6738,7 +6738,7 @@ "type": "object" }, "name": { - "description": "Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + "description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", "type": "string" }, "notificationConfig": { @@ -7318,7 +7318,7 @@ "type": "object" }, "name": { - "description": "Output only. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "type": "string" }, "notificationConfig": { @@ -7349,7 +7349,7 @@ "description": "Configuration for how to validate incoming FHIR resources against configured profiles." }, "version": { - "description": "Immutable. The FHIR specification version that this FHIR store supports natively. This field is immutable after store creation. Requests are rejected if they contain FHIR resources of a different version. Version is required for every FHIR store.", + "description": "Required. Immutable. The FHIR specification version that this FHIR store supports natively. This field is immutable after store creation. Requests are rejected if they contain FHIR resources of a different version. Version is required for every FHIR store.", "enum": [ "VERSION_UNSPECIFIED", "DSTU2", @@ -9364,7 +9364,7 @@ "id": "SearchResourcesRequest", "properties": { "resourceType": { - "description": "The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + "description": "Required. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", "type": "string" } }, diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index b991d750b08..8e4bf1980a8 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -1249,7 +1249,8 @@ type AttributeDefinition struct { // Description: Optional. A description of the attribute. Description string `json:"description,omitempty"` - // Name: Resource name of the Attribute definition, of the form + // Name: Identifier. Resource name of the Attribute definition, of the + // form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/c // onsentStores/{consent_store_id}/attributeDefinitions/{attribute_defini // tion_id}`. Cannot be changed after creation. @@ -1993,7 +1994,7 @@ type ConsentArtifact struct { // For example, the consent locale or user agent version. Metadata map[string]string `json:"metadata,omitempty"` - // Name: Resource name of the Consent artifact, of the form + // Name: Identifier. Resource name of the Consent artifact, of the form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/c // onsentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id} // `. Cannot be changed after creation. @@ -2568,11 +2569,11 @@ type DeidentifyDatasetRequest struct { // `gcs_config_uri` can be specified. Config *DeidentifyConfig `json:"config,omitempty"` - // DestinationDataset: The name of the dataset resource to create and - // write the redacted data to. * The destination dataset must not exist. - // * The destination dataset must be in the same location as the source - // dataset. De-identifying data across multiple locations is not - // supported. + // DestinationDataset: Required. The name of the dataset resource to + // create and write the redacted data to. * The destination dataset must + // not exist. * The destination dataset must be in the same location as + // the source dataset. De-identifying data across multiple locations is + // not supported. DestinationDataset string `json:"destinationDataset,omitempty"` // GcsConfigUri: Cloud Storage location to read the JSON @@ -2614,8 +2615,8 @@ type DeidentifyDicomStoreRequest struct { // `gcs_config_uri` can be specified. Config *DeidentifyConfig `json:"config,omitempty"` - // DestinationStore: The name of the DICOM store to create and write the - // redacted data to. For example, + // DestinationStore: Required. The name of the DICOM store to create and + // write the redacted data to. For example, // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/d // icomStores/{dicom_store_id}`. * The destination dataset must exist. * // The source dataset and destination dataset must both reside in the @@ -2667,8 +2668,8 @@ type DeidentifyFhirStoreRequest struct { // `gcs_config_uri` can be specified. Config *DeidentifyConfig `json:"config,omitempty"` - // DestinationStore: The name of the FHIR store to create and write the - // redacted data to. For example, + // DestinationStore: Required. The name of the FHIR store to create and + // write the redacted data to. For example, // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/f // hirStores/{fhir_store_id}`. * The destination dataset must exist. * // The source dataset and destination dataset must both reside in the @@ -2896,7 +2897,7 @@ type DicomStore struct { // associated with a given store. Labels map[string]string `json:"labels,omitempty"` - // Name: Resource name of the DICOM store, of the form + // Name: Identifier. Resource name of the DICOM store, of the form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/d // icomStores/{dicom_store_id}`. Name string `json:"name,omitempty"` @@ -4082,7 +4083,8 @@ type FhirStore struct { // associated with a given store. Labels map[string]string `json:"labels,omitempty"` - // Name: Output only. Resource name of the FHIR store, of the form + // Name: Output only. Identifier. Resource name of the FHIR store, of + // the form // `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id // }`. Name string `json:"name,omitempty"` @@ -4120,10 +4122,10 @@ type FhirStore struct { // resources against configured profiles. ValidationConfig *ValidationConfig `json:"validationConfig,omitempty"` - // Version: Immutable. The FHIR specification version that this FHIR - // store supports natively. This field is immutable after store - // creation. Requests are rejected if they contain FHIR resources of a - // different version. Version is required for every FHIR store. + // Version: Required. Immutable. The FHIR specification version that + // this FHIR store supports natively. This field is immutable after + // store creation. Requests are rejected if they contain FHIR resources + // of a different version. Version is required for every FHIR store. // // Possible values: // "VERSION_UNSPECIFIED" - VERSION_UNSPECIFIED is treated as STU3 to @@ -8125,8 +8127,9 @@ func (s *SearchParameter) MarshalJSON() ([]byte, error) { // SearchResourcesRequest: Request to search the resources in the // specified FHIR store. type SearchResourcesRequest struct { - // ResourceType: The FHIR resource type to search, such as Patient or - // Observation. For a complete list, see the FHIR Resource Index (DSTU2 + // ResourceType: Required. The FHIR resource type to search, such as + // Patient or Observation. For a complete list, see the FHIR Resource + // Index (DSTU2 // (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), // STU3 // (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), R4 @@ -9820,7 +9823,7 @@ func (c *ProjectsLocationsDatasetsDeidentifyCall) Do(opts ...googleapi.CallOptio // ], // "parameters": { // "sourceDataset": { - // "description": "Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", + // "description": "Required. Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -16039,7 +16042,8 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall struct // Patch: Updates the specified Attribute definition. // -// - name: Resource name of the Attribute definition, of the form +// - name: Identifier. Resource name of the Attribute definition, of the +// form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id} // /consentStores/{consent_store_id}/attributeDefinitions/{attribute_de // finition_id}`. Cannot be changed after creation. @@ -16163,7 +16167,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall) Do // ], // "parameters": { // "name": { - // "description": "Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", + // "description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", // "required": true, @@ -19504,9 +19508,9 @@ func (r *ProjectsLocationsDatasetsDicomStoresService) Create(parent string, dico return c } -// DicomStoreId sets the optional parameter "dicomStoreId": The ID of -// the DICOM store that is being created. Any string value up to 256 -// characters in length. +// DicomStoreId sets the optional parameter "dicomStoreId": Required. +// The ID of the DICOM store that is being created. Any string value up +// to 256 characters in length. func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) DicomStoreId(dicomStoreId string) *ProjectsLocationsDatasetsDicomStoresCreateCall { c.urlParams_.Set("dicomStoreId", dicomStoreId) return c @@ -19612,12 +19616,12 @@ func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "dicomStoreId": { - // "description": "The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", + // "description": "Required. The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "The name of the dataset this DICOM store belongs to.", + // "description": "Required. The name of the dataset this DICOM store belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -19771,7 +19775,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) Do(opts ...googleap // ], // "parameters": { // "sourceStore": { - // "description": "Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -19908,7 +19912,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "name": { - // "description": "The resource name of the DICOM store to delete.", + // "description": "Required. The resource name of the DICOM store to delete.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -20055,7 +20059,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresExportCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "name": { - // "description": "The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -20205,7 +20209,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetCall) Do(opts ...googleapi.CallO // ], // "parameters": { // "name": { - // "description": "The resource name of the DICOM store to get.", + // "description": "Required. The resource name of the DICOM store to get.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -20352,7 +20356,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetDICOMStoreMetricsCall) Do(opts . // ], // "parameters": { // "name": { - // "description": "The resource name of the DICOM store to get metrics for.", + // "description": "Required. The resource name of the DICOM store to get metrics for.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -20675,7 +20679,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresImportCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "name": { - // "description": "The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -20888,7 +20892,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Do(opts ...googleapi.Call // "type": "string" // }, // "parent": { - // "description": "Name of the dataset.", + // "description": "Required. Name of the dataset.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -20941,7 +20945,7 @@ type ProjectsLocationsDatasetsDicomStoresPatchCall struct { // Patch: Updates the specified DICOM store. // -// - name: Resource name of the DICOM store, of the form +// - name: Identifier. Resource name of the DICOM store, of the form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id} // /dicomStores/{dicom_store_id}`. func (r *ProjectsLocationsDatasetsDicomStoresService) Patch(name string, dicomstore *DicomStore) *ProjectsLocationsDatasetsDicomStoresPatchCall { @@ -21059,7 +21063,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -21200,14 +21204,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) Do(opts ... // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + // "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", // "location": "path", // "pattern": "^instances$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -21338,14 +21342,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) Do(opts ...goo // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", + // "description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", // "location": "path", // "pattern": "^series$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -21476,14 +21480,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) Do(opts ...go // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForStudies DICOMweb request. For example, `studies`.", + // "description": "Required. The path of the SearchForStudies DICOMweb request. For example, `studies`.", // "location": "path", // "pattern": "^studies$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -21905,14 +21909,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) Do(opts ...goog // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", + // "description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", // "location": "path", // "pattern": "^studies$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -22215,7 +22219,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDicomWebStudiesGetStudyMetricsCall) // ], // "parameters": { // "study": { - // "description": "The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", + // "description": "Required. The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+$", // "required": true, @@ -22520,7 +22524,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesGetSeriesMetri // ], // "parameters": { // "series": { - // "description": "The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", + // "description": "Required. The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+/series/[^/]+$", // "required": true, @@ -22817,7 +22821,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) Do(opts ...googl // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the DeleteStudy request. For example, `studies/{study_uid}`.", + // "description": "Required. The path of the DeleteStudy request. For example, `studies/{study_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+$", // "required": true, @@ -22955,14 +22959,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) Do(opt // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", + // "description": "Required. The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", // "location": "path", // "pattern": "^studies/[^/]+/metadata$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -23093,14 +23097,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) Do(opts . // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", + // "description": "Required. The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -23232,14 +23236,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) Do(o // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + // "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", // "location": "path", // "pattern": "^studies/[^/]+/instances$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -23370,14 +23374,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) Do(opts // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", + // "description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", // "location": "path", // "pattern": "^studies/[^/]+/series$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -23496,14 +23500,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) Do(opts // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", + // "description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", // "location": "path", // "pattern": "^studies/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -23655,14 +23659,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) Do(opts .. // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", + // "description": "Required. The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -23795,14 +23799,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", + // "description": "Required. The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/metadata$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -23933,14 +23937,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) Do // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", + // "description": "Required. The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -24072,14 +24076,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", + // "description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -24227,14 +24231,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) D // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", + // "description": "Required. The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -24369,14 +24373,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInsta // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", + // "description": "Required. The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -24511,14 +24515,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetad // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", + // "description": "Required. The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/metadata$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -24653,14 +24657,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRende // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", + // "description": "Required. The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/rendered$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -24934,14 +24938,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", + // "description": "Required. The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -25076,14 +25080,14 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev // ], // "parameters": { // "dicomWebPath": { - // "description": "The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", + // "description": "Required. The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", // "location": "path", // "pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+/rendered$", // "required": true, // "type": "string" // }, // "parent": { - // "description": "The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", + // "description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", // "required": true, @@ -25242,7 +25246,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresApplyAdminConsentsCall) Do(opts ...g // ], // "parameters": { // "name": { - // "description": "The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -25553,7 +25557,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresConfigureSearchCall) Do(opts ...goog // ], // "parameters": { // "name": { - // "description": "The name of the FHIR store to configure, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Required. The name of the FHIR store to configure, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -25596,9 +25600,9 @@ func (r *ProjectsLocationsDatasetsFhirStoresService) Create(parent string, fhirs return c } -// FhirStoreId sets the optional parameter "fhirStoreId": The ID of the -// FHIR store that is being created. The string must match the following -// regex: `[\p{L}\p{N}_\-\.]{1,256}`. +// FhirStoreId sets the optional parameter "fhirStoreId": Required. The +// ID of the FHIR store that is being created. The string must match the +// following regex: `[\p{L}\p{N}_\-\.]{1,256}`. func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) FhirStoreId(fhirStoreId string) *ProjectsLocationsDatasetsFhirStoresCreateCall { c.urlParams_.Set("fhirStoreId", fhirStoreId) return c @@ -25704,12 +25708,12 @@ func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "fhirStoreId": { - // "description": "The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", + // "description": "Required. The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "The name of the dataset this FHIR store belongs to.", + // "description": "Required. The name of the dataset this FHIR store belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -25860,7 +25864,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) Do(opts ...googleapi // ], // "parameters": { // "sourceStore": { - // "description": "Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Required. Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -25997,7 +26001,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "The resource name of the FHIR store to delete.", + // "description": "Required. The resource name of the FHIR store to delete.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -26148,7 +26152,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresExportCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Required. The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -26298,7 +26302,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetCall) Do(opts ...googleapi.CallOp // ], // "parameters": { // "name": { - // "description": "The resource name of the FHIR store to get.", + // "description": "Required. The resource name of the FHIR store to get.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -26445,7 +26449,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetFHIRStoreMetricsCall) Do(opts ... // ], // "parameters": { // "name": { - // "description": "The resource name of the FHIR store to get metrics for.", + // "description": "Required. The resource name of the FHIR store to get metrics for.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -26824,7 +26828,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresImportCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Required. The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -27037,7 +27041,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Do(opts ...googleapi.CallO // "type": "string" // }, // "parent": { - // "description": "Name of the dataset.", + // "description": "Required. Name of the dataset.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", // "required": true, @@ -27090,7 +27094,8 @@ type ProjectsLocationsDatasetsFhirStoresPatchCall struct { // Patch: Updates the configuration of the specified FHIR store. // -// - name: Output only. Resource name of the FHIR store, of the form +// - name: Output only. Identifier. Resource name of the FHIR store, of +// the form // `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_ // id}`. func (r *ProjectsLocationsDatasetsFhirStoresService) Patch(name string, fhirstore *FhirStore) *ProjectsLocationsDatasetsFhirStoresPatchCall { @@ -27100,8 +27105,9 @@ func (r *ProjectsLocationsDatasetsFhirStoresService) Patch(name string, fhirstor return c } -// UpdateMask sets the optional parameter "updateMask": The update mask -// applies to the resource. For the `FieldMask` definition, see +// UpdateMask sets the optional parameter "updateMask": Required. The +// update mask applies to the resource. For the `FieldMask` definition, +// see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDatasetsFhirStoresPatchCall { c.urlParams_.Set("updateMask", updateMask) @@ -27208,14 +27214,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) Do(opts ...googleapi.Call // ], // "parameters": { // "name": { - // "description": "Output only. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + // "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", + // "description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -27722,7 +27728,8 @@ func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ConceptMapSearchTransla return c } -// Code sets the optional parameter "code": The code to translate. +// Code sets the optional parameter "code": Required. The code to +// translate. func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) Code(code string) *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall { c.urlParams_.Set("code", code) return c @@ -27744,8 +27751,8 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) S return c } -// System sets the optional parameter "system": The system for the code -// to be translated. +// System sets the optional parameter "system": Required. The system for +// the code to be translated. func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) System(system string) *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall { c.urlParams_.Set("system", system) return c @@ -27842,7 +27849,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) D // ], // "parameters": { // "code": { - // "description": "The code to translate.", + // "description": "Required. The code to translate.", // "location": "query", // "type": "string" // }, @@ -27852,7 +27859,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) D // "type": "string" // }, // "parent": { - // "description": "The name for the FHIR store containing the concept map(s) to use for the translation.", + // "description": "Required. The name for the FHIR store containing the concept map(s) to use for the translation.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -27864,7 +27871,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) D // "type": "string" // }, // "system": { - // "description": "The system for the code to be translated.", + // "description": "Required. The system for the code to be translated.", // "location": "query", // "type": "string" // }, @@ -27925,7 +27932,8 @@ func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ConceptMapTranslate(nam return c } -// Code sets the optional parameter "code": The code to translate. +// Code sets the optional parameter "code": Required. The code to +// translate. func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall) Code(code string) *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall { c.urlParams_.Set("code", code) return c @@ -27939,8 +27947,8 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall) Concept return c } -// System sets the optional parameter "system": The system for the code -// to be translated. +// System sets the optional parameter "system": Required. The system for +// the code to be translated. func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall) System(system string) *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall { c.urlParams_.Set("system", system) return c @@ -28021,7 +28029,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall) Do(opts // ], // "parameters": { // "code": { - // "description": "The code to translate.", + // "description": "Required. The code to translate.", // "location": "query", // "type": "string" // }, @@ -28031,14 +28039,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall) Do(opts // "type": "string" // }, // "name": { - // "description": "The URL for the concept map to use for the translation.", + // "description": "Required. The URL for the concept map to use for the translation.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/ConceptMap/[^/]+$", // "required": true, // "type": "string" // }, // "system": { - // "description": "The system for the code to be translated.", + // "description": "Required. The system for the code to be translated.", // "location": "query", // "type": "string" // } @@ -28297,7 +28305,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirObservationLastnCall) Do(opts .. // ], // "parameters": { // "parent": { - // "description": "Name of the FHIR store to retrieve resources from.", + // "description": "Required. Name of the FHIR store to retrieve resources from.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -28674,7 +28682,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Do(opts . // "type": "string" // }, // "name": { - // "description": "Name of the `Patient` resource for which the information is required.", + // "description": "Required. Name of the `Patient` resource for which the information is required.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$", // "required": true, @@ -29014,7 +29022,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) Do(opts ...go // ], // "parameters": { // "name": { - // "description": "The name of the resource to purge.", + // "description": "Required. The name of the resource to purge.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -29082,10 +29090,10 @@ func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ResourceValidate(parent return c } -// Profile sets the optional parameter "profile": The canonical URL of a -// profile that this resource should be validated against. For example, -// to validate a Patient resource against the US Core Patient profile -// this parameter would be +// Profile sets the optional parameter "profile": Required. The +// canonical URL of a profile that this resource should be validated +// against. For example, to validate a Patient resource against the US +// Core Patient profile this parameter would be // `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A // StructureDefinition with this canonical URL must exist in the FHIR // store. @@ -29157,19 +29165,19 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirResourceValidateCall) Do(opts .. // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store that holds the profiles being used for validation.", + // "description": "Required. The name of the FHIR store that holds the profiles being used for validation.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "profile": { - // "description": "The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", + // "description": "Required. The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", // "location": "query", // "type": "string" // }, // "type": { - // "description": "The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + // "description": "Required. The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -29301,7 +29309,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) Do(opts ...goo // ], // "parameters": { // "name": { - // "description": "Name of the FHIR store to retrieve the capabilities for.", + // "description": "Required. Name of the FHIR store to retrieve the capabilities for.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -29470,14 +29478,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalDeleteCall) Do(opts . // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store this resource belongs to.", + // "description": "Required. The name of the FHIR store this resource belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "type": { - // "description": "The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + // "description": "Required. The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -29614,14 +29622,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalPatchCall) Do(opts .. // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store this resource belongs to.", + // "description": "Required. The name of the FHIR store this resource belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "type": { - // "description": "The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + // "description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -29773,14 +29781,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdateCall) Do(opts . // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store this resource belongs to.", + // "description": "Required. The name of the FHIR store this resource belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "type": { - // "description": "The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + // "description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -29922,14 +29930,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) Do(opts ...googleapi // ], // "parameters": { // "parent": { - // "description": "The name of the FHIR store this resource belongs to.", + // "description": "Required. The name of the FHIR store this resource belongs to.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "type": { - // "description": "The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", + // "description": "Required. The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must match the resource type in the provided content.", // "location": "path", // "pattern": "^[^/]+$", // "required": true, @@ -30044,7 +30052,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) Do(opts ...googleapi // ], // "parameters": { // "name": { - // "description": "The name of the resource to delete.", + // "description": "Required. The name of the resource to delete.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -30187,7 +30195,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) Do(opts ...go // ], // "parameters": { // "parent": { - // "description": "Name of the FHIR store in which this bundle will be executed.", + // "description": "Required. Name of the FHIR store in which this bundle will be executed.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -30382,7 +30390,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Do(opts ...googleap // "type": "string" // }, // "name": { - // "description": "The name of the resource to retrieve.", + // "description": "Required. The name of the resource to retrieve.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -30499,7 +30507,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) Do(opts ...googleapi. // ], // "parameters": { // "name": { - // "description": "The name of the resource to update.", + // "description": "Required. The name of the resource to update.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -30633,7 +30641,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) Do(opts ...googleapi.C // ], // "parameters": { // "name": { - // "description": "The name of the resource to retrieve.", + // "description": "Required. The name of the resource to retrieve.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -30812,7 +30820,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) Do(opts ...googleapi // ], // "parameters": { // "parent": { - // "description": "Name of the FHIR store to retrieve resources from.", + // "description": "Required. Name of the FHIR store to retrieve resources from.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, @@ -31006,14 +31014,14 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchTypeCall) Do(opts ...googl // ], // "parameters": { // "parent": { - // "description": "Name of the FHIR store to retrieve resources from.", + // "description": "Required. Name of the FHIR store to retrieve resources from.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", // "required": true, // "type": "string" // }, // "resourceType": { - // "description": "The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", + // "description": "Required. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).", // "location": "path", // "required": true, // "type": "string" @@ -31140,7 +31148,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) Do(opts ...googleapi // ], // "parameters": { // "name": { - // "description": "The name of the resource to update.", + // "description": "Required. The name of the resource to update.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", // "required": true, @@ -31270,7 +31278,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) Do(opts ...googleapi. // ], // "parameters": { // "name": { - // "description": "The name of the resource version to retrieve.", + // "description": "Required. The name of the resource version to retrieve.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+/_history/[^/]+$", // "required": true, diff --git a/osconfig/v1/osconfig-api.json b/osconfig/v1/osconfig-api.json index 29ca6933bff..ed170171b35 100644 --- a/osconfig/v1/osconfig-api.json +++ b/osconfig/v1/osconfig-api.json @@ -1000,7 +1000,7 @@ } } }, - "revision": "20230903", + "revision": "20240121", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { @@ -3601,7 +3601,7 @@ "type": "string" }, "dayOffset": { - "description": "Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].", + "description": "Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second Tuesday of the month and the `day_offset` value is set to `3`, patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, patches are deployed five days before the second Tuesday of the month. Allowed values are in range [-30, 30].", "format": "int32", "type": "integer" }, diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go index 39e1418963e..dfc9a75d806 100644 --- a/osconfig/v1/osconfig-gen.go +++ b/osconfig/v1/osconfig-gen.go @@ -4344,11 +4344,11 @@ type WeekDayOfMonth struct { // DayOffset: Optional. Represents the number of days before or after // the given week day of month that the patch deployment is scheduled // for. For example if `week_ordinal` and `day_of_week` values point to - // the second day of the month and this `day_offset` value is set to - // `3`, the patch deployment takes place three days after the second - // Tuesday of the month. If this value is negative, for example -5, the - // patches are deployed five days before before the second Tuesday of - // the month. Allowed values are in range [-30, 30]. + // the second Tuesday of the month and the `day_offset` value is set to + // `3`, patch deployment takes place three days after the second Tuesday + // of the month. If this value is negative, for example -5, patches are + // deployed five days before the second Tuesday of the month. Allowed + // values are in range [-30, 30]. DayOffset int64 `json:"dayOffset,omitempty"` // WeekOrdinal: Required. Week number in a month. 1-4 indicates the 1st